A continuous casting stopper dynamic control method based on reinforcement learning

By using a closed-loop control system based on reinforcement learning, the problems of insufficient adaptive capability and the contradiction between response speed and stability in continuous casting stopper rod control were solved, achieving high-precision and fast-response liquid level control, and reducing the risk of production accidents and energy consumption.

CN122378060BActive Publication Date: 2026-11-27BENGANG STEEL PLATES CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202610847395.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-12
Publication Date
2026-11-27
Estimated Expiration
2046-06-12

AI Technical Summary

Technical Problem

Existing continuous casting stopper rod control methods suffer from insufficient adaptive capability, contradiction between response speed and stability, and lack of global optimization capability when facing complex working conditions. This results in low control accuracy, slow response, and easy oscillation, making it difficult to meet the high precision and fast response requirements of the continuous casting process.

Method used

A closed-loop control system based on reinforcement learning is adopted. Through multi-source sensor data fusion, improved reinforcement learning model and safety redundancy architecture, a perception-decision-execution-feedback control system is constructed to replace the traditional PID controller and realize the dynamic adjustment of stopper opening and liquid level control.

Benefits of technology

It significantly improves the accuracy and response speed of liquid level fluctuation control, reduces the risk of production accidents, extends equipment life and reduces energy consumption, and achieves adaptability and robustness to complex working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122378060B_ABST
    Figure CN122378060B_ABST
Patent Text Reader

Abstract

The application discloses a continuous casting stopper dynamic control method based on reinforcement learning and belongs to the technical field of steel metallurgy continuous casting equipment control, and specifically comprises the working steps of system initialization, data acquisition and preprocessing, state evaluation and action generation, safety verification, instruction issuing and execution, feedback data acquisition, experience storage and model updating, working condition judgment and mode switching and cyclic execution, which are achieved through the cooperation of a hardware layer and a software layer; the application perceives the continuous casting environment state through multi-source sensor data fusion, generates an optimal stopper control strategy based on an improved proximal policy optimization reinforcement learning algorithm, drives an execution mechanism to complete dynamic adjustment, and continuously optimizes the control strategy in the light of real-time feedback signals, so that the traditional PID controller is replaced by the reinforcement learning intelligent agent as the core, full self-adaptation of the stopper control is achieved, the robustness of the control strategy is improved, and the liquid level control precision and equipment operation benefits are taken into account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of control technology for continuous casting equipment in iron and steel metallurgy, specifically a dynamic control method for continuous casting stopper rods based on reinforcement learning. Background Technology

[0002] Continuous casting is a crucial process in steel production that connects steelmaking and rolling. Its core task is to continuously cast molten steel into billets. Stable control of the liquid level in the crystallizer is the key to ensuring the smooth operation of the continuous casting process, improving the quality of the cast billets, and avoiding steel leakage accidents. As a key actuator for controlling the inflow of molten steel into the crystallizer, the stopper rod's control accuracy directly determines the stability of the liquid level in the crystallizer. Excessive fluctuations in the liquid level can lead to defects such as slag inclusions and cracks in the cast billets, and in severe cases, can cause steel leakage accidents, resulting in significant economic losses and safety risks.

[0003] Currently, the mainstream control methods for continuous casting stopper rods in the industry are mainly divided into three categories: traditional PID control method, fuzzy control combined with PID method, and model predictive control method. Each method has significant technical defects. Patent CN102458718B describes a traditional PID control method that adjusts the stopper opening based on liquid level deviation using a proportional-integral-derivative algorithm. While simple in structure and easy to implement, this method suffers from strong nonlinearity, time-varying nature, and uncertainty in the continuous casting process (such as changes in molten steel temperature, casting speed adjustments, and nozzle clogging). This makes real-time optimization of PID parameters difficult, resulting in low control accuracy (liquid level fluctuations typically range from ±3 to 5 mm) and lag (lag time 0.3 to 0.8 s). Under complex operating conditions, it is prone to overshoot or oscillation. Patents CN101364114B and CN120055221B, based on expert experience and fuzzy rules, adaptively adjust PID parameters, which to some extent... While improving nonlinear adaptability, fuzzy rules rely on human experience and lack self-learning ability, making it difficult to cope with unforeseen changes in operating conditions (such as sudden fluctuations in molten steel composition). Furthermore, when the rule base is large, inference conflicts are prone to occur, resulting in insufficient control stability. The interference parameter compensator in CN102458718B predicts liquid level changes and adjusts the stopper opening in advance by establishing a mathematical model of the continuous casting process. However, this method requires extremely high model accuracy. The multivariate coupling (liquid level, casting speed, temperature, and molten steel flow rate interact with each other) and dynamic disturbances in the continuous casting process make it difficult to accurately model the mathematical model. Moreover, the computational complexity is high and the real-time performance is poor (single calculation time ≥ 0.5s), making it difficult to meet the millisecond-level response requirements of stopper control.

