Coal multi-element detection method and device, electronic equipment and readable storage medium

By intelligently selecting detection mode and adjusting energy bands and ray intensity, the target multi-energy X-ray is generated, which solves the flexibility and accuracy of coal multi-element detection in the existing technology, and realizes the accurate identification of multiple elements in coal and Efficient detection.

CN119000757APending Publication Date: 2024-11-22TANGSHAN DAFANG HUIZHONG INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411212765.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing coal multi-element detection technology is inefficient in detecting elements with small atomic numbers and lacks flexibility, making it difficult to accurately measure the elemental composition and physical characteristics of coal in different regions and types.

Method used

By determining the target detection mode based on the information of the coal to be detected, selecting the appropriate energy band and ray intensity to generate the target multi-energy X-ray, and conducting coal element content detection to achieve synchronous detection and accurate identification of multiple elements.

Benefits of technology

It improves the flexibility, accuracy and efficiency of detection, reduces interference factors, and significantly improves the accuracy and reliability of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119000757A_ABST
    Figure CN119000757A_ABST
Patent Text Reader

Abstract

The invention provides a coal multi-element detection method and device, electronic equipment and a readable storage medium, and belongs to the technical field of coal detection.The method comprises the steps that a target detection mode is determined from multiple detection modes based on coal information of coal to be detected; determining a plurality of target energy wavebands and a plurality of target ray intensities in a target detection mode based on the plurality of pieces of to-be-detected element information; generating a target multi-energy X-ray based on the plurality of target energy wavebands and the plurality of target ray intensities, and detecting the coal element content based on the target multi-energy X-ray to obtain a target element content detection result. According to the coal multi-element detection method and device, the electronic equipment and the readable storage medium provided by the invention, the problem that a detection result detected by an existing coal multi-element detection technology is not accurate enough can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of coal detection technology, and more specifically, relates to a coal multi-element detection method and device, electronic equipment, and a readable storage medium. Background Art

[0002] Coal multi-element detection is the process of quantitative analysis of multiple elements in coal, which aims to determine the chemical composition and properties of coal and provide important basis for the rational utilization of coal, quality assessment, environmental protection and research in related fields.

[0003] However, the existing coal multi-element detection technology still has some problems and shortcomings. For example, for elements with smaller atomic numbers, the excitation and detection efficiency of X-ray fluorescence is relatively low, making it difficult to accurately measure their content. For another example, the elemental composition and physical properties of coal from different regions and types usually vary greatly, and the existing technology often uses fixed standard X-rays for coal detection, which lacks flexibility and leads to inaccurate detection results. Summary of the invention

[0004] The purpose of the present disclosure is to provide a coal multi-element detection method and device, electronic equipment, and readable storage medium to solve the problem that the detection results obtained by the existing coal multi-element detection technology are not accurate enough.

[0005] A first aspect of the embodiments of the present disclosure provides a method for detecting multiple elements in coal, comprising: A target detection mode is determined from multiple detection modes based on the coal information of the coal to be detected.

[0006] Based on the information of multiple elements to be detected, multiple target energy bands and multiple target ray intensities in the target detection mode are determined.

[0007] Target multi-energy X-rays are generated based on multiple target energy bands and multiple target ray intensities, and the element content of coal is detected based on the target multi-energy X-rays to obtain target element content detection results.

[0008] A second aspect of the embodiments of the present disclosure provides a coal multi-element detection device, comprising: The mode selection module is used to determine a target detection mode from multiple detection modes based on the coal information of the coal to be detected.

[0009] The calculation module is used to determine multiple target energy bands and multiple target ray intensities in a target detection mode based on multiple information of elements to be detected.

[0010] The detection module is used to generate target multi-energy X-rays based on multiple target energy bands and multiple target ray intensities, detect the element content of coal based on the target multi-energy X-rays, and obtain the target element content detection result.

[0011] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned coal multi-element detection method when executing the computer program.

[0012] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned coal multi-element detection method are implemented.

[0013] The beneficial effects of the coal multi-element detection method and device, electronic device, and readable storage medium provided by the embodiments of the present disclosure are: by intelligently selecting the detection mode that matches the coal to be detected, the flexibility, accuracy, and detection efficiency of the detection are greatly improved. The precisely set energy band and ray intensity ensure the accurate identification of specific elements during the detection process and reduce interference factors. The use of targeted multi-energy X-rays for detection not only realizes the simultaneous detection of multiple elements in coal, but also significantly improves the accuracy and reliability of the detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0015] Figure 1 A schematic diagram of a process for multi-element detection of coal provided in an embodiment of the present disclosure; Figure 2 A structural block diagram of a coal multi-element detection device provided in an embodiment of the present disclosure; Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0016] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0017] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0018] Please refer to Figure 1 , Figure 1 This is a flow chart of a method for multi-element detection of coal provided in one embodiment of the present disclosure. The method may include S101 to S103.

[0019] S101: Determine a target detection mode from multiple detection modes based on the coal information of the coal to be detected.

