A pellet strength detection method and system
Through the combination of PID algorithm and pellet image features, the destruction pressure is updated in real time, which solves the problems of errors and long time caused by excessive or too small pressure changes in pellet strength detection, and achieves more accurate and efficient detection.
Patent Information
- Application Number
- CN202410866933.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-01
AI Technical Summary
During the pellet strength test, if the pressure change is too large, resulting in an error, or if the change is too small, the test time is too long, making it impossible to accurately measure the crushing pressure of the pellets.
The PID algorithm is used to control the applied pressure, and the damage characteristics in the pellet image are combined to update the damage pressure in real time. The historical characteristics and change rate in the database are used to predict the damage pressure, ensuring that the pressure is updated in time before the pellet is broken.
It effectively avoids errors caused by excessive pressure changes, shortens the detection time, improves the accuracy of the detection results, and ensures the accuracy and efficiency of pellet strength detection.
Smart Images

Figure CN118409498B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation control technology, and in particular to a pellet strength detection method and system. Background Art
[0002] Pellets are spheres formed by finely ground materials through bonding with a binder, balling with a ball-making device, and high-temperature roasting. They are important blast furnace materials in the steel industry. Pellets strength refers to the ability of pellets to resist crushing and is an important indicator for evaluating the metallurgical properties of pellets. Pellets strength is described by applying pressure to the pellets through a pressurizing device and gradually changing the pressure, using the pressure when the pellets are broken and crushed.
[0003] However, if the pressure change is too large, the pressure at a certain moment may be lower than the actual crushing pressure, and the pellet may not be crushed. However, after the pressure is changed, the pressure is much higher than the actual crushing pressure, resulting in premature crushing. In this case, the measured crushing pressure is higher than the actual crushing pressure, which leads to a large error in the pellet strength test. If the pressure change is small, it takes a long time to apply pressure, especially when there are a large number of pellets to be tested, which results in a long time for the pellet strength test. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a pellet strength detection method and system.
[0005] A pellet strength detection method and system of the present invention adopts the following technical solutions:
[0006] An embodiment of the present invention provides a method for detecting pellet strength, the method comprising the following steps:
[0007] Apply pressure on the pellets, collect pellet images in real time, extract pellet damage features from the pellet images, and use the pellet damage features to predict the pellet failure pressure;
[0008] The applied pressure is controlled by the PID algorithm to change toward the destruction pressure. When the pressure changes toward the destruction pressure but is not equal to the destruction pressure, the destruction pressure is updated once. Then the applied pressure is controlled by the PID algorithm again to change toward the updated destruction pressure. When the pressure changes toward the updated destruction pressure but is not equal to the updated destruction pressure, the updated destruction pressure is updated once again. This process is repeated until the pellet is broken. Whether the pellet strength is qualified is determined according to the pressure when the pellet is broken.
[0009] An update to the breaking pressure, including:
[0010] An update time is preset, and the destruction pressure of the pellet is predicted again according to the pellet damage characteristics of the pellet image collected at the update time, which is recorded as the second pressure; the destruction pressure and the second pressure are merged according to the change rate of the pellet damage characteristics in the pellet image collected at the update time to obtain the updated destruction pressure.
[0011] Preferably, the extraction of pellet damage features in the pellet image includes the following specific steps:
[0012] The pellet image before pressure is applied is recorded as the initial image, and the pellet image collected at any time after pressure is applied is recorded as the target image. The corner points in the target image and the initial image are extracted, and the corner points in the target image are matched with the corner points in the initial image. The vector formed by any pair of matched corner points is recorded as a corner point matching vector in the target image.
[0013] All pellet images collected after pressure is applied and before the target image are obtained, which are recorded as image set S. The target image is also included in S. The corner point matching vectors with a length equal to 0 in all pellet images in S are deleted, and the remaining corner point matching vectors in all pellet images in S are recorded as pellet damage features of the target image.
[0014] Preferably, the method of predicting the breaking pressure of a pellet by using the pellet breakage characteristics comprises the following specific steps:
[0015] Search the database for the pressure label corresponding to the historical damage feature that is most similar to the damage feature of the pellet, and use it as the failure pressure of the pellet;
[0016] The database includes historical damage features, and each historical damage feature in the database corresponds to a pressure tag; the historical damage feature refers to: the pellet damage feature of the pellet image when the pellet is broken during the historical pellet strength detection process;
[0017] The pressure label refers to the pressure applied when the pellets are broken during the historical pellet strength test.
[0018] Preferably, the method of fusing the failure pressure and the second pressure to obtain the updated failure pressure according to the change rate of the pellet damage feature in the pellet image collected at the update time includes the following specific steps:
[0019] The first moment in the process when the pressure changes toward the breaking pressure but is not yet equal to the breaking pressure is recorded as T1, and the updating moment is recorded as T2;
[0020] Calculate the similarity between the pellet damage features of the pellet images collected at any two adjacent moments in the interval [T1, T2], and obtain the change rate according to the average of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2], and record it as a;
[0021] The updated breaking pressure P0=a×P1+(1-a)×P2, wherein P1 represents the breaking pressure and P2 represents the second pressure.
[0022] Preferably, the change rate is obtained according to the mean value of the similarity of the pellet breakage characteristics of the pellet images collected at all adjacent moments in the interval [T1, T2], and the specific steps include the following:
[0023] The mean of the similarity of the pellet breakage characteristics is denoted as C, the difference between P2 and P1 is calculated, and the ratio of the difference to P2 is denoted as D. When D is less than or equal to 0, the change rate is set to 1; when D is greater than 0, the change rate is negatively correlated with C and positively correlated with D.
[0024] Preferably, after the pellets are crushed, the specific steps included are as follows:
[0025] The pressure when the pellet is broken and the pellet breakage features in the collected pellet image are stored in the database.
[0026] Preferably, the specific steps of obtaining the similarity are as follows:
[0027] For any two pellet damage features A and B, perform KM matching on the corner point matching vector in A and the corner point matching vector in B, calculate the cosine similarity between the matched pairs of corner point matching vectors, and take the average of the cosine similarities between all matched pairs of corner point matching vectors as the similarity between A and B.
[0028] Preferably, the specific steps for obtaining the update time are as follows:
[0029] After time T1 and when the pressure is less than a preset percentage of the breaking pressure, the difference between the pressure at each moment and the pressure at the previous moment is calculated, and the moment when the difference is greater than the preset pressure threshold is used as the update moment.
[0030] Preferably, the algorithm used to extract the corner points in the target image and the initial image is a SIFT corner point matching algorithm.
[0031] Another embodiment of the present invention also provides a pellet strength detection system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned pellet strength detection method when executing the computer program.
[0032] The beneficial effects of the technical solution of the present invention are:
[0033] The present invention utilizes a PID algorithm to control the applied pressure to change toward the breaking pressure, so that the pressure can be reasonably controlled during the gradual pressurization process, so that the pressure changes to a pressure that can break the pellets, thereby avoiding to a certain extent the problem of applying pressure for too long caused by the conventional method of changing the pressure by fixed increments.
[0034] Furthermore, the present invention updates the destruction pressure once during the process when the pressure changes toward the destruction pressure but is not yet equal to the destruction pressure, and then uses the PID algorithm to control the applied pressure to change toward the updated destruction pressure; and updates the updated destruction pressure again during the process when the pressure changes toward the updated destruction pressure but is not yet equal to the updated destruction pressure; this process continuously updates the destruction pressure in time before the pressure reaches the destruction pressure, and each update is performed by predicting the destruction pressure of the pellet again based on the pellet breakage characteristics, ensuring that the destruction pressure is continuously updated and changed with the pressure applied and the pellet breakage situation, thereby ensuring the accuracy of the destruction pressure and further shortening the pressure application time required to break the pellets.
[0035] At the same time, when the present invention updates the destruction pressure, the destruction pressure and the second pressure are merged to obtain the updated destruction pressure according to the rate of change of the pellet damage characteristics in the pellet image collected at the update time; it is ensured that the updated destruction pressure takes into account both the crushing time and the premature crushing of the pellet, and ensures that the pressure application time can be accelerated without crushing the pellet prematurely, so that the present invention can further save the pressure application time and improve the accuracy of the detection result. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A flowchart of the steps of a pellet strength detection method provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a pellet strength detection method and system proposed according to the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0039] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0040] The specific scheme of a pellet strength detection method and system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0041] Embodiment 1:
[0042] See also Figure 1 , which shows a step flow chart of a pellet strength detection method provided by an embodiment of the present invention, the method comprising the following steps:
[0043] Step S001, applying pressure on the pellets, collecting pellet images in real time, and extracting pellet breakage features from the pellet images.
[0044] A pressurizing device is used to apply pressure to the pellets. The pressurizing device includes a stage for placing the pellets and a pressure head for squeezing the pellets. The pressure head is controlled by a stepper motor, and the output pressure of the pressure head can also be controlled.
[0045] In addition, an industrial camera is placed on one side of the stage, the camera faces the pellet, and the optical center of the camera is on the same horizontal plane as the center of the pellet. In other embodiments, multiple industrial cameras can be placed, each camera faces the pellet, and the optical centers of all cameras are on the same horizontal plane as the center of the pellet.
[0046] The pressure head is started, and the pressure head is pressed against the pellet, and the pressure of the pressure head increases by 0.05 MPa per second. At the same time, after the pressure head is pressed against the pellet, the camera collects the pellet image once per second. The pellet image in this embodiment is a grayscale image. In other embodiments, if the collected pellet image is in color, it needs to be grayscaled into a grayscale image. In other embodiments, the pressure increment of the pressure head can be set to other values, which are not specifically limited in this embodiment.
[0047] It should be noted that the pellet image may contain background or objects such as the pressure head in addition to the pellet. This embodiment uses the DeepLabV3 semantic segmentation network to semantically segment the pellet image to obtain the pellet area. This embodiment subsequently only analyzes the pellet area in the pellet image, and the area outside the pellet area does not participate in the subsequent analysis and calculation. The DeepLabV3 semantic segmentation network is a well-known technology, and this embodiment does not specifically describe its network structure and training and use methods.
[0048] After each pellet image is collected, the pellet damage feature in the pellet image is extracted. The pellet damage feature describes the damage of the pellet when pressure is applied to the pellet. For the same pellet, its damage will gradually change as the pressure increases, so the pellet damage feature will also change as the pressure increases.
[0049] As a preferred example, the method for obtaining the pellet breakage characteristics includes:
[0050] The image of the pellet before pressure is applied is recorded as the initial image, and the image of the pellet collected at any time after pressure is applied is recorded as the target image. The corner points in the target image and the initial image are extracted using the SIFT corner point extraction algorithm (the Harris corner point extraction algorithm can be used in other embodiments); the corner points in the target image are matched with the corner points in the initial image, and the vector formed by any pair of matched corner points is recorded as a corner point matching vector in the target image.
[0051] In this embodiment, the dissimilarity measure SSD (Sum of Square Differences) is used to match the corner points. In other embodiments, the similarity measure NCC (Normalized Cross Correlation) may be used to match the corner points.
[0052] The purpose of obtaining the corner points is that the corner points can represent the detailed structural information of the surface of the pellet. When the pellet is deformed or damaged under pressure, some detailed structures in the target image will be displaced relative to the initial image. The above-mentioned corner point matching vector represents the displacement. The more serious the deformation or damage, the greater the displacement. At the same time, there will be various displacement directions. At this time, the longer the length of the corner point matching vector is, the more directions there are.
[0053] All pellet images collected after pressure is applied and before the target image are obtained, which are recorded as image set S. The target image is also included in S. The corner point matching vectors with a length equal to 0 in all pellet images in S are deleted, and the remaining corner point matching vectors in all pellet images in S are recorded as pellet damage features of the target image.
[0054] When obtaining the pellet damage characteristics, all pellet images collected after the pressure is applied and before the target image are combined, so that the pellet damage characteristics can describe the deformation or damage changes of the pellet under different pressures in the process from applying pressure to collecting the target image.
[0055] As an optional example, the method for obtaining the pellet damage characteristics includes:
[0056] The Canny edge detection algorithm is used to obtain the edge pixels of the target image, and the vector consisting of the position coordinates of any edge pixel and the average grayscale value of the eight neighborhoods of the edge pixel is used as an edge feature vector of the target image. All edge feature vectors of all pellet images in S are recorded as pellet damage features of the target image.
[0057] The pellet breakage characteristics obtained in the process describe the changes in pellet deformation or breakage under different pressures through the cracks produced in the pellet or the edges of the broken area.
[0058] Step S002: predicting the breaking pressure of the pellets using the pellet breakage characteristics.
[0059] Since the above method of pressurizing the pressure head is to pressurize with a fixed pressure increment, the advantage is that the pressure increases slowly, avoiding the situation where the pellets are suddenly crushed when the pressure changes too much and the measured crushing pressure is greater than the actual crushing pressure. However, the disadvantage is that the pressurization time is too long.
[0060] Therefore, this embodiment predicts the breaking pressure of the pellet through the pellet breakage characteristics at the current moment. The breaking pressure is estimated based on the historical pellet strength detection process and can roughly reflect the pressure required for the pellet to be crushed. When the pressure of the pressure head changes to the breaking pressure, the pellet may be crushed, which can save the crushing time.
[0061] As an example, the method of predicting the breaking pressure of a pellet using the pellet breakage characteristics includes:
[0062] At the current moment when pressure is applied to the pellet, the pellet predicted by the pellet damage feature at the current moment is recorded as F1; the pressure label corresponding to the historical damage feature with the greatest similarity to F1 is searched in the database and used as the breaking pressure of the pellet.
[0063] The database includes a large number of historical damage features, and each historical damage feature in the database corresponds to a pressure label; the historical damage feature refers to: the pellet damage feature of the pellet image when the pellet is broken during the historical pellet strength detection process; the pressure label refers to: the pressure when the pellet is broken during the historical pellet strength detection process.
[0064] Step S003: Using a PID algorithm to control the applied pressure to change toward the breaking pressure.
[0065] The above-mentioned destruction pressure is estimated based on the historical pellet strength detection process, and can roughly reflect the pressure required when the pellet is crushed. This embodiment will consider changing the pressure of the current moment into the destruction pressure. However, considering that the above-mentioned estimated destruction pressure is only a reference pressure value, it is not necessarily the crushing pressure of the currently pressed pellet; if the pressure when the currently pressed pellet is crushed is less than the destruction pressure, then when the pressure head pressure is directly changed to the destruction pressure, the pellet is directly broken prematurely. At this time, the destruction pressure is the result measured in the pellet strength detection process, and the result is less than the pressure when the pellet is crushed, resulting in inaccurate measurement results; on the other hand, when the pressure head pressure is directly changed to the destruction pressure, the pressure may change too much in a short period of time, causing the pressure head to impact the pellet with a large acceleration, which will also affect the measurement results in the pellet strength detection process.
[0066] Therefore, this embodiment uses the PID control algorithm to control the change of the pressure head pressure so that the pressure head pressure at the current moment gradually changes to the breaking pressure. The control parameters of the PID algorithm need to be manually set.
[0067] Step S004: When the pressure changes toward the breaking pressure but is not yet equal to the breaking pressure, the breaking pressure is updated once, and then the PID algorithm is used again to control the applied pressure to change toward the updated breaking pressure.
[0068] When the applied pressure is changed toward the destruction pressure by using the PID algorithm, the pressure of the pressure head gradually approaches the destruction pressure as time goes by, and the pellet will also be deformed or damaged under the pressure, and the pellet damage characteristics of the real-time collected pellet image will also change accordingly. Considering that the pellet damage characteristics at the previous moment are used when estimating the destruction pressure, the pellet damage characteristics at the previous moment are not as accurate and complete as the pellet damage characteristics of the real-time collected pellet image, because: as time goes by, the pellet damage characteristics contain more destruction deformation information, which can better reflect the changing characteristics of the physical properties of the pellet under different pressures.
[0069] Therefore, in this embodiment, when the pressure changes toward the breaking pressure but is not equal to the breaking pressure, the breaking pressure is updated once to ensure that the breaking pressure is accurate and reasonable. The specific updating method is:
[0070] When the pressure changes toward the destruction pressure but is not yet equal to the destruction pressure, an update time is preset, and the destruction pressure of the pellet is predicted again according to the pellet damage characteristics of the pellet image collected at the update time, which is recorded as the second pressure.
[0071] Since the pellet damage characteristics of the pellet image collected at the update time are more accurate and complete than the pellet damage characteristics calculated in step S001, and can better reflect the physical properties or physical damage behavior of the pellet under different pressures, the second pressure is more accurate than the destruction pressure obtained in step S002.
[0072] At this time (ie at the updating time), the pressure of the pressure head is no longer changed to the breaking pressure obtained in step S002, but may be changed to the second pressure.
[0073] It is also taken into consideration that when the target control data of the PID control algorithm is changed from the destruction pressure to the second pressure, the pressure head pressure under PID control will oscillate, causing repeated shocks to the pellets and interfering with the detection results; at the same time, suddenly changing the destruction pressure to the second pressure will also cause the pressure head pressure to increase instantaneously. When the pressure increases instantaneously, the pellets may be crushed prematurely, resulting in inaccurate pellet strength detection. Therefore, the pressure head pressure cannot be directly controlled to change to the second pressure.
[0074] Therefore, in this embodiment, the updated breaking pressure is obtained by fusing the breaking pressure and the second pressure, and then the PID algorithm is used again to control the applied pressure to change toward the updated breaking pressure.
[0075] On the one hand, the destruction pressure and the second pressure are fused to obtain an updated destruction pressure, and the pressure is changed toward the updated destruction pressure to avoid the above-mentioned problems caused by the shock or instantaneous increase in pressure. At the same time, it is considered that neither the destruction pressure in step S002 nor the above-mentioned second pressure average value evaluated according to the historical process can be regarded as the accurate pressure for crushing the pellets. Specifically, the physical damage of the pellets under different pressures should be observed. Even if the destruction pressure and the second pressure are fused to change the pressure toward the updated destruction pressure, there is still the situation of premature crushing, resulting in errors in the detection results. Therefore, this embodiment uses the change rate of the pellet damage characteristics in the pellet image collected at the update time to fuse the destruction pressure and the second pressure to obtain the updated destruction pressure.
[0076] That is, the above-mentioned destruction pressure and the second pressure are fused together based on the rate of change of the damage characteristics of the pellets. The rate of change of the damage characteristics of the pellets describes the physical damage of the pellets under different pressures at the time of update. The large rate of change of the damage characteristics of the pellets means that the pellets can be crushed quickly without updating the destruction pressure once (or without updating the destruction pressure too much), and there is no need to worry about the pellets being crushed prematurely due to excessive changes in the pressure head pressure. When the rate of change is small, it means that if the destruction pressure is not updated (or the destruction pressure is not updated too much), it may still take a long time to crush the pellets. At this time, an appropriate increase in the pressure head pressure will not crush the pellets prematurely. Therefore, the use of the change rate to fuse the destruction pressure and the second pressure takes into account both the crushing time and the premature crushing of the pellets, ensuring that the pressure time can be accelerated without crushing the pellets prematurely, and saving the pressure time also helps to accurately obtain the test results.
[0077] Step S005, when the pressure changes toward the updated breaking pressure but is not yet equal to the updated breaking pressure, the updated breaking pressure is updated again; and so on, until the pellet is broken, and whether the pellet strength is qualified is judged according to the pressure when the pellet is broken.
[0078] When the pressure changes toward the updated breaking pressure but is not yet equal to the updated breaking pressure, the updated breaking pressure is updated again. The updating process is the same as that in step S004. The general process is:
[0079] The updated breaking pressure is recorded as p1. When the pressure changes to p1 but is not equal to p1, an update time is preset again. The breaking pressure of the pellet is predicted again according to the pellet breakage characteristics of the pellet image collected at the update time, and is still recorded as the second pressure. According to the change rate of the pellet breakage characteristics in the pellet image collected at the update time, p1 and the second pressure are merged to obtain the updated breaking pressure p2.
[0080] The PID algorithm is then used again to control the applied pressure to change towards p2.
[0081] Subsequently, in the process of using the PID algorithm to control the applied pressure to change to p2, p2 is updated again to obtain p3, and then the PID algorithm is used again to control the applied pressure to change to p3. This process is repeated until the pellets are crushed.
[0082] The pressure when the pellet is crushed is recorded. When the pressure is greater than the preset pressure value, it indicates that the pellet strength test is qualified; when the pressure is not greater than the preset pressure value, it indicates that the pellet strength test is unqualified. The preset pressure value in this embodiment is 30Mpa, and in other embodiments it may be set according to the specific pellet strength standard or the production situation of the pellet, which is not specifically limited in this embodiment.
[0083] After the pellet is destroyed, the pressure at which the pellet is destroyed and the pellet damage characteristics in the collected pellet image are stored in a database. The database used in this embodiment is a MySQL database, and other databases may be used in other embodiments.
[0084] Embodiment 2:
[0085] This embodiment provides a pellet strength detection system, including 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 steps of the above-mentioned pellet strength detection method are implemented. At the same time, the system also includes a pressurizing device for applying pressure to the pellets, and an industrial camera is also installed on the pressurizing device. The above-mentioned memory and processor are also installed on the pressurizing device. At the same time, the pellet image collected by the industrial camera is transmitted to the processor via a data line. When the processor outputs a detection failure, a buzzer installed on the pressurizing device will send a voice prompt signal.
[0086] Embodiment three:
[0087] As an optional example, the preset method of the update time includes: when the pressure head pressure value at a certain time after time T1 is greater than 80% of the breaking pressure, the time is recorded as the update time T2.
[0088] This ensures that the breaking pressure is updated before it is reached, thus speeding up the crushing time of the pellets.
[0089] As a preferred example, the preset method of the update time also includes: after the T1 moment and when the head pressure is less than 80% of the breaking pressure, the difference between the pressure at each moment and the pressure at the previous moment is calculated, and when the difference is greater than 2MPa, the moment is used as the update moment. In this way, before the breaking pressure is reached, the moment when the pressure suddenly increases can be used as the update moment to update the breaking pressure, which can both speed up the crushing time of the pellets and avoid the situation where the pressure suddenly increases and causes the pellets to be crushed prematurely. When there is no situation where the difference is greater than 2MPa, the moment when the head pressure is greater than 80% of the breaking pressure is recorded as the update moment.
[0090] The above 80% and 2 MPa are examples. In other embodiments, the example values can be replaced with other values according to specific pellet quality inspection requirements or pellet production conditions.
[0091] As a preferred example, the updated breaking pressure is obtained by fusing the breaking pressure and the second pressure according to the change rate of the pellet damage feature in the pellet image collected at the updating time, and the specific method includes the following:
[0092] Calculate the similarity between the pellet damage features of the pellet images collected at any two adjacent moments in the interval [T1, T2], and obtain the change rate according to the average of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2], and record it as a;
[0093] The updated breaking pressure P0=a×P1+(1-a)×P2, wherein P1 represents the breaking pressure and P2 represents the second pressure.
[0094] The larger the change rate a is, the faster the pellets break when the head pressure changes to P1. At this time, you don't need to pay too much attention to the second pressure to avoid premature crushing of the pellets due to excessive changes in the head pressure. The smaller the change rate a is, the smaller the head pressure is, the more the pellets break when the head pressure changes to P1. At this time, you need to change the head pressure to P2. On the one hand, since the pellets do not break, there is no premature crushing of the pellets. On the other hand, the crushing time of the pellets can be accelerated.
[0095] As an optional example, the updated method for obtaining the breaking pressure also includes:
[0096] When a is greater than 0.45, the updated breaking pressure P0=P1; when a is less than or equal to 0.45, P0=P2.
[0097] Embodiment 4:
[0098] As an optional example, the change rate is obtained according to the average of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2], including the following method:
[0099] The mean of the similarity of the pellet breakage characteristics is denoted as C. When C is larger, it means that the pellet breakage characteristics [T1, T2] are relatively similar, and the breakage situation has not changed significantly. At this time, the change rate of the pellet breakage characteristics is lower; when C is smaller, it means that the pellet breakage characteristics [T1, T2] are quite different, and the breakage situation has changed significantly. At this time, the change rate of the pellet breakage characteristics is larger; in this embodiment, exp(-C) is used as the change rate.
[0100] As a preferred example, the change rate is obtained according to the average of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2], including the following method:
[0101] Calculate the difference between P2 and P1, and record the ratio of this difference to P2 as D; when D is larger and C is smaller, it means that when the pressure head changes to P1, there is a more obvious crushing trend, and P2 is much larger than P1. If the pressure head changes to P2, there may be a situation where the pellets are crushed prematurely. At this time, the direction of the pressure head pressure change should be more inclined to P1, which can speed up the crushing time. When D is smaller and C is larger, it means that when the pressure head changes to P1, there is no obvious crushing trend, and P2 is not much different from P1. Considering that P2 can more accurately reflect the pressure when the pellets are crushed, and if the pressure head pressure changes to P2, there may be no situation where the pellets are crushed prematurely, the direction of the pressure head pressure change should be more inclined to P2, which can also speed up the crushing time.
[0102] Therefore, this embodiment uses exp(-C)×D as the change rate, and can merge P1 and P2 from two aspects: the change of the damage and the relative size of P1 and P2, to ensure that the crushing time can be accelerated without crushing the pellets prematurely. exp() represents an exponential function with a natural constant as the base.
[0103] In other embodiments, As, express Function, used to ensure that the rate of change is greater than 0 and less than 1.
[0104] It should be noted that when D is less than or equal to 0, the change rate is set to 1.
[0105] As an example, the calculation method of the similarity of the pellet breakage characteristics includes:
[0106] For any two pellet damage features A and B, perform KM matching on the corner point matching vector in A and the corner point matching vector in B, calculate the cosine similarity between the matched pairs of corner point matching vectors, and take the average of the cosine similarities between all matched pairs of corner point matching vectors as the similarity between A and B.
[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting pellet strength, It is characterized in that The method comprises the following steps: Apply pressure on the pellets, collect pellet images in real time, extract pellet damage features from the pellet images, and use the pellet damage features to predict the pellet failure pressure; The applied pressure is controlled by the PID algorithm to change toward the destruction pressure. When the pressure changes toward the destruction pressure but is not equal to the destruction pressure, the destruction pressure is updated once. Then the applied pressure is controlled by the PID algorithm again to change toward the updated destruction pressure. When the pressure changes toward the updated destruction pressure but is not equal to the updated destruction pressure, the updated destruction pressure is updated once again. This process is repeated until the pellet is broken. Whether the pellet strength is qualified is determined according to the pressure when the pellet is broken. An update to the breaking pressure, including: An update time is preset, and the destruction pressure of the pellet is predicted again according to the pellet damage characteristics of the pellet image collected at the update time, which is recorded as the second pressure; the destruction pressure and the second pressure are merged according to the change rate of the pellet damage characteristics in the pellet image collected at the update time to obtain the updated destruction pressure.
2. A pellet strength detection method according to claim 1, It is characterized in that The specific steps of extracting the pellet damage features in the pellet image are as follows: The pellet image before pressure is applied is recorded as the initial image, and the pellet image collected at any time after pressure is applied is recorded as the target image. The corner points in the target image and the initial image are extracted, and the corner points in the target image are matched with the corner points in the initial image. The vector formed by any pair of matched corner points is recorded as a corner point matching vector in the target image. All pellet images collected after pressure is applied and before the target image are obtained, which are recorded as image set S. The target image is also included in S. The corner point matching vectors with a length equal to 0 in all pellet images in S are deleted, and the remaining corner point matching vectors in all pellet images in S are recorded as pellet damage features of the target image.
3. A pellet strength detection method according to claim 2, It is characterized in that The method of predicting the failure pressure of a pellet by using the pellet damage characteristics includes the following specific steps: Search the database for the pressure label corresponding to the historical damage feature that is most similar to the damage feature of the pellet, and use it as the failure pressure of the pellet; The database includes historical damage features, and each historical damage feature in the database corresponds to a pressure tag; the historical damage feature refers to: the pellet damage feature of the pellet image when the pellet is broken during the historical pellet strength detection process; The pressure label refers to the pressure applied when the pellets are broken during the historical pellet strength test.
4. A pellet strength detection method according to claim 2, It is characterized in that The method of fusing the failure pressure and the second pressure to obtain the updated failure pressure according to the change rate of the pellet damage feature in the pellet image collected at the update time includes the following specific steps: The first moment in the process when the pressure changes toward the breaking pressure but is not yet equal to the breaking pressure is recorded as T1, and the updating moment is recorded as T2; Calculate the similarity between the pellet damage features of the pellet images collected at any two adjacent moments in the interval [T1, T2], and obtain the change rate according to the average of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2], and record it as a; The updated breaking pressure P0=a×P1+(1-a)×P2, wherein P1 represents the breaking pressure and P2 represents the second pressure.
5. A pellet strength detection method according to claim 4, It is characterized in that The specific steps of obtaining the change rate according to the mean of the similarities of the pellet damage features of the pellet images collected at all adjacent moments in the interval [T1, T2] are as follows: The mean of the similarity of the pellet breakage characteristics is denoted as C, the difference between P2 and P1 is calculated, and the ratio of the difference to P2 is denoted as D. When D is less than or equal to 0, the change rate is set to 1; when D is greater than 0, the change rate is negatively correlated with C and positively correlated with D.
6. A pellet strength detection method according to claim 1, It is characterized in that After the pellets are crushed, the specific steps are as follows: The pressure when the pellet is broken and the pellet breakage features in the collected pellet image are stored in the database.
7. A pellet strength detection method according to any one of claims 3 to 5, It is characterized in that The specific steps for obtaining the similarity are as follows: For any two pellet damage features A and B, perform KM matching on the corner point matching vector in A and the corner point matching vector in B, calculate the cosine similarity between the matched pairs of corner point matching vectors, and take the average of the cosine similarities between all matched pairs of corner point matching vectors as the similarity between A and B.
8. A pellet strength detection method according to claim 4, It is characterized in that The specific steps for obtaining the update time are as follows: After time T1 and when the pressure is less than a preset percentage of the breaking pressure, the difference between the pressure at each moment and the pressure at the previous moment is calculated, and the moment when the difference is greater than the preset pressure threshold is used as the update moment.
9. A pellet strength detection method according to claim 2, It is characterized in that The algorithm used to extract the corner points in the target image and the initial image is the SIFT corner point matching algorithm.
10. A pellet strength detection system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of a pellet strength detection method as described in any one of claims 1 to 9 are implemented.