[0004] Therefore, the core defects of traditional continuous casting stopper rod control technology can be summarized in three aspects: First, insufficient adaptive capability, relying on fixed rules or static models, and unable to adjust the control strategy in real time according to dynamic changes in working conditions (such as steel composition, equipment status, and external interference), resulting in a significant decrease in control accuracy under complex working conditions; Second, a contradiction exists between response speed and stability, with traditional control methods using conservative parameter settings to avoid overshoot, leading to response lag, while pursuing response speed can easily cause oscillations, making it difficult to balance the two; Third, a lack of global optimization capability, with existing methods only making local adjustments to the liquid level deviation, without considering the multi-objective optimization of the continuous casting process (such as liquid level accuracy, stopper rod smoothness, energy consumption, and equipment lifespan), which can easily lead to frequent start-stop of the stopper rod, increasing mechanical wear and energy consumption.

[0005] Therefore, developing a reinforcement learning-based dynamic control method for continuous casting stoppers that adapts to the characteristics of continuous casting processes and possesses high precision, fast response, strong robustness, and industrial feasibility has become an urgent technical problem to be solved in the field of continuous casting equipment control in the iron and steel metallurgy industry. Summary of the Invention

[0006] The purpose of this invention is to provide a dynamic control method for continuous casting stopper rods based on reinforcement learning, so as to solve the technical defects mentioned in the background art.

[0007] To achieve the above objectives, the present invention provides the following technical solution: a dynamic control method for continuous casting stopper rods based on reinforcement learning, which constructs a closed-loop reinforcement learning control system of "perception-decision-execution-feedback", sets up hardware and software layers to work together, and replaces the traditional PID controller with a controller centered on a reinforcement learning agent, including the following steps: Step 1: System Initialization: Start the edge computing controller and stopcock drive actuator, load the offline pre-trained reinforcement learning model, set the process parameters, and initialize the training parameters; Step 2, Data Acquisition and Preprocessing: 12-dimensional state data of the continuous casting process are acquired in real time through a multi-source sensor module, and a 6-dimensional state vector is generated after preprocessing. Step 3, State Assessment and Action Generation: The real-time decision-making module inputs the 6-dimensional state vector into the reinforcement learning model, the policy network outputs the stopper opening adjustment amount, and at the same time decides whether to execute a random exploration action based on the exploration rate; Step 4, Safety Verification: The safety constraint module verifies whether the target opening corresponding to the adjustment amount is within the safe range. If it meets the requirements, proceed to the next step; otherwise, correct the action and trigger an alarm. Step 5, Instruction Issuance and Execution: The edge computing controller converts the control instructions into drive signals for the electro-hydraulic servo system, which in turn drives the stopper rod actuator to adjust the opening and complete the steel flow rate regulation. Step 6: Feedback Data Acquisition: The sensor collects the adjusted data, generates the state vector for the next moment, and calculates the immediate reward based on the reward function; Step 7, Experience Storage and Model Update: Store the quadruple of state, action, reward and next time step state into the experience replay buffer. If the online update conditions are met, sample data from the buffer to train the model and update the parameters. Step 8, Operating Condition Judgment and Mode Switching: Monitor operating condition changes and model performance in real time. If the operating condition is stable and the model converges, maintain the pure execution mode. If the operating condition changes abruptly or the model performance deteriorates, trigger online updates or switch to the PLC's PID backup control mode. Step 9: Repeat steps 2 to 8 to achieve dynamic closed-loop control of the stopper rod until the continuous casting production ends or the system is shut down.

[0008] Furthermore, the hardware layer consists of a multi-source sensor module, an edge computing controller module, a plug drive execution module, and a security redundancy module.