[0020] In this embodiment, the coal information may include coal type, coal quantity, etc., which may reflect the complexity of the coal to be tested and the testing requirements. Different testing modes may differ in testing efficiency, testing accuracy and applicable scope.

[0021] Exemplarily, selecting a detection mode based on coal information can optimize the detection process. If the amount of coal is large or the types of coal are small, a relatively fast but possibly less accurate detection mode (such as the first detection mode) can be used. If the amount of coal is small or the types of coal are large, a more accurate but time-consuming detection mode (such as the second detection mode) may be required. In this way, the detection efficiency can be improved while ensuring the accuracy of the detection, and different detection scenarios can be adapted.

[0022] For example, a factory needs to test two batches of coal samples. The first batch of coal: the amount of coal is 500kg, mainly a single thermal coal variety. Since the amount of coal is large and the type is single, the first detection mode can be used at this time. Quickly conduct preliminary testing on this batch of coal to determine its main element content, such as carbon, sulfur, etc., to meet the requirements of basic coal quality indicators. In this way, the test can be completed in a shorter time without affecting the circulation and transaction of related goods. The second batch of coal: the amount of coal is 50kg, which contains a variety of different types of coal, such as anthracite, coking coal, etc. mixed together. For this situation where the amount of coal is small but the types are more, the second detection mode can be used. Carry out more precise testing and carefully analyze the content of various elements in each type of coal to ensure that the quality of the goods meets the specific needs of customers and can ensure the accuracy of the test results.

[0023] S102: Determine multiple target energy bands and multiple target ray intensities in a target detection mode based on multiple information of elements to be detected.

[0024] In this embodiment, the multiple elements to be detected include the types of elements to be detected, such as detecting the contents of multiple elements such as C, Si, Al, Ca, Fe and S in coal. Understanding the types and content ranges of elements that may exist in coal is the basis for determining the appropriate energy band and ray intensity. Different elements have different responses to X-rays of different energies. By preliminarily estimating the size or proportion of the content of each element in the coal to be detected, it is possible to specifically select energy bands and ray intensities that can effectively excite and detect these elements, thereby improving the accuracy and sensitivity of detection.

[0025] For example, by analyzing the information of coal source, type and other information and the test data of similar coal in the past, the content and proportion of each element in the coal to be tested can be preliminarily estimated. For example, for anthracite from a specific mining area, it may be known that its carbon content is high and the content of impurity elements such as sulfur and phosphorus is relatively low.

[0026] According to the atomic structure and energy level characteristics of different elements, the energy band range with better interaction effect with each element is determined. Low atomic number elements such as carbon and hydrogen require lower energy X-rays for excitation. High atomic number elements such as iron and copper require higher energy X-rays.

[0027] For elements with a high estimated content, the X-ray intensity can be appropriately reduced to avoid signal saturation. For elements with a low estimated content, the X-ray intensity can be appropriately increased to improve detection sensitivity, but excessive intensity should also be avoided to prevent interference from other elements.

[0028] In this embodiment, by selecting a suitable energy band, the target element can be stimulated to produce characteristic X-ray fluorescence to the greatest extent, thereby improving the accuracy and sensitivity of detection. At the same time, by adjusting the intensity of the rays according to the estimated element content, unnecessary energy waste and interference can be reduced while ensuring the detection effect.

[0029] S103: Generate target multi-energy X-rays based on multiple target energy bands and multiple target ray intensities, detect the element content of coal based on the target multi-energy X-rays, and obtain a target element content detection result.

[0030] In this embodiment, generating target multi-energy X-rays includes: using an X-ray generator to generate X-rays covering multiple target energy bands by adjusting its parameters such as voltage, current, target material, etc.

[0031] According to the determined multiple target ray intensities, the X-ray intensities in different energy bands are controlled to reach corresponding target values ​​by adjusting the output power of the generator or using filters.

[0032] Place the coal sample to be tested at the testing position to ensure that the X-rays can irradiate the sample. Use a detector (such as a scintillation detector, proportional counter, etc.) to receive the X-rays after passing through the coal sample. The detector converts the X-ray signal into an electrical signal, analyzes the electrical signal output by the detector, and calculates the content of each element in the coal based on the absorption and scattering of X-rays of different energy bands in the coal sample, combined with the known model of the interaction between elements and X-rays.

[0033] In this embodiment, different elements have different absorption, scattering and fluorescence emission characteristics for X-rays of specific energy. By generating X-rays containing multiple target energy bands and specific ray intensities, the responses of various elements in coal can be more comprehensively stimulated, thereby improving the accuracy and sensitivity of detection. The detector receives the X-ray signals after passing through the sample, and these signals contain information about the effects of each element in the coal on the X-rays. By analyzing and processing these signals, the content of each element in the coal can be inferred.

[0034] For example, in the coal procurement scenario of a steel production enterprise, it is necessary to test the element content of different batches of coal to ensure that the coal quality meets the steelmaking requirements.

