Synergistic optimization control method, system and device for ore photoelectric sorting
By using segmented affine subsystem modeling and distributed model predictive control, the problem of unified performance indicators for ore sorting lines was solved, achieving efficient and stable ore sorting, which is suitable for photoelectric sorting of non-ferrous metal ores.
Patent Information
- Application Number
- CN202611329559.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
Existing ore sorting lines lack unified performance indicators for separation rate, energy consumption and stability, making it difficult to cope with rapid fluctuations in ore particle size, moisture content and feed rate. Centralized model predictive control has high computational complexity under complex working conditions, and nonlinear switching characteristics make optimization search difficult.
A segmented affine subsystem model is adopted to establish the coupling relationship between material flow, information flow and energy flow, and an augmented Lagrangian form of distributed model predictive control is constructed. The whole process is coordinated and optimized through distributed optimization module and boundary disturbance verification, and control commands are output to achieve stable sorting.
It achieves unified quantitative evaluation and collaborative optimization of the entire process performance, reduces computational complexity, improves system scalability and real-time performance, avoids local optima traps, and ensures the continuity and accuracy of control.
Smart Images

Figure CN123156708A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent mineral sorting technology, and in particular to a collaborative optimization control method, system and device for photoelectric mineral sorting. Background Technology
[0002] Efficient separation of non-ferrous metal ores is a key link in the comprehensive utilization of mineral resources. Photoelectric separation technology, with its non-contact identification methods such as X-ray transmission (XRT) and fluorescence spectroscopy (XRF), has been widely used in the separation of non-ferrous metal ores such as copper, lead, and zinc. However, existing separation lines typically employ independent control strategies for each stage. Equipment such as vibrating feeder, belt conveyor, photoelectric identification, and air jet separation are managed by separate controllers. Moreover, existing control strategies often use single-equipment PID regulation, static parameter tables, or rule-based empirical lookup tables. Independent adjustment of each stage lacks unified performance indicators for separation rate, energy consumption, and stability, making it difficult to cope with disturbances caused by rapid fluctuations in ore particle size, moisture content, and feed rate.
[0003] Model predictive control (MDC) has been introduced into industrial process optimization due to its ability to handle multivariate constraints. Although piecewise affine models can describe equipment dynamics in different operating conditions using locally linear models, centralized MDC faces a sharp increase in computational complexity when the prediction time domain is long or the number of subsystems increases, making it difficult to meet the real-time requirements of high-throughput and high-dynamic conditions in ore sorting lines. Furthermore, sorting equipment exhibits significant nonlinear switching characteristics under different operating conditions. While modeling with piecewise affine systems can approximate complex dynamics to some extent, the strict constraints of region boundary limits make the optimization search prone to getting trapped in local optima, and determining the optimal solution near the boundary is difficult, thus restricting the reliability of solving non-convex optimization problems and the control accuracy. Summary of the Invention
[0004] This invention provides a collaborative optimization control method, system, and apparatus for photoelectric separation of ores, aiming to solve at least one of the technical problems existing in the prior art.
[0005] The technical solution of this invention is a collaborative optimization control method for photoelectric separation of ores, comprising: Collect the operating status of the sorting line and the status of ore materials to form full-process performance indicators and construct comprehensive performance indicators; Each stage of the sorting line—vibration feeding, belt conveying, photoelectric recognition, and air jet separation—is established as a segmented affine subsystem, and the coupling relationship between material flow, information flow, and energy flow is established. By replicating the state of adjacent subsystems and introducing consistency and dual variables, an augmented Lagrangian form of distributed model predictive control problem is constructed, decomposing the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit. Based on the current state and initial control sequence, the activation piecewise affine dynamics are determined, the region boundary constraints are removed, and the local alternating direction multiplier method is executed in parallel within the entire feasible region to obtain the exploratory solution. Using the explored solution as the current solution, solve for unconstrained candidate solutions in the solution region, and obtain a decreasing solution that makes the comprehensive performance index non-increasing by directly accepting or searching the bisection line; The perturbation sensitivity of the predicted state located near the boundary of the segmented affine region is verified by comparing the current trajectory cost with the perturbation trajectory cost of the adjacent region. When the verification passes, control commands are output in a rolling time domain manner to sort the target ore material. When the verification fails, the exploration is restarted or a feasible shift candidate solution is adopted.
[0006] According to some embodiments of the present invention, the collection of the sorting line operating status and ore material status to form a full-process status vector and construct a comprehensive performance index includes: The status acquisition module acquires real-time data from field sensors and controllers; Based on the real-time data, a full-process performance index is obtained. This full-process performance index is then set as a weighted sum of multiple sub-indicators, and a comprehensive performance index is proposed. The expression for the comprehensive performance index is as follows: in, For comprehensive performance indicators, This indicates a penalty for loss of useful minerals or insufficient separation rate. This indicates a penalty for accidental or missed spraying. This indicates the unit's energy consumption penalty. This indicates penalties for belt speed, material layer thickness, or air pressure fluctuations. Indicates recognition and spray delay penalty; to For constraint weights.
[0007] According to some embodiments of the present invention, each stage of the sorting line—vibrating feeding, belt conveying, photoelectric identification, and air jet separation—is established as a segmented affine subsystem, and a coupling relationship between material flow, information flow, and energy flow is established, including: Divide the sorting line into A segmented affine subsystem The system consists of four segmented affine subsystems, corresponding to the vibratory feeding, belt conveying, photoelectric recognition, and air jet separation processes, respectively. Each segmented affine subsystem is divided into several segmented affine regions based on its operating state. When the operating state is in the... r When there are multiple piecewise affine regions, their dynamics are described by the state matrix, input matrix, affine terms and adjacency coupling matrix corresponding to the piecewise affine region. Among them, the r The dynamic expression formula for a segmented affine region is: in, For the first i The state of the segmented affine subsystem For the first i The segmented affine subsystem in the first... r The state matrix within each piecewise affine region For the input matrix, For affine terms, To control the input, For the set of adjacency subsystems, For the set of adjacency subsystems For the The coupling matrix of a piecewise affine subsystem For the first A segmented affine region.
[0008] According to some embodiments of the present invention, the replication of adjacent subsystem states and the introduction of consistency and dual variables to construct an augmented Lagrangian form of distributed model predictive control problem decomposes the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit, including: In the prediction time domain, the state of the adjacent subsystem is copied in each segmented affine subsystem, and a global consistency variable is introduced to make the local state copy equal to the global consistency variable. The global optimization problem is decomposed into multiple local subproblems, and each piecewise affine subsystem exchanges consistency variables and dual variables with adjacent subsystems or coordinating nodes. Using the augmented Lagrangian function to handle consistency constraints, for the For a piecewise affine subsystem, the expression for the augmented Lagrangian function is: in, For the first i The local performance cost function of a piecewise affine subsystem As dual variables, The penalty coefficient is... For the first A stacked vector of the local state of each segmented affine subsystem and the state copies of its adjacent subsystems. For the stacked vector of the corresponding consistency variables, For the first i The state trajectory of each segmented affine subsystem is recorded. , To input the trajectory record, , To predict the time domain, M The total number of segmented affine subsystems; For the i The piecewise affine subsystems are solved using a quadratic programming problem within the local feasible set to obtain local variables. According to the i The consistency variables of the self-state of each segmented affine subsystem and the copies of the self-state of adjacent subsystems are updated, and the dual variables are also updated.
[0009] According to some embodiments of the present invention, the step of determining the activation piecewise affine dynamics based on the current state and the initial control sequence, removing region boundary constraints, and performing parallel exploration iterations of the local alternating direction multiplier method in the entire feasible domain to obtain the exploration solution includes: Based on the initial control sequence and the predicted state trajectory using the piecewise affine model, determine the sequence of activated piecewise affine regions for each piecewise affine subsystem in the prediction time domain; When constructing the local quadratic programming problem, the affine dynamic parameters determined by the active piecewise affine region are retained, and the regional boundary constraint that the predicted state must still be located within the active piecewise affine region is removed, so that the local subproblem remains in the form of a convex quadratic programming problem. in front In each iteration of exploration, the sequence of activated segmented affine regions is updated based on the latest predicted state, in subsequent iterations. Freeze the activated segmented affine region sequence in the next exploration iteration; Explore search and execute lines The process iterates and outputs the exploratory solution.
[0010] According to some embodiments of the present invention, the step of using the explored solution as the current solution, solving for unconstrained candidate solutions in the solution region, and obtaining a decreasing solution that makes the overall performance index non-increasing through direct acceptance or bisection line search includes: Using the exploratory solution as the current solution, the unconstrained problem in the region is solved again based on the dynamics of the activated piecewise affine region corresponding to the current solution, and candidate solutions are obtained. If the local cost of a candidate solution is no greater than the local cost of the current solution for all piecewise affine subsystems, then the candidate input is accepted as the new current input. If the local cost of at least one piecewise affine subsystem increases, a binary search is performed along the line segment between the current input and the candidate input. The initial intermediate input is the average of the current input and the candidate input. If the cost corresponding to the intermediate input increases, the process backtracks to the current input until all local costs or global weighted costs satisfy the non-incremental condition, thus obtaining a decreasing solution that makes the overall performance index non-incremental.
[0011] According to some embodiments of the present invention, the step of performing a perturbation sensitivity check on the predicted state located near the boundary of the segmented affine region and comparing the current trajectory cost with the perturbation trajectory cost of the adjacent region includes: When the distance from the predicted state to the boundary of the segmented affine region is less than the threshold, several small perturbations are applied to the predicted state. The perturbation direction includes any one of the following: the direction of the normal vector of the adjacent region, the direction of the physical meaning of the device, and the direction of random sampling. While keeping the current control sequence unchanged, re-simulate from the corresponding time point according to the affine region activated after the disturbance to obtain the disturbance trajectory and its cost; If the current trajectory cost is not greater than the minimum cost among all perturbation trajectories, the boundary check passes; otherwise, a perturbation is applied near the current control sequence to form a new initial control sequence, and the exploration search and descent search are re-executed.
[0012] According to some embodiments of the present invention, the step of outputting control commands in a rolling time domain manner for sorting target ore materials includes: After boundary verification, only the first step of the control input in the prediction time domain is executed in the current sampling period. The remaining control inputs are used as the hot start sequence for the next sampling period, and the set values of the control inputs are sent to the control system for the sorting of target ore materials. The control inputs include at least one of the following: feeder frequency and amplitude setting, belt speed setting, motor torque distribution, identification threshold or fusion weight, nozzle pressure setting, injection pulse width and injection trigger delay. For the air-jet separation process, the injection trigger time is calculated based on the ore centroid, belt speed and nozzle position, and then sent to the control system. If an emergency stop, gas pressure below the safety threshold, sensor failure, or ore blockage occurs, the control system will exit the optimized control mode and switch to the equipment safety interlock strategy.
[0013] This invention also provides a collaborative optimization control system for photoelectric separation of ores, used to execute the collaborative optimization control method for photoelectric separation of ores as described in the above embodiments, comprising: The status acquisition module is used to collect the operating status of the sorting line and the status of ore materials, form full-process performance indicators and construct comprehensive performance indicators; The segmented affine modeling module is used to establish segmented affine subsystems for each link of the sorting line, including vibratory feeding, belt conveying, photoelectric recognition and air jet separation, and to establish the coupling relationship between material flow, information flow and energy flow. The distributed optimization module is used to replicate the state of adjacent subsystems and introduce consistency and dual variables to construct an augmented Lagrangian form of distributed model predictive control problem, decomposing the whole-process collaborative optimization problem into local quadratic programming subproblems of each sorting unit. The region-unconstrained exploration module is used to determine the activation piecewise affine dynamics based on the current state and the initial control sequence, remove the region boundary constraints, and perform local alternating direction multiplier method exploration iterations in parallel within the entire feasible domain to obtain the exploration solution; The descent and binary search module is used to find unconstrained candidate solutions in the solution region with the explored solution as the current solution, and to obtain a descent solution that makes the comprehensive performance index non-increased by directly accepting or searching the bisection line. The boundary disturbance verification module performs disturbance sensitivity verification on the predicted state located near the boundary of the segmented affine region and compares the current trajectory cost with the disturbance trajectory cost of the adjacent region. The control command output module is used to output control commands in a rolling time domain manner when the verification passes, and to restart the exploration or adopt a feasible shift candidate solution when the verification fails.
[0014] This invention also provides a collaborative optimization control device for photoelectric separation of ores, comprising: Vibrating feeders are used to evenly distribute ore to the conveying mechanism; Belt conveyor equipment is used to transport ore materials to a corresponding area; Dual-light dual-energy identification equipment is used for X-ray transmission imaging and X-ray fluorescence spectroscopy identification of ore materials; Air jet separation equipment is used to separate target ore materials through high-speed air valves; And the collaborative optimization control system for photoelectric separation of ore as described in the above embodiments, used to perform regional unconstrained jump-type distributed collaborative optimization control on the vibrating feeder, the belt conveyor, the dual-light dual-energy identification device and the air jet separation device.
[0015] The present invention also relates to a computer device, including a memory and a processor, wherein the processor performs the above-described method when executing a computer program stored in the memory.
[0016] The present invention also relates to a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the above-described method.
[0017] The collaborative optimization control method, system, and device for photoelectric ore sorting provided in this invention embodiment possess at least one of the following advantages and beneficial effects: By collecting data on the operation of the sorting line and the state of the ore materials and constructing comprehensive performance indicators, a unified quantitative evaluation of the entire process performance and the setting of collaborative optimization targets are achieved. Each stage—vibrating feeder, belt conveyor, photoelectric recognition, and air jet separation—is modeled as a segmented affine subsystem, and the coupling relationship between material flow, information flow, and energy flow is established to accurately characterize the nonlinear dynamics of each unit and their interactions. An augmented Lagrangian form of distributed model predictive control is adopted, decomposing the entire process optimization into a local quadratic programming subproblem, significantly reducing computational complexity and improving system scalability and real-time performance. Boundary constraints are removed through unconstrained exploration of the region, and local alternating direction multiplier method iterations are executed in parallel within the entire feasible region, effectively avoiding getting trapped in local optima; combined with descent strategies of direct acceptance or bisection line search, the comprehensive performance indicators are guaranteed to be non-incremental, ensuring optimization convergence. A disturbance sensitivity check is introduced for the predicted state near the boundary; by comparing the current disturbance trajectory cost with that of adjacent regions, pseudo-optimal solutions are accurately identified, improving the reliability of non-convex optimization. By adopting rolling time-domain output control commands, the exploration is restarted or feasible shift candidate solutions are adopted when the verification fails, ensuring control continuity and achieving efficient, stable and real-time collaborative optimization of the entire ore sorting process.
[0018] Furthermore, additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0019] Figure 1 This is a flowchart of the overall optimization control method for photoelectric separation of ore provided in the embodiments of the present invention; Figure 2 This is a detailed flowchart of step S400 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention; Figure 3 A diagram comparing the paths of region-constrained search and region-unconstrained jump search. Figure 4 This is a detailed flowchart of step S500 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention; Figure 5 A schematic diagram of the piecewise affine region division, cost function surface, and search trajectory; Figure 6 This is a detailed flowchart of step S600 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention; Figure 7 This is a detailed flowchart of step S700 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention; Figure 8This is a schematic diagram of the structure of the collaborative optimization control device for photoelectric separation of ore provided in an embodiment of the present invention. Detailed Implementation
[0020] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention.
[0021] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. The singular forms "a," "described," and "the" used herein are also intended to include the plural forms, unless the context clearly indicates otherwise. Furthermore, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and not for limiting the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.
[0022] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this disclosure, these elements should not be limited to these terms. These terms are used only to distinguish elements of the same type from one another. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. Any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided herein are intended only to better illustrate embodiments of the invention and, unless otherwise required, do not impose a limitation on the scope of the invention.
[0023] Reference Figures 1 to 8 As shown, the collaborative optimization control method, system and device for photoelectric separation of ores provided in the embodiments of the present invention will be further described.
[0024] Reference Figure 1 As shown, Figure 1 This is a general flowchart of the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention. The collaborative optimization control method for photoelectric separation of ore includes, but is not limited to, steps S100 to S700. Specifically, S100: Collects the operating status of the sorting line and the status of ore materials to form full-process performance indicators and construct comprehensive performance indicators; S200: Each stage of the sorting line, including vibratory feeding, belt conveying, photoelectric recognition, and air jet separation, is established as a segmented affine subsystem, and the coupling relationship between material flow, information flow, and energy flow is established. S300: By replicating the state of the adjacent subsystem and introducing consistency and dual variables, an augmented Lagrangian form of distributed model predictive control problem is constructed, and the overall collaborative optimization problem is decomposed into local quadratic programming subproblems of each sorting unit. S400: Based on the current state and initial control sequence, determine the activation piecewise affine dynamics, remove the region boundary constraints, and perform local alternating direction multiplier method exploration iteration in parallel within the entire feasible region to obtain the exploration solution; S500: Using the exploratory solution as the current solution, find unconstrained candidate solutions in the solution region, and obtain a decreasing solution that makes the comprehensive performance index non-increasing by directly accepting or searching the bisection line. S600: Performs perturbation sensitivity verification on the predicted state located near the boundary of the segmented affine region, and compares the current trajectory cost with the perturbation trajectory cost of the adjacent region. S700: When the verification passes, control commands are output in a rolling time domain manner to sort the target ore material. When the verification fails, the exploration is restarted or a feasible shift candidate solution is adopted.
[0025] The collaborative optimization control method for photoelectric separation of ore provided in this invention integrates the entire process of vibrating feeding, belt conveying, photoelectric identification and air jet separation into a segmented affine distributed predictive control framework. This enables the local equipment control targets to serve the global performance indicators of separation rate, recovery rate, energy consumption and equipment stability, thus solving the problem of independent adjustment of each link and lack of unified optimization in the prior art.
[0026] By constructing an augmented Lagrangian form of the distributed model predictive control problem, the global optimization is decomposed into local quadratic programming subproblems of each sorting unit. Each unit only needs to exchange the consistency information of its adjacency state to solve the problem in parallel, which significantly reduces the computational complexity caused by the increase in the prediction time domain and the number of subsystems. It is suitable for online deployment in industrial edge computing units or PLC and host computer collaborative architecture.
[0027] Removing the boundary constraints of the segmented affine region during the exploration phase allows the controller to directly explore candidate operation points across multiple adjacent regions within the entire feasible domain. This avoids the inefficient search of traditional methods that involve step-by-step jumping between regions, reduces the number of iterations and the constraint size of each local subproblem, and significantly improves the efficiency of online optimization.
[0028] By employing descent search and bisection search mechanisms, the overall performance index remains non-increased even when candidate control sequences cross dynamic regions or cause local performance degradation. This avoids large oscillations or instability caused by cross-regional jumps, prevents equipment shocks and operational risks caused by excessive one-time adjustments to belt speed, feeding frequency, or air pressure settings, and enhances the controllability and engineering safety of the optimization process.
[0029] By performing disturbance sensitivity verification on the critical state near the region boundary, it is possible to effectively identify situations where the performance is optimal only in the current region but degrades after crossing the boundary. This effectively identifies and avoids the risk of performance degradation after crossing the boundary, thus avoiding performance degradation under boundary switching conditions and improving the local optimality and robustness of the control strategy.
[0030] In summary, this method is applicable to the intelligent control of the entire photoelectric sorting process for non-ferrous metal ores, especially copper, lead, zinc, gold, and platinum group metals. It can effectively improve sorting performance and reduce energy consumption, as well as enhance the stable operation and sorting accuracy of the sorting line under high throughput conditions.
[0031] In some embodiments of the present invention, step S100 of the collaborative optimization control method for photoelectric ore sorting involves collecting the operating status of the sorting line and the status of the ore material, forming a full-process state vector, and constructing a comprehensive performance index, including: The status acquisition module acquires real-time data from field sensors and controllers; Based on real-time data, the overall process performance metrics are obtained. These metrics are then set as a weighted sum of multiple sub-metrics. A comprehensive performance metric is recommended, and its expression is as follows: in, For comprehensive performance indicators, This indicates a penalty for loss of useful minerals or insufficient separation rate. This indicates a penalty for accidental or missed spraying. This indicates the unit's energy consumption penalty. This indicates penalties for belt speed, material layer thickness, or air pressure fluctuations. Indicates recognition and spray delay penalty; to For constraint weights.
[0032] The embodiments of the present invention are applied to a photoelectric sorting line for non-ferrous metal ores, including a vibrating feeder, a belt conveyor, an XRT-XRF dual-light dual-energy identification device, and a high-speed air jet separation device. The sorting objects can be copper, lead, zinc, gold, platinum group metals, or other ore particles with detectable photoelectric differences.
[0033] The status acquisition module obtains real-time data from field sensors and controllers, including the feeding frequency of the vibrating feeder. ,amplitude Material layer thickness Instantaneous feed rate and material layer uniformity Belt speed of belt conveyor equipment With load Master and slave motor torque 、 The position of the ore in the belt conveyor coordinate system and speed XRT grayscale or attenuation characteristics of photoelectric recognition devices XRF spectral intensity ore centroid Outline dimensions Category probability and identification confidence Air source pressure of the air jet separation equipment Nozzle pressure Nozzle valve response time , pulse width and nozzle opening and closing vector .
[0034] Understandably, the aforementioned real-time data is used to describe the raw measurement quantities, state quantities, control quantities, and identification characteristics of the current operating conditions of the sorting line. It has three main uses: First, it constructs the state vectors of four segmented affine subsystems—vibration feeding, belt conveying, photoelectric identification, and air jet separation—based on factors such as feeding frequency, amplitude, material layer thickness, feed rate, belt speed, load, torque, ore position / velocity, identification confidence level, and air source / nozzle pressure, thereby determining the current operating condition region and identifying the currently active segmented affine region. Second, it calculates comprehensive performance indicators from this real-time data. J The various sub-indicators, such as those derived from sorting results, category probabilities, and identification / blowing results, can form penalties for insufficient useful mineral loss or separation rate. E loss Penalties for accidental spraying / missed spraying E mis Energy consumption penalty is determined by motor torque and operating status, air source pressure, jet pulse width, and nozzle opening / closing status. E energy Stability penalties are formed by deviations or fluctuations in belt speed, material layer thickness, feed rate, and air pressure relative to target values. E stable The time delay penalty is determined by ore position, belt speed, nozzle position, valve response, and communication / pneumatic compensation. E delay Third, these data also serve as state feedback, constraints, or control inputs for distributed model predictive control, used to solve for the control command in the next sampling period. After being standardized or normalized, the aforementioned sub-indices are then... w 1~ w 5. Weighted average to form comprehensive performance index J This serves as the optimization objective for subsequent distributed model predictive control.
[0035] This invention will integrate the performance indicators of the entire process. The overall performance index can be defined by the formula: (This is set as a weighted sum of multiple sub-indicators.) in, This indicates a penalty for loss of useful minerals or insufficient separation rate. This indicates a penalty for accidental or missed spraying. This indicates the unit's energy consumption penalty. This indicates penalties for belt speed, material layer thickness, or air pressure fluctuations. Indicates recognition and spraying delay penalty; weight to Configuration can be based on mining process objectives, ore value, and equipment constraints.
[0036] To avoid the difference in the dimensions of different penalty items affecting the meaning of the weights, we first... E loss , E mis , E energy , E stable and E delay Normalized to 0-1 respectively. Weights were set with the goal of prioritizing the accuracy of target mineral recovery and sorting, while also considering energy consumption, operational stability, and latency. to for: w 1 = 0.35 w 2 = 0.25 w 3 = 0.15 w 4 = 0.15 w 5 = 0.10 For example, if the five normalization penalties for a certain sampling period are 0.20, 0.12, 0.30, 0.18, and 0.10 respectively, then the weighted cost for that period is: J =0.35×0.20+0.25×0.12+0.15×0.30+0.15×0.18+0.10×0.10=0.182 The above values are only examples illustrating the calculation method. The actual weights can be determined based on ore value, recovery rate priority, equipment energy consumption constraints, and on-site stability requirements.
[0037] By collecting multi-dimensional real-time data from vibratory feeding, belt conveying, dual-light dual-energy identification, and air-jet separation equipment, this method constructs a full-process state vector covering key parameters such as feeding frequency, belt speed, XRT / XRF characteristics, and air source pressure, achieving comprehensive perception of the material flow, information flow, and energy flow of the sorting line. Based on this, penalties for insufficient separation rate, mis-jet or missed jetting, energy consumption, operational fluctuations, and identification jetting delay are weighted and fused into a comprehensive performance index. This ensures that the control objective is no longer limited to the local optimum of a single device, but rather achieves global collaborative optimization that considers mineral recovery rate, sorting accuracy, energy consumption level, and operational stability. This multi-source data fusion and multi-objective weighting mechanism provides accurate state feedback and clear optimization guidance for subsequent distributed model predictive control, significantly improving the control accuracy and overall efficiency of photoelectric sorting of non-ferrous metal ores under complex operating conditions.
[0038] In one alternative embodiment, the comprehensive performance index can also be incorporated into a stage performance prediction model. This model utilizes inputs such as multi-device information fusion, expert knowledge, ore particle size, feed rate, transmission speed, and identification confidence level to predict stage indicators for vibrating fabric distribution, belt conveying, photoelectric identification, and pneumatic separation. Finally, it outputs a comprehensive evaluation value for the entire process through entropy weight method, rough set theory, evidence theory, or neural network.
[0039] For example, the real-time data of each device is first normalized to 0-1, and four feature vectors are formed for each stage. The vibration feeding stage inputs the feeding frequency, amplitude, material layer thickness, instantaneous feeding amount, and material layer uniformity, and outputs a score for the feeding uniformity / feeding stability stage. The belt conveyor stage inputs the belt speed, load, master and slave motor torque, and ore movement status, and outputs a score for the conveyor stability / load balance stage. The photoelectric recognition stage inputs XRT attenuation characteristics, XRF spectral intensity, category probability, and recognition confidence, and outputs a score for the recognition reliability stage. The air-jet separation stage inputs the air source pressure, nozzle pressure, valve response time, jet pulse width, and nozzle opening / closing status, and outputs a score for jet availability / hit reliability stage.
[0040] The stage prediction model can employ a three-layer feedforward neural network trained offline. For example, each stage can have an input layer with 8 hidden nodes and 1 output node, using historical stable operating data and actual sorting results as training samples, ensuring that the outputs of all four stages fall within the range of 0 to 1. The results are obtained during online execution. S feed , S belt , S recog and S eject Then, a comprehensive evaluation value for the entire process is obtained using either a fixed weight or entropy weight method, for example: S =0.20S feed +0.20 S belt +0.30 S recog +0.30 S eject If it is included in the original comprehensive index as a penalty, then it can be taken as... E stage =1- S in, S feed This represents the score for the fabric uniformity / feed stability during the vibrating fabric stage. S belt The output score represents the conveyor stability / load balance of the belt conveyor stage. S recog This represents the recognition reliability score output during the photoelectric recognition stage. S eject The output score for the air-jet separation stage is the jet availability / hit reliability score. S This is a comprehensive evaluation value for the entire process. E stage The penalty amount is included in the original comprehensive indicator.
[0041] In some embodiments of the present invention, step S200 of the collaborative optimization control method for photoelectric ore sorting establishes segmented affine subsystems for each stage of the sorting line, including vibratory feeding, belt conveying, photoelectric identification, and air jet separation, and establishes coupling relationships between material flow, information flow, and energy flow, including: Divide the sorting line into A segmented affine subsystem The system consists of four segmented affine subsystems, corresponding to the vibratory feeding, belt conveying, photoelectric recognition, and air jet separation processes, respectively. Each segmented affine subsystem is divided into several segmented affine regions based on its operating state. When the operating state is in the... r When there are multiple piecewise affine regions, their dynamics are described by the state matrix, input matrix, affine terms and adjacency coupling matrix corresponding to the piecewise affine region. Among them, the r The dynamic expression formula for a segmented affine region is: in, For the first i The state of the segmented affine subsystem For the first i The segmented affine subsystem in the first... r The state matrix within each piecewise affine region For the input matrix, For affine terms, To control the input, For the set of adjacency subsystems, For the set of adjacency subsystems For the The coupling matrix of a piecewise affine subsystem For the first A segmented affine region.
[0042] Understandably, the sorting lines are divided into A segmented affine subsystem It can be 4, corresponding to the stages of vibratory feeding, belt conveying, photoelectric recognition, and air jet separation. It can also be further subdivided according to the equipment structure into multiple feeders, multiple belt segments, multiple sets of recognition windows, and multiple rows of nozzles. The states of the segmented affine subsystem are denoted as follows: The control input is denoted as The set of adjacent subsystems coupled with it is denoted as .
[0043] Considering that ore flow rate, bed condition, belt speed range, identification confidence level, and gas source pressure range can cause dynamic switching of the equipment, this invention sets several segmented affine regions for each segmented affine subsystem. .when Located in the When there are multiple piecewise affine regions, its dynamics can be expressed by the following formula: in, For the first The segmented affine subsystem in the first... The state matrix within each piecewise affine region For the input matrix, For affine terms, For adjacency adjacency subsystem For the The coupling matrix of a piecewise affine subsystem. Piecewise affine region. It can be divided according to the material layer thickness range, belt speed range, ore density range, identification confidence level, air pressure range, or nozzle working status.
[0044] For example, the segmented affine subsystem of the vibratory feeding stage can be divided into segmented affine regions based on low, medium, and high material quantities; the segmented affine subsystem of the belt conveyor stage can be divided into segmented affine regions based on light load, balanced load, and heavy load; the segmented affine subsystem of the photoelectric recognition stage can be divided into segmented affine regions based on high confidence, low confidence, and adhered ore states; and the segmented affine subsystem of the air jet separation stage can be divided into segmented affine regions based on sufficient pressure, pressure recovery, and insufficient pressure. Through the above modeling, complex nonlinearities and logical switching are transformed into segmented affine models that can be used for online optimization.
[0045] By establishing the four stages of the sorting line—vibration feeding, belt conveying, photoelectric recognition, and air jet separation—as segmented affine subsystems, and dividing the affine regions according to actual operating conditions such as material layer thickness, belt speed range, recognition confidence level, and air source pressure, this method achieves refined modeling of the dynamics of complex nonlinear equipment. The dynamics within each region are uniformly described by the state matrix, input matrix, affine terms, and adjacency coupling matrix, transforming logical switching behaviors such as sudden changes in ore flow, load fluctuations, and pressure switching into an analytical piecewise linear model. This significantly reduces the computational complexity of online optimization while preserving physical interpretability. Furthermore, by clearly defining constraints such as feeding frequency, belt speed, motor torque, and time-of-flight matching, the engineering feasibility and equipment safety of the control strategy are ensured, laying a reliable model foundation for the real-time solution of subsequent distributed model predictive control.
[0046] In some embodiments of the present invention, step S300 of the collaborative optimization control method for ore photoelectric sorting involves replicating the states of adjacent subsystems and introducing consistency and dual variables to construct an augmented Lagrangian form of a distributed model predictive control problem. This decomposes the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit, including: In the prediction time domain, the state of the adjacent subsystem is copied in each segmented affine subsystem, and a global consistency variable is introduced to make the local state copy equal to the global consistency variable. The global optimization problem is decomposed into multiple local subproblems, and each piecewise affine subsystem exchanges consistency variables and dual variables with adjacent subsystems or coordinating nodes. Using the augmented Lagrangian function to handle consistency constraints, for the For a piecewise affine subsystem, the expression for the augmented Lagrangian function is: in, For the first i The local performance cost function of a piecewise affine subsystem As dual variables, The penalty coefficient is... For the first A stacked vector of the local state of each segmented affine subsystem and the state copies of its adjacent subsystems. For the stacked vector of the corresponding consistency variables, For the first i The state trajectory of each segmented affine subsystem is recorded. , To input the trajectory record, , To predict the time domain, M The total number of segmented affine subsystems; For the i The piecewise affine subsystems are solved using a quadratic programming problem within the local feasible set to obtain local variables. According to the i The consistency variables of the self-state of each segmented affine subsystem and the copies of the self-state of adjacent subsystems are updated, and the dual variables are also updated.
[0047] Understandably, in the prediction time domain within, no. The state trajectories of the segmented affine subsystem are denoted as follows: The input trajectory is denoted as The overall goal is to minimize all local costs. The sum of these constraints simultaneously satisfies piecewise affine dynamics, equipment safety constraints, capacity constraints, and coupling constraints.
[0048] To achieve distributed solution, this invention replicates the state of adjacent subsystems in each piecewise affine subsystem. For example, the first... Each segmented affine subsystem stores the adjacency subsystem. State copy And introduce globally consistent variables ,make and Therefore, the global optimization problem can be decomposed into multiple local subproblems, and each piecewise affine subsystem only needs to exchange consistency variables and dual variables with its adjacent subsystems or coordinating nodes.
[0049] This invention uses the augmented Lagrangian function to handle consistency constraints: for the first... For a piecewise affine subsystem, the local performance cost term, the inner product of dual variables and consistency error, and the penalty term can be written as the following formula: in, For the first i The local performance cost function of a piecewise affine subsystem As dual variables, The penalty coefficient is... Indicates the first The stacked vector of the local state of each segmented affine subsystem and copies of adjacent subsystems. This represents the stacked vector of the corresponding consistency variables.
[0050] In each iteration of the alternating direction multiplier method, the th Each piecewise affine subsystem first solves a quadratic programming problem within its local feasible set to obtain local variables. Subsequently, the consistency variables are updated based on the user's own state and the copies of its own state made by neighboring subsystems. Finally, update the dual variable. This process can be executed in parallel, making it suitable for multi-controller or multi-threaded industrial edge computing implementations. Specifically, it is achieved through the following formula: By replicating the states of adjacent subsystems and introducing consistency and dual variables, this method decomposes the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit. Each subsystem only needs to exchange a small amount of consistency information with adjacent devices or coordinating nodes to complete the distributed solution. An augmented Lagrangian function is used to handle consistency constraints. Through alternating iterations of local quadratic programming, consistency variable updates, and dual variable updates, the computational burden at single points is significantly reduced while ensuring global coordination. This process supports parallel execution by each sorting unit, eliminating the need for centralized large-scale optimization. It features low communication overhead and high computational efficiency, making it particularly suitable for deployment in industrial edge computing nodes or multi-threaded controllers. Therefore, as the prediction time domain and the number of subsystems increase, the computational complexity does not rise sharply, ensuring the real-time online optimization capability of complex sorting lines under highly dynamic and high-volume conditions.
[0051] Reference Figure 2 As shown, Figure 2 This is a detailed flowchart of step S400 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention. Step S400 includes, but is not limited to, steps S410 to S440. Specifically, S410: Based on the initial control sequence and the predicted state trajectory using the segmented affine model, determine the sequence of activated segmented affine regions for each segmented affine subsystem in the prediction time domain; S420: When constructing the local quadratic programming problem, the affine dynamic parameters determined by the active piecewise affine region are retained, and the regional boundary constraint that the predicted state must still be located within the active piecewise affine region is removed, so that the local subproblem remains in the form of a convex quadratic programming problem. S430: In front In each iteration of exploration, the sequence of activated segmented affine regions is updated based on the latest predicted state, in subsequent iterations. Freeze the activated segmented affine region sequence in the next exploration iteration; S440: Explore and search for common execution lines Iterate through the problem repeatedly and output the exploratory solution.
[0052] In this embodiment of the invention, the input to the exploration and search phase is the initial state at the current sampling time. 、 Initial control sequence The controller first predicts the state trajectory based on the initial control sequence and the piecewise affine model, and then determines the sequence of activated piecewise affine regions for each piecewise affine subsystem in the prediction time domain. 。
[0053] Unlike traditional piecewise affine optimization, this invention preserves the affine dynamic parameters determined by the activation region when constructing the local quadratic program. 、 、 and However, the predicted state must still be within the active region to be removed. The region boundary is constrained. In this way, the local subproblem remains a convex quadratic programming problem, while allowing the predicted state to cross the current region boundary and enter other regions of the fully feasible domain.
[0054] in front In each exploration iteration, the controller updates the activated piecewise affine region sequence based on the latest predicted state to enhance cross-region search capabilities; in subsequent iterations, the activated piecewise affine region sequence is frozen to ensure stable convergence of the local alternating direction multiplier method iteration. The exploration search is executed in total. In the next iteration, output the exploratory solution. .
[0055] When constructing the local quadratic programming problem, the affine dynamic parameters determined by the active piecewise affine region are retained, while the boundary constraint that the predicted state must lie within this active region is removed. This ensures that the local subproblem remains in convex quadratic programming form, guaranteeing both efficiency and stability in the solution. In the preceding... In the first iteration, the activation region sequence is dynamically updated based on the latest predicted state, enhancing cross-region search capabilities. Subsequent iterations freeze the region sequence, ensuring stable convergence of the alternating direction multiplier method. This design allows the controller to directly explore candidate operation points across multiple adjacent regions within the entire feasible domain, avoiding the inefficient search path of traditional methods that involve gradually moving along adjacent regions, significantly reducing the number of iterations and the constraint size of each local subproblem. For example, when the ore feed rate suddenly increases, traditional methods may require gradually jumping from low-feed regions to medium-feed regions and then to high-feed regions; while this invention can directly explore combinations of higher belt speeds, higher atmospheric pressures, or stronger feed suppression without being restricted by the current region boundaries, thereby finding new overall process equilibrium points more quickly and significantly improving online optimization efficiency.
[0056] Reference Figure 3 As shown, Figure 3 This diagram illustrates the comparison between region-constrained search and region-unconstrained jump search paths. Figure 3 middle x-axis x This represents a one-dimensional representative search variable or projected variable extracted from the actual multidimensional state / control decision space, and is not limited to a specific device parameter; the ordinate... f ( x The value represents the objective function / overall performance cost corresponding to the candidate state or control point; generally, a smaller value indicates better performance. (The figure shows...) Ω 1 , Ω 2 , Ω 3 , Ω 4 These represent different segmented affine regions, with vertical dashed lines indicating the boundaries of adjacent regions (adjacent subsystems); in actual systems... Ω i r It is typically a multidimensional region defined by multiple state variables such as material layer thickness, belt speed, recognition confidence level, and air pressure. Figure 3 The projection is simplified to a one-dimensional interval. x 0 , x 1 , x 2 , x 3 , x 4 , x 5 This represents different iteration points / candidate solutions obtained during the optimization search process. The superscript is the iteration or candidate point number, not the exponentiation. Figure 3These points illustrate that traditional region-constrained search often requires step-by-step movement along adjacent regions (adjacent subsystems), while region-unconstrained exploration allows candidate solutions to be searched across region boundaries.
[0057] As can be seen, traditional region-constrained search requires moving step by step along adjacent segmented affine regions, while this invention removes region boundary constraints during the exploration phase, enabling the formation of candidate search paths directly across multiple regions, thereby reducing the number of iterations.
[0058] Reference Figure 4 As shown, Figure 4 This is a detailed flowchart of step S500 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention. Step S500 includes, but is not limited to, steps S510 to S530. Specifically, S510: Using the exploratory solution as the current solution, solve the unconstrained problem of the region again based on the dynamics of the activated piecewise affine region corresponding to the current solution to obtain candidate solutions; S520: If the local cost of the candidate solution is no greater than the local cost of the current solution for all piecewise affine subsystems, then accept the candidate input as the new current input. S530: If the local cost of at least one piecewise affine subsystem increases, perform a binary search along the line segment between the current input and the candidate input. The initial intermediate input is the average of the current input and the candidate input. If the cost corresponding to the intermediate input increases, backtrack to the current input until all local costs or global weighted costs satisfy the non-incremental condition, and obtain a decreasing solution that makes the overall performance index non-incremental.
[0059] It should be noted that the exploratory search may not reach the local optimum of the original non-convex piecewise affine problem within a finite number of iterations, or the candidate solution may cause the actual comprehensive performance index to increase after crossing the piecewise affine region. To address this, the present invention introduces a descent search mechanism.
[0060] Descent search to explore solutions As the current solution and according to The corresponding activated piecewise affine region dynamics are then used to solve the unconstrained region problem again, yielding candidate solutions. 。 If the following formula is satisfied for all piecewise affine subsystems, then candidate inputs are accepted. As the new current input That is, it satisfies the following formula: This formula indicates that the candidate solution is no worse than the current solution for each piecewise affine subsystem, where, i For the first i A segmented affine subsystem MThis represents the collection of all segmented affine subsystems (in this embodiment, it can be four subsystems: vibratory feeder, belt conveyor, photoelectric recognition, and air jet separation). F i (·) is the first i Local performance cost function of a piecewise affine subsystem; Y i For the first i A set / stack of local optimization variables for each piecewise affine subsystem, which may include state trajectories. X i and control input trajectory U i ; superscript a Indicates the current solution (the exploratory solution available at the start of the descent search), superscript b This represents a candidate solution obtained by solving the domain unconstrained problem again. If for all piecewise affine subsystems... i If all conditions are met, it means that the local cost of each piecewise affine subsystem has not increased, and it can directly accept candidate inputs. U i b If any sub-segmented affine system i If the condition is not met, it will not be accepted directly, but will be processed in the current input. U i a With candidate input U i b Perform a bisection search between them until the cost non-incremental condition is met.
[0061] If the local cost of at least one piecewise affine subsystem increases, then along the current input... and candidate input A binary search is performed on the line segments between them. The initial intermediate input is determined by the following formula: Controller based Resimulate the piecewise affine subsystem and calculate the true cost. If costs increase, continue backtracking to the current input until all local costs or globally weighted costs meet the non-incremental condition, calculated as follows: For photoelectric sorting lines, binary search can prevent the controller from adjusting the belt speed, feeding frequency, or air pressure settings too much at once, which could cause misalignment of the ore recognition window, insufficient nozzle air pressure recovery, or excessive equipment impact. For example, if a candidate solution suggests a significant increase in belt speed, which simultaneously increases the blow-through hit error, binary search will find an acceptable smooth adjustment value between the current belt speed and the candidate belt speed.
[0062] Descent search in input differences Less than the threshold The process terminates when the overall cost change is less than a threshold or when the maximum number of iterations is reached, and outputs a decreasing solution. .
[0063] By introducing a descent search mechanism, the exploratory solution is used as the current solution to solve the unconstrained problem in the region again to obtain candidate solutions. If the local cost of all piecewise affine subsystems does not increase, the solution is directly accepted; otherwise, a bipartite search is performed along the line segment between the current input and the candidate input, gradually backtracking towards the current input until the non-incremental cost condition is met. This mechanism effectively solves the problem that the exploratory search has not converged to a local optimum within a finite number of iterations, or that the candidate solution crosses the piecewise affine region, leading to an increase in the actual comprehensive performance index, thus strictly ensuring the non-incremental nature of the overall process performance index. At the same time, the bipartite search avoids engineering risks such as misalignment of the ore identification window, insufficient nozzle air pressure recovery, and excessive equipment impact caused by the controller making large-scale adjustments to the belt speed, feeding frequency, or air pressure setpoints at once, finding an acceptable smooth adjustment value between the current operating point and the candidate point. The descent search terminates and outputs the descent solution when the input difference, comprehensive cost change, or the number of iterations meets a threshold, significantly enhancing the controllability and engineering safety of the online optimization process.
[0064] Reference Figure 5 As shown, Figure 5 The diagram shows the segmented affine region division, cost function surface, and search trajectory. It can be seen that within the segmented affine region composed of state variables, the controller first starts from the initial point to explore the region without constraints, and then obtains the final solution that satisfies the non-incremental cost condition through intermediate points and descent search.
[0065] Reference Figure 6 As shown, Figure 6 This is a detailed flowchart of step S600 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention. Step S600 includes, but is not limited to, steps S610 to S630. Specifically, S610: When the distance from the predicted state to the boundary of the segmented affine region is less than the threshold, apply several small perturbations to the predicted state. The perturbation direction includes any one of the following: the direction of the normal vector of the adjacent region, the direction of the physical meaning of the device, and the direction of random sampling. S620: While keeping the current control sequence unchanged, re-simulate from the corresponding time point according to the affine region activated after the disturbance to obtain the disturbance trajectory and its cost; S630: If the current trajectory cost is not greater than the minimum cost of all perturbation trajectories, the boundary check passes; otherwise, apply a perturbation near the current control sequence as a new initial control sequence, and re-execute the exploration search and descent search.
[0066] It should be noted that the local optimality of a piecewise affine subsystem is relatively easy to determine within the region, but when the predicted state is near the boundary of the piecewise affine region, the optimal solution within the current region is not necessarily a local optimal solution to the original non-convex problem. Therefore, this invention includes a boundary perturbation sensitivity check.
[0067] Specifically, when a predicted state exists The distance to the region boundary is less than the threshold. At that time, the controller applies several small perturbations to this state. The direction of the disturbance can be given by the normal vector of the adjacent region, the physical meaning of the equipment, or random sampling. For example, for the boundary of the gas injection pressure region, the disturbance can be along the direction of pressure increase and pressure decrease; for the boundary of the belt speed region, the disturbance can be along the direction of belt speed increase and decrease; for the boundary of identification confidence, the disturbance can be along the direction of high confidence and low confidence.
[0068] Each disturbance does not directly change the current actual equipment state, but is used for simulation evaluation: while maintaining the current control sequence If it remains unchanged, from Starting from the time point, the simulation is re-enhanced according to the segmented affine region activated after the perturbation, and the perturbation trajectory is obtained. and its costs .
[0069] If the current trajectory cost satisfies: If the boundary check passes, it means that the current solution does not have an immediately available descent direction in the adjacent region; otherwise, apply a random or regular perturbation near the current control sequence to create a new initial control sequence, and re-execute the exploratory search and descent search. To avoid infinite loops, a maximum number of restarts can be set. and in reaching Then execute feasible shift candidate control sequences or manual safety strategies.
[0070] By setting up a boundary perturbation sensitivity verification mechanism, the problem of accurately determining local optima near the region boundary of a piecewise affine subsystem is effectively solved. When the predicted state approaches the boundary of the piecewise affine region, several small perturbations are applied along the normal vector direction of adjacent regions, the direction of the physical meaning of the equipment, and the random sampling direction. The cost of the perturbation trajectory is re-evaluated through simulation while keeping the current control sequence unchanged. This accurately identifies whether the current solution is a true local optimum, effectively avoiding getting stuck in pseudo-optimal solutions near the boundary and significantly improving the reliability of solving non-convex optimization problems. If the boundary verification fails, a perturbation is applied near the current control sequence as a new initial control sequence, and the exploratory search and descent search are re-executed. Setting a maximum number of restarts prevents infinite loops, ensuring both the optimality of the control strategy and the convergence and real-time performance of the algorithm. Furthermore, the perturbation process only occurs at the simulation level and does not directly change the actual equipment state, balancing control safety and system stability.
[0071] Reference Figure 7 As shown, Figure 7 This is a detailed flowchart of step S700 in the collaborative optimization control method for photoelectric separation of ore provided in this embodiment of the invention. Step S700 includes, but is not limited to, steps S710 to S730. Specifically, S710: After boundary verification, only the first step of the control input in the prediction time domain is executed in the current sampling period. The remaining control inputs are used as the hot start sequence for the next sampling period. The set values of the control inputs are sent to the control system for the sorting of target ore materials. Among them, the control inputs include at least one of the following: feeder frequency and amplitude setting, belt speed setting, motor torque distribution, identification threshold or fusion weight, nozzle pressure setting, injection pulse width and injection trigger delay. S720: For the air-jet separation process, the injection trigger time is calculated based on the ore centroid, belt speed and nozzle position, and the injection trigger time is sent to the control system. S730: In the event of an emergency stop, gas pressure below the safety threshold, sensor failure, or ore blockage, the control system will exit the optimized control mode and switch to the equipment safety interlock strategy.
[0072] After boundary verification, the controller executes only the first control input in the prediction time domain during the current sampling period. The remaining control inputs serve as the warm-up sequence for the next sampling cycle, effectively reducing the online computational burden of model predictive control and significantly improving the response speed of real-time optimization control. Control commands can include feeder frequency and amplitude settings, belt speed settings, motor torque distribution, identification thresholds or fusion weights, nozzle pressure settings, injection pulse width, and injection trigger delay.
[0073] The control command output module sends the above set values to the PLC, motion controller, pneumatic valve island, or host computer control system, realizing the coordinated optimization of the entire ore sorting process. For high-speed air-jet separation, the controller calculates the injection trigger time based on the ore's center of mass, belt speed, and nozzle position. The calculation formula is: in, At the moment of triggering the blow, To identify the distance from the position to the nozzle, For belt speed, This is a compensation term for valve response, communication delay, and pneumatic delay.
[0074] In the next sampling cycle, the controller re-collects equipment status, ore characteristics, and sorting results, updates the segmented affine model parameters, performance weights, and constraint ranges, and repeats the above steps. If an emergency stop occurs in the field system, the gas source pressure falls below the safety threshold, a sensor fails, or ore becomes blocked, the controller exits the optimized control mode and switches to the equipment safety interlock strategy. Under abnormal operating conditions, it automatically exits the optimized mode and switches to the safety strategy, fully ensuring the safety and reliability of equipment operation.
[0075] In a specific embodiment, taking a copper mine XRT-XRF photoelectric sorting line as an example, the sampling period is set. Δt =0.1s, prediction time domain N =10. Currently detected instantaneous feed rate is 40 t / h, material layer thickness is 35 mm, belt speed is 2.20 m / s, recognition confidence level is 0.86, air source pressure is 0.62 MPa, and nozzle pressure is 0.52 MPa. The controller uses these data to form state vectors for four subsystems: the vibratory feeding subsystem, the belt conveying subsystem, the photoelectric recognition subsystem, and the air jet separation subsystem. It then determines the segmented affine model activated at each moment according to pre-calibrated material flow range, belt speed / load range, recognition confidence level range, and pressure range.
[0076] Subsequently, using the optimal control sequence from the previous sampling period as a warm start, the four subsystems solve the local quadratic programming in parallel and exchange coupling information through consistency variables and dual variables. Let the penalty coefficient for the alternating direction multiplier method be... ρ =1, total number of exploration iterations T exp =8, before T d The active area is updated 3 times based on the latest predicted status, and the area is frozen for the next 5 times; during the exploration phase, the currently active area is retained. A , B , c And the adjacency coupling parameter, but temporarily remove the boundary constraint that the predicted state must remain in the region, thereby allowing candidate control to search across regions.
[0077] Suppose the candidate adjustments obtained after exploration are: reduce the feeder frequency by 1 Hz, increase the belt speed from 2.20 m / s to 2.35 m / s, and increase the nozzle pressure from 0.52 MPa to 0.55 MPa, with appropriate adjustments to the identification threshold and pulse width. If, after another real segmented affine simulation, it is found that the local cost of a certain subsystem increases, then an intermediate value is taken between the current control sequence and the candidate control sequence, and the binary search continues; for example, if the first intermediate solution sets the belt speed to 2.275 m / s and the nozzle pressure to 0.535 MPa, and after resimulation, if the local costs of all four subsystems are not higher than the current solution, then this intermediate solution is taken as the decreasing solution.
[0078] For predicted states approaching the segment boundaries, further perturbation verification is performed. For example, when the predicted nozzle pressure is close to the boundary of the 0.55 MPa region, small perturbations of ±0.01 MPa are applied in the simulation while keeping the control sequence unchanged. If the overall cost of the descending solution is 0.88, and the costs of the two perturbation trajectories are 0.90 and 0.92 respectively, then 0.88 is not greater than the minimum cost of the perturbation trajectory of 0.90, and the boundary verification passes.
[0079] After verification, a predictive control sequence is issued, taking into account the following parameters: distance from nozzle 1.80 m, current belt speed 2.35 m / s, valve response, and communication / pneumatic compensation. τ comp For ore with a stroke duration of 0.025s, the injection trigger time can be expressed by the formula in the original text as follows: t eject = t detect + d nozzle / v b + τ comp in, t eject t is the trigger time of the jet injection; t detect The moment when the target ore is identified and a valid identification result is generated; d nozzle The effective distance along the ore movement direction from the identification position (or identification reference position) to the corresponding nozzle action position; v b This represents the real-time conveying speed of the belt carrying the ore. τ comp This is a comprehensive time compensation amount used to correct factors such as valve response, controller / communication transmission, and pneumatic propagation.
[0080] Substituting the example values above, the injection trigger time is approximately 0.791 s after the recognition time. The status is re-acquired in the next sampling cycle and the above process is repeated on a rolling basis; if an emergency stop, low air pressure, sensor failure, or material blockage occurs, the optimized control is immediately exited and the safety interlock strategy is switched.
[0081] This invention also provides a collaborative optimization control system for photoelectric ore sorting, which can be deployed on an industrial computer, edge controller, embedded controller, PLC host computer, or a joint control platform composed of a PLC and an industrial computer, and includes: The system comprises four modules: a state acquisition module for collecting data on the sorting line's operating status and ore material status, generating full-process performance indicators, and constructing a comprehensive performance index; a segmented affine modeling module for establishing segmented affine subsystems for each stage of the sorting line—vibrating feeder, belt conveyor, photoelectric recognition, and pneumatic separation—and establishing the coupling relationships between material flow, information flow, and energy flow; a distributed optimization module for replicating the states of adjacent subsystems and introducing consistency and dual variables to construct an augmented Lagrangian form of distributed model predictive control, decomposing the full-process collaborative optimization problem into local quadratic programming subproblems for each sorting unit; and a region-unconstrained exploration module for exploring based on the current state and initial control sequence. The algorithm is divided into several modules: a descent and bisection search module, which activates piecewise affine dynamics, removes boundary constraints, and performs parallel exploration iterations using the local alternating direction multiplier method within the entire feasible region to obtain the exploratory solution; a descent and bisection search module, which uses the exploratory solution as the current solution to find unconstrained candidate solutions for the region and obtains a descent solution that makes the overall performance index non-increasing by directly accepting or searching the bisection line; a boundary perturbation verification module, which performs perturbation sensitivity verification on the predicted state located near the boundary of the piecewise affine region and compares the current trajectory cost with the perturbation trajectory cost of the adjacent region; and a control command output module, which outputs control commands in a rolling time domain manner when the verification passes, and restarts the exploration or adopts a feasible shift candidate solution when the verification fails.
[0082] This invention utilizes the coordinated efforts of various modules—a state acquisition module, a piecewise affine modeling module, a distributed optimization module, a region unconstrained exploration module, a descent and binary search module, a boundary disturbance verification module, and a control command output module—to model each stage of the sorting line as a piecewise affine subsystem and establish multi-flow coupling relationships, achieving full-process collaborative optimization. It employs distributed model predictive control to decompose the problem into local subproblems, combining region unconstrained exploration, descent search, and boundary disturbance verification to solve non-convex optimization problems. Rolling time-domain output of control commands significantly improves the real-time performance, accuracy, and stability of the sorting process.
[0083] This invention also provides a collaborative optimization control device for photoelectric separation of ores, referring to... Figure 8 As shown, it includes: A vibrating feeder is used to evenly distribute ore to the conveying mechanism; a belt conveyor is used to transport the ore material to the corresponding area; a dual-light dual-energy identification device is used to perform X-ray transmission imaging and X-ray fluorescence spectroscopy identification on the ore material; a gas-jet separation device is used to separate the target ore material through a high-speed gas valve; and a collaborative optimization control system for ore photoelectric separation in the above embodiments (not shown in the figure) is used to perform regional unconstrained jump-type distributed collaborative optimization control on the vibrating feeder, belt conveyor, dual-light dual-energy identification device and gas-jet separation device.
[0084] This invention organically integrates vibratory feeding, belt conveying, dual-light dual-energy identification, and air jet separation equipment. Combined with a collaborative optimization control system, it performs regional unconstrained leap-type distributed collaborative optimization control on each link, giving full play to the complementary advantages of X-ray transmission imaging and fluorescence spectroscopy identification. This significantly improves the accuracy of ore identification and sorting efficiency, and achieves efficient collaborative and real-time optimization control of the entire process equipment.
[0085] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.
Claims
1. A collaborative optimization control method for photoelectric separation of ores, characterized in that, include: Collect the operating status of the sorting line and the status of ore materials to form full-process performance indicators and construct comprehensive performance indicators; Each stage of the sorting line—vibration feeding, belt conveying, photoelectric recognition, and air jet separation—is established as a segmented affine subsystem, and the coupling relationship between material flow, information flow, and energy flow is established. By replicating the state of adjacent subsystems and introducing consistency and dual variables, an augmented Lagrangian form of distributed model predictive control problem is constructed, decomposing the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit. Based on the current state and initial control sequence, the activation piecewise affine dynamics are determined, the region boundary constraints are removed, and the local alternating direction multiplier method is executed in parallel within the entire feasible region to obtain the exploratory solution. Using the explored solution as the current solution, solve for unconstrained candidate solutions in the solution region, and obtain a decreasing solution that makes the comprehensive performance index non-increasing by directly accepting or searching the bisection line; The perturbation sensitivity of the predicted state located near the boundary of the segmented affine region is verified by comparing the current trajectory cost with the perturbation trajectory cost of the adjacent region. When the verification passes, control commands are output in a rolling time domain manner to sort the target ore material. When the verification fails, the exploration is restarted or a feasible shift candidate solution is adopted.
2. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The data collection and sorting line operation status and ore material status are used to form a full-process status vector and construct comprehensive performance indicators, including: The status acquisition module acquires real-time data from field sensors and controllers; Based on the real-time data, a full-process performance index is obtained. This full-process performance index is then set as a weighted sum of multiple sub-indicators, and a comprehensive performance index is proposed. The expression for the comprehensive performance index is as follows: in, For comprehensive performance indicators, This indicates a penalty for loss of useful minerals or insufficient separation rate. This indicates a penalty for accidental or missed spraying. This indicates the unit's energy consumption penalty. This indicates penalties for belt speed, material layer thickness, or air pressure fluctuations. Indicates recognition and spray delay penalty; to For constraint weights.
3. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The vibratory feeding, belt conveying, photoelectric recognition, and air jet separation of the sorting line are each established as a segmented affine subsystem, and the coupling relationship between material flow, information flow, and energy flow is established, including: Divide the sorting line into A segmented affine subsystem The system consists of four segmented affine subsystems, corresponding to the vibratory feeding, belt conveying, photoelectric recognition, and air jet separation processes, respectively. Each segmented affine subsystem is divided into several segmented affine regions based on its operating state. When the operating state is in the... r When there are multiple piecewise affine regions, their dynamics are described by the state matrix, input matrix, affine terms and adjacency coupling matrix corresponding to the piecewise affine region. Among them, the r The dynamic expression formula for a segmented affine region is: in, For the first i The state of the segmented affine subsystem For the first i The segmented affine subsystem in the first... r The state matrix within each piecewise affine region For the input matrix, For affine terms, To control the input, For the set of adjacency subsystems, For the set of adjacency subsystems For the The coupling matrix of a piecewise affine subsystem For the first A segmented affine region.
4. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The process of replicating the state of the adjacent subsystem and introducing consistency and dual variables constructs an augmented Lagrangian form of distributed model predictive control problem. This decomposes the overall collaborative optimization problem into local quadratic programming subproblems for each sorting unit, including: In the prediction time domain, the state of the adjacent subsystem is copied in each segmented affine subsystem, and a global consistency variable is introduced to make the local state copy equal to the global consistency variable. The global optimization problem is decomposed into multiple local subproblems, and each piecewise affine subsystem exchanges consistency variables and dual variables with adjacent subsystems or coordinating nodes. Using the augmented Lagrangian function to handle consistency constraints, for the For a piecewise affine subsystem, the expression for the augmented Lagrangian function is: in, For the first i The local performance cost function of a piecewise affine subsystem As dual variables, The penalty coefficient is... For the first A stacked vector of the local state of each segmented affine subsystem and the state copies of its adjacent subsystems. For the stacked vector of the corresponding consistency variables, For the first i The state trajectory of each segmented affine subsystem is recorded. , To input the trajectory record, , To predict the time domain, M The total number of segmented affine subsystems; For the i The piecewise affine subsystems are solved using a quadratic programming problem within the local feasible set to obtain local variables. According to the i The consistency variables of the self-state of each segmented affine subsystem and the copies of the self-state of adjacent subsystems are updated, and the dual variables are also updated.
5. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The process involves determining the activation piecewise affine dynamics based on the current state and initial control sequence, removing region boundary constraints, and performing parallel exploration iterations using the local alternating direction multiplier method within the entire feasible region to obtain the exploration solution, including: Based on the initial control sequence and the predicted state trajectory using the piecewise affine model, determine the sequence of activated piecewise affine regions for each piecewise affine subsystem in the prediction time domain; When constructing the local quadratic programming problem, the affine dynamic parameters determined by the active piecewise affine region are retained, and the regional boundary constraint that the predicted state must still be located within the active piecewise affine region is removed, so that the local subproblem remains in the form of a convex quadratic programming problem. in front In each iteration of exploration, the sequence of activated segmented affine regions is updated based on the latest predicted state, in subsequent iterations. Freeze the activated segmented affine region sequence in the next exploration iteration; Explore search and execute lines The process iterates and outputs the exploratory solution.
6. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The process of using the explored solution as the current solution, finding unconstrained candidate solutions in the solution region, and obtaining decreasing solutions that make the overall performance index non-increasing through direct acceptance or bipartite search includes: Using the exploratory solution as the current solution, the unconstrained problem in the region is solved again based on the dynamics of the activated piecewise affine region corresponding to the current solution, and candidate solutions are obtained. If the local cost of a candidate solution is no greater than the local cost of the current solution for all piecewise affine subsystems, then the candidate input is accepted as the new current input. If the local cost of at least one piecewise affine subsystem increases, a binary search is performed along the line segment between the current input and the candidate input. The initial intermediate input is the average of the current input and the candidate input. If the cost corresponding to the intermediate input increases, the process backtracks to the current input until all local costs or global weighted costs satisfy the non-incremental condition, thus obtaining a decreasing solution that makes the overall performance index non-incremental.
7. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The step of performing a perturbation sensitivity check on the predicted state located near the boundary of the segmented affine region, comparing the current trajectory cost with the perturbation trajectory cost of adjacent regions, includes: When the distance from the predicted state to the boundary of the segmented affine region is less than the threshold, several small perturbations are applied to the predicted state. The perturbation direction includes any one of the following: the direction of the normal vector of the adjacent region, the direction of the physical meaning of the device, and the direction of random sampling. While keeping the current control sequence unchanged, re-simulate from the corresponding time point according to the affine region activated after the disturbance to obtain the disturbance trajectory and its cost; If the current trajectory cost is not greater than the minimum cost among all perturbation trajectories, the boundary check passes; otherwise, a perturbation is applied near the current control sequence to form a new initial control sequence, and the exploration search and descent search are re-executed.
8. The collaborative optimization control method for photoelectric separation of ore according to claim 1, characterized in that, The method of outputting control commands in a rolling time domain manner for sorting target ore materials includes: After boundary verification, only the first step of the control input in the prediction time domain is executed in the current sampling period. The remaining control inputs are used as the hot start sequence for the next sampling period, and the set values of the control inputs are sent to the control system for the sorting of target ore materials. The control inputs include at least one of the following: feeder frequency and amplitude setting, belt speed setting, motor torque distribution, identification threshold or fusion weight, nozzle pressure setting, injection pulse width and injection trigger delay. For the air-jet separation process, the injection trigger time is calculated based on the ore centroid, belt speed and nozzle position, and then sent to the control system. If an emergency stop, gas pressure below the safety threshold, sensor failure, or ore blockage occurs, the control system will exit the optimized control mode and switch to the equipment safety interlock strategy.
9. A collaborative optimization control system for photoelectric separation of ore, used to execute the collaborative optimization control method for photoelectric separation of ore as described in any one of claims 1 to 8, characterized in that, include: The status acquisition module is used to collect the operating status of the sorting line and the status of ore materials, form full-process performance indicators and construct comprehensive performance indicators; The segmented affine modeling module is used to establish segmented affine subsystems for each link of the sorting line, including vibratory feeding, belt conveying, photoelectric recognition and air jet separation, and to establish the coupling relationship between material flow, information flow and energy flow. The distributed optimization module is used to replicate the state of adjacent subsystems and introduce consistency and dual variables to construct an augmented Lagrangian form of distributed model predictive control problem, decomposing the whole-process collaborative optimization problem into local quadratic programming subproblems of each sorting unit. The region-unconstrained exploration module is used to determine the activation piecewise affine dynamics based on the current state and the initial control sequence, remove the region boundary constraints, and perform local alternating direction multiplier method exploration iterations in parallel within the entire feasible domain to obtain the exploration solution; The descent and binary search module is used to find unconstrained candidate solutions in the solution region with the explored solution as the current solution, and to obtain a descent solution that makes the comprehensive performance index non-increased by directly accepting or searching the bisection line. The boundary disturbance verification module performs disturbance sensitivity verification on the predicted state located near the boundary of the segmented affine region and compares the current trajectory cost with the disturbance trajectory cost of the adjacent region. The control command output module is used to output control commands in a rolling time domain manner when the verification passes, and to restart the exploration or adopt a feasible shift candidate solution when the verification fails.
10. A collaborative optimization control device for photoelectric separation of ore, characterized in that, include: Vibrating feeders are used to evenly distribute ore to the conveying mechanism; Belt conveyor equipment is used to transport ore materials to a corresponding area; Dual-light dual-energy identification equipment is used for X-ray transmission imaging and X-ray fluorescence spectroscopy identification of ore materials; Air jet separation equipment is used to separate target ore materials through high-speed air valves; And the collaborative optimization control system for photoelectric separation of ore as described in claim 9, used for regional unconstrained jump-type distributed collaborative optimization control of the vibrating feeder, the belt conveyor, the dual-light dual-energy identification device and the air jet separation device.