[0009] Furthermore, the software layer consists of a data preprocessing module, a reinforcement learning model training module, a real-time decision-making module, an online model update module, and a security constraint module.

[0010] Furthermore, the multi-source sensor module is used to collect status data of the continuous casting process; The edge computing controller module is responsible for running the reinforcement learning model, processing the collected data, and generating control commands; the stopper rod drive execution module is used to receive control commands and drive the stopper rod to complete the opening adjustment. The safety redundancy module is based on a safety redundancy mechanism, in which the PLC and the edge computing controller work independently. When the edge computing controller fails, the PLC automatically switches to PID control mode.

[0011] Furthermore, the data preprocessing module processes the raw data collected from multiple sources. The collected data includes 12 dimensions of data, such as the actual liquid level of the crystallizer, the liquid level deviation of the crystallizer, the liquid level change rate, the molten steel temperature, the billet casting speed, the current opening of the stopper rod, the change rate of the stopper rod opening, the inflow rate of molten steel, the outflow rate of molten steel, the current of the stopper rod drive motor, and the vibration amplitude of the stopper rod actuator.

[0012] The data preprocessing module processes the 12-dimensional raw data as follows: data noise reduction, outlier handling, data normalization, feature dimensionality reduction, and data synchronization.

[0013] Furthermore, the reinforcement learning model training module constructs an improved reinforcement learning model adapted to the control requirements of continuous casting stopper rods. Based on the improved proximal policy optimization algorithm, the runtime includes five steps: model framework selection, state space definition, action space definition, reward function design, and training process design.

[0014] Furthermore, the real-time decision-making module is responsible for rapidly generating control commands during industrial production, the online model update module is used to achieve long-term adaptive optimization of the model, and the safety constraint module is used to provide safety boundaries for the decision-making of the reinforcement learning model.

[0015] Furthermore, the real-time decision-making module has a decision cycle of 100ms / time, and TensorRT is used to accelerate the inference of the reinforcement learning model. The decision logic is as follows: The model receives the preprocessed state vector, outputs the stopcock opening adjustment amount through the strategy network, and after verification by the safety constraint module, converts it into a control signal and sends it to the actuator. If the sensor data is abnormal or the model inference fails, the real-time decision module automatically switches to the PLC's PID backup control mode.

[0016] Furthermore, the safety constraint module's constraint operations include opening constraints and motion amplitude constraints. The online model update module adopts an incremental learning update method, and the update trigger conditions are as follows: When the percentage of liquid level deviations ≤1mm is less than 90% within 10 consecutive minutes, or when there is a significant change in operating conditions, the model is triggered to update online.

[0017] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention suppresses value overestimation through a dual Critic network and introduces historical deviation state memory, thereby reducing the standard deviation of steady-state liquid level fluctuation to 1.4 mm, which is 30% lower than PID (2.0 mm) and 22% lower than single Critic RL (1.8 mm). The control ratio within ±3 mm is increased from 92% to 96%. The mechanism is that the dual Critic takes the minimum value to provide a stable value gradient and the historical sequence eliminates the accumulated steady-state error.

[0018] 2. This invention employs probabilistic strategy output and reparameterized sampling to achieve efficient exploration. Under the step disturbance of pulling speed, the maximum overshoot is about 4.5mm, which is 31% lower than PID (6.5mm) and 18% lower than single CriticRL (5.5mm). The settling time is about 28s, which is 26% shorter than PID (38s). The mechanism is that the deviation change sequence in the state space enables the agent to have the ability to compensate in advance, identify the liquid level trend in advance and take pre-action.

[0019] 3. This invention adds a secondary penalty term to the reward function and sets a ±5% hard constraint on the output, so that the average number of actions of the stopcock is about 12 per minute, which is 33% less than PID (18 times) and 40% less than single CriticRL (20 times). The maximum adjustment range of a single action is strictly limited. The mechanism is that the square penalty guides the strategy to prefer small and gradual adjustment. The hard constraint and gradient differentiability work together to achieve smooth control. It is expected to extend the inspection cycle of the actuator by about 10~15%.

[0020] 4. This invention adopts a dual-mode hot standby redundancy architecture of reinforcement learning and PID and real-time safety verification. The switching success rate is 100% when there is communication interference or abnormal model output. The cumulative time of liquid level exceeding the limit (±10mm) is close to 0. In contrast, the comparative single CriticRL may require manual intervention when there is no redundancy. The mechanism is that the safety constraint module verifies the RL output in real time and switches to PID without disturbance in the next cycle when there is an abnormality, which meets the on-site safety requirements. Attached Figure Description