[0035] Assuming that a batch of coal arrives, the content and proportion of each element in it are preliminarily estimated based on the source and type of coal, and multiple target energy bands and target ray intensities are determined. The target multi-energy X-rays are generated using an X-ray generator. For example, for coal that may contain a high carbon content and a low sulfur content, an X-ray containing a low energy band to excite carbon fluorescence and a medium energy band to detect sulfur is generated. At the same time, the ray intensity is adjusted so that the detection of carbon is sensitive enough and the detection of sulfur can also be accurate.

[0036] The coal sample is placed in the detection area, and after the X-ray irradiates the sample, the detector receives the signal. According to the absorption and fluorescence emission of X-rays in different energy bands in the coal, the content of elements such as carbon and sulfur is calculated. If the test results show that the carbon content in the coal meets the steelmaking requirements and the sulfur content is within an acceptable range, then this batch of coal can be used for steel production. If the element content does not meet the requirements, you can negotiate with the supplier to adjust or select other batches of coal. This ensures the stable quality of coal in the steel production process and improves production efficiency and product quality.

[0037] From the above, it can be concluded that by intelligently selecting the detection mode that matches the coal to be tested, the flexibility, accuracy and efficiency of the detection are greatly improved. The precisely set energy band and ray intensity ensure the accurate identification of specific elements during the detection process and reduce interference factors. The use of targeted multi-energy X-rays for detection not only realizes the simultaneous detection of multiple elements in coal, but also significantly improves the accuracy and reliability of the test results.

[0038] In one embodiment of the present disclosure, determining multiple target energy bands and multiple target ray intensities based on multiple to-be-detected element information includes: Determine the estimated content values ​​of multiple elements to be tested in the coal to be tested.

[0039] Determine the atomic numbers of multiple elements to be detected.

[0040] A plurality of target energy bands are determined based on the atomic numbers of a plurality of elements to be detected.

[0041] A plurality of target radiation intensities are determined based on the estimated content values ​​of a plurality of elements to be detected.

[0042] In this embodiment, the estimated content value may include a content range or a fixed value. Determining multiple target energy bands based on the atomic numbers of multiple elements to be detected includes: If the atomic number of the element to be detected is less than the first atomic number, the target energy band is determined to be the first energy band.

[0043] If the atomic number of the element to be detected is greater than or equal to the first atomic number and less than the second atomic number, it is determined that the target energy band is a secondary energy band.

[0044] If the atomic number of the element to be detected is greater than or equal to the second atomic number, the target energy band is determined to be the third energy band. The first energy band is smaller than the second energy band, and the second energy band is smaller than the third energy band.

[0045] Determine multiple target radiation intensities based on the estimated content values ​​of multiple elements to be detected, including: If the estimated content value is less than the first content, the target ray intensity is determined to be the high-level ray intensity.

[0046] If the estimated content value is greater than or equal to the first content and less than the second content, the target radiation intensity is determined to be the intermediate radiation intensity.

[0047] If the estimated content value is greater than or equal to the second content, the target radiation intensity is determined to be a low-level radiation intensity.

[0048] The intensity of low-level rays is less than that of intermediate rays, and the intensity of intermediate rays is less than that of high-level rays.

[0049] For example, in the coal testing scenario of a coal-fired power plant, a batch of newly purchased coal is to be tested for multiple elements. Based on the coal supplier information and previous purchasing experience, it is preliminarily estimated that the coal contains high carbon, hydrogen, and oxygen content, medium sulfur content (greater than or equal to the first content and less than the second content), and low content of some trace metal elements.

[0050] For major elements such as carbon, hydrogen, and oxygen, the atomic number is relatively low and the element content is high (greater than or equal to the second content). X-rays in the primary energy band can be selected, such as X-rays with an energy below tens of keV, and low-level intensity rays can be used at the same time. Because these elements have low atomic numbers, low-energy X-rays can more effectively excite them to produce fluorescence.

[0051] For sulfur, due to its relatively high atomic number, we can choose X-rays in the secondary energy band (usually tens of keV to more than 100 keV), and choose the corresponding ray intensity according to the estimated content. This can ensure the detection sensitivity of sulfur without causing too much interference to the detection of other elements.

[0052] For trace metal elements, such as copper and zinc, which have high atomic numbers, you can choose the third-level energy X-ray (usually above 100 keV). If the estimated content is low (less than the first content), you can use the higher-level ray intensity to enhance the detection signal.

[0053] In the above embodiments, more accurate calculation of energy bands and radiation intensities can be achieved based on mapping algorithms or mathematical formulas, such as one-to-one correspondence between atomic numbers and energy bands, and one-to-one correspondence between element contents and radiation intensities.

[0054] In this embodiment, when analyzing coal samples of different particle sizes, the penetration ability of X-rays and the interaction with the samples will be different. For samples with finer particle sizes, a lower X-ray intensity may be required to reduce scattering and background interference. For samples with coarser particle sizes, the X-ray intensity can be appropriately increased to ensure sufficient excitation.

