A method for optimizing parameters of lean magnetite separation based on visual detection
By visually detecting and analyzing the slurry flow during the sorting process of low-grade magnetite, sorting parameters are optimized in real time, solving the problem of parameter control lag in the sorting process of low-grade magnetite and improving the stability and robustness of concentrate and tailings grades.
Patent Information
- Application Number
- CN202611356231.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to achieve adaptive optimization of magnetic separation parameters during the separation of lean and complex magnetite, resulting in an inability to achieve a stable and optimal dynamic balance between concentrate and tailings grades when raw material properties fluctuate. Furthermore, there is a lack of real-time perception of the microscopic flow structure and particle movement characteristics within the slurry flow.
By acquiring continuous frame images of slurry flow during the sorting process of low-grade magnetite, multi-scale corner trajectory recognition is performed to construct a flow pattern feature map. A pre-trained convolutional neural network is used to extract the flow pattern time-series feature vector. Combined with historical sorting index sequences, the future grade change trend is predicted. Finally, the sorting parameters are optimized using a strategy gradient algorithm to achieve closed-loop control.
It achieves adaptive optimization of sorting parameters under fluctuating raw material properties, shortens feedback time lag, improves the stability and robustness of concentrate and tailings grades, and avoids the disadvantages caused by single-index control.
Smart Images