[0021] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to the accompanying drawings; Figure 1 This is a system block diagram of the present invention; Figure 2 This is a flowchart illustrating the overall method of the present invention; Figure 3 This is a schematic diagram of the reinforcement learning model in this invention. Detailed Implementation

[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] Example 1: Reference Figure 2 As shown in the figure, the dynamic control method for continuous casting stopper rods based on reinforcement learning proposed in this embodiment has the core technical solution of constructing a closed-loop reinforcement learning control system of "perception-decision-execution-feedback". It perceives the state of the continuous casting environment through multi-source sensor data fusion, generates the optimal stopper rod control strategy based on the improved reinforcement learning algorithm, drives the actuator to achieve dynamic adjustment, and continuously optimizes the strategy through real-time feedback signals. It realizes a controller with reinforcement learning agent as the core, replacing the traditional PID controller. The specific operation method can be summarized as follows: Step 1: System Initialization: Start the edge computing controller and actuator, load the offline pre-trained reinforcement learning model, set process parameters such as target liquid level (e.g., 115mm) and pulling speed range (e.g., 0.8~1.2m / min), and initialize the experience playback buffer and exploration rate. Training parameters; Step 2: Data Acquisition and Preprocessing: Real-time acquisition of data such as liquid level, temperature, pulling speed, and stopper opening. After noise reduction, outlier processing, normalization, and dimensionality reduction, a 6-dimensional state vector is generated. ; Step 3: State Assessment and Action Generation: The real-time decision-making module will generate the state vector. Input reinforcement learning model, policy network output stopper opening adjustment amount At the same time, based on the exploration rate Decide whether to perform a random exploration action; Step 4: Safety Verification: The safety constraint module verifies the adjustment amount. Check if the target opening is within the safe range. If it meets the requirements, proceed to the next step; otherwise, correct the action and trigger an alarm. Step 5, Instruction Issuance and Execution: The edge computing controller converts the control instructions into drive signals for the electro-hydraulic servo system, which in turn drives the stopper rod actuator to adjust the opening and complete the steel flow rate regulation. Step Six: Feedback Data Acquisition: The sensor collects data such as the adjusted liquid level and equipment status to generate the state vector for the next moment. And calculate the immediate reward based on the reward function. ; Step 7, Experience Storage and Model Update: ... The data is stored in the experience replay buffer. If the online update conditions are met, the data is sampled from the buffer to train the model and update the parameters. Step 8, Operating Condition Judgment and Mode Switching: Monitor operating condition changes and model performance in real time. If the operating condition is stable and the model converges, maintain the pure execution mode; if the operating condition changes abruptly or the model performance deteriorates, trigger online updates or switch to the backup control mode. Step 9: Repeat steps 2 to 8 to achieve dynamic closed-loop control of the stopper rod until the continuous casting production ends or the system is shut down.

[0024] Example 2: Reference Figure 1 As shown, the difference between this embodiment and Embodiment 1 is that this embodiment proposes a dynamic control system for continuous casting stopper rods based on reinforcement learning, which sets up a hardware layer and a software layer to work together. The hardware layer consists of a multi-source sensor module, an edge computing controller module, a stopper rod drive execution module, and a safety redundancy module, while the software layer consists of a data preprocessing module, a reinforcement learning model training module, a real-time decision-making module, a model online update module, and a safety constraint module.

[0025] Collaborative workflow of each module: The multi-source sensor module collects real-time data of the continuous casting process, which is then input into the reinforcement learning model after noise reduction and dimensionality reduction by the data preprocessing module; the reinforcement learning model generates the optimal stopper opening adjustment command based on the environmental conditions, which is then sent to the edge computing controller after verification by the safety constraint module; the controller drives the stopper actuator to complete the opening adjustment, and at the same time, it sends the feedback signals such as the liquid level change and equipment status after adjustment back to the reinforcement learning model to realize online iterative optimization of the strategy.

[0026] Specifically, the hardware layer design is as follows: Multi-source data acquisition module: Used to collect status data of the continuous casting process, providing comprehensive and accurate environmental perception input for reinforcement learning models, including crystallizer liquid level, molten steel temperature, casting speed, stopper opening, molten steel flow rate, etc.