[0055] This embodiment determines the target energy band and ray intensity according to the atomic number of the element and the estimated content value, respectively, thereby improving the pertinence and accuracy of the detection. Selecting the appropriate energy band for elements with different atomic numbers can more effectively excite them to produce fluorescence. At the same time, the ray intensity is determined according to the content value to avoid signal saturation or insufficient detection sensitivity. In addition, the ray intensity is adjusted considering samples of different particle sizes to enhance the adaptability of the method. For fine-grained samples, the ray intensity is reduced to reduce interference, and for coarse-grained samples, the intensity is increased to ensure excitation, making the detection results more reliable. This refined adjustment helps to obtain more accurate coal element content detection results in various practical application scenarios, providing strong support for the rational use and quality control of coal.

[0056] In one embodiment of the present disclosure, the coal element content is detected based on the target multi-energy X-ray to obtain the target element content detection result, including: The coal to be inspected is irradiated with target multi-energy X-rays to obtain reflected X-ray signals of multiple target energy bands after passing through the coal to be inspected.

[0057] The coal element content is calculated based on the target multi-energy X-ray and reflected X-ray signals to obtain the target element content detection result. The target element content detection result includes the content information of multiple elements in the coal to be detected.

[0058] In this embodiment, the parameters of the target multi-energy X-ray (including the intensity and wavelength of each energy band) are recorded and analyzed. Combined with the reflected X-ray signal, the coal element content is calculated through a specific algorithm and model. For example, a mathematical model can be established based on the absorption and scattering characteristics of different elements for specific energy X-rays, and the content of each element in the coal can be inferred by using the known law of interaction between X-rays and elements.

[0059] For example, according to the Lambert-Beer law, the intensity change relationship of the target multi-energy X-ray after passing through the coal to be detected is:

[0060] in, Indicates a specific energy band in the target multi-energy X-ray The initial strength, Indicates the specific energy band of the reflected X-rays after passing through coal The strength of It means that the energy band of element E in coal is The linear attenuation coefficient of X-rays, It is related to factors such as element type, energy band and coal density. d represents the path length of the target multi-energy X-ray passing through the coal. Indicates the content of element E in coal.

[0061] Taking the logarithm of both sides of the above equation gives:

[0062] The linear attenuation coefficient matrix of different elements for X-rays in different energy bands is obtained through experiments or theoretical calculations. , for n energy bands and m elements, the above formula can be written in matrix form:

[0063] Denoted as:

[0064] in, Indicates the log intensity ratio The matrix A represents the linear attenuation coefficient matrix multiplied by the path length d. Represents the element content vector. Respectively represent different target energy bands , the initial intensity of the target multi-energy X-ray The intensity of X-rays reflected from coal It reflects the change in the intensity of the target multi-energy X-ray after passing through the coal. This change is related to the absorption of the target multi-energy X-ray by each element in the coal. The jth element can be expressed as , the i-th target energy band can be expressed as Elements in coal The target energy band is The linear attenuation coefficient of the target multi-energy X-ray can be expressed as , which reflects the element The intensity of absorption, scattering, etc. of X-rays in a specific energy band. Represents different elements in coal The content of various elements in coal is determined by the target multi-energy X-ray and reflected X-ray signals.

[0065] This linear equation system can be solved by the least square method and other methods to obtain the estimated content of each element in coal:

[0066] in, Represents the transpose of matrix A. Representation Matrix The inverse matrix of .

[0067] Exemplarily, the main elements in coal include low atomic number elements mainly C, and higher atomic number elements such as Si, Al, Ca, Fe, and S. Coal is irradiated with multi-energy X-rays, and rays of many energies can be obtained from the multi-energy X-rays, and coal is regarded as a mixture of the following elements: low atomic number elements mainly C, a second element composed of Si and Al, Fe as a third element, Ca as a fourth element, and S as a fifth element. Multi-energy X-rays are irradiated on coal samples, and the intensity of rays of different energies after the action is measured. At least 5 sensitive energy intervals (i.e., multiple target energy bands) are selected to obtain at least 5 equations, which are combined into a system of equations. Solving the system of equations can obtain the content of various components, and then calculate the element content.

[0068] This embodiment records and analyzes the target multi-energy X-ray parameters and calculates the coal element content in combination with the reflected X-ray signal, which can make full use of the multi-energy characteristics of X-rays and improve the accuracy and comprehensiveness of detection. The characteristics of different elements can be analyzed to avoid the limitations of single-energy X-ray detection. A mathematical model is established based on the Lambert-Beer law, and the content of each element in the coal is inferred using the known interaction law between X-rays and elements. It has a clear theoretical basis and scientificity. The linear attenuation coefficient matrix is ​​obtained by experimental or theoretical calculation, and then the least squares method is used to solve the linear equations. The content of each element can be estimated more accurately, providing reliable data support for coal quality assessment and subsequent utilization. In practical applications, it helps to optimize the use of coal and improve energy efficiency. It also provides scientific detection methods for coal trade, industrial production and other fields.

[0069] In one embodiment of the present disclosure, the plurality of detection modes include a first detection mode and a second detection mode.

