Disclosure of Invention
The invention provides an ore screening system and an ore screening method.
In order to realize the purpose of the invention, the invention adopts the following technical scheme to realize: an ore screening system comprises an X-ray source and a detector for receiving X-rays emitted by the X-ray source, and comprises a data capturing module and a data analyzing module;
the data capturing module is used for capturing the data received by the detector;
and the data analysis module is used for analyzing the data captured by the detector to obtain the type and the coordinates of the ore.
The analysis method of the data analysis module comprises the following steps:
storing the captured data into a two-dimensional array a according to time and position,
comparing the size of each datum with the size of the threshold datum, if the size is smaller than the threshold value, outputting 1 to the two-dimensional array b corresponding to the time and the position of the datum in the two-dimensional array a, and if the size is larger than the threshold value, outputting 0 to the two-dimensional array b corresponding to the time and the position of the datum in the two-dimensional array a; adding four data of the upper, lower, left and right of each data in the two-dimensional array b, storing the time and the position of the addition result corresponding to the data in the two-dimensional array b into the two-dimensional array c, and if the addition result is 4, searching the data of the upper, lower, left and right of the data with the result of 4 to obtain the length and width of the matrix;
and obtaining the information of the ore according to the time, the position and the length and the width.
The system also comprises a parameter setting module which is used for setting the parameters of the data capturing module and the data analyzing module.
In order to realize the purpose of the invention, the invention adopts the following technical scheme to realize:
a method for screening ores comprises the following steps:
receiving X-rays emitted by the X-ray source by a detector;
capturing data received by a detector;
and analyzing the data captured by the detector to obtain the type and the coordinates of the ore.
The method for analyzing the data captured by the detector by the data analysis module comprises the following steps:
storing the captured data into a two-dimensional array a according to time and position,
comparing the size of each datum with the size of the threshold datum, if the size is smaller than the threshold value, outputting 1 to the two-dimensional array b corresponding to the time and the position of the datum in the two-dimensional array a, and if the size is larger than the threshold value, outputting 0 to the two-dimensional array b corresponding to the time and the position of the datum in the two-dimensional array a; adding four data of the upper, lower, left and right of each data in the two-dimensional array b, storing the time and the position of the addition result corresponding to the data in the two-dimensional array b into the two-dimensional array c, and if the addition result is 4, searching the data of the upper, lower, left and right of the data with the result of 4 to obtain the length and width of the matrix;
and obtaining the information of the ore according to the time, the position and the length and the width.
Compared with the prior art, the ore screening system provided by the invention has the advantages that:
according to the invention, the ore is screened by capturing data and comparing and analyzing, and the tailings can be discarded in advance, so that the grade of the raw ore is improved, the grinding waste stone is reduced, the ore grinding efficiency is improved, the ore dressing processing capacity is increased, and the comprehensive economic benefit of an ore plant can be effectively improved.
Detailed Description
As shown in fig. 1, the present invention provides an ore screening system, which includes an X-ray source and a detector for receiving X-rays emitted from the X-ray source, and further includes a data capturing module and a data analyzing module;
the data capturing module is used for capturing the data received by the detector;
and the data analysis module is used for analyzing the data captured by the detector to obtain the type and the coordinates of the ore.
Parameter setting module
In order to operate the device correctly, the relevant parameters of the device must be set first, and the user sets the parameters and then applies the parameters to the device.
The default parameters can be directly obtained by obtaining the default parameters, and data capture can be directly carried out after the default parameters are obtained.
Similarly, before data analysis begins, a screening threshold needs to be set, and screening thresholds for different types of ores need to be set.
The set default screening threshold can also be directly obtained.
② data capturing module
After parameter setting is completed, data capture can be performed to acquire related data.
Data analysis module
The captured data is obtained from the device in a line-by-line scan, concatenated in time sequence. When no ore exists, the data value is stabilized at a certain value due to the fact that light energy is transmitted, when the ore exists after X-ray is added, the X-ray cannot transmit metal, so that the value is reduced, the ore can be calculated through the change of the value according to the difference of the values obtained by different kinds of ores, each ore forms an area similar to a matrix in the data, the approximate size of the area is calculated through an algorithm, a point at the center is taken, the coordinate on the machine and the time when the ore passes through the machine are calculated according to the row and column positions, and the coordinate and the time of the ore are output.
Specifically, as shown in fig. 2, since the data is acquired by traveling through the apparatus in a row, the ore data will be matrix-like data blocks, the data of each block differs according to the kind of ore, the ore data is stored in a two-dimensional array in advance, and according to the set maximum screening threshold, when the number in the array is smaller than this value, 1 is input in a new array of the same coordinates, whereas when the number in the array is larger than the maximum threshold, 0 is input, so that a more simplified new array of 1 and 0 is obtained, which is the same as the previous coordinates. Then, the position of each matrix needs to be judged, the upper, lower, left and right numbers of each number are added up and input into another new array with the same coordinate, when the value is 4, the number can be considered to be in an ore matrix, the left and right sides are searched firstly, the width of the matrix is obtained and then the up and down sides are searched, the height of the matrix is obtained, all the numbers in the matrix are cleared to be 0 to avoid repeated inquiry, then the number of the position with the same coordinate in the first array is obtained, the type of the ore is obtained by comparing the number with a screening threshold value, the time when clicking starts is obtained through a GetLocalTime function, the data interval is obtained according to the number of the lines, the data interval is added to the time, the accurate time when the ore passes through the equipment is output, and therefore, the time when the ore passes through the equipment, the size of the ore and the type of the ore can be obtained, the position of the ore on the conveyor belt is output accurately.
In this embodiment, the quality of the ore can also be obtained, and the specific method is as follows: after the X-ray penetrates through the ore, the judgment is carried out on the sensor according to the generated value (the judgment is carried out according to the comparison and identification of the values of different ores obtained by experiments).
The invention also provides an ore screening method, which comprises the following steps:
receiving X-rays emitted by the X-ray source by a detector;
capturing data received by a detector;
and analyzing the data captured by the detector to obtain the type and the coordinates of the ore.
The captured data is obtained from the device in a line-by-line scan, concatenated in time sequence. When no ore exists, the data value is stabilized at a certain value due to the fact that light energy is transmitted, when the ore exists after X-ray is added, the X-ray cannot transmit metal, so that the value is reduced, the ore can be calculated through the change of the value according to the difference of the values obtained by different kinds of ores, each ore forms an area similar to a matrix in the data, the approximate size of the area is calculated through an algorithm, a point at the center is taken, the coordinate on the machine and the time when the ore passes through the machine are calculated according to the row and column positions, and the coordinate and the time of the ore are output.
Specifically, as shown in fig. 2, since the data is acquired by traveling through the apparatus in a row, the ore data is matrix-like data blocks, the data of each block differs according to the kind of ore, the ore data is stored in a two-dimensional array in advance, and according to the set maximum screening threshold, when the number in the array is smaller than this value, 1 is input in a new array of the same coordinates, whereas when the number in the array is larger than the maximum threshold, 0 is input, so that a more simplified new array of 1 and 0 is obtained, which is the same as the previous coordinates. Then, the position of each matrix needs to be judged, the upper, lower, left and right numbers of each number are added up and input into another new array with the same coordinate, when the value is 4, the number can be considered to be in an ore matrix, the left and right sides are searched firstly, the width of the matrix is obtained and then the up and down sides are searched, the height of the matrix is obtained, all the numbers in the matrix are cleared to be 0 to avoid repeated inquiry, then the number of the position with the same coordinate in the first array is obtained, the type of the ore is obtained by comparing the number with a screening threshold value, the time when clicking starts is obtained through a GetLocalTime function, the data interval is obtained according to the number of the lines, the data interval is added to the time, the accurate time when the ore passes through the equipment is output, and therefore, the time when the ore passes through the equipment, the size of the ore and the type of the ore can be obtained, the position of the ore on the conveyor belt is output accurately.
It should be noted that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make variations, modifications, additions or substitutions within the spirit and scope of the present invention.