[0027] Edge computing controller module: As the control core, it is responsible for running reinforcement learning models, processing collected data, and generating control commands, and needs to balance computing performance and industrial reliability.

[0028] Stopper rod drive execution module: Used to receive control commands and drive the stopper rod to complete the opening adjustment. It needs to have the characteristics of fast response speed, high adjustment accuracy, and stable operation. The opening adjustment resolution is 0.01%, and the response time is ≤0.05s (from the issuance of the command to the stopper rod reaching the target opening).

[0029] Safety Redundancy Module: To ensure the safety of continuous casting production, a safety redundancy mechanism is set up. The PLC and the edge computing controller work independently. When the edge computing controller fails, the PLC automatically switches to PID control mode to ensure that the liquid level remains basically stable.

[0030] Furthermore, the software layer design is as follows: Data preprocessing module: processes raw data collected from multiple sources to provide high-quality input for reinforcement learning models; The collected data includes 12 dimensions: actual liquid level in the crystallizer (real-time height of molten steel in the crystallizer), liquid level deviation in the crystallizer (difference between the actual liquid level and the target liquid level), liquid level change rate (the rate of change of liquid level per unit time, reflecting the liquid level trend), molten steel temperature (real-time temperature of molten steel at the crystallizer inlet, affecting viscosity), molten steel temperature change rate (the rate of fluctuation of molten steel temperature per unit time), billet casting speed (the speed at which the straightening rollers of the continuous casting machine pull the billet, affecting the outflow), current opening of the stopper rod (the real-time opening degree of the stopper rod, controlling the inflow), change rate of the stopper rod opening (the rate of adjustment of the stopper rod opening per unit time), molten steel inflow rate (the real-time inflow of molten steel from the tundish to the crystallizer), molten steel outflow rate (the real-time outflow of molten steel from the crystallizer to the billet, converted from casting speed), stopper rod drive motor current (the real-time operating current of the stopper rod electro-hydraulic servo motor, reflecting the load), and vibration amplitude of the stopper rod actuator (the real-time vibration intensity of the hydraulic cylinder body, reflecting the equipment status). The core process of the data preprocessing module is as follows: Data noise reduction: Kalman filtering algorithm is used to reduce noise in dynamic data such as liquid level, temperature, and pulling speed, filtering out electromagnetic interference and sensor noise in the industrial environment. The size of the filtering window is dynamically adjusted according to the data sampling frequency (50Hz sampling corresponds to a window size of 5 data points). Outlier handling: Based on The criteria identify outlier data (such as 0 values), and use linear interpolation to complete the outlier data to ensure data continuity. Data normalization: Mapping data of different dimensions to the [0,1] interval using the min-max normalization formula: Feature dimensionality reduction: The Random Forest (RF) algorithm is used to reduce the dimensionality of high-dimensional data. The feature importance is ≥0.1, reducing the original 12-dimensional data to a 6-dimensional feature vector, thereby reducing the computational complexity of the reinforcement learning model. Data synchronization: Multi-source data is aligned based on timestamps, with a synchronization accuracy of ≤1ms, avoiding control decision deviations caused by asynchronous data.

[0031] Reinforcement learning model training module: Constructing an improved reinforcement learning model adapted to the control requirements of continuous casting stopper rods (model structure can be referenced). Figure 3 The core innovations lie in the design of a multi-objective reward function for "continuous state-continuous action space adaptation" and a safe exploration mechanism, as detailed below: Step 1: Enhancing Model Framework Selection: The Proximal Policy Optimization (PPO) algorithm is adopted as the basic framework. Its advantages lie in limiting the policy update magnitude through a clip mechanism, ensuring training stability, and its low computational complexity, making it suitable for real-time control scenarios. For continuous casting control requirements, the PPO algorithm is improved as follows: 1. A dual Critic network is introduced, which uses two independent value networks to estimate state value. The minimum of the two is taken as the final value estimate, which reduces the overestimation bias of the value function and improves the stability of the model.