[0070] Based on the information of multiple elements to be detected, multiple target energy bands and multiple target ray intensities in the target detection mode are determined, including: In response to the target detection mode being the first detection mode: Based on the information of the multiple elements to be detected, multiple first energy bands and multiple first ray intensities are determined, and the multiple first energy bands are used as multiple target energy bands, and the multiple first ray intensities are used as multiple target ray intensities.

[0071] In response to the target detection mode being the second detection mode: A plurality of first energy bands and a plurality of first ray intensities are determined based on a plurality of information of elements to be detected.

[0072] The coal element content is detected based on multiple first energy bands and multiple first ray intensities to generate a first element content detection result.

[0073] Based on the first element content detection result, a plurality of second energy bands and a plurality of second ray intensities are determined, and the plurality of second energy bands are used as a plurality of target energy bands, and the plurality of second ray intensities are used as a plurality of target ray intensities.

[0074] In this embodiment, the multiple detection modes further include a third detection mode.

[0075] In response to the target detection mode being the third detection mode: Based on the information of multiple elements to be detected, multiple first energy bands and multiple first ray intensities are determined. Based on the multiple first energy bands and multiple first ray intensities, the coal element content of the coal sample is detected to generate the element content detection result of the coal sample. Based on the element content detection result of the coal sample, multiple second energy bands and multiple second ray intensities are determined. Based on the multiple second energy bands and multiple second ray intensities, the coal element content of the remaining multiple coals to be detected is detected.

[0076] In this embodiment, in response to the target detection mode being the second detection mode, the method further includes: A second multi-energy X-ray is generated based on multiple second energy bands and multiple second ray intensities, and the coal element content is detected based on the second multi-energy X-ray to generate a second element content detection result.

[0077] Exemplarily, in the first detection mode, each coal to be detected is detected only once. In the second detection mode, each coal to be detected is detected twice. In the third detection mode, one or a small part of the coal to be detected is detected twice, and the multiple energy bands and multiple ray intensities obtained in the second detection process are used to detect the remaining coal to be detected.

[0078] This embodiment significantly improves the accuracy and efficiency of coal element content detection by introducing multiple detection modes, especially the second and third detection modes. The second detection mode achieves more accurate detection of coal elements by adjusting the energy band and ray intensity after the initial detection. The third mode performs rapid detection of subsequent coal samples after a detailed detection, which greatly saves time and resources. This flexible and changeable detection method not only improves the detection quality, but also reduces the detection cost, bringing significant benefits.

[0079] In one embodiment of the present disclosure, the coal multi-element detection method further includes: In response to receiving the first trigger instruction, determining the target detection mode as the first detection mode.

[0080] In response to receiving the second trigger instruction, determining the target detection mode as the second detection mode.

[0081] In this embodiment, a trigger instruction may be generated based on a detection requirement.

[0082] The target detection mode is determined from a plurality of detection modes based on the trigger instruction. The trigger instruction includes a first trigger instruction or a second trigger instruction.

[0083] In this embodiment, the trigger instruction further includes a third trigger instruction. In response to receiving the third trigger instruction, the target detection mode is determined to be the third detection mode.

[0084] Exemplarily, a trigger instruction generation mechanism can be established to generate trigger instructions according to detection requirements through specific software interfaces, hardware buttons or preset conditions in the automated detection system. For example, different option buttons are set in the detection software, and the user selects the corresponding detection mode according to the specific situation of the coal, thereby generating corresponding trigger instructions. Different detection modes are suitable for different coal conditions and detection requirements. Flexible selection of detection modes through trigger instructions can meet diverse detection scenarios and improve the pertinence and efficiency of detection. Users can actively select the most suitable detection mode based on actual conditions, rather than relying on a fixed detection process, so as to better adapt to different coal characteristics and detection purposes.

[0085] For example, when a large amount of coal of a relatively single type needs to be quickly tested to meet the production schedule requirements, a first trigger instruction can be generated based on the testing requirements. For example, when the coal is just mined from a mine and its main element content needs to be preliminarily determined for classification and preliminary quality assessment, the first testing mode is selected to quickly obtain results without affecting the subsequent production process.

[0086] If a small batch of coal samples from different mining areas with complex types need to be accurately tested to determine their detailed elemental composition and quality characteristics, a second trigger instruction can be generated. For example, if an enterprise wants to develop new coal utilization technology and needs to accurately understand the element content of different types of coal, it can choose the second detection mode for more in-depth analysis.

[0087] When an enterprise conducts special project research or encounters special coal situations, a third trigger instruction is generated and the third detection mode is selected. For example, to conduct comprehensive multi-element detection and analysis of a new type of coal resource to explore its potential application value, the third detection mode can be used to obtain the most accurate detection results using more advanced detection technology and more complex algorithms.

[0088] This embodiment achieves flexible selection and switching of detection modes by introducing a trigger instruction mechanism. This method not only improves the pertinence and efficiency of detection, but also meets diverse detection needs. Users can actively select the most suitable detection mode according to coal characteristics and detection purposes, avoiding the limitations of traditional fixed detection processes. This flexibility ensures the accuracy and timeliness of detection results, helping enterprises to better understand coal quality and optimize production processes.