Figure CN123160501A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of visual inspection technology, and more specifically, to a method for optimizing sorting parameters of low-grade magnetite based on visual inspection. Background Technology
[0002] Lean and complex magnetite is an important component of my country's iron ore resources. While abundant, it is characterized by low grade, fine grain size, and complex mineral composition. Magnetite often exists as fine-grained intergrowths with gangue minerals such as quartz, pyroxene, and amphibole, making its separation significantly more difficult than that of ordinary magnetite. In industrial production, magnetic separation is the core enrichment method for lean and complex magnetite. Its separation effect directly depends on the coordinated matching of process parameters such as magnetic field strength, feed concentration, feed flow rate, magnetic separator drum speed, and washing water volume. However, due to the frequent fluctuations in the properties of the raw lean and complex magnetite ore, the proportion and degree of liberation of magnetite intergrowths in the feed material are highly time-varying. Traditional separation parameter control methods relying on manual experience and offline analysis suffer from problems such as response lag and coarse control, making it difficult to achieve a stable and optimal dynamic balance between concentrate and tailings grades.
[0003] Existing intelligent optimization methods for magnetic separation processes are mostly based on modeling and decision-making using macroscopic parameters such as flow rate, concentration, and grade collected by process instruments. They lack real-time perception capabilities of the microscopic flow structure and particle motion characteristics within the slurry flow. In reality, the trajectory, velocity gradient, and shear distribution of particles in the slurry flow are closely related to the selective capture behavior of magnetite intergrowths under the influence of a magnetic field. Visual information contains a wealth of potential representations of separation status and liberation characteristics. In recent years, the application of machine vision and deep learning technologies in mineral processing has gradually expanded, but it has largely focused on particle size distribution recognition, froth flotation status classification, or foreign matter detection. A closed-loop control method that integrates visual perception of slurry flow and parameter optimization decision-making for the magnetic separation process of lean and impure magnetite has not yet been developed.
[0004] Therefore, there is an urgent need for a method that can use visual information of slurry flow to characterize the state of the sorting process in real time, and combine grade bilateral constraints and historical sorting patterns to adaptively optimize sorting parameters, so as to improve the robustness of the sorting process of low-grade magnetite under the condition of fluctuating raw material properties and the stability of concentrate grade. Summary of the Invention
[0005] This application provides a method for optimizing sorting parameters of low-grade magnetite based on visual detection, which can achieve adaptive optimization of sorting parameters under the influence of fluctuations in the properties of low-grade magnetite raw materials.
[0006] In a first aspect, this application provides a method for optimizing sorting parameters of lean and impure magnetite based on visual detection, comprising the following steps:
[0007] Continuous frame images of the slurry flow at the feed end during the sorting process of low-grade magnetite are collected, and multi-scale corner trajectory identification is performed on the moving mineral particles in the continuous frame images to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow.
[0008] The flow pattern feature map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow;
[0009] Using the historical sorting index sequence in the magnetite sorting process as the state transition constraint, the combined trend prediction of the concentrate grade and tailings grade in the future preset time period is predicted by combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process.
[0010] Using the predicted value of the joint change trend as a reward signal, the strategy gradient algorithm is used to identify the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space. Then, based on the sorting parameter adjustment vector, the corresponding sorting parameters of the current magnetite sorting are optimized by feedback based on visual flow regime analysis.
[0011] In some embodiments, acquiring continuous frame images of the slurry flow at the feed end during the sorting of low-grade magnetite specifically includes:
[0012] The original grayscale image sequence of the slurry flow surface during the sorting process of low-grade magnetite is continuously acquired at a fixed frame rate, and Gaussian filtering and adaptive histogram equalization are performed on the original grayscale image sequence frame by frame to obtain an enhanced grayscale image sequence.
[0013] The enhanced grayscale image sequence is subjected to motion region detection based on inter-frame difference to extract the foreground region sequence where moving mineral particles are located in the slurry flow;
[0014] Morphological opening and connected region area filtering are performed on the foreground region sequence to obtain an effective moving mineral particle region sequence, and the effective moving mineral particle region sequence is used as a continuous frame image output.
[0015] In some embodiments, multi-scale corner trajectory identification of moving mineral particles in the continuous frame images is performed to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow, specifically including:
[0016] A multi-scale Gaussian pyramid is constructed for the continuous frame images, and corner points of the surface and edge of the mineral particles are extracted as candidate feature points at each scale layer to obtain a multi-scale corner point set.
[0017] The multi-scale corner point set is tracked by iterative pyramid Lucas-Kanade tracking based on optical flow pyramid between consecutive frames to establish cross-frame corner point correspondence and generate moving mineral particle corner point trajectories.
[0018] Local neighborhood relative displacement decomposition is performed on the corner trajectory of the moving mineral particle, the velocity gradient tensor between adjacent trajectories is calculated and its shear component is obtained to obtain the local shear rate between trajectories.
[0019] The local shear rates between the trajectories are mapped to a two-dimensional grid according to the spatial location of the corner points and spatial interpolation is performed to obtain a flow characteristic map reflecting the distribution of shear rates inside the slurry flow.
[0020] In some embodiments, the convolutional neural network is pre-trained using the following steps:
[0021] Images of slurry flow at the feed end under different feed concentrations, different grinding finenesses and different degrees of liberation during the sorting of lean and impure magnetite were obtained, and the corresponding flow feature maps of each frame were labeled as training samples.
[0022] Using the slurry flow images in the training samples as input and the corresponding labeled flow feature maps as regression targets, a convolutional neural network is constructed and layer-by-layer supervised training is performed using the mean squared error loss function;
[0023] The weights of the convolutional neural network after training convergence are frozen and used as the pre-trained convolutional neural network to extract the spatial convolutional features of the flow feature map, thus obtaining the pre-trained convolutional neural network.
[0024] In some embodiments, inputting the flow pattern feature map into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow specifically includes:
[0025] The flow feature maps are stacked frame by frame according to time windows to form a flow feature map sequence with a time dimension;
[0026] The sequence of flow feature maps is input frame by frame into a pre-trained convolutional neural network to extract the spatial convolutional feature maps of each frame of flow feature maps;
[0027] Global average pooling is performed on the spatial convolutional feature map along the channel dimension to obtain the flow spatial feature vector of each frame;
[0028] The flow spatial feature vectors of multiple consecutive frames are input into a gated loop unit in chronological order for time-series modeling, and the flow temporal feature vectors associated with the dissociation state of magnetite intergrowths in the slurry flow are output.
[0029] In some embodiments, the historical sorting index sequence in the magnetite sorting process is determined using the following steps:
[0030] Obtain the concentrate grade and tailings grade test values for multiple consecutive sampling periods before the current moment during the sorting process of low-grade magnetite, and arrange them in the order of sampling time to form the original sequence of historical sorting indicators;
[0031] The original sequence of historical sorting indicators is imputed for missing values and outliers are removed to obtain a preprocessed sequence of historical sorting indicators.
[0032] The preprocessed historical sorting index sequence is normalized in chronological order to obtain the historical sorting index sequence that serves as the state transition constraint.
[0033] In some embodiments, using the historical sorting index sequence in the magnetite sorting process as a state transition constraint, the prediction of the joint change trend of concentrate grade and tailings grade within a preset future time period by combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process specifically includes:
[0034] The flow-time feature vector is concatenated with the sorting parameter vector in the current magnetite sorting process to obtain the flow-parameter joint feature vector;
[0035] The historical sorting index sequence is input into the state transition encoder for time-series encoding to obtain the state transition constraint vector characterizing the historical evolution law of concentrate grade and tailings grade.
[0036] The flow-parameter joint feature vector and the state transition constraint vector are fused with attention weighting to obtain the grade trend prediction input features;
[0037] The grade trend prediction input features are input into a pre-trained grade joint trend prediction network, which outputs the joint change trend prediction value of concentrate grade and tailings grade within a preset future time period.
[0038] In some embodiments, using the joint trend prediction value as a reward signal, the strategy gradient algorithm is used to identify the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space, specifically including:
[0039] A reward function is constructed based on the degree to which the predicted concentrate grade and the predicted tailings grade deviate from the target range of concentrate grade and the target range of tailings grade, respectively, in the joint trend prediction values, so as to obtain the reward signal under the current sorting parameters.
[0040] Using the sorting parameter vector in the current magnetite sorting process as the state and the sorting parameter adjustment amount as the action, a continuous action space strategy network for parameter optimization is constructed.
[0041] Using the reward signal as the optimization target, the continuous action spatial strategy network is iteratively updated online using the strategy gradient algorithm, so that the sorting parameter adjustment action output by the spatial strategy network satisfies the bilateral grade constraint, and the sorting parameter adjustment vector that meets the bilateral grade constraint of concentrate grade and tailings grade is sampled from the updated spatial strategy network.
[0042] In some embodiments, raw grayscale image sequences of the slurry surface are acquired using an industrial camera during the sorting process of low-grade magnetite.
[0043] In some embodiments, the sorting parameters include feed concentration, feed flow rate, magnetic separator drum rotation speed, and washing water volume.
[0044] Secondly, this application provides a computer device, the computer device including a memory and a processor, the memory storing code, the processor being configured to acquire the code and execute the above-described method for optimizing the sorting parameters of low-grade magnetite based on visual detection.
[0045] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for optimizing sorting parameters of low-grade magnetite based on visual detection.
[0046] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects:
[0047] The visual detection-based method for optimizing sorting parameters of lean and mixed magnetite provided in this application can adaptively optimize sorting parameters under the influence of fluctuations in the properties of lean and mixed magnetite raw materials. First, continuous frame images of the slurry flow at the feed end are acquired during the sorting process of lean and mixed magnetite, and multi-scale corner trajectory recognition of moving mineral particles is performed to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow. This transforms the shear state within the slurry flow, which cannot be directly measured, into spatial distribution features that can be quantitatively described by visual images. This provides a non-contact preliminary characterization with clear physical meaning for subsequent grade prediction, avoiding the process control delays caused by traditional reliance on lagging laboratory data. Second, the flow characteristic map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow temporal feature vector associated with the dissociation state of magnetite intergrowths. The key is that the pre-trained network automatically extracts deep spatiotemporal features highly correlated with the degree of dissociation of intergrowths from the spatial distribution of shear rate, replacing manually defined statistical features and improving the accuracy and robustness of the mapping from visual flow state to sorting state. Then, using historical sorting index sequences as state transition constraints and combining current sorting parameters with flow regime time-series feature vectors, the joint trend prediction of concentrate and tailings grades is made. This integrates historical grade evolution inertia, current flow regime characteristics, and operational parameter states into the prediction framework, enabling synchronous forward estimation of the future direction and magnitude of concentrate and tailings grade changes. Furthermore, the state transition constraints effectively prevent the prediction results from deviating from the actual achievable range of the sorting dynamics. Finally, using the joint trend prediction as a reward signal and employing a strategy gradient algorithm to identify sorting parameter adjustment vectors that satisfy the bilateral grade constraints in the continuous action space, grade prediction information is transformed into scalar feedback for strategy optimization. This allows parameter adjustment decisions to simultaneously consider both concentrate and tailings grade objectives, avoiding the unintended consequences of single-index control. Furthermore, based on the adjustment vector of the sorting parameters, feedback optimization of the corresponding sorting parameters for the current magnetite sorting is performed based on visual flow regime analysis. This connects the visual flow regime analysis, grade trend prediction, parameter decision-making, and actuator adjustment closed loop, enabling the sorting process of lean and impure magnetite to adjust operating parameters in advance based on visual flow regime information under fluctuating feed properties, shortening the feedback time lag, and improving the ability to continuously achieve both concentrate and tailings grades. In summary, the technical solution provided in this application can achieve adaptive optimization of sorting parameters under the influence of fluctuations in the properties of lean and impure magnetite raw materials. Attached Figure Description
[0048] Figure 1 This is an exemplary flowchart of a visual detection-based method for optimizing sorting parameters of low-grade magnetite, according to some embodiments of this application.
[0049] Figure 2 This is a schematic diagram illustrating the acquisition of continuous frame images in the sorting of low-grade magnetite according to some embodiments of this application;
[0050] Figure 3 This is a schematic diagram of the structure of a computer device for implementing a vision-based method for optimizing the sorting parameters of low-grade magnetite, according to some embodiments of this application. Detailed Implementation
[0051] To better understand the technical solution of this application, the technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] refer to Figure 1 The figure is an exemplary flowchart of a visual detection-based method for optimizing sorting parameters of low-grade magnetite according to some embodiments of this application. The figure mainly includes the following steps:
[0053] In step S101, continuous frame images of the slurry flow at the feed end during the sorting process of lean and impure magnetite are acquired, and multi-scale corner trajectory identification is performed on the moving mineral particles in the continuous frame images to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow.
[0054] It should be noted that, in this application, the slurry flow at the feed end during the separation of lean and mixed magnetite refers to the slurry with a certain concentration and particle size formed after the raw lean and mixed magnetite ore has undergone crushing, grinding, and classification operations. Before entering the magnetic separator for separation, it is transported to the feed end of the magnetic separator via a feed box, feed pipe, or feed chute, exhibiting a continuous solid-liquid two-phase flow state. This slurry flow carries suspended magnetite intergrowths, liberated magnetite monomers, gangue mineral particles, and a small amount of fine mud and residual reagents. Its flow rate, concentration, particle size distribution, and turbulence are directly affected by the grinding and classification effect and the control of feed concentration. It is a dynamic carrier reflecting the liberation state and beneficiability of the lean and mixed magnetite feed material.
[0055] In some embodiments, acquiring continuous frame images of the slurry flow at the feed end during the sorting of low-grade magnetite is achieved through the following steps:
[0056] The original grayscale image sequence of the slurry flow surface during the sorting process of low-grade magnetite was collected, and Gaussian filtering and adaptive histogram equalization were performed on the original grayscale image sequence frame by frame to obtain an enhanced grayscale image sequence.
[0057] The enhanced grayscale image sequence is subjected to motion region detection based on inter-frame difference to extract the foreground region sequence where moving mineral particles are located in the slurry flow;
[0058] Morphological opening and connected region area filtering are performed on the foreground region sequence to obtain an effective moving mineral particle region sequence, and the effective moving mineral particle region sequence is used as a continuous frame image output.
[0059] In practice, firstly, an industrial camera is used to acquire a sequence of original grayscale images of the slurry surface during the sorting of lean and impure magnetite. Specifically, a high-frame-rate industrial camera equipped with a global shutter is vertically fixed above the chute from the feed box outlet to the feed end of the magnetic separator. Continuous images of the free surface of the slurry flow are captured at a rate of at least 120fps, resulting in a sequence of original grayscale images with a fixed spatial resolution. This sequence refers to a collection of images taken by the industrial camera during the sorting of lean and impure magnetite slurry and arranged chronologically. Each image frame in the original grayscale image sequence is then spatially analyzed using a Gaussian kernel of size 5×5 and a standard deviation of 1.0. Convolution is used to suppress high-frequency noise. Then, contrast-limited adaptive histogram equalization is performed on each Gaussian-filtered image frame. The image is divided into 8×8 non-overlapping sub-blocks, and within each sub-block, the gray-level histogram is cropped and redistributed using a contrast-limiting threshold of 2.0, followed by bilinear interpolation and stitching to obtain an enhanced gray-level image sequence. This enhanced gray-level image sequence refers to an image sequence where noise is suppressed, local contrast is improved, and the gray-level difference between mineral grains and the slurry background is more significant. Then, inter-frame difference operations are performed on adjacent t-th and t-1-th frames in the enhanced gray-level image sequence. The absolute value of the gray-level difference is calculated pixel-by-pixel and compared with an adaptive threshold. Frames with an absolute gray-level difference greater than the adaptive threshold are selected. The pixels are marked as foreground pixels to obtain a binarized motion region mask. A pixel-by-pixel bitwise AND operation is performed between the corresponding binarized motion region mask and the enhanced grayscale image of that frame to extract the foreground region sequence containing moving mineral particles in the slurry flow. The foreground region sequence refers to the sequence of image regions extracted from the original image, containing only moving mineral particle pixels and excluding static and slowly changing backgrounds, arranged in chronological order. The adaptive threshold is taken as 1.5 times the average grayscale value of the difference image of that frame plus a fixed bias of 10 grayscale levels; this is not limited here. Finally, the binarized motion region mask of each frame in the foreground region sequence is first morphologically opened using an elliptical structuring element with a radius of 3 pixels. The operation breaks the fine adhesion between mineral particles and removes isolated noise points. Then, the binary image after the opening operation is labeled with 8-neighborhood connected components. The pixel area of each connected component is counted. Only connected components with a pixel area between 50 and 5000 pixels are retained. Large-area voids caused by bubble bursts and small-area scattered points formed by fine tailings are removed to obtain an effective moving mineral particle region sequence. The effective moving mineral particle region sequence refers to a sequence of moving mineral particle image regions with complete shape, area within the identifiable mineral particle scale range, and stable response capability to subsequent corner point detection, arranged in chronological order. The effective moving mineral particle region sequence is used as a continuous frame image output for subsequent multi-scale corner point trajectory recognition.
[0060] refer to Figure 2The figure is a schematic diagram of the acquisition of continuous frame images in the sorting of lean and impure magnetite according to some embodiments of this application. In the figure, the slurry to be sorted is sent into the pipeline at the ore inlet to form a slurry flow. The pipeline contains a large number of moving mineral particles that are displaced with the fluid. An industrial camera arranged above the pipeline takes pictures of the slurry flow in the flow state and outputs a series of sequentially arranged frame images. The position information of the moving mineral particles can be captured in the continuous frame images. The continuous frame images are used as raw visual input data for subsequent multi-scale corner trajectory recognition of moving mineral particles, thereby completing the analysis of the shear rate distribution and the construction of the flow pattern feature map inside the slurry flow, and providing an image data source for subsequent sorting parameter optimization.
[0061] It should be noted that by using the above method to determine continuous frame images, the effective imaging region of moving mineral particles can be stably separated from the gray-scale temporal changes of the free surface of the slurry flow without relying on staining tracers or invasive sensors. This improves the computational efficiency and feature stability of subsequent multi-scale corner detection and trajectory tracking, and provides a reliable front-end image guarantee for accurately inverting the internal shear rate distribution of the slurry flow and the dissociation state of magnetite intergrowths from the visual flow state.
[0062] In some embodiments, the following steps are used to perform multi-scale corner trajectory identification on moving mineral particles in the continuous frame images to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow:
[0063] A multi-scale Gaussian pyramid is constructed for the continuous frame images, and corner points of the surface and edge of the mineral particles are extracted as candidate feature points at each scale layer to obtain a multi-scale corner point set.
[0064] The multi-scale corner point set is tracked by iterative pyramid Lucas-Kanade tracking based on optical flow pyramid between consecutive frames to establish cross-frame corner point correspondence and generate moving mineral particle corner point trajectories.
[0065] Local neighborhood relative displacement decomposition is performed on the trajectory of the corner point of the moving mineral particle, the velocity gradient tensor between adjacent trajectories is calculated and its shear component is obtained, and the local shear rate between trajectories is obtained.
[0066] The local shear rates between the trajectories are mapped to a two-dimensional grid according to the spatial location of the corner points and spatial interpolation is performed to obtain a flow characteristic map reflecting the distribution of shear rates inside the slurry flow.
[0067] In specific implementation, firstly, a Gaussian pyramid with four layers is constructed for each frame in the effective moving mineral grain region sequence output as a continuous frame image, with each layer's scale decreasing by a factor of 1.2. On the Gaussian-smoothed image of each layer, the Shi-Tomasi corner response function is used to calculate the corner intensity value of each pixel. Pixels with corner intensity values greater than 0.05 times the maximum corner intensity value of that layer are selected as candidate corners. For candidate corners with overlapping spatial positions on different scale layers, the one with the largest corner intensity value is retained according to the scale priority principle, resulting in a multi-scale corner set. This multi-scale corner set refers to the set of corners obtained from the surface texture and edge contours of the mineral grains at different Gaussian smoothing scales. The first step involves extracting a set of scale-invariant corner feature points from the contour. Then, using the corner points detected in the first frame as the initial tracking point set, an iterative pyramid Lucas-Kanade optical flow tracking algorithm with three pyramid layers is employed. Between adjacent frames, the initial optical flow value is calculated at the highest pyramid layer using a 21×21 neighborhood window and corrected layer by layer. Simultaneously, during each iteration, corner feature points with optical flow residuals greater than twice the average residual of that layer are removed. Every 15 frames, the remaining corner points are re-detected and supplemented using Shi-Tomasi corner detection, establishing cross-frame pairs of corner points on the same mineral grain surface across consecutive frames. Based on the relationship, a moving mineral particle corner point trajectory is generated. This trajectory refers to an ordered sequence of two-dimensional coordinates of the same mineral particle surface feature points changing over time in a continuous frame image sequence. Then, for each corner point in the moving mineral particle corner point trajectory, neighboring corner points within a spatial radius of 30 pixels are taken as a local neighborhood. Within this local neighborhood, the instantaneous velocity vectors of any two trajectories at the same timestamp are subtracted to obtain the relative velocity vector field between the corner points within the neighborhood. A 2×2 velocity gradient tensor is then constructed using the partial derivatives of the relative velocity vector field with respect to the spatial coordinates. This velocity gradient tensor is decomposed into a symmetric part and an antisymmetric part, and the antisymmetric part is subjected to shear deformation. Half of the sum of the absolute values of the off-diagonal elements is taken as the local shear rate between trajectories at the central corner point of the neighborhood. The local shear rate between trajectories refers to the angular deformation per unit time caused by the difference in velocity of adjacent moving mineral particles due to the flow layer. Finally, the local shear rate between trajectories is mapped to a 20×20 regular two-dimensional grid covering the surface of the slurry flow at the ore end according to the spatial coordinates of the corresponding corner point in the current frame. The arithmetic mean of multiple shear rates falling into the same grid cell is taken as the shear rate value of the grid node. For empty grid nodes without corner points, inverse distance weighted interpolation with the inverse distance as the weight is used to calculate from the neighboring grid nodes with values to obtain the flow characteristic map.
[0068] It should be noted that the flow characteristic map in this application refers to a grayscale image representing the magnitude of shear rate at various spatial locations on the surface of the slurry flow in the form of a two-dimensional grid. The pixel grayscale value is proportional to the local shear rate. Constructing a flow characteristic map reflecting the distribution of shear rate within the slurry flow can transform the visual motion information of moving mineral particles on the slurry flow surface into a rheological spatial distribution representation with clear physical meaning, achieving a non-contact quantitative description of the shear state within the slurry flow. By combining multi-scale corner detection with pyramid optical flow tracking, the cross-frame trajectory of moving mineral particles can be stably acquired under conditions of varying illumination and local occlusion of mineral particles on the slurry flow surface. This overcomes the tracking loss and mismatch problems that occur with single-scale corner detection when there are large differences in mineral particle scale and a wide distribution of motion velocity. The local shear rates between discrete trajectories are generated into a regularized flow characteristic map through grid mapping and spatial interpolation. This preserves the spatial continuity and local differences in the shear rate distribution and provides a structurally regular two-dimensional input form for the convolutional neural network, enabling the subsequent network to effectively extract the spatiotemporal flow patterns associated with the dissociation state of magnetite intergrowths.
[0069] In step S102, the flow pattern feature map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow.
[0070] In some embodiments, the convolutional neural network is pre-trained using the following steps:
[0071] Images of slurry flow at the feed end under different feed concentrations, different grinding finenesses and different degrees of liberation during the sorting of lean and impure magnetite were obtained, and the corresponding flow feature maps of each frame were labeled as training samples.
[0072] Using the slurry flow images in the training samples as input and the corresponding labeled flow feature maps as regression targets, a convolutional neural network is constructed and layer-by-layer supervised training is performed using the mean squared error loss function;
[0073] The weights of the convolutional neural network after training convergence are frozen and used as the pre-trained convolutional neural network to extract the spatial convolutional features of the flow feature map, thus obtaining the pre-trained convolutional neural network.
[0074] In practice, firstly, at the lean magnetite beneficiation site or semi-industrial test device, the feed concentration is adjusted to 25%, 35%, and 45%, respectively, and the grinding fineness is combined with three levels: 60%, 75%, and 90% of the -0.074mm particle size content. After each set of operating parameters has been running stably, the dissociation degree of the magnetite intergrowth is tested by sampling. Simultaneously, the original grayscale image sequence of the slurry flow surface at the feed end is acquired. After processing according to the aforementioned continuous frame image acquisition method, the corresponding flow characteristic map is generated for each frame image using the aforementioned multi-scale corner trajectory recognition and shear rate calculation method as regression. The goal is to construct training samples using pairs of "raw grayscale images of slurry flow - flow pattern feature maps," where training samples refer to the dataset consisting of pairs of input images and desired output target images used to supervise the learning network parameters. Next, using the raw grayscale images of slurry flow from the training samples as network input and the corresponding labeled flow pattern feature maps as regression targets, a convolutional neural network with an encoder-decoder structure is constructed. The encoder part consists of 5 sets of convolutional layers and max-pooling layers stacked alternately, with each convolutional kernel having a size of 3×3, and the number of convolutional kernels being 32, 64, 128, and 25 respectively. In versions 6 and 512, the decoder consists of five stacked upsampling and convolutional layers. Upsampling uses bilinear interpolation. During training, the mean squared error between the predicted and labeled manifold feature maps is used as the loss function. An Adam optimizer with an initial learning rate of 0.001 is employed, and batch stochastic gradient descent with a batch size of 8 iteratively updates the parameters of all convolutional and upsampling layers. Every 10 training epochs, the learning rate is reduced to 0.5 times its original value until the mean squared error on the validation set no longer decreases for five consecutive epochs, at which point training stops, indicating convergence. The weights of the convolutional neural network are then calculated, where the mean squared error loss function is the arithmetic mean of the squared gray-level difference between the predicted and labeled flow feature maps, calculated pixel by pixel. Finally, the weights of the convolutional neural network after training convergence are frozen, meaning that no backpropagation updates are performed on the network parameters during the forward feature extraction stage. Only the encoder part is retained to perform forward calculations on the input image to output spatial convolutional features. The encoder part with frozen weights is used as the pre-trained convolutional neural network to extract the spatial convolutional features of the flow feature map, thus obtaining the pre-trained convolutional neural network.
[0075] It should be noted that the pre-trained convolutional neural network in this application refers to the original grayscale images of the slurry flow and their corresponding flow pattern feature maps collected under different feed concentrations, different grinding finenesses and different degrees of dissociation during the sorting of low-grade magnetite as paired supervision samples. After layer-by-layer supervision training of the encoder-decoder structure convolutional neural network through the mean square error loss function, the weights of the encoder part of the training converged are frozen to obtain a fixed parameter feature extraction network. This can provide a compact and stable feature expression that can characterize the dissociation state changes of magnetite intergrowths for the temporal modeling of subsequent gated recurrent units, replacing the method of manually defining flow pattern statistical features and improving the accuracy and generalization ability of mapping from visual flow pattern to sorting index.
[0076] In some embodiments, the flow pattern feature map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow. This is achieved through the following steps:
[0077] The flow feature maps are stacked frame by frame according to time windows to form a flow feature map sequence with a time dimension;
[0078] The sequence of flow feature maps is input frame by frame into a pre-trained convolutional neural network to extract the spatial convolutional feature maps of each frame of flow feature maps;
[0079] Global average pooling is performed on the spatial convolutional feature map along the channel dimension to obtain the flow spatial feature vector of each frame;
[0080] The flow spatial feature vectors of multiple consecutive frames are input into a gated loop unit in chronological order for time-series modeling, and the flow temporal feature vectors associated with the dissociation state of magnetite intergrowths in the slurry flow are output.
[0081] In specific implementation, firstly, a sequence of flow feature maps with a time length of 2 seconds and corresponding to 240 frames is extracted from the current sampling time as the endpoint. This sequence is then grouped and stacked non-overlappingly, with each 16 frames forming a time step, resulting in a flow feature map sequence with a time dimension consisting of 15 time steps. The flow feature map sequence refers to four-dimensional data formed by arranging flow feature maps from multiple consecutive moments in chronological order, with dimensions of time step number × channel number × feature map height × feature map width. Secondly, each time step image in the flow feature map sequence is input frame-by-frame into the encoder part of a pre-trained convolutional neural network for forward computation. The output size of the last convolutional layer of the encoder is the original... Figure 1 / 16. A spatial convolutional feature map with 512 channels is used to obtain the spatial convolutional feature map of each frame's flow feature map. The spatial convolutional feature map refers to the multi-channel two-dimensional feature response map obtained by the encoder through layer-by-layer convolution and pooling of the input flow feature map. Each channel corresponds to a trained and fixed local flow spatial pattern. Then, the arithmetic mean of all pixel values in the two-dimensional feature response map of each channel is calculated in the channel dimension of the spatial convolutional feature map. This compresses the spatial convolutional feature map into a 512-dimensional flow spatial feature vector, obtaining the flow spatial feature vector of each frame. The flow spatial feature vector refers to the vector obtained by global average pooling of the spatial convolutional feature map. The resulting fixed-length one-dimensional numerical vector, each component of which corresponds to the overall response intensity of a certain type of shear rate spatial pattern in the original flow feature map, is transformed. Finally, the flow spatial feature vectors of 15 consecutive time steps are arranged in chronological order to form a time series of length 15 and dimension 512 per step. This series is then input into a single-layer gated recurrent unit with 256 hidden layer neurons. The gated recurrent unit reads the flow spatial feature vector at each time step and uses update and reset gates to control the retention and forgetting of the hidden state. After 15 time steps of recursive calculation, the 256-dimensional hidden state of the last time step is taken as the flow temporal feature vector for output.
[0082] It should be noted that, in this application, the flow temporal feature vector refers to a numerical vector characterizing the dynamic evolution of the slurry flow shear rate distribution over time and its correlation with the trend of dissociation state changes in magnetite intergrowths. Determining the flow temporal feature vector can fuse the spatial information and continuous-time evolution information of the instantaneous shear rate distribution on the slurry flow surface into a one-dimensional expression, enabling the subsequent grade trend prediction network to perceive the dynamic changes in the slurry flow state without directly processing high-dimensional image sequences. By grouping and stacking multiple frames of flow feature maps within a time window, the local correlation of the shear rate distribution over continuous time is preserved, while the length of the input sequence is controlled to reduce the computational load of temporal modeling. The pre-trained convolutional neural network extracts spatial convolutional features frame by frame and compresses them into a flow spatial feature vector through global average pooling. This effectively eliminates the spatial position sensitivity caused by local occlusion on the slurry flow surface and inter-frame jitter, making the overall response of the features to the spatial pattern of ore particle shear rate more stable. The gated loop unit recursively encodes the spatial feature vectors of the flow regime across multiple consecutive frames, which can adaptively capture the dynamic process of the slurry flow shear rate distribution transitioning from one state to another. It outputs a flow regime temporal feature vector that is associated with the trend of the dissociation state of magnetite intergrowths, thus providing input conditions with clear physical meaning and temporal discriminative ability for grade joint trend prediction, avoiding prediction lag caused by direct reliance on lagging laboratory data.
[0083] In step S103, the historical sorting index sequence in the magnetite sorting process is used as the state transition constraint. The combined trend prediction of the joint change of concentrate grade and tailings grade in the future preset period is predicted by combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process.
[0084] In some embodiments, the historical sorting index sequence in the magnetite sorting process is determined using the following steps:
[0085] Obtain the concentrate grade and tailings grade test values for multiple consecutive sampling periods before the current moment during the sorting process of low-grade magnetite, and arrange them in the order of sampling time to form the original sequence of historical sorting indicators;
[0086] The original sequence of historical sorting indicators is imputed for missing values and outliers are removed to obtain a preprocessed sequence of historical sorting indicators.
[0087] The preprocessed historical sorting index sequence is normalized in chronological order to obtain the historical sorting index sequence that serves as the state transition constraint.
[0088] In practice, firstly, the concentrate grade and tailings grade test values for the previous 30 consecutive sampling periods (each sampling period being 10 minutes) are retrieved from the ore dressing plant's production database. The two sets of test values are then arranged in chronological order according to their sampling timestamps, forming a historical sorting index raw sequence composed of a concentrate grade sequence and a tailings grade sequence. This historical sorting index raw sequence refers to a two-dimensional numerical sequence of concentrate and tailings grades arranged chronologically from the test data acquisition system. Then, missing values in the historical sorting index raw sequence caused by sampling failures or test equipment malfunctions are filled using piecewise cubic spline interpolation. Specifically, a cubic polynomial is fitted using four valid sampling points before and after the missing value as interpolation nodes, and the estimated position at the missing location is calculated. For outliers exceeding the reasonable range of concentrate or tailings grade, the median absolute deviation method is used for detection. Sampling points that deviate from the median of the sequence by more than 3 times the median absolute deviation are identified as outliers and replaced with the linear interpolation result of two adjacent valid sampling points to obtain a preprocessed historical sorting index sequence. The preprocessed historical sorting index sequence refers to a two-dimensional numerical sequence of concentrate and tailings grades arranged in chronological order with missing values filled in, outliers corrected, and sampling time intervals uniform. Finally, the concentrate and tailings grades in the preprocessed historical sorting index sequence are respectively min-max normalized according to their respective historical maximum and minimum values, and both concentrate and tailings grades are linearly mapped to the [0,1] interval to obtain the historical sorting index sequence as a state transition constraint.
[0089] It should be noted that the historical sorting index sequence used as a state transition constraint in this application refers to a two-dimensional numerical sequence used to extract the historical evolution law of concentrate grade and tailings grade. The purpose of determining the historical sorting index sequence is to provide quantitative basis for the actual evolution trajectory of concentrate grade and tailings grade over a period of time for grade joint trend prediction, so that the prediction process not only depends on the current visual flow characteristics and sorting parameters, but is also constrained by the historical grade change law.
[0090] In some embodiments, the prediction of the joint trend of concentrate grade and tailings grade within a future preset time period is achieved by using the historical sorting index sequence in the magnetite sorting process as the state transition constraint, and combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process.
[0091] The flow-time feature vector is concatenated with the sorting parameter vector in the current magnetite sorting process to obtain the flow-parameter joint feature vector;
[0092] The historical sorting index sequence is input into the state transition encoder for time-series encoding to obtain the state transition constraint vector characterizing the historical evolution law of concentrate grade and tailings grade.
[0093] The flow-parameter joint feature vector and the state transition constraint vector are fused with attention weighting to obtain the grade trend prediction input features;
[0094] The grade trend prediction input features are input into a pre-trained grade joint trend prediction network, which outputs the joint change trend prediction value of concentrate grade and tailings grade within a preset future time period.
[0095] In specific implementation, firstly, the sorting parameters include feed concentration, feed flow rate, magnetic separator drum speed, and flushing water volume. The 256-dimensional components of the flow-time feature vector are concatenated with the sorting parameter vector in the current magnetite sorting process, with the first and last components joined together. The sorting parameter vector consists of four parameters—feed concentration, feed flow rate, magnetic separator drum speed, and flushing water volume—normalized to their respective minimum-maximum ranges to form a 4-dimensional numerical vector. After concatenation, a 260-dimensional flow-parameter joint feature vector is obtained. This flow-parameter joint feature vector refers to merging the time-series features reflecting the dynamic evolution of the slurry flow shear state with the current controllable sorting parameters in the same vector space. The process involves generating a hybrid feature vector. Next, the historical sorting index sequence is input into a state transition encoder for temporal encoding. This encoder employs a unidirectional long short-term memory network with 128 hidden layer neurons. It sequentially reads the normalized values of concentrate and tailings grades at each sampling time step of the historical sorting index sequence. After 30 time steps of recursive calculation, the 128-dimensional hidden state of the last time step is taken as the state transition constraint vector. This state transition constraint vector is a fixed-length numerical vector representing the historical state transition inertia of grade and the mutual constraint relationship between concentrate and tailings grades. Then, the flow-parameter joint feature vector is combined with the state transition constraint vector. The vectors are fused using attention weighting. First, the state transition constraint vector is copied to the same dimension as the flow-parameter joint feature vector. Then, the flow-parameter joint feature vector is used as the query vector, and the state transition constraint vector is used as the key and value vectors. The dot product similarity between the query vector and the key vector is calculated and normalized using softmax to obtain the attention weight. Then, the attention weight is weighted and summed on the value vector to obtain the context vector. Finally, the context vector is added element-wise to the flow-parameter joint feature vector to obtain the grade trend prediction input feature. The grade trend prediction input feature refers to the feature that integrates the current flow state and parameter information as well as historical grade state constraint information to drive the prediction. The input vector for forward computation of the network is used. Finally, the grade trend prediction input features are input into a pre-trained grade joint trend prediction network. This grade joint trend prediction network adopts a 3-layer fully connected feedforward network structure, with the number of neurons in each layer being 128, 64, and 24 respectively. The inter-layer activation function adopts a modified linear unit. The 24 neurons in the output layer correspond to 12 pairs of concentrate grade prediction values and tailings grade prediction values at a sampling point every 5 minutes within a future preset time period of 2 hours. Before output, the original output values of the output layer neurons are denormalized according to the normalization parameters of concentrate grade and tailings grade respectively to obtain the joint change trend prediction value of concentrate grade and tailings grade within the future preset time period.
[0096] Specifically, the pre-training process of the grade joint trend prediction network is as follows: First, extract the flow temporal feature vector, the corresponding sorting parameter vector, and the actual test sequence of concentrate grade and tailings grade for each sampling moment within multiple consecutive operating periods from the historical production database of the lean magnetite sorting site. Construct paired training samples of "flow temporal feature vector - sorting parameter vector - historical sorting index sequence - future grade sequence" according to the same preprocessing process of feature splicing, state transition coding, and attention weighted fusion. Use the grade trend prediction input features obtained by the above steps from the flow temporal feature vector, sorting parameter vector, and historical sorting index sequence as the network input. The input is the actual test sequence of concentrate grade and tailings grade within a preset future time period as the regression target. All weights and biases of the 3-layer fully connected feedforward network are trained under supervision using the mean squared error loss function. The network is iteratively updated using an Adam optimizer with an initial learning rate of 0.001 and a batch stochastic gradient descent method with a batch size of 32. Every 20 training epochs, the learning rate is reduced to 0.5 times the original value until the mean squared error on the validation set stops decreasing for 5 consecutive epochs. This results in a grade joint trend prediction network with frozen weights, which is used in the online stage to forward calculate the input features and output the predicted value of the joint change trend of concentrate grade and tailings grade within the preset future time period.
[0097] It should be noted that the joint trend prediction value in this application refers to the predicted sequence of concentrate grade and tailings grade arranged in chronological order within a preset future time period. Determining the joint trend prediction value can unify the visual flow regime information of the current slurry flow, the state of sorting parameters, and the historical evolution patterns of concentrate and tailings grades within a single prediction framework. This enables synchronous estimation of the future direction and magnitude of changes in concentrate and tailings grades, providing a forward-looking quantitative basis for subsequent sorting parameter adjustment strategies. The state transition encoder extracts the state transition constraint vector from the historical sorting index sequence, introducing the inertial evolution patterns of concentrate and tailings grades during past operations and the coupling constraint relationship between them, preventing the predicted values from exhibiting abrupt changes or drifts that violate the actual dynamic characteristics of sorting. The attention-weighted fusion mechanism enables the network to adaptively adjust its dependence on historical state constraint information based on the current flow regime and parameter state. It fully utilizes historical inertia when the operating conditions are stable and increases the response weight to current flow regime characteristics when the operating conditions fluctuate, thereby improving prediction accuracy. Finally, the paired prediction sequences of concentrate grade and tailings grade output by the grade joint trend prediction network effectively identified the changing trends and matching relationships of the two grade indicators over time.
[0098] In step S104, the predicted value of the joint change trend is used as a reward signal. The strategy gradient algorithm is used to identify the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space. Then, based on the sorting parameter adjustment vector, the corresponding sorting parameters of the current magnetite sorting are optimized by feedback based on visual flow regime analysis.
[0099] In some embodiments, using the joint trend prediction value as a reward signal, the following steps are taken to identify the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space using the strategy gradient algorithm:
[0100] A reward function is constructed based on the degree to which the predicted concentrate grade and the predicted tailings grade deviate from the target range of concentrate grade and the target range of tailings grade, respectively, in the joint trend prediction values, so as to obtain the reward signal under the current sorting parameters.
[0101] Using the sorting parameter vector in the current magnetite sorting process as the state and the sorting parameter adjustment amount as the action, a continuous action space strategy network for parameter optimization is constructed.
[0102] Using the reward signal as the optimization target, the continuous action spatial strategy network is iteratively updated online using the strategy gradient algorithm, so that the sorting parameter adjustment action output by the spatial strategy network satisfies the bilateral grade constraint, and the sorting parameter adjustment vector that meets the bilateral grade constraint of concentrate grade and tailings grade is sampled from the updated spatial strategy network.
[0103] In specific implementation, firstly, the 12 pairs of concentrate grade prediction values and tailings grade prediction values within the future preset time period in the joint trend prediction values are compared with the target intervals for concentrate grade and tailings grade, respectively. For each sampling time, the deviation degree of the prediction value is calculated. If the prediction value falls within the target interval, the deviation at that time is 0; if it exceeds the target interval, a penalty is calculated based on the square of the deviation from the boundary. The concentrate deviation penalty and tailings deviation penalty at the 12 sampling times are averaged, weighted 1:1, and then added together, with the negative value taken as the reward signal. The reward signal is a scalar feedback value calculated based on the degree to which the grade prediction value meets the bilateral grade constraints. The larger the value, the more favorable the current sorting parameter state is for improving concentrate grade. Both the ore grade and the tailings grade fall within the target range. The target ranges for concentrate and tailings grades are determined as follows: Based on the product quality requirements and economic and technical indicators of the lean magnetite beneficiation plant, the lower limit of the concentrate grade is the minimum concentrate grade required for external sales or downstream smelting processes, and the upper limit of the concentrate grade is the grade control limit set while meeting the concentrate quality requirements and taking into account the iron recovery rate. This constitutes the target range for the concentrate grade. The upper limit of the tailings grade is the maximum allowable tailings grade under the premise of ensuring that the iron recovery rate is not lower than the predetermined economic recovery rate, and the lower limit of the tailings grade is the minimum tailings grade that can be achieved within the normal operating conditions of grinding and magnetic separation. This constitutes the target range for the tailings grade. For example, a beneficiation plant of lean and impure magnetite requires a concentrate grade of no less than 62% and no more than 65%, and a tailings grade of no more than 8% and no less than 5%. Then the target range for concentrate grade is [62%, 65%], and the target range for tailings grade is [5%, 8%].The target range is determined by the concentrator based on ore properties, product sales contracts, smelting requirements, and economic benefits, and is used as the boundary condition for bilateral grade constraints during the optimization of sorting parameters. Then, using the current sorting parameter vector in the magnetite sorting process as the state, and four continuous variables—feed concentration adjustment, feed flow rate adjustment, magnetic separator drum speed adjustment, and washing water adjustment—to form the sorting parameter adjustment action vector, a continuous action space strategy network is constructed. This strategy network adopts a 4-layer fully connected feedforward network structure, with the number of neurons in each layer being 128, 128, 64, and 8 respectively. The activation function of the first three layers uses modified linear units. The first four neurons of the output layer are activated by tanh and then linearly scaled according to the maximum allowable single-step adjustment range of each sorting parameter as the action mean. The last four neurons of the output layer are activated by softplus and then have a minimum standard deviation of 0.05 added as the action standard deviation. A Gaussian policy distribution is parameterized, where the continuous action space policy network is a neural network that takes the sorting parameter state as input and the mean and standard deviation of the sorting parameter adjustment actions as output, used to define a differentiable stochastic policy in the continuous action space. Finally, with the reward signal as the optimization objective, the continuous action space policy network is iteratively updated online using the policy gradient algorithm. In each iteration, a sorting parameter adjustment action is sampled using the above Gaussian policy distribution. The sampled action is added to the current sorting parameter state and then forward-computed by the grade joint trend prediction network to obtain the predicted grade and then calculate the reward signal. According to the policy gradient theorem, the reward signal is multiplied by the log probability of the action to update the gradient of the policy network parameters. The update magnitude is controlled by the learning rate of 0.0003. After repeating the iteration for 30 rounds, the action mean vector is read from the output layer of the updated policy network and directly used as the sorting parameter adjustment vector.
[0104] It should be noted that the separation parameter adjustment vector in this application refers to a four-dimensional numerical vector composed of the feed concentration adjustment, feed flow rate adjustment, magnetic separator drum speed adjustment, and washing water volume adjustment required to simultaneously satisfy the bilateral grade constraints of the concentrate grade and tailings grade prediction values. The purpose of determining the separation parameter adjustment vector is to transform the future grade prediction information output by the grade joint trend prediction network into a quantitative operation command that can be directly applied to the magnetic separation process actuator, thereby achieving closed-loop feedback optimization of the separation parameters under the premise that the concentrate grade and tailings grade simultaneously meet the target range.
[0105] In some embodiments, the feedback optimization of the corresponding sorting parameters for the current magnetite sorting based on visual flow regime analysis, based on the sorting parameter adjustment vector, is achieved through the following steps:
[0106] The sorting parameter adjustment vector is mapped to the corresponding control channels of magnetic separator feed concentration, feed flow rate, magnetic separator drum speed and washing water volume according to the sorting parameter type, so as to obtain the target adjustment amount of each sorting parameter.
[0107] The target adjustment amount of each sorting parameter is subjected to actuator amplitude limiting and change rate constraint processing to obtain the executable adjustment command of each sorting parameter;
[0108] The executable adjustment instructions for each sorting parameter are sent to the corresponding actuator to complete the feedback optimization of the corresponding sorting parameters for the current magnetite sorting.
[0109] In specific implementation, firstly, the first to fourth elements of the sorting parameter adjustment vector are respectively assigned to the feed concentration adjustment, feed flow rate adjustment, magnetic separator drum speed adjustment, and washing water flow rate adjustment. The adjustment amounts are then mapped from normalized form to actual engineering units according to the range of the current control loop for each sorting parameter. The feed concentration is mapped to a percentage concentration with a full scale of 30% to 60%, and the feed flow rate is mapped to a volumetric flow rate per unit time with a full scale of [missing information]. to The rotational speed of the magnetic separator drum is mapped to a rotational speed with a full-scale range of 10 r / min to 40 r / min, and the flushing water volume is mapped to a volumetric flow rate per unit time with a full-scale range of 5 m³ / h to 30 m³ / h. This yields the target adjustment values for each sorting parameter. The target adjustment value for each sorting parameter refers to the actual engineering unit value used to set the new working point of the actuator after being superimposed with the current sorting parameter. Then, the target adjustment values for each sorting parameter are subject to actuator amplitude and rate-of-change constraints. The amplitude of the target adjustment value for each sorting parameter is limited to the maximum stroke range allowed for a single action of the corresponding actuator. Simultaneously, the rate of change of the target adjustment value for the same sorting parameter between two adjacent control cycles is limited to not exceeding the corresponding actuator's... The maximum allowable rate of change for the machinery is determined. If any target adjustment exceeds the corresponding limit or rate of change constraint, the excess portion is truncated to the boundary value, resulting in executable adjustment instructions for each sorting parameter. These executable adjustment instructions refer to the final target set value that can be safely and smoothly executed by the corresponding actuator after correction by the limit and rate constraints. Finally, the executable adjustment instructions for each sorting parameter are sent to the controller setting terminals of the feed concentration regulating valve, feed flow regulating valve, magnetic separator drum frequency converter, and washing water flow regulating valve through the control channels. Each controller drives the corresponding actuator to complete the actual parameter adjustment according to the proportional-integral-derivative control law, thus completing the feedback optimization of the corresponding sorting parameters for the current magnetite sorting.
[0110] It should be noted that the feedback optimization based on visual flow analysis in this application refers to using continuous frame images of moving mineral particles on the surface of the slurry flow at the feed end as the information source, constructing a flow characteristic map reflecting the internal shear rate distribution of the slurry flow through multi-scale corner trajectory recognition, and then extracting the flow temporal feature vector associated with the dissociation state of the magnetite intergrowth by a pre-trained convolutional neural network and a gated recurrent unit. Then, combining the historical sorting index sequence and the current sorting parameters, the joint change trend of concentrate grade and tailings grade is predicted. The predicted value is used as a reward signal to solve the sorting parameter adjustment vector that satisfies the bilateral grade constraint in the continuous action space through the strategy gradient algorithm. Finally, the adjustment vector is mapped into executable adjustment commands for feed concentration, feed flow rate, magnetic separator drum speed and washing water volume and sent to the corresponding actuators in a closed-loop control process. This feedback optimization differs from traditional feedback control that relies on the lag in the analysis of concentrate and tailings grades. It uses the distribution characteristics of slurry shear rate obtained from visual flow analysis as a leading indicator of grade changes. It can predict grade trends and adjust sorting parameters in advance before the test results are available, thereby shortening the feedback time lag and improving the control capability of the lean magnetite sorting process to maintain both concentrate and tailings grades meeting the standards under fluctuating feed properties.
[0111] In some embodiments, reference Figure 3 The figure is a schematic diagram of a computer device for implementing a vision-based method for optimizing sorting parameters of low-grade magnetite, according to some embodiments of this application. The vision-based method for optimizing sorting parameters of low-grade magnetite in the above embodiments can be implemented through... Figure 3 The computer device shown is used to implement this, and the computer device includes at least one processor 301, a communication bus 302, a memory 303, and at least one communication interface 304.
[0112] The processor 301 can be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more devices used to control the execution of the visual inspection-based method for optimizing the sorting parameters of low-grade magnetite in this application.
[0113] The communication bus 302 can be used to transmit information between the aforementioned components.
[0114] The memory 303 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 303 may exist independently and be connected to the processor 301 via the communication bus 302. The memory 303 may also be integrated with the processor 301.
[0115] The memory 303 stores program code for executing the scheme of this application, and its execution is controlled by the processor 301. The processor 301 executes the program code stored in the memory 303. The program code may include one or more software modules. In the above embodiments, the determination of the optimization method for sorting parameters of lean and impure magnetite based on visual detection can be implemented by the processor 301 and one or more software modules in the program code in the memory 303.
[0116] Communication interface 304 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0117] In a specific implementation, as one example, a computer device may include multiple processors, each of which may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. Here, a processor may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0118] The aforementioned computer device can be a general-purpose computer device or a special-purpose computer device. In specific implementations, the computer device can be a desktop computer, a portable computer, a network server, a handheld digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. This application does not limit the type of computer device.
[0119] In addition, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for optimizing sorting parameters of low-grade magnetite based on visual detection.
[0120] Although preferred embodiments of this application have been described, those skilled in the art, once they have learned the basic inventive concept, can make other changes and modifications to these embodiments.
[0121] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application.
Claims
1. A method for optimizing parameters of visual inspection based beneficiation of a poor magnetite ore, characterized by, Includes the following steps: Continuous frame images of the slurry flow at the feed end during the sorting process of low-grade magnetite are collected, and multi-scale corner trajectory identification is performed on the moving mineral particles in the continuous frame images to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow. The flow pattern feature map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow; Using the historical sorting index sequence in the magnetite sorting process as the state transition constraint, the combined trend prediction of the concentrate grade and tailings grade in the future preset time period is predicted by combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process. Using the predicted value of the joint change trend as a reward signal, the strategy gradient algorithm is used to identify the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space. Then, based on the sorting parameter adjustment vector, the corresponding sorting parameters of the current magnetite sorting are optimized by feedback based on visual flow regime analysis.
2. The method as described in claim 1, characterized in that, The acquisition of continuous frame images of the slurry flow at the feed end during the sorting process of low-grade magnetite specifically includes: The original grayscale image sequence of the slurry flow surface during the sorting process of low-grade magnetite is continuously acquired at a fixed frame rate, and Gaussian filtering and adaptive histogram equalization are performed on the original grayscale image sequence frame by frame to obtain an enhanced grayscale image sequence. The enhanced grayscale image sequence is subjected to motion region detection based on inter-frame difference to extract the foreground region sequence where moving mineral particles are located in the slurry flow; Morphological opening and connected region area filtering are performed on the foreground region sequence to obtain an effective moving mineral particle region sequence, and the effective moving mineral particle region sequence is used as a continuous frame image output.
3. The method as described in claim 1, characterized in that, The process of performing multi-scale corner trajectory identification on moving mineral particles in the continuous frame images to construct a flow characteristic map reflecting the internal shear rate distribution of the slurry flow specifically includes: A multi-scale Gaussian pyramid is constructed for the continuous frame images, and corner points of the surface and edge of the mineral particles are extracted as candidate feature points at each scale layer to obtain a multi-scale corner point set. The multi-scale corner point set is tracked by iterative pyramid Lucas-Kanade tracking based on optical flow pyramid between consecutive frames to establish cross-frame corner point correspondence and generate moving mineral particle corner point trajectories. Local neighborhood relative displacement decomposition is performed on the trajectory of the corner point of the moving mineral particle, the velocity gradient tensor between adjacent trajectories is calculated and its shear component is obtained, and the local shear rate between trajectories is obtained. The local shear rates between the trajectories are mapped to a two-dimensional grid according to the spatial location of the corner points and spatial interpolation is performed to obtain a flow characteristic map reflecting the distribution of shear rates inside the slurry flow.
4. The method as described in claim 1, characterized in that, The convolutional neural network is pre-trained using the following steps: Images of slurry flow at the feed end under different feed concentrations, different grinding finenesses and different degrees of liberation during the sorting of lean and impure magnetite were obtained, and the corresponding flow feature maps of each frame were labeled as training samples. Using the slurry flow images in the training samples as input and the corresponding labeled flow feature maps as regression targets, a convolutional neural network is constructed and layer-by-layer supervised training is performed using the mean squared error loss function; The weights of the convolutional neural network after training convergence are frozen and used as the pre-trained convolutional neural network to extract the spatial convolutional features of the flow feature map, thus obtaining the pre-trained convolutional neural network.
5. The method as described in claim 1, characterized in that, The flow pattern feature map is input into a pre-trained convolutional neural network for feature extraction to obtain a flow pattern time-series feature vector associated with the dissociation state of magnetite intergrowths in the slurry flow. Specifically, this includes: The flow feature maps are stacked frame by frame according to time windows to form a flow feature map sequence with a time dimension; The sequence of flow feature maps is input frame by frame into a pre-trained convolutional neural network to extract the spatial convolutional feature maps of each frame of flow feature maps; Global average pooling is performed on the spatial convolutional feature map along the channel dimension to obtain the flow spatial feature vector of each frame; The flow spatial feature vectors of multiple consecutive frames are input into a gated loop unit in chronological order for time-series modeling, and the flow temporal feature vectors associated with the dissociation state of magnetite intergrowths in the slurry flow are output.
6. The method as described in claim 1, characterized in that, The historical sorting index sequence in the magnetite sorting process is determined using the following steps: Obtain the concentrate grade and tailings grade test values for multiple consecutive sampling periods before the current moment during the sorting process of low-grade magnetite, and arrange them in the order of sampling time to form the original sequence of historical sorting indicators; The original sequence of historical sorting indicators is imputed for missing values and outliers are removed to obtain a preprocessed sequence of historical sorting indicators. The preprocessed historical sorting index sequence is normalized in chronological order to obtain the historical sorting index sequence that serves as the state transition constraint.
7. The method as described in claim 1, characterized in that, Using the historical sorting index sequence in the magnetite sorting process as state transition constraints, the predicted value of the joint change trend of concentrate grade and tailings grade within a preset future time period is specifically included by combining the flow temporal feature vector with the sorting parameters in the current magnetite sorting process: The flow-time feature vector is concatenated with the sorting parameter vector in the current magnetite sorting process to obtain the flow-parameter joint feature vector; The historical sorting index sequence is input into the state transition encoder for time-series encoding to obtain the state transition constraint vector characterizing the historical evolution law of concentrate grade and tailings grade. The flow-parameter joint feature vector and the state transition constraint vector are fused with attention weighting to obtain the grade trend prediction input features; The grade trend prediction input features are input into a pre-trained grade joint trend prediction network, which outputs the joint change trend prediction value of concentrate grade and tailings grade within a preset future time period.
8. The method as described in claim 1, characterized in that, Using the predicted value of the joint change trend as the reward signal, the sorting parameter adjustment vector that satisfies the bilateral grade constraints of concentrate grade and tailings grade in the continuous action space is specifically identified using the strategy gradient algorithm, including: A reward function is constructed based on the degree to which the predicted concentrate grade and the predicted tailings grade deviate from the target range of concentrate grade and the target range of tailings grade, respectively, in the joint trend prediction values, so as to obtain the reward signal under the current sorting parameters. Using the sorting parameter vector in the current magnetite sorting process as the state and the sorting parameter adjustment amount as the action, a continuous action space strategy network for parameter optimization is constructed. Using the reward signal as the optimization target, the continuous action spatial strategy network is iteratively updated online using the strategy gradient algorithm, so that the sorting parameter adjustment action output by the spatial strategy network satisfies the bilateral grade constraint, and the sorting parameter adjustment vector that meets the bilateral grade constraint of concentrate grade and tailings grade is sampled from the updated spatial strategy network.
9. The method as described in claim 1, characterized in that, The raw grayscale image sequence of the slurry surface during the sorting process of low-grade magnetite was acquired using an industrial camera.
10. The method as described in claim 1, characterized in that, The sorting parameters include feed concentration, feed flow rate, magnetic separator drum rotation speed, and washing water volume.