[0032] 2. A lightweight neural network architecture is adopted to ensure real-time inference. The specific structure is as follows: (1) Policy network (Actor): Input layer (6-dimensional feature vector), hidden layer 1 (64 neurons, ReLU activation function), hidden layer 2 (32 neurons, ReLU activation function), output layer (2 neurons, which output the mean and standard deviation of the stopcock opening adjustment amount respectively, and the output range is limited by the tanh activation function). (2) Value Network (Critic): Input layer (6-dimensional feature vector), hidden layer 1 (64 neurons, ReLU activation function), hidden layer 2 (32 neurons, ReLU activation function), output layer (1 neuron, output state value); 3. Motion space constraint: stopper rod opening adjustment amount The actual range is [-5% to +5%] (the single adjustment amplitude should not exceed 5% to avoid excessive movement that could cause liquid level oscillation). The model output is mapped to this range using the tanh activation function of the output layer, as shown in the following formula: ; in, The mean of the action. For the standard deviation of the movement, This refers to random noise that follows a standard normal distribution.

[0033] Taking the minimum value of the two Critic network outputs as the final state value estimate effectively reduces the overestimation bias and improves learning stability.

[0034] Step 2: State space definition: The state space is a key feature vector of the continuous casting process. After data preprocessing, it contains six dimensions, comprehensively reflecting the dynamic changes of the control environment: S1: Deviation between actual liquid level and target liquid level in crystallizer (unit: mm), target liquid level is set to 250 mm; S2: Molten steel temperature (unit: °C), reflecting the effect of changes in molten steel viscosity on flow rate; S3: Billet casting speed (unit: m / min), changes in casting speed directly affect the amount of molten steel flowing out; S4: Current opening degree of the stopper rod (unit: %), reflecting the current status of the actuator; S5: The difference between the inflow and outflow of molten steel (unit: t / h), reflecting the trend of liquid level change; S6: Current of the stopper rod drive motor (unit: A), which reflects the load status of the actuator and indirectly determines the condition of nozzle clogging.

[0035] The boundary range of the state space is determined based on actual industrial operating data to ensure that the model training is consistent with the actual operating conditions.

[0036] Step 3: Define the motion space: The action space is the adjustment amount of the stopper opening, defined as a continuous space: Action variable a: stopper opening adjustment amount (unit: %), value range [-5%, +5%]; Meaning of the action: This indicates increasing the stopper rod opening (increasing the flow rate of molten steel). This indicates reducing the stopper opening (reducing the amount of molten steel flowing in). This indicates that the current opening level should be maintained.

[0037] Using a continuous action space instead of a discrete action space avoids the loss of control accuracy caused by discretization and is more in line with the actual needs of dynamic adjustment of the stopcock.

[0038] Step 4: Reward Function Design (R): The reward function plays a guiding role in reinforcement learning models and needs to consider multiple objectives such as liquid level control accuracy, response speed, and safety constraints. Therefore, it is designed as a weighted combined reward: ; in, The weighting coefficients, after calibration with industrial data, are as follows: This ensures a balanced optimization across multiple objectives.

[0039] The specific design of each sub-reward is as follows: 1. Liquid level deviation reward R1: Encourages the liquid level to remain near the target value. It employs a piecewise function design to emphasize the reward weight for high-precision control. ; in, This represents the deviation between the crystallizer liquid level and the target liquid level.

[0040] 2. Dynamic response reward R2: Encourages rapid elimination of level deviation and penalizes response lag. ; in, The adjustment time (in seconds) is the time for the liquid level deviation to decrease from more than 3 mm to less than 1 mm. k=1.5 is the attenuation coefficient. The shorter the adjustment time, the higher the reward (maximum is 1).

[0041] 3. Smooth detonator movement reward R3: Penalize frequent, large detonator movements: ; in, This represents the difference between the current action and the previous action (in %). The reward is the number of actions within a unit of time (1 second). The smaller the action amplitude and the lower the frequency, the higher the reward.

[0042] 4. Energy reward function R4: Encourages low-energy consumption control and penalizes high-load operation. ; Where I is the actual current of the stopper rod drive motor (unit: A). The rated current is used; the lower the current, the higher the reward (maximum 2).

[0043] 5. Safety Constraint Reward R5: Penalizes actions that violate safety boundaries to prevent safety incidents. ; in, To determine the target opening degree of the stopper rod, ensure that the stopper rod opening degree is always within a safe range.