[0089] In one embodiment of the present disclosure, the coal information includes coal type and coal quantity.

[0090] Determine the target detection mode from multiple detection modes based on coal information, including: In response to receiving the fourth trigger instruction, the type and amount of the coal to be inspected are determined.

[0091] If the amount of the coal to be tested is greater than or equal to the first value and / or the number of coal types is less than the second value, the coal element content is tested based on the first detection mode.

[0092] If the amount of the coal to be tested is less than the first value and / or the number of coal types is greater than or equal to the second value, the coal element content is tested based on the second detection mode.

[0093] In this embodiment, determining the target detection mode from multiple detection modes based on the coal information also includes: If the amount of the coal to be tested is greater than or equal to the first value, and the number of coal types is greater than or equal to the second value, the coal element content is tested based on the first detection mode.

[0094] If the amount of the coal to be tested is less than the first value, the coal element content is tested based on the second detection mode.

[0095] If the amount of the coal to be tested is greater than or equal to the first value, and the number of coal types is less than the second value, the coal element content is tested based on the third detection mode.

[0096] For example, in a coal trade hub, a large number of different types and quantities of coal need to be tested for multiple elements every day. Assume that the first value is 1,000 tons and the second value is 3 types. When a batch of 1,500 tons of coal is received, which is mainly a mixture of two common types of coal, since the amount of coal is greater than the first value and the number of coal types is less than the second value, after receiving the fourth trigger instruction, it is determined to adopt the third detection mode. First, determine the appropriate first energy band and first ray intensity based on the information of the element to be detected, conduct preliminary testing on some coal, further adjust the parameters after obtaining the preliminary results, and conduct more accurate testing on the remaining coal to meet the quality control requirements for specific types and larger quantities of coal in trade.

[0097] If another batch of 800 tons of coal is received, including five different types of coal, the system determines to use the second detection mode because the coal volume is less than the first value and the number of coal types is greater than the second value. In this case, the first energy band and the first ray intensity are first determined for preliminary detection, and the second energy band and the second ray intensity are adjusted and determined based on the preliminary results for more in-depth detection.

[0098] When there is a batch of 1,200 tons of cargo with only one type of coal, because the amount of coal is greater than the first value and the number of coal types is less than the second value, the third detection mode is used to improve detection efficiency and accuracy and provide reliable data for quick trade decisions.

[0099] In one embodiment of the present disclosure, the coal multi-element detection method further includes: In response to the target detection mode being the first detection mode, the element content difference between the target detection coal and the detected coal is calculated. If the element content difference is greater than or equal to the first threshold, the second detection mode is switched to detect the target detection coal.

[0100] In response to the target detection mode being the second detection mode, the element content difference between the target detection coal and the detected coal is calculated. If the element content difference is less than the first threshold, the first detection mode is switched to detect the target detection coal.

[0101] In this embodiment, the method further includes: in response to the target detection mode being the first detection mode or the third detection mode, calculating the element content difference between the target detection coal and the detected coal. If the element content difference is greater than or equal to the first threshold, switching to the second detection mode to detect the target detection coal.

[0102] In response to the target detection mode being the second detection mode, the element content difference between the target detection coal and the detected coal is calculated. If the element content difference is less than the first threshold and greater than or equal to the second threshold, the third detection mode is switched to detect the target detection coal.

[0103] If the element content difference is less than the second threshold value, the first detection mode is switched to detect the coal to be detected.

[0104] In this embodiment, the element content difference may include an average element content difference and an RMS element content difference. The average element content ratio difference and the RMS element content ratio difference may also be calculated based on the element content ratio to evaluate the difference in coal element content.

[0105] In this embodiment, the root mean square difference of the element content between the target coal and the detected coal can be calculated based on the first formula. The first formula is:

[0106] in, represents the root mean square difference of element content, t represents the number of element types, represents the rth element, Indicates the content of the rth element in the target coal. Indicates that the content of the rth element in the coal has been detected.

[0107] In this embodiment, the average difference in element content between the target coal to be detected and the detected coal can be calculated based on the second formula.

[0108] The second formula is:

[0109] in, Indicates the average difference in element content.

[0110] In this embodiment, the tested coal may include the tested coal before the target tested coal, or all the tested coal before the target tested coal in the same batch of coal testing. At this time, the element content of the tested coal is the average value of the element content of all the tested coal.

[0111] For example, different detection modes have their own advantages and disadvantages in detection efficiency and accuracy. The first detection mode is relatively fast but may have slightly lower accuracy, the second detection mode is more accurate but takes longer, and the third detection mode may have unique advantages in certain specific situations. In the actual detection process, the choice of mode is based only on preliminary experience and judgment. The actual situation of coal may be much more complicated. Therefore, it is necessary to dynamically adjust the detection mode according to the actual situation to improve the detection efficiency while ensuring the detection accuracy.

