An optimization method for seamless switching of DCS controllers in thermal power plants
By optimizing DCS controller switching through high-speed data synchronization channels, quantitative evaluation of state deviations, and dynamic predictive compensation, the problems of incomplete state synchronization and switching disturbances in existing technologies have been solved, enabling seamless switching of DCS systems in thermal power plants and improving the reliability and stability of the controller.
Patent Information
- Application Number
- CN202611381876.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-17
AI Technical Summary
Existing DCS controller seamless switching technology suffers from problems such as incomplete state synchronization, lack of quantitative assessment of state deviation, limited means of suppressing disturbances during switching, and lack of reverse switching optimization processing, resulting in output jumps and delays during controller switching.
By establishing a high-speed data synchronization channel, performing heartbeat monitoring and fault determination, conducting quantitative assessment of state deviation, introducing a state collaborative tracking mechanism and dynamic prediction compensation, optimizing the reverse switching process, and ensuring the consistency of the primary and backup controller states and the smoothness of the switching.
It achieves precise synchronization of the main and backup controller states, reduces output jumps during switching, and improves the reliability and stability of switching, making it suitable for complex control scenarios in thermal power plants.
Smart Images

Figure CN123113286A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of thermal power automation control technology, specifically a method for optimizing the seamless switching of thermal power DCS controllers. Background Technology
[0002] Distributed Control Systems (DCS) are the core equipment for automation control in thermal power plants, responsible for monitoring and controlling major equipment such as boilers, turbines, and generators. In a DCS system, the controller, as the core component at the process control level, directly affects the safe and stable operation of the entire unit. To improve system availability, DCS controllers typically employ redundant configurations, meaning two redundant controller modules—a primary controller and a backup controller—are configured in the same control station. When the primary controller fails, the system needs to switch control from the primary controller to the backup controller. Whether this switching process can be "disturbance-free," meaning that the control output does not produce significant jumps or disturbances during the switching process, is a crucial indicator of DCS system reliability.
[0003] Existing DCS controller seamless switching technology mainly achieves this through the following methods: One method is the master / standby switchover method based on heartbeat detection. The master and standby controllers monitor each other's status by exchanging pulse signals via a heartbeat line. When the standby controller fails to receive a heartbeat pulse from the master controller for several consecutive heartbeat cycles, it determines that the master controller has failed, and the standby controller switches to master and takes over the control output. This method can achieve basic redundancy switching functionality, but output disturbances may still occur during the switching process. Secondly, there is the data synchronization-based seamless handover method. The primary and backup controllers simultaneously receive I / O data from the fieldbus and configuration logic projects downloaded to the engineering workstation. The primary controller synchronizes the configuration calculation results with the backup controller via a high-speed data network, ensuring that both controllers have the same logic calculation results. However, this method only synchronizes the final results of the logic calculation and fails to adequately consider the synchronization consistency of various state variables within the controller (such as the proportional, integral, and derivative terms of the PID controller), which may still cause disturbances during handover. Thirdly, a seamless manual-to-automatic switching method based on integral term tracking. When the controller switches from manual to automatic mode, the integral term state variable is calculated in reverse to match the current manual output value, ensuring that the controller output does not jump. This method is mainly for switching operating modes within the same controller, rather than for redundant switching between primary and backup controllers.
[0004] The aforementioned existing technologies have the following shortcomings in practical applications: First, state synchronization is incomplete. Existing methods mainly focus on synchronizing the results of logical operations, but lack sufficient synchronization accuracy for the various state variables within the controller (especially the integral term state variables of the PID controller). The integral term state variables have a significant impact on the continuity of the control output, and their asynchrony will directly lead to output jumps at the moment of switching. Second, there is a lack of a quantitative assessment mechanism for state deviation. Existing methods have not established a quantitative evaluation system for state deviation between primary and backup controllers, making it impossible to accurately determine whether the backup controller has met the conditions for uninterrupted takeover control. Third, the methods for suppressing disturbances during handover are limited. Existing methods mainly rely on state synchronization to ensure a disturbance-free handover, lacking a dynamic compensation mechanism for the transient handover process, making it difficult to meet the rapid handover requirements under sudden failure scenarios; Fourth, there is a lack of optimized handling for reverse switching. Existing methods mainly focus on the one-way switching to the backup controller when the main controller fails, and lack systematic optimization handling for the reverse switching process from the backup controller back to the main controller after the main controller recovers from the failure.
[0005] Therefore, the present invention provides an optimization method for seamless switching of DCS controllers in thermal power plants. Summary of the Invention
[0006] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0007] The technical solution adopted by this invention to solve its technical problem is: a method for optimizing the seamless switching of a thermal power DCS controller, comprising the following steps: S1. Establish a high-speed data synchronization channel.
[0008] A high-speed data synchronization channel is established between the main controller and the backup controller, through which the main controller and the backup controller exchange operating status data in real time.
[0009] Preferably, the high-speed data synchronization channel is a redundant communication link based on PCI-E bus or Gigabit Ethernet, and the main controller and the backup controller synchronize all operating status data in a broadcast manner through the high-speed data synchronization channel.
[0010] S2, Heartbeat Monitoring and Fault Diagnosis.
[0011] The main controller sends a heartbeat signal to the backup controller at a fixed period T. The backup controller monitors the reception status of the heartbeat signal. When the main controller fails to receive the heartbeat signal for N consecutive periods, it determines that the main controller has failed and triggers the switchover preparation process.
[0012] Preferably, the range of the N consecutive cycles is 3 ≤ N ≤ 10, and the range of the fixed period T is 10 ms ≤ T ≤ 100 ms. The value of N should not be too small to avoid misjudgment due to instantaneous communication jitter; the value of N should also not be too large to avoid excessively long fault detection delays affecting the timeliness of handover.
[0013] S3. Quantitative assessment of state deviation.
[0014] In response to the triggering of the switching preparation process, the backup controller reads all internal state variables of the main controller through the high-speed data synchronization channel. The internal state variables include proportional state variable P, integral state variable I, derivative state variable D, and output control variable U.
[0015] For the PID controller widely used in thermal power DCS, the output control quantity U has the following relationship with the proportional term state quantity P, integral term state quantity I, and derivative term state quantity D: Among them, the proportional term state quantity , The proportional gain is given by e(t), where e(t) is the bias signal; the integral term is the state variable. , For integral gain; differential term state variable , This is the differential gain.
[0016] The standby controller calculates the state deviation evaluation index E according to the following formula: in, , , , These are the proportional term state quantity, integral term state quantity, derivative term state quantity, and output control quantity of the backup controller, respectively. , , , These are the proportional, integral, and derivative state variables of the main controller, and the output control variable, respectively. α, β, γ, and δ are weighting coefficients, and α + β + γ + δ = 1. The values of the weighting coefficients α, β, γ, and δ should be set according to the characteristics of the thermal power control loop. For control loops with strong integral action (such as steam drum water level control), the value of β should be appropriately increased; for control loops with strong derivative action (such as superheated steam temperature control), the value of γ should be appropriately increased.
[0017] Preferably, to eliminate the influence of dimensional differences between different state variables on the evaluation results, the state variable I of the integral term is normalized in step S3 according to the following formula: in, This represents the maximum permissible value of the state variable in the integral term. This is the normalized integral term of the state variable. The output control variable U is normalized according to the following formula: in, and These are the upper and lower limits of the output control quantity, respectively. This is the normalized output control quantity.
[0018] The state deviation evaluation index E is calculated based on the normalized state variables.
[0019] S4, State Collaborative Tracking.
[0020] When the state deviation evaluation index E is less than the preset threshold When the state deviation between the primary and backup controllers is within an acceptable range, the backup controller directly takes over the control output.
[0021] When E is greater than or equal to When E is less than a certain value, it indicates a significant state deviation between the primary and backup controllers. Direct switching would result in noticeable output disturbances. In this case, the backup controller performs a state cooperative tracking process until E is less than a certain value. .
[0022] The state collaborative tracking process includes the following sub-steps: S41, the backup controller will display its own integral term state quantity. The integral term state quantity of the main controller is approximated stepwise according to the following formula. : Where k is the number of iterations, λ is the tracking step size coefficient, and 0 < λ ≤ 1.
[0023] S42. The backup controller will output its own control quantity. The output control quantity of the main controller is gradually approximated by the following formula. : Where μ is the tracking step size coefficient, 0 < μ ≤ 1.
[0024] S43. During the tracking process of the integral term state quantity and the output control quantity, the backup controller maintains the proportional term state quantity. and differential term state quantity constant.
[0025] S44. Repeat steps S41 to S43 until the state deviation evaluation index E is less than the preset threshold. .
[0026] It should be noted that the reason for keeping the proportional and derivative state variables unchanged during the tracking process is that the proportional and derivative terms reflect the deviation and its rate of change at the current moment, and have instantaneous characteristics. Their values can be naturally updated by the new input signal at the moment of switching. On the other hand, the integral term has cumulative characteristics. The deviation of its value will continue to affect the control output and is the main source of switching disturbances. Therefore, it needs to be tracked in detail.
[0027] Preferably, the preset threshold Adjust dynamically according to the following formula: in, As the initial threshold, The elapsed time since the start of the switchover preparation process. The maximum allowable switching time is η, which is an adjustment coefficient, where 0 ≤ η ≤ 1.
[0028] The significance of this dynamic adjustment mechanism is that, in the initial stage of handover, a small state deviation threshold is allowed to ensure handover quality; as the handover time progresses, in order to avoid the handover process being too long and affecting system security, the threshold requirement is appropriately relaxed to ensure that the handover can be completed within the specified time even in the worst case.
[0029] S5, Dynamic Prediction and Compensation.
[0030] After the backup controller takes over the control output, it suppresses the output disturbance at the moment of switching using dynamic predictive compensation. The dynamic predictive compensation calculates the compensation amount C according to the following formula: in, To switch the output deviation, This represents the output deviation at the previous sampling time. The sampling period is , , To predict the compensation coefficient.
[0031] This compensation mechanism is essentially an incremental PID compensator. Its function is to dynamically adjust the compensation amount based on the output deviation and its changing trend during the brief transition period after switching, quickly suppressing any residual disturbances. Preferably, the predicted compensation coefficient... , , The adaptive adjustment is performed according to the state deviation evaluation index E using the following formula: in, , , As the benchmark compensation coefficient, , , The adjustment coefficient is σ, which is the sensitivity coefficient. This adaptive adjustment mechanism enhances the compensation effect when the state deviation is large and weakens it when the state deviation is small, thus avoiding overcompensation that introduces new disturbances.
[0032] S6, Output Control.
[0033] The backup controller will process the control output after dynamic prediction compensation. Send to the actuator to complete the seamless handover, among which Calculate according to the following formula:
[0034] S7, reverse switching optimization.
[0035] After the backup controller takes over the control output, the backup controller continuously monitors the recovery status of the primary controller. When the primary controller is detected to have returned to normal, the reverse switchover readiness level R is calculated according to the following formula: in, This refers to the stable operating time after the backup controller takes over. The preset minimum stable operating time, The difference between the output control values of the backup controller and the main controller. , , These are the weighting coefficients, and .
[0036] When R is greater than the preset switching threshold When this occurs, a reverse, seamless handover is performed from the backup controller to the main controller.
[0037] The reverse, bumpless handover from the backup controller to the primary controller includes the following sub-steps: S71. The main controller reads all internal state variables from the backup controller through the high-speed data synchronization channel; S72, The main controller calculates the state deviation evaluation index according to the calculation formula of E. ; S73, when Less than the preset threshold When the condition is met, the main controller takes over the control output; otherwise, the main controller executes the state cooperative tracking process. S74. After the main controller takes over the control output, it executes the dynamic prediction compensation.
[0038] The reverse handover readiness R takes into account three factors: the degree of state deviation ( ), system stability ( and the degree of output deviation () The reverse handover is only performed when all three factors reach a relatively optimal level, thus ensuring that the reverse handover also has a non-disruptive characteristic.
[0039] The beneficial effects of this invention are as follows: 1. Achieve more accurate state synchronization. This invention not only synchronizes the results of logical operations, but also synchronizes and quantifies all key internal state variables of the PID controller, including the proportional, integral, and derivative terms, as well as the output control quantity. By establishing a state deviation evaluation index E, it achieves accurate measurement of state consistency between the master and backup controllers, overcoming the defect of incomplete state synchronization in the prior art.
[0040] 2. Introducing a state collaborative tracking mechanism. When a large state deviation is detected between the primary and backup controllers, this invention does not rush to switch directly. Instead, it uses a state collaborative tracking process to gradually bring the integral term state quantity and output control quantity of the backup controller closer to the primary controller until the state deviation meets the requirements before switching is performed, thus fundamentally avoiding output jumps at the moment of switching.
[0041] 3. Dynamic predictive compensation is employed to suppress switching disturbances. This invention introduces a dynamic predictive compensation mechanism based on incremental PID control after the switching process. The compensation amount is calculated in real time based on the output deviation at the switching moment and its changing trend, rapidly suppressing residual disturbances during the switching transient. Simultaneously, the compensation coefficient can be adaptively adjusted according to the state deviation evaluation index, taking into account the compensation requirements under different operating conditions.
[0042] 4. Dynamic threshold adjustment ensures reliable switching. The state deviation threshold in this invention... It can be dynamically adjusted based on the time elapsed during the handover, ensuring handover quality while avoiding handover delays caused by excessive pursuit of state consistency, and ensuring that the handover can be completed within the specified time even in the worst case.
[0043] 5. Optimize the reverse handover process. This invention establishes a reverse handover readiness evaluation index R, which comprehensively considers three dimensions: state deviation, system stabilization time, and output deviation. Reverse handover is only performed when the main controller is fully ready to take over, ensuring that the reverse handover after the main controller recovers from a fault is also smooth and uninterrupted.
[0044] 6. Applicable to complex control scenarios in thermal power plants. The method of this invention is applicable to various control scenarios such as boiler main control loop, turbine main control loop, and coordination control loop in thermal power plants, and has wide applicability. Attached Figure Description
[0045] The invention will now be further described with reference to the accompanying drawings.
[0046] Figure 1 This is an overall flowchart of the optimization method for seamless switching of thermal power DCS controllers according to the present invention; Figure 2 This is a flowchart of the state collaborative tracking process in this invention; Figure 3 This is a block diagram illustrating the principle of dynamic prediction and compensation in this invention. Figure 4 This is a flowchart of the reverse switching readiness determination process in this invention. Detailed Implementation
[0047] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments. Example
[0048] like Figures 1 to 4 As shown, this embodiment uses the DCS system of a 600MW supercritical thermal power unit as an example to describe the method of the present invention in detail. The DCS system adopts a redundant controller configuration, with each control station equipped with two redundant controller modules: a main controller A and a backup controller B. A high-speed data synchronization channel is established between the two controllers via a PCI-E bus, with a synchronization period of... = 20ms.
[0049] S1. State synchronization under normal operating conditions.
[0050] Under normal operating conditions, the main controller A is responsible for performing control logic operations and sending the results to the I / O module via the fieldbus. The backup controller B simultaneously receives I / O data from the fieldbus and the configuration logic project downloaded to the engineer station, but does not output control signals.
[0051] The main controller A and the backup controller B synchronize all operating status data via PCI-E bus in a broadcast manner, including but not limited to: the proportional term status P, integral term status I, derivative term status D, output control quantity U of the PID controller, and other intermediate calculation variables.
[0052] S2, Heartbeat Monitoring and Fault Diagnosis.
[0053] The main controller A sends a heartbeat signal to the backup controller B at a fixed period of T=50ms. The backup controller B continuously monitors the reception status of the heartbeat signal.
[0054] Suppose that at some point, the main controller A suddenly fails due to a hardware malfunction and stops sending heartbeat signals. After failing to receive a heartbeat signal for N=5 consecutive cycles (i.e., 250ms), the backup controller B determines that the main controller A has failed and triggers the handover preparation process.
[0055] S3. Quantitative assessment of state deviation.
[0056] In response to the triggering of the switchover preparation process, the standby controller B reads the last valid internal state variables of the main controller A via the PCI-E bus.
[0057] Assuming the data read is: =35.2, =28.6, =5.1, =68.9 (all units are %).
[0058] The current internal state variables of the standby controller B are: =34.8, =22.3, =5.3, =62.5.
[0059] The weighting coefficients are set as follows: α = 0.15, β = 0.45, γ = 0.10, and δ = 0.30. Since this embodiment is a steam drum water level control loop with strong integral action, the value of β is relatively large.
[0060] Calculate the state deviation evaluation index E: E = 0.15×|34.8-35.2| + 0.45×|22.3-28.6| + 0.10×|5.3-5.1| + 0.30×|62.5-68.9| = 0.15×0.4 + 0.45×6.3 + 0.10×0.2 + 0.30×6.4 = 4.835 Preset threshold =2.0, current E=4.835> This indicates that the state deviation between the primary and backup controllers is large, and a state collaborative tracking process needs to be performed.
[0061] S4, State Collaborative Tracking.
[0062] Backup controller B performs a status collaborative tracking process: The first step is to track the state variable of the integral term, taking λ=0.3: (1) = 22.3 + 0.3 × (28.6 - 22.3) = 24.19 The second step is to track the output control quantity, setting μ=0.25: (1) = 62.5 + 0.25 × (68.9 - 62.5) = 64.10 In this process =34.8 remains unchanged. =5.3 remains unchanged.
[0063] After multiple rounds of iterative tracking When it approaches 28.2, When the value approaches 68.1, the state deviation evaluation index is recalculated: E = 0.15×|34.8-35.2| + 0.45×|28.2-28.6| + 0.10×|5.3-5.1| + 0.30×|68.1-68.9| = 0.15×0.4 + 0.45×0.4 + 0.10×0.2 + 0.30×0.8 = 0.50 At this time, E < =2.0, state collaborative tracking is complete, and backup controller B can take over control output.
[0064] S5, Dynamic Prediction and Compensation.
[0065] After the backup controller B takes over the control output, it performs dynamic predictive compensation.
[0066] Assuming output deviation at the switching time = - = 68.1 - 68.9 = -0.8, the output deviation at the previous sampling time. = -0.3, sampling period = 50ms.
[0067] Set the benchmark compensation coefficient =0.6, =0.1, =0.05. Based on E=0.50, calculate the adaptive prediction compensation coefficient (take...). =0.5, =0.5, =0.5, σ=1.0): = 0.6×[1+0.5×(1-e^{-0.5})] = 0.718 = 0.1×[1+0.5×(1-e^{-0.5})] = 0.120 = 0.05×[1+0.5×(1-e^{-0.5})] = 0.060 Calculate the compensation amount: C = 0.718×(-0.8) + 0.120×∑(-0.8)×0.05 + 0.060×(-0.8-(-0.3)) / 0.05 Assumption = -0.04 (i.e., the cumulative bias of the previous few sampling periods): C = -0.574 + 0.120×(-0.04) + 0.060×(-10) = -1.179 S6. Calculate the final control output.
[0068] = + C = 68.1 + (-1.179) = 66.921 Backup controller B will =66.921% was sent to the actuator, completing the bumpless handover. After the handover, the system output remained stable, without any obvious jumps or disturbances.
[0069] S7, reverse switching optimization.
[0070] Assume that after the main controller A is troubleshooted and returns to normal, the backup controller B continuously monitors the recovery status of the main controller A.
[0071] At this point, backup controller B is operating stably. =300s, preset minimum stable running time =120s, state deviation E=0.35, output control quantity difference |ΔU|=0.5%, =100%. Set the weighting coefficient. =0.4, =0.3, =0.3, calculate the reverse handover readiness: R = 0.4×(1-0.35 / 2.0) + 0.3×(300 / 120) + 0.3×(1-0.5 / 100) = 0.4×0.825 + 0.3×2.5 + 0.3×0.995 = 0.33 + 0.75 + 0.299 = 1.379 because Since the value is greater than 1, we take its upper limit as 1. Therefore, the actual value of R is 0.33 + 0.3×1 + 0.299 = 0.929.
[0072] Preset switching threshold =0.85, R=0.929> The reverse switching conditions are met.
[0073] The main controller A reads all internal state variables from the backup controller B via the PCI-E bus, performs state collaborative tracking and dynamic prediction compensation in the same process as described above, and then takes over the control output to complete the reverse bumpless switching. Example 2
[0074] like Figures 1 to 4 As shown, the difference between this embodiment and Embodiment 1 is that this embodiment is applied to the superheated steam temperature control loop of a thermal power unit. Superheated steam temperature control is characterized by large lag, large inertia, and multiple disturbances, and is highly dependent on the differential action of the controller.
[0075] Therefore, when setting the weight coefficients, the value of the differential term weight γ should be appropriately increased, for example, α=0.15, β=0.30, γ=0.30, δ=0.25.
[0076] The remaining steps are the same as in Example 1, and will not be repeated here. Example 3
[0077] like Figures 1 to 4 As shown, the difference between this embodiment and Embodiment 1 is that a preset threshold is used in this embodiment. A dynamic adjustment method is adopted.
[0078] Set initial threshold =2.0, maximum allowable switching time =1000ms, adjustment coefficient η=0.5.
[0079] After switching triggers =200ms: = 2.0 × [1 + 0.5 × (200 / 1000)] = 2.2 After switching triggers At 600ms: = 2.0 × [1 + 0.5 × (600 / 1000)] = 2.6 After switching triggers =1000ms: = 2.0 × [1 + 0.5 × (1000 / 1000)] = 3.0 This dynamic adjustment method maintains strict threshold requirements during the initial handover phase to ensure handover quality, and gradually relaxes the threshold as handover time progresses to ensure quality even in the worst-case scenario. The handover is completed within 1000ms.
[0080] The present invention has been practically verified in a 600MW supercritical unit DCS system. The results show that after adopting the method of the present invention, the output disturbance amplitude during the controller redundancy switching process is reduced from more than 0.5% to less than 0.05%, and the switching time is shortened from 500ms to less than 200ms, which significantly improves the reliability and control quality of the DCS system.
[0081] The bumpless switching optimization method for thermal power DCS controllers proposed in this invention can be widely applied to DCS systems of various thermal power units, especially suitable for supercritical and ultra-supercritical units with high control quality requirements. This method does not depend on a specific hardware platform and can be implemented through software upgrades on existing DCS systems, exhibiting good compatibility and scalability.
[0082] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for optimizing seamless switching of a thermal power plant DCS controller, characterized in that: Includes the following steps: S1. A high-speed data synchronization channel is established between the main controller and the backup controller, and the main controller and the backup controller exchange operating status data in real time through the high-speed data synchronization channel; S2. The main controller sends a heartbeat signal to the backup controller at a fixed period T. The backup controller monitors the reception status of the heartbeat signal. When the heartbeat signal is not received for N consecutive periods, it determines that the main controller has failed and triggers the switchover preparation process. S3. In response to the triggering of the switching preparation process, the standby controller reads all internal state variables of the main controller through the high-speed data synchronization channel. The internal state variables include proportional state variable P, integral state variable I, derivative state variable D, and output control variable U. The state deviation evaluation index E is calculated according to the following formula: in, , , , These are the proportional term state quantity, integral term state quantity, derivative term state quantity, and output control quantity of the backup controller, respectively. , , , These are the proportional term state quantity, integral term state quantity, derivative term state quantity, and output control quantity of the main controller, respectively, where α, β, γ, and δ are weighting coefficients, and α+β+γ+δ=1. S4. When the state deviation evaluation index E is less than the preset threshold When E is greater than or equal to 1, the backup controller directly takes over the control output; when E is greater than or equal to 1. At that time, the backup controller performs a state cooperative tracking process until E is less than 1. ; S5. After the backup controller takes over the control output, the backup controller suppresses the output disturbance at the moment of switching using a dynamic predictive compensation method. The dynamic predictive compensation is calculated according to the following formula: in, To switch the output deviation, This represents the output deviation at the previous sampling time. The sampling period is , , To predict the compensation coefficient; S6, the backup controller will process the control output after the dynamic prediction compensation. The data is sent to the actuator to complete the seamless handover; among which... Calculate according to the following formula: 。 2. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: The state variable I of the integral term in step S3 is normalized according to the following formula: in, This represents the maximum permissible value of the state variable in the integral term. The normalized integral term is the state variable. The output control quantity U is normalized according to the following formula: in, and These are the upper and lower limits of the output control quantity, respectively. This is the normalized output control quantity; The state deviation evaluation index E is calculated based on the normalized state variables.
3. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: The state cooperative tracking process described in step S4 includes the following sub-steps: S41, the backup controller will display its own integral term state quantity. The integral term state quantity of the main controller is approximated stepwise according to the following formula. : Where k is the number of iterations, λ is the tracking step size coefficient, and 0 < λ ≤ 1; S42. The backup controller will output its own control quantity. The output control quantity of the main controller is gradually approximated by the following formula. : Where μ is the tracking step size coefficient, 0 < μ ≤ 1; S43. During the tracking process of the integral term state quantity and the output control quantity, the backup controller maintains the proportional term state quantity. and differential term state quantity constant; S44. Repeat steps S41 to S43 until the state deviation evaluation index E is less than the preset threshold. .
4. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: The preset threshold Adjust dynamically according to the following formula: in, As the initial threshold, The elapsed time since the start of the switchover preparation process. The maximum allowable switching time is η, which is an adjustment coefficient, where 0 ≤ η ≤ 1.
5. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: The predicted compensation coefficient in step S5 , , The adaptive adjustment is performed according to the state deviation evaluation index E using the following formula: in, , , As the benchmark compensation coefficient, , , σ is the sensitivity coefficient, used to adjust the amplitude coefficient.
6. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: In step S2, the range of values for the consecutive N periods is 3 ≤ N ≤ 10, and the range of values for the fixed period T is 10 ms ≤ T ≤ 100 ms.
7. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: The high-speed data synchronization channel mentioned in step S1 is a redundant communication link based on PCI-E bus or Gigabit Ethernet. The main controller and the backup controller synchronize all operating status data through the high-speed data synchronization channel in a broadcast manner, with a synchronization period of [missing information]. satisfy ≤T / 2.
8. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: It also includes the following steps: S7. After the backup controller takes over the control output, the backup controller continuously monitors the recovery status of the main controller. When it detects that the main controller has returned to normal, it calculates the reverse switching readiness degree R according to the following formula: in, This refers to the stable operating time after the backup controller takes over. The preset minimum stable operating time, The difference between the output control values of the backup controller and the main controller. , , These are the weighting coefficients, and ; When R is greater than the preset switching threshold When this occurs, a reverse, seamless handover is performed from the backup controller to the main controller.
9. The method for optimizing seamless switching of a thermal power DCS controller according to claim 8, characterized in that: Step S7, the reverse bumpless handover from the backup controller to the main controller, includes the following sub-steps: S71. The main controller reads all internal state variables from the backup controller through the high-speed data synchronization channel; S72, The main controller calculates the state deviation evaluation index according to the calculation formula of E. ; S73, when Less than the preset threshold When the condition is met, the main controller takes over the control output; otherwise, the main controller executes the state cooperative tracking process. S74. After the main controller takes over the control output, it executes the dynamic prediction compensation.
10. The method for optimizing seamless switching of a thermal power DCS controller according to claim 1, characterized in that: Both the main controller and the backup controller are redundant controllers in the distributed control system for thermal power plants. The distributed control system for thermal power plants includes a boiler main control loop, a turbine main control loop, and a coordination control loop.