[0044] Step 5: Training Process Design: To balance training efficiency and industrial safety, a two-stage training strategy of offline pre-training and online fine-tuning is adopted: Offline pre-training phase: Training data: Historical production data of a steel plant's slab continuous casting machine were used, covering different slab specifications (thickness 200-300mm, width 1000-1500mm) and different working conditions (casting speed 0.8-1.2m / min, molten steel temperature 1530-1580℃). Environmental modeling: A digital twin model of the continuous casting process is constructed based on historical data to serve as a virtual environment for reinforcement learning training. This model is built using an LSTM neural network, with the input being a state vector and the output being the predicted state value at the next time step, achieving a prediction accuracy of ≥90%. Training parameters: learning rate 0.0003, batch size 64, number of iterations 50,000, model saved every 1,000 iterations, early stopping mechanism (training stops when the validation set reward has no improvement for 5,000 consecutive iterations). Training objectives: The model's average reward in the virtual environment is ≥8.5, the percentage of liquid level deviations ≤1mm is ≥95%, and the settling time is ≤0.1s.

[0045] Online fine-tuning stage: Initialization: Deploy the offline pre-trained model to the edge computing controller and set the exploration rate. (10% probability of random exploration, 90% probability of executing the optimal strategy); Real-time interaction: The model interacts with the actual continuous casting environment, collecting status data every 50ms, generating control actions, and obtaining reward signals from environmental feedback; Incremental training: The ReplayBuffer mechanism is used to store the latest 10,000 interaction data. The model parameters are updated every 100 interaction steps, and the learning rate is reduced to 0.0001. Exploration rate decay: As training iterates, the exploration rate ( (where t is the number of online iterations), when The decay stops when the value drops to 0.01, with a small amount of exploration retained to adapt to changes in operating conditions; Model evaluation: The model performance is evaluated every 1000 interaction steps. If the average liquid level deviation of three consecutive evaluations is ≤1mm and the adjustment time is ≤0.1s, the model is considered to have converged, online fine-tuning is stopped, and the model is switched to pure execution mode.

[0046] Real-time decision-making module: Responsible for rapidly generating control commands during industrial production to meet real-time requirements. Its operation includes the following: Decision cycle: 100ms / time, that is, a closed loop of "data acquisition-status assessment-action generation-command issuance" is completed every 100ms; Model inference optimization: TensorRT is used to accelerate the inference of the reinforcement learning model to meet the requirements of real-time decision-making; Decision logic: The model receives the preprocessed state vector, outputs the stopper opening adjustment amount through the policy network, and after verification by the safety constraint module (ensuring that the target opening is within the range of 0 to 100%), it is converted into a control signal (4 to 20mA current signal) and sent to the actuator. Fault handling: If sensor data is abnormal or model inference fails, the decision module automatically switches to the PLC's PID backup control mode to ensure continuous production.

[0047] Online model update module: Enables long-term adaptive optimization of the model to cope with operating condition drift and equipment aging. Update trigger conditions: When the percentage of liquid level deviation ≤1mm is less than 90% within 10 consecutive minutes, or when there are significant changes in operating conditions (such as a casting speed adjustment of ≥0.2m / min or a change in molten steel temperature of ≥20℃), the model is triggered to update online. Update method: Incremental learning is adopted, and the model is retrained based on the latest 20,000 interaction data. The training iterations are 1,000 times and the learning rate is 0.00005. The update process does not affect the current control execution. Model version management: Saves the model version after each update, records the update time, operating conditions and performance indicators. If the performance of the new model degrades, it can be quickly rolled back to the best historical version.

[0048] Safety constraint module: Provides safety boundaries for the decision-making of reinforcement learning models to avoid dangerous actions, including the following operations: Opening constraint: Limits the target opening of the stopper rod to the range of 0 to 100%. If it exceeds the range, it will be automatically corrected to the boundary value and an alarm will be triggered. Movement amplitude constraint: Limit the single stopper opening adjustment to ≤5% to avoid excessive movement amplitude causing drastic fluctuations in liquid level.

[0049] The working principle of this invention is as follows: During use, a closed-loop reinforcement learning control system of "perception-decision-execution-feedback" is constructed. Multi-source sensors at the hardware layer collect data from the continuous casting process. After data preprocessing at the software layer, offline pre-training and online fine-tuning are completed using an improved PPO reinforcement learning model. Stopper rod control commands are generated with a 100ms cycle. Combined with safety constraints and an online model update mechanism, this replaces the traditional PID controller to achieve dynamic adjustment of the continuous casting stopper rod and precise control of the molten steel level in the crystallizer. A safety redundancy module ensures production. No manual parameter adjustment is required. It exhibits strong adaptability and robustness, accurately responding to various operating condition disturbances, compensating for system lag, and significantly reducing the risk of production accidents. Furthermore, by reducing stopper rod movement through a multi-objective reward function, it extends equipment life, achieves low energy consumption, and simplifies model deployment and adaptation to different operating conditions, significantly reducing industrial implementation and maintenance costs.

[0050] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, enabling those skilled in the art to better understand and utilize it. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. A dynamic control method for continuous casting stopper rods based on reinforcement learning, characterized in that, Setting up a hardware and software layer to work together, with a controller centered on a reinforcement learning agent replacing the traditional PID controller, specifically includes the following steps: Step 1: System initialization; Step 2: Data acquisition and preprocessing; Step 3: Status assessment and action generation; Step 4: Safety verification; Step 5: Command issuance and execution; Step 6: Feedback data acquisition; Step 7: Experience storage and model update; Step 8: Working condition judgment and mode switching; Step 9: Loop execution; The hardware layer consists of a multi-source sensor module, an edge computing controller module, a plug driver execution module, and a security redundancy module. The software layer consists of a data preprocessing module, a reinforcement learning model training module, a real-time decision-making module, an online model update module, and a security constraint module; The multi-source sensor module is used to collect status data of the continuous casting process; The edge computing controller module is responsible for running the reinforcement learning model, processing the collected data, and generating control commands; the stopper rod drive execution module is used to receive control commands and drive the stopper rod to complete the opening adjustment. The safety redundancy module is based on a safety redundancy mechanism, where the PLC and the edge computing controller work independently. When the edge computing controller fails, the PLC automatically switches to PID control mode. The data preprocessing module processes the raw data collected from multiple sources. The collected data includes 12-dimensional data such as the actual liquid level in the crystallizer, the liquid level deviation in the crystallizer, the liquid level change rate, the molten steel temperature, the billet casting speed, the current opening of the stopper rod, the change rate of the stopper rod opening, the inflow rate of molten steel, the outflow rate of molten steel, the current of the stopper rod drive motor, and the vibration amplitude of the stopper rod actuator. The processing flow of the 12-dimensional raw data in the data preprocessing module is as follows: data noise reduction, outlier handling, data normalization, feature dimensionality reduction, and data synchronization. The reinforcement learning model training module constructs an improved reinforcement learning model adapted to the control requirements of continuous casting stopper rods. It is based on an improved proximal policy optimization algorithm and includes five steps at runtime: model framework selection, state space definition, action space definition, reward function design, and training process design. The real-time decision-making module is responsible for rapidly generating control commands during industrial production, the online model update module is used to achieve long-term adaptive optimization of the model, and the safety constraint module is used to provide safety boundaries for the decision-making of the reinforcement learning model.

2. The dynamic control method for continuous casting stopper rods based on reinforcement learning according to claim 1, characterized in that, The real-time decision-making module has a decision cycle of 100ms / time, and TensorRT is used to accelerate the inference of the reinforcement learning model. The decision logic is as follows: The model receives the preprocessed state vector, outputs the stopper opening adjustment amount through the policy network, and after verification by the safety constraint module, converts it into a control signal and sends it to the actuator.

3. The dynamic control method for continuous casting stopper rods based on reinforcement learning according to claim 2, characterized in that, The safety constraint module includes opening constraints and motion amplitude constraints. The online model update module uses an incremental learning update method, and the update trigger conditions are as follows: When the percentage of liquid level deviations ≤1mm is less than 90% within 10 consecutive minutes, or when there is a significant change in operating conditions, the model is triggered to update online.

Citation Information

Patent Citations

  • Liquid level on-line control system and method for self-adapting and fuzzy logic PID crystallizer

    CN101364114B

  • Method for adjusting casting liquid level of continuous casting crystallizer

    CN102458718B

  • Mold cycle liquid level control method, storage medium and computer device

    CN120055221B

  • Continuous casting automatic casting control method based on deep reinforcement learning

    CN116274925A

  • Intelligent regulation and control method for vacuum heat insulation core pipe column based on reinforcement learning algorithm

    CN121637239A