[0112] The RMS difference and the average difference can comprehensively measure the difference in element content between the target coal and the tested coal from different perspectives. The RMS difference gives greater weight to elements with large content changes, which can highlight significant differences. The average difference can reflect the overall average change level. By calculating these differences, the fluctuation of coal element content can be quantified, providing a clear numerical basis for judging whether to switch the detection mode.

[0113] Setting of the first threshold: When the target detection mode is the first detection mode or the third detection mode, if the difference in element content is greater than or equal to the first threshold, it means that the current rapid detection mode may not accurately reflect the true nature of this batch of coal, and it is necessary to switch to the more accurate second detection mode for further detection. For example, if the initial estimate is that the number of types of this batch of coal (different types can be distinguished by element content differences, coal characteristics, etc.) is small, but through detection, it is found that the element content differences between this batch of coal are large, then it is necessary to switch to other modes for more accurate detection.

[0114] Setting of the second threshold: When the target detection mode is the second detection mode, if the difference in element content is less than the first threshold and greater than or equal to the second threshold, it indicates that the element content characteristics between different detected coals fluctuate within a certain range. At this time, you can switch to the third detection mode and use its specific advantages for subsequent detection. If the difference is less than the second threshold, it means that the properties of the batch of coal are relatively consistent, and you can switch back to the first detection mode to improve detection efficiency.

[0115] This embodiment introduces a multi-mode switching and difference evaluation mechanism, and the coal multi-element detection method can significantly improve the detection efficiency and accuracy. According to the fluctuation of the actual element content of coal, the detection mode is dynamically adjusted to ensure that the detection speed is improved while maintaining high accuracy. The comprehensive application of the root mean square difference and the average difference provides a quantitative basis for mode switching, making the detection process more scientific and reasonable. In addition, the method is also flexible and adaptable, which can meet the detection needs of different types of coal and provide strong support for the coal industry.

[0116] Corresponding to the coal multi-element detection method of the above embodiment, Figure 2 This is a structural block diagram of a coal multi-element detection device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 2 The coal multi-element detection device 20 comprises: The mode selection module 21 is used to determine a target detection mode from multiple detection modes based on the coal information of the coal to be detected.

[0117] The calculation module 22 is used to determine multiple target energy bands and multiple target ray intensities in the target detection mode based on multiple information of elements to be detected.

[0118] The detection module 23 is used to generate target multi-energy X-rays based on multiple target energy bands and multiple target ray intensities, detect the coal element content based on the target multi-energy X-rays, and obtain the target element content detection result.

[0119] In one embodiment of the present disclosure, the calculation module 22 is specifically used to determine the estimated content values ​​of multiple elements to be detected in the coal to be detected.

[0120] Determine the atomic numbers of multiple elements to be detected.

[0121] A plurality of target energy bands are determined based on the atomic numbers of a plurality of elements to be detected.

[0122] A plurality of target radiation intensities are determined based on the estimated content values ​​of a plurality of elements to be detected.

[0123] In one embodiment of the present disclosure, the detection module 23 is specifically used to irradiate the coal to be detected based on the target multi-energy X-ray, and obtain the reflected X-ray signals of multiple target energy bands after passing through the coal to be detected.

[0124] The coal element content is calculated based on the target multi-energy X-ray and reflected X-ray signals to obtain the target element content detection result. The target element content detection result includes the content information of multiple elements in the coal to be detected.

[0125] In one embodiment of the present disclosure, the plurality of detection modes include a first detection mode and a second detection mode. The calculation module 22 is further configured to respond to the target detection mode being the first detection mode: Based on the information of the multiple elements to be detected, multiple first energy bands and multiple first ray intensities are determined, and the multiple first energy bands are used as multiple target energy bands, and the multiple first ray intensities are used as multiple target ray intensities.

[0126] In response to the target detection mode being the second detection mode: A plurality of first energy bands and a plurality of first ray intensities are determined based on a plurality of information of elements to be detected.

[0127] The coal element content is detected based on multiple first energy bands and multiple first ray intensities to generate a first element content detection result.

[0128] Based on the first element content detection result, a plurality of second energy bands and a plurality of second ray intensities are determined, and the plurality of second energy bands are used as a plurality of target energy bands, and the plurality of second ray intensities are used as a plurality of target ray intensities.

[0129] In an embodiment of the present disclosure, the mode selection module 21 is specifically configured to determine that the target detection mode is the first detection mode in response to receiving the first trigger instruction.

[0130] In response to receiving the second trigger instruction, determining the target detection mode as the second detection mode.

[0131] In an embodiment of the present disclosure, the coal information includes the type and amount of coal. The mode selection module 21 is further configured to determine the type and amount of the coal to be detected in response to receiving the fourth trigger instruction.

[0132] If the amount of the coal to be tested is greater than or equal to the first value and / or the number of coal types is less than the second value, the coal element content is tested based on the first detection mode.

[0133] If the amount of the coal to be tested is less than the first value and / or the number of coal types is greater than or equal to the second value, the coal element content is tested based on the second detection mode.

[0134] In one embodiment of the present disclosure, the coal multi-element detection device 20 further includes: The mode switching module is used to calculate the element content difference between the target detection coal and the detected coal in response to the target detection mode being the first detection mode. If the element content difference is greater than or equal to the first threshold, switch to the second detection mode to detect the target coal.

[0135] In response to the target detection mode being the second detection mode, the element content difference between the target detection coal and the detected coal is calculated. If the element content difference is less than the first threshold, the first detection mode is switched to detect the target detection coal.

[0136] See also Figure 3 , Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. Figure 3 The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of the modules in the above-mentioned device embodiments, such as Figure 2 The functions of modules 21 to 23 are shown.

[0137] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0138] The input device 302 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.

[0139] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0140] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of the coal multi-element detection method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the electronic device 300 described in the embodiments of the present disclosure, which will not be repeated here.

[0141] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor, all or part of the processes in the above-mentioned embodiment method are implemented, and the computer program can also be completed by instructing the relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0142] The computer-readable storage medium may be an internal storage unit of the electronic device of any of the aforementioned embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0145] In the several embodiments provided in the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.

[0147] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0148] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for detecting multi-element coal, characterized in that: include: determining a target detection mode from a plurality of detection modes based on coal information of the coal to be detected; Determine multiple target energy bands and multiple target ray intensities in a target detection mode based on multiple elements information to be detected; Target multi-energy X-rays are generated based on the multiple target energy bands and multiple target ray intensities, and the coal element content is detected based on the target multi-energy X-rays to obtain target element content detection results.

2. The coal multi-element detection method according to claim 1, characterized in that: The method of determining a plurality of target energy bands and a plurality of target ray intensities based on information of a plurality of elements to be detected includes: Determining the estimated content values ​​of the plurality of elements to be detected in the coal to be detected; Determine the atomic numbers of multiple elements to be detected; Determining the plurality of target energy bands based on the atomic numbers of the plurality of elements to be detected; The multiple target radiation intensities are determined based on the estimated content values ​​of the multiple elements to be detected.

3. The coal multi-element detection method according to claim 1, characterized in that: The detecting of the coal element content based on the target multi-energy X-ray to obtain the target element content detection result includes: The coal to be detected is irradiated based on the target multi-energy X-ray to obtain reflected X-ray signals of multiple target energy bands after passing through the coal to be detected; The coal element content is calculated based on the target multi-energy X-ray and the reflected X-ray signal to obtain the target element content detection result; the target element content detection result includes content information of multiple elements in the coal to be detected.

4. The coal multi-element detection method according to claim 1, characterized in that: The plurality of detection modes include a first detection mode and a second detection mode; The method of determining multiple target energy bands and multiple target ray intensities in a target detection mode based on multiple to-be-detected element information includes: In response to the target detection mode being the first detection mode: Determine a plurality of first energy bands and a plurality of first ray intensities based on a plurality of information of elements to be detected; use the plurality of first energy bands as a plurality of target energy bands, and use the plurality of first ray intensities as a plurality of target ray intensities; In response to the target detection mode being the second detection mode: Determine a plurality of first energy bands and a plurality of first ray intensities based on a plurality of information of elements to be detected; Detecting the coal element content based on the multiple first energy bands and the multiple first ray intensities, and generating a first element content detection result; Based on the first element content detection result, a plurality of second energy bands and a plurality of second ray intensities are determined; the plurality of second energy bands are used as a plurality of target energy bands, and the plurality of second ray intensities are used as a plurality of target ray intensities.

5. The coal multi-element detection method according to claim 4, characterized in that: Also includes: In response to receiving the first trigger instruction, determining that the target detection mode is a first detection mode; In response to receiving the second trigger instruction, determining the target detection mode as the second detection mode.

6. The coal multi-element detection method according to claim 4, characterized in that: The coal information includes coal type and coal quantity; The determining of the target detection mode from multiple detection modes based on the coal information includes: In response to receiving a fourth trigger instruction, determining the type and amount of the coal to be tested; If the amount of the coal to be tested is greater than or equal to the first value and / or the number of coal types is less than the second value, testing the coal element content based on the first testing mode; If the amount of the coal to be tested is less than the first value and / or the number of coal types is greater than or equal to the second value, the coal element content is tested based on the second detection mode.

7. The coal multi-element detection method according to claim 6, characterized in that: Also includes: In response to the target detection mode being the first detection mode, calculating the difference in element content between the target detection coal and the detected coal; If the element content difference is greater than or equal to the first threshold, switching to the second detection mode to detect the coal to be detected; In response to the target detection mode being the second detection mode, the element content difference between the target detection coal and the detected coal is calculated; if the element content difference is less than the first threshold, the first detection mode is switched to detect the coal to be detected.

8. A coal multi-element detection device, characterized in that: include: A mode selection module, used for determining a target detection mode from a plurality of detection modes based on coal information of the coal to be detected; A calculation module, used for determining multiple target energy bands and multiple target ray intensities in a target detection mode based on multiple information of elements to be detected; The detection module is used to generate target multi-energy X-rays based on the multiple target energy bands and multiple target ray intensities, detect the coal element content based on the target multi-energy X-rays, and obtain the target element content detection result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.