CN113359423A - Advanced control station and distributed processing control unit interface implementation method - Google Patents

Advanced control station and distributed processing control unit interface implementation method Download PDF

Info

Publication number
CN113359423A
CN113359423A CN202110752553.2A CN202110752553A CN113359423A CN 113359423 A CN113359423 A CN 113359423A CN 202110752553 A CN202110752553 A CN 202110752553A CN 113359423 A CN113359423 A CN 113359423A
Authority
CN
China
Prior art keywords
control station
advanced control
communication
algorithm
dcs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110752553.2A
Other languages
Chinese (zh)
Inventor
崔栋刚
陈康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Nenghua Technology Service Co ltd
Original Assignee
Shaanxi Nenghua Technology Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaanxi Nenghua Technology Service Co ltd filed Critical Shaanxi Nenghua Technology Service Co ltd
Priority to CN202110752553.2A priority Critical patent/CN113359423A/en
Publication of CN113359423A publication Critical patent/CN113359423A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

The invention discloses a method for accessing an algorithm switching interface of an advanced control station algorithm to a distributed processor unit, which comprises the following steps: communication diagnosis of the advanced control station and the distributed processing control unit, algorithm switching and undisturbed switching of output instructions; the advanced control station executes corresponding protection measures when a fault occurs, and ensures system data synchronization after communication is recovered; when the communication is normally realized in the DCS control process, the advanced control station system tracks the process value, the set value and the output instruction of a DCS control loop, when the algorithm is switched to the control of the advanced control station, the control instruction before the advanced control station continues to be calculated to carry out output adjustment, and the DCS algorithm tracks the instruction of the advanced control station to realize undisturbed switching; avoiding system disturbance in the advanced algorithm switching process; the system is prevented from running safety risk after communication failure; and after the advanced control station fails, the original program of the DCS side is still effective and controllable.

Description

Advanced control station and distributed processing control unit interface implementation method
Technical Field
The invention relates to the technical field of automation control, in particular to an interface implementation method of an advanced control station and a distributed processing control unit.
Background
A distributed processing control unit: the DPU is a controller used for algorithm execution in a Distributed Control System (DCS) and has control functions of data calculation, storage, monitoring, alarming, communication and the like.
An advanced control station: a server or workstation running advanced control (APC). The advanced control station acquires the operation signal in a communication mode, and outputs a control signal after calculation of an advanced control algorithm.
The conventional process industry realizes the whole-plant control by the DCS, the output of the advanced control station must be output to a distributed processing control unit of the DCS in a communication mode, and the loop is adjusted by an output clamping piece of the DCS. The control loop conventionally adopts PID control, and the control configuration mostly adopts FBD (function block diagram) language configuration.
With the increasing requirement of a factory on the automation level, the algorithm of the DCS is relatively single, the complex algorithm configuration is relatively complex to implement, the execution efficiency is low, and the load of the DPU is greatly increased, which causes an operational risk. Therefore, an advanced control algorithm is introduced by adopting an advanced control station mode, the problem of algorithm butt joint switching exists when the advanced control algorithm and a DCS conventional algorithm operate, and a disturbance-free mode needs to be designed for switching in order to ensure the safety and stability of a control system. Therefore, the invention designs a set of safe and effective undisturbed switching interface mode.
Disclosure of Invention
The invention aims to provide an interface implementation method of an advanced control station and a distributed processing control unit, which realizes the safe and effective access of an advanced control algorithm to a DCS and ensures the safe operation of the system when the advanced algorithm is used.
In order to achieve the purpose, the invention adopts the following technical scheme:
the method for realizing the interface between the advanced control station and the distributed processing control unit comprises the following steps:
(1) communication diagnostics for advanced control stations and distributed process control units
Establishing data communication between an advanced control station and a distributed processing control unit, judging the bidirectional communication state, and judging the data transmission state by monitoring the state of a communication code in real time; the advanced control station and the distributed processing control unit respectively judge the received signal change and carry out time delay confirmation for a period of time, if the signal delay confirmation is unchanged, a communication fault flag bit is set, algorithms on two sides carry out corresponding processing, if the received communication signal is normal, the communication is normal, and the algorithm switching of the next step is carried out;
(2) algorithm handover
The DCS side loop control algorithm and the advanced control station algorithm are freely switched;
(3) undisturbed switching of output instructions
When the DCS algorithm is controlled, the advanced control station outputs an instruction to track the output value of a DCS side loop, the DCS side output channel selects the output value of the advanced control station after the advanced control station is put into the algorithm, and the calculation output of the DCS tracks the value of the advanced control station, so that the undisturbed switching of the instruction is realized.
Furthermore, the communication diagnosis of the advanced control station and the distributed processing control unit is realized by adopting two types of communication codes;
the judgment method is as follows: communicating diagnostic signals-pulse type
Generating 0/1 pulse signals in the advanced control station and distributed processing control unit logic and sending the pulse signals to the opposite side, judging the received signal change by the advanced control station and the distributed processing control unit, and performing time delay confirmation, wherein the judgment method is that the pulse signal is delayed to be on and the pulse signal is delayed to be off after being inverted, or the relationship is obtained, if the signal is not delayed to be confirmed to be changed, the communication fault flag is set, and the algorithms on the two sides perform corresponding processing; if the received communication signal is normal, the communication is normal;
and a second judgment mode: communication diagnostic signal-ramp type
Generating a continuously variable natural number in the advanced control station and distributed processing control unit logic, continuously circulating, respectively judging the received signal change by the advanced control station and the distributed processing control unit, carrying out time delay confirmation for a period of time, carrying out a difference between the current value of the ramp signal and the delay output value, interrupting the communication if the difference is 0, setting a communication fault flag bit if the signal delay confirmation is unchanged, and carrying out corresponding processing by algorithms on two sides; if the received communication signal is normal, the communication is normal, and algorithm switching can be performed.
Further, when the communication diagnosis of the advanced control station and the distributed processing control unit is carried out, communication state display and alarm are set at the advanced control station and the DCS, after the communication is broken or delayed for a long time, a fault is detected by a communication fault, alarm information and indication state change are given, and monitoring personnel are reminded to process the fault in time; meanwhile, the program makes corresponding action, the advanced control station side quits automatically in time after communication failure, data of the DCS side starts to be tracked, the DCS data is synchronized after communication is normal, and the operation safety when the control algorithm is switched to the advanced control station again is guaranteed; after the DCS side detects the communication fault, the algorithm control of the advanced control station is quitted during the fault program, the control of the DCS side is switched back, and the algorithm selection button of the advanced control station is reset to prevent the control of the advanced control station from being switched again under the condition that no monitoring personnel confirms after the communication is recovered, so that the operation safety risk is caused.
Further, the algorithm switching comprises four switching modes;
the switching mode is as follows: the method comprises the steps that an advanced control algorithm switching button is additionally arranged on a DCS side, the button can be used after communication is normal and a DCS side control loop is automatically switched, the DCS side loop control algorithm is automatically switched from manual operation to automatic operation, then an advanced control station algorithm is switched, the DCS side and the advanced control station are manually operated after the manual operation is switched, the advanced control station automatic switching button is reset, and the advanced control station button can be used for independently switching the automatic operation of the advanced control station under the condition that the DCS side is automatic;
and a second switching mode: an advanced control station algorithm selection button is newly added and can be used in a normal communication state; firstly, inputting an algorithm selection button of an advanced control station, and then directly switching manual and automatic control of the advanced control station through a manual and automatic button of a loop of DCS logic, wherein after a control mode of the advanced control station is cut off, the manual and automatic control is manual and automatic switching of a DCS side algorithm, and if the advanced control algorithm mode is cut off in the automatic operation process of the advanced control, the loop is switched to a manual state;
and a third switching mode: adding an advanced control algorithm input button, wherein the button can be used when the communication is normal, and directly switching the automatic advanced control station through an original panel without using the automatic program of DCS;
and a switching mode is four: an advanced control algorithm manual and automatic switching button is added, and the automatic switching button can be used when the communication is normal; redefining manual and automatic switching buttons, and directly controlling the algorithm of the advanced control station manually and automatically through the buttons.
Further, two algorithm instructions are adopted to realize undisturbed switching of two output instructions;
the switching mode is as follows: the output of the advanced control station is fed to a tracking port of a DCS side controller, the DCS side controller is switched to a tracking mode when the advanced control station is automatic, and a tracking value is fed to an output channel;
and a second switching mode: the output of the advanced control station and the output of the DCS side controller enter an instruction output channel in a selection mode, the state of a selection switch determines which side of the calculation result is used, and the selected input value channel corresponds to the DCS side calculation output and the advanced control station calculation output; when the advanced control station output value is selected, the advanced control station value is given to the command channel, and the output value on the DCS side tracks the command output channel.
Further, a specific process of the switching manner is as follows: for DCS with the hand operator and the PID controller separated, selecting a tracking switch and a tracking value port on the hand operator, and for DCS with the hand operator and the PID controller integrated, selecting a tracking switch and a tracking value port of the PID; the advanced control station output is connected to the tracking value port, the tracking switch is controlled according to the state of the advanced control station output, the port opens the tracking function when the algorithm is selected to be output by the advanced control station, the tracking value is transmitted to the output channel of the controller or the manual operator, the corresponding module state is tracking, and the operation panel or the monitoring panel displays the algorithm output state of the advanced control station.
Further, the communication diagnosis signal adopts a bidirectional transmission mode of an advanced control station and a distributed processing control unit, the diagnosis signal transmitted by the advanced control station is used for the distributed processing control unit to detect whether the output instruction of the advanced control station is effective or not, and the distributed processing control unit switches back to a DCS control algorithm when a fault occurs; the distributed processing control unit sends a diagnosis signal to the advanced control station, the diagnosis signal is used for the advanced control station to detect whether the acquired DCS side process data and the switching instruction are current effective values or not, the advanced control station quits corresponding calculation when a fault occurs, preparation for tracking the DCS side data is made, and the refreshing data is kept consistent with the DCS data after communication is switched on.
Compared with the prior art, the invention has the following technical effects:
the method for accessing the algorithm of the advanced control station to the algorithm switching interface of the distributed processor unit comprises the data communication judgment of the advanced control station and the distributed processing control unit, wherein the communication process needs to judge the communication state of the two parties, corresponding protection measures need to be executed when a fault occurs, and the data synchronization of the system is ensured after the communication is recovered. Mutual undisturbed switching is realized in the loop control process, and system disturbance in the advanced algorithm switching process is avoided; the system is prevented from running safety risk after communication failure; and after the advanced control station fails, the original program of the DCS side is still effective and controllable.
When the algorithm is switched to the advanced control station control, the control instruction before the advanced control station continues to calculate for output adjustment, and the DCS algorithm tracks the instruction of the advanced control station to realize undisturbed switching.
The method keeps the original algorithm of the DCS system, and does not influence the safe and continuous operation of the system even after the advanced control station fails. The invention is applied to the field of automatic control, can realize undisturbed output switching among different algorithms, can realize replacement execution of DCS algorithm through the algorithm of an advanced control station, and is beneficial to improving the automatic control effect of a control system.
Drawings
FIG. 1 is a flow chart of a method for interfacing an advanced control station with a distributed processing control unit
FIG. 2a is a waveform diagram of a pulse communication code for communication judgment
FIG. 2b is a waveform diagram of a ramp communication code for communication determination
FIG. 3a is a first logic relationship diagram of algorithm switching process
FIG. 3b is a second logic relationship diagram of algorithm switching process
FIG. 3c is a third logic relationship diagram of algorithm switching process
FIG. 3d is a fourth logic relationship diagram of algorithm handover process
FIG. 4a is a schematic diagram of a method for tracking port switching mode by algorithm output value
FIG. 4b is a schematic diagram of the manner of selecting output switching manner for the algorithm output value data
Detailed Description
The present invention will be explained in further detail with reference to examples.
As shown in fig. 1, the method for implementing the interface between the advanced control station and the distributed processing control unit is implemented based on a DCS system platform, and specifically includes three parts, namely communication diagnosis, algorithm conversion and instruction output docking, of the advanced control station and a DPU.
Judging the communication state of the advanced control station and the distributed processing control unit:
the communication diagnosis signal adopts a bidirectional transmission mode of an advanced control station and a DPU (distributed processing unit), the diagnosis signal transmitted by the advanced control station is used for the DPU to detect whether an output instruction of the advanced control station is effective or not, and the DPU is switched back to a DCS (distributed control system) control algorithm when a fault occurs, so that the safe and continuous operation of the system is ensured; and the DPU sends a diagnosis signal to the advanced control station to be used for the advanced control station to detect whether the acquired DCS side process data and the switching instruction are current effective values or not, the advanced control station quits corresponding calculation when a fault occurs, preparation for tracking the DCS side data is made, and the refreshing data is kept consistent with the DCS data after communication is switched on.
Referring to fig. 2a and 2b, two types of communication signal determination methods are designed for the bidirectional communication detection determination: a communication signal judgment mode of a mutual pulse type; the other is a mode of judging communication signals of a mutual sending oblique wave type; and diagnosing the state when the opposite side receives the communication signal, and executing corresponding instructions under different states.
The judgment method is as follows: communicating diagnostic signals-pulse type
Signal generation: 0/1 pulse signals are generated in the advanced control station and the DPU unit logic and are respectively sent to each other, the pulse width is recommended to be set to be 1s (the DCS picture regular refreshing period is 1s), and the pulse width can also be set according to the DPU program execution period.
The communication diagnosis method comprises the following steps: the advanced control station and the DPU respectively judge the received signal change and carry out time delay confirmation for a period of time, and the time length is set according to the actual situation on site. The short time setting can cause the short-time blocking of the network to generate false alarm, the advanced control station is frequently removed, the long time can cause the system not to adjust and control in time to cause operation risk, and 3-5 times of pulse width time is generally recommended to be set. If no change is confirmed by signal delay, a communication fault flag bit is set, and algorithms on two sides carry out corresponding processing. If the received communication signal is normal, the communication is normal, and algorithm switching can be performed.
The implementation mode is as follows: taking or relation between pulse signal delay opening and pulse signal inverted delay opening
The specific implementation mode is as follows:
the pulse signal generation can be directly generated by the existing signal generator module in the system or generate a signal with a certain pulse width by a timer. And the other party receives the signal, then performs negation and then performs delay opening to perform OR with the delay opening of the original signal, the OR result is 0 and indicates that the communication is normal, or the OR result is 1, and the communication is interrupted. Note that the execution period of the program is judged to be less than the pulse width, so that the signal is prevented from refreshing and failing to reach the turnover value; the time delay on is set to be greater than the pulse width and an odd multiple, preferably 3-5 times.
And a second judgment mode: communication diagnostic signal-ramp type
Signal generation: a continuously changing natural number (optionally a custom range) is generated in the advanced control station and DPU unit logic, with a change period of 1s, and continuously loops.
Communication diagnosis: the advanced control station and the DPU respectively judge the received signal change and carry out time delay confirmation for a period of time, and the time length is set according to the actual situation on site. The short time setting can cause the short-time blocking of the network to generate false alarm, the advanced control station is frequently removed, the long time can cause the system not to adjust and control in time to cause operation risk, and the 3-5s time delay is generally recommended to be set. If no change is confirmed by signal delay, a communication fault flag bit is set, and algorithms on two sides carry out corresponding processing. If the received communication signal is normal, the communication is normal, and algorithm switching can be performed.
The implementation mode is as follows:
1) judging the change rate of the ramp signal, if the rate is 0, the communication is interrupted
2) The current value of the ramp signal is different from the delayed output value, and if the difference value is 0, the communication is interrupted
The communication state display and alarm are set at the advanced control station and the DCS, and after the communication is broken or delayed for a long time, the communication judges and detects the fault, gives alarm information and indication state change of a human-computer interface, and reminds monitoring personnel to process the fault in time. Meanwhile, the program also needs to make corresponding protection actions, the advanced control station side needs to quit the automatic mode in time after the communication fault, the data of the DCS side is tracked, the DCS data is synchronized after the communication is normal, and the operation safety when the control algorithm is switched to the advanced control station again is guaranteed. After the DCS side detects a communication fault, the fault program needs to quit the algorithm control of the advanced control station in time and switches back to the control of the DCS side, and the advanced control station algorithm selection button is reset to prevent the advanced control station from switching to the control of the advanced control station again under the condition that no monitoring personnel confirm after communication is recovered, so that the operation safety risk is caused.
The specific implementation mode is as follows:
the ramp signal is generated by a signal generator of the system or by a variable periodic self-increasing and self-resetting mode. The other side judges the change rate after receiving the signal, if the change rate is 0 in a period of time, the communication is interrupted, and if the change rate is not 0, the communication is normal; or delaying the communication signal to output, and then making a difference with the original signal, if the difference is 0, the communication is interrupted, and if the difference is not 0, the communication is normal.
After the communication fails, the DCS side cuts off an advanced control station algorithm, converts the algorithm into DCS side control, gives an alarm prompt and changes of communication state indication, and provides a state corresponding to the panel loop state mark. And the advanced control station needs to switch to a state of tracking DCS data and is ready for recalculation.
Since the advanced control station applies the algorithm to the DCS system by mounting, it needs to establish communication with the DPU. The advanced algorithm can be switched only when the normal data transmission of communication is correct, otherwise, the data transmission cannot be carried out, and only the conventional algorithm of the DCS system can be used. Therefore, in the operation process of the system, the communication conditions of the advanced control station and the DPU are very important, and the judgment of the communication conditions must be carried out. When communication fails, the advanced control station gives a fault alarm and restores to a state of tracking data on the DCS side, the DCS side cuts off the advanced control algorithm and restores to the control of the DCS algorithm, and the switching button is reset to give alarm information.
The invention designs four algorithm switching modes to realize the selection interface of the advanced control station and the DPU algorithm.
Referring to fig. 3a, the first conversion process is: DCS manual ← → DCS automatic ← → advanced control station automatic, and an advanced control algorithm switching button is added on the DCS side, and the button can be used after the communication is normal and the DCS side control loop is automatically switched. The DCS side loop control algorithm is automatically switched in from manual operation, then the advanced control station algorithm is switched in, attention is paid to DCS automatic control in the switching interval period, DCS automatic parameters need to be debugged, the switching process is prevented from being disordered, the DCS side and the advanced control station are manually switched after manual operation is carried out, the advanced control station automatic switching button is reset, and the advanced control station button can be used for independently switching the advanced control station automatically under the condition that the DCS side is automatic.
The specific process is as follows: an advanced control station selection button is added by utilizing an original manual and automatic button of the DCS, the optimized selection button can be used only when the DCS is used for automation and the communication is normal, and the optimized selection button is reset to a cutting-off state when the DCS is switched to a manual state or a communication fault occurs.
The advantages and disadvantages are as follows: the advantages are that the original DCS automatic program is reserved to be available, the DCS side automation and the advanced control station automation can be directly converted, manual switching is not needed, and the defects that the automatic switching to the advanced control station after manual switching is automatically carried out each time through the DCS.
Referring to fig. 3b, the second mode process is: ↙ ↗ DCS automatic DCS manual ↖ ↘ advanced control station automatic, new advanced control station algorithm selection button, which is available in communication normal state. Firstly, an advanced control station algorithm selection button is put in, then manual and automatic control of the advanced control station is directly switched through a loop manual and automatic button of DCS logic, after the control mode of the advanced control station is cut off, the manual and automatic control is manual and automatic switching of a DCS side, the advanced control algorithm mode is cut off in the automatic process of the advanced control, and the loop is switched to a manual state.
The specific process is as follows: setting an advanced control station algorithm selection switch, when the communication is normal, firstly selecting which one of the automatic control algorithms is to be used through the button, and if the DCS side is selected, the manual-automatic state of the manual operator represents the manual-automatic state of the DCS algorithm; if the advanced control station side is selected, the manual-automatic state of the manual operator represents the manual-automatic state of the advanced control station. When the communication fails, the algorithm selection button is reset to the DCS side algorithm.
The advantages and disadvantages are as follows: the method has the advantages that the original DCS automatic program is kept available, only one algorithm needs to be selected, and then the method can be put into the advanced control station for control at one time.
Referring to fig. 3c, the third way is to: DCS manual ← → advanced control station automatic, newly-increased advanced control algorithm input button, this button is available when the communication is normal. The original panel is used for directly switching the advanced control station to realize automation, and the automatic program of DCS is not used.
The specific process is as follows: an advanced control station automatic button is added to replace a DCS automatic button, and when communication is normal, manual and advanced control station algorithms are directly switched. And after the communication is interrupted, the advanced control station automatically resets the button.
The advantages and disadvantages are as follows: the method has the advantages that switching steps are reduced, and the defects that when the advanced control station has faults, manual control is only available, and DCS automatic control cannot be used.
Referring to fig. 3d, the fourth mode process is: and the advanced control station is manually mixed → the advanced control station is automatic, and an advanced control algorithm manual and automatic switching button is added and can be used when the communication is normal. The manual and automatic switching buttons are redefined instead of using the original panel and logic, manual operators and the like, and the advanced control station algorithm is directly controlled manually and automatically through the buttons.
The specific process is as follows: and adding a manual and automatic button of the advanced control station again, completely separating the manual and automatic button from the manual and automatic button of the DCS, and independently performing manual and automatic switching operation. And switching to DCS side manual control after communication is interrupted.
The advantages and disadvantages are as follows: the method has the advantages that the logic and interface constraints of the original DCS are removed, the operation interface is redesigned, and the original algorithm of the DCS side is not used; the defects are that the operation interface of the loop needs to be redesigned, the workload of picture change is large, the auxiliary logic is more, and the operation interface and the habit of the original system are changed.
When the communication is normal, the two loop control algorithms can be freely switched. When the loop control uses a DCS system control algorithm, the output instruction is obtained by calculation of the DCS algorithm, and the advanced control station algorithm needs to monitor and track data on the DCS side at the moment; when an operator switches the algorithm to the advanced control station, the algorithm of the advanced control station needs to be calculated and output by continuing the output instruction of the DCS without disturbance, and the DCS algorithm needs to track the data of the side of the advanced control station; when the operator switches to the control algorithm at the DCS side again, the DCS can continue the output of the advanced control station without disturbance, and the undisturbed free switching of the two algorithms is realized.
Undisturbed switching mode of output instructions:
the undisturbed switching of the output instruction is the most basic requirement for switching the advanced control algorithm and the DPU algorithm, and is a basic means for ensuring the operation safety. The switching idea is that an advanced control station outputs an instruction to track a DCS side loop output value manually, a DCS side output channel selects the advanced control station output value after an advanced control station algorithm is put into use, and the calculation output of the DCS tracks the value of the advanced control station, so that the undisturbed switching of the instruction is realized.
As shown in fig. 4a, the method is realized by using the original tracking function of the DCS side algorithm controller, the output value of the advanced control station is connected to the tracking value port of the algorithm block, the tracking switch port is controlled by taking and selecting the signal and communication state through the algorithm, and when the output condition of the tracking advanced control station is satisfied, the tracking switch is turned on, and the tracking value is output to the instruction channel of the device; when the tracking condition is not satisfied, the controller normally outputs the calculated value of itself.
The output of the advanced control station can be sent to a tracking port of the DCS side controller, the DCS side controller is switched to a tracking mode when the advanced control station is automatic, and a tracking value is sent to an output channel. The specific mode is that for the DCS with the hand operator and the PID controller separated, a tracking switch and a tracking value port on the hand operator are selected, and for the DCS with the hand operator and the PID controller integrated, a tracking switch and a tracking value port of the PID are selected. The advanced control station is output to the tracking value port, the tracking switch is controlled according to the state of the advanced control station output, the port opens the tracking function only when the algorithm is selected to be output by the advanced control station, the tracking value is transmitted to the output channel of the controller or the hand operator, the corresponding module state is tracking, and the operation panel or the monitoring panel displays the algorithm output state of the advanced control station. The advanced control station outputs and selects necessary conditions to be set, the tracking switch can be turned on the premise of ensuring safety and reliability, the general conditions are that communication is free of faults, a loop normally runs without forced manual operation, and tracking can be turned on after meeting the switching conditions of a switching mode and the like.
As shown in fig. 4b, the second way is to perform an alternative operation on the output instruction channel, select the advanced control station to output the instruction if the output condition of the advanced control station is satisfied, and output the DCS algorithm instruction if the output condition of the advanced control station is not satisfied.
The output of the advanced control station and the output of the DCS side controller enter an instruction output channel in a selection mode, the state of a selection switch determines the calculation result of the side to be used, the selection switch is the same as the tracking switch of the mode I, and the selected input value channel corresponds to the calculation output of the DCS side and the calculation output of the advanced control station. When the advanced control station output value is selected, the advanced control station value is given to the command channel, and the output value on the DCS side tracks the command output channel.
Examples
The first mode of communication fault judgment is trial implementation on the Zheda central control DCS, the trial implementation is carried out by judging the pulse state, the configuration logic is to read the pulse signal and invert the pulse signal, then the communication pulse and the inverted pulse are judged by using the delay-on (input is 1 and output is 1 after keeping the set time, otherwise, output is 0) function block, and the communication state is obtained by extracting or calculating the output results of the two delay-on. When the communication is normal, the time-delay input end is changed by 0 and 1, the set judgment time is 3-5 times longer than the change period, the output is always 0, or the result is also 0, which indicates that the communication is normal; after communication is interrupted, the pulse signal is not changed, one of the two input ends which are delayed to be opened is kept to be 1, the other input end is kept to be 0, and after the judgment time is up, or the result is changed to be 1, the communication fault is indicated.
The second way of communication fault judgment is realized on a Harmonious DCS, and is realized by judging the change rate of the ramp wave, and the configuration logic is that the change rate of the ramp wave signal within a certain time is taken to judge whether the change rate is 0 or not. When the communication is normal, the ramp wave signal changes all the time, the change rate is also changed and is not 0, if the communication fails, the ramp wave signal is not kept unchanged in the refreshing value, the change rate is gradually 0, and the communication is interrupted.
The first and second loop algorithm selection modes are tried on a DCS of a certain power plant, the logic configuration is that a manual state, an automatic state and an automatic state display of an advanced control station are set on a panel of a manual operation regulator, when the system algorithm is manually operated, the manual operator displays a red M state, when the DCS is automatically operated, a green A state is displayed, when the system algorithm is optimized, a green I state is displayed, and the algorithm switching state is also operated through a state button. The same way is used for status display on the advanced control station (the advanced control station is used as an algorithm station, is usually operated in the background, and is not recommended to be used as an operation station). If the operation station is used as an operation station, the same function as that of switching the manual operation panel on the DCS side may be provided.
The third method for realizing loop algorithm selection mode on the central control DCS is characterized in that the logic configuration is that the connection between the DCS side PID and the manual operator is disconnected, the advanced control station is connected and output to the input end of the manual operator, the manual operator directly gives an operation value during manual operation, and the output value of the advanced control station enters the manual operator to give an instruction during automatic operation, namely the advanced control station algorithm replaces the original PID algorithm, the panel operation and display mode is kept unchanged, but in order to embody that the calculation result of the advanced control station is used during automatic operation, the automatic state of the manual operator needs to be modified or explained, so that the operating personnel can clearly define the using state of the algorithm, and the confusion is avoided.
And the loop algorithm selection mode is a trial implementation on Siemens PCS7, and the logic configuration is that the setting value variable and the output variable of the advanced control station and a manual-automatic switching button are independently established, the original logic output of the DCS is disconnected, the output of the advanced control station is connected to the instruction channel, and all loop algorithms adopt the programs of the advanced control station.
The first output value switching mode is realized on a cross river DCS of a power plant by a mode of butting tracking ports of PID algorithm modules, the configuration is that the output value of an advanced control station is connected to a TIN port of a PID, a tracking switching judgment result is connected to a TSI port, an algorithm state switching mode is adopted for operation judgment, firstly, the communication state is normal, an optimization algorithm selection switch is opened, a loop is put into an automatic state, the PID allows tracking, the advanced control station algorithm enters calculation and transmits a node to a tracking value of the PID, the PID is in a tracking state and is not in calculation, and only the tracking value is given to an output channel. The corresponding interface is displayed as an advanced control station automatic mode, PID tracking is carried out, if a communication fault or other faults cause a loop to be manually switched, the algorithm state is switched back to DCS manual mode, and the reset of the optimization algorithm selection switch is reset by the communication fault or manual reset.
The second output value switching mode is tried on a Zheda central control DCS of a certain power plant, the configuration is that a selection module is added in the connection of a PID and a manual operator, a channel is selected to be connected with the PID output, a channel is connected with the advanced control station output, a selection switch is connected with algorithm selection judgment, the judgment condition is that the communication is normal, a loop manual operator is put into automation and put into the advanced control station for selection, the advanced control station input channel is selected to be put into the manual operator, if the condition is not met, the PID is selected to be output to the manual operator, after the algorithm of the advanced control station is selected, the state of the PID needs to be switched to manual operation, otherwise, the PID is calculated, the result cannot be tracked, the result is inconsistent with the output of the advanced control station, and the operation safety is affected due to the occurrence of instruction error of the. The display state corresponds to the switching process of the second switching mode.

Claims (7)

1. The method for realizing the interface between the advanced control station and the distributed processing control unit is characterized by comprising the following steps:
s01 communication diagnosis of advanced control station and distributed processing control unit
Establishing data communication between an advanced control station and a distributed processing control unit, judging the bidirectional communication state, and judging the data transmission state by monitoring the state of a communication code in real time; the advanced control station and the distributed processing control unit respectively judge the received signal change and carry out time delay confirmation for a period of time, if the signal delay confirmation is unchanged, a communication fault flag bit is set, algorithms on two sides carry out corresponding processing, if the received communication signal is normal, the communication is normal, and the algorithm switching of the next step is carried out;
s02, algorithm switching
The DCS side loop control algorithm and the advanced control station algorithm are freely switched;
s03 undisturbed switching of output command
When the DCS is controlled, an advanced control station outputs an instruction to track an output value of a DCS side loop, an advanced control station output value is selected by a DCS side output channel after an advanced control station algorithm is input, and the value of the advanced control station is tracked by the calculation output of the DCS, so that the undisturbed switching of the instruction is realized.
2. The advanced control station and distributed processing control unit interface implementation method of claim 1, wherein: the communication diagnosis of the advanced control station and the distributed processing control unit is realized by adopting two types of communication codes;
the judgment method is as follows: communicating diagnostic signals-pulse type
Generating 0/1 pulse signals in the advanced control station and distributed processing control unit logic and sending the pulse signals to the opposite side, judging the received signal change by the advanced control station and the distributed processing control unit, carrying out time delay confirmation for a period of time, taking or relation between pulse signal delay on and pulse signal delay off after negation, setting a communication fault flag bit if the signal delay confirms no change, and carrying out corresponding processing by algorithms on two sides; if the received communication signal is normal, the communication is normal;
and a second judgment mode: communication diagnostic signal-ramp type
Generating a continuously variable natural number in the advanced control station and distributed processing control unit logics, continuously circulating, respectively judging the received signal change by the advanced control station and the distributed processing control unit, and performing time delay confirmation for a period of time, wherein the judgment method is that the current value of the ramp signal is different from the delay output value, the communication is interrupted if the difference value is 0, and if the signal delay confirmation is unchanged, the communication fault flag is set, and the algorithms on the two sides perform corresponding processing; if the received communication signal is normal, the communication is normal, and algorithm switching can be performed.
3. The advanced control station and distributed processing control unit interface implementation method of claim 2, wherein: when the communication diagnosis of the advanced control station and the distributed processing control unit is carried out, communication state display and alarm are set at the advanced control station and the DCS, and after the communication is broken or delayed for a long time, the communication fault is detected, alarm information and indication state change are given, and monitoring personnel are reminded to process the fault in time; meanwhile, the program makes corresponding action, the advanced control station side quits automatically in time after communication failure, data of the DCS side starts to be tracked, the DCS data is synchronized after communication is normal, and the operation safety when the control algorithm is switched to the advanced control station again is guaranteed; after the DCS side detects the communication fault, the algorithm control of the advanced control station is quitted during the fault program, the control of the DCS side is switched back, and the algorithm selection button of the advanced control station is reset to prevent the control of the advanced control station from being switched again under the condition that no monitoring personnel confirms after the communication is recovered, so that the operation safety risk is caused.
4. The advanced control station and distributed processing control unit interface implementation method of claim 1, wherein: the algorithm switching comprises four switching modes;
the switching mode is as follows: the method comprises the steps that an advanced control algorithm switching button is additionally arranged on a DCS side, the button can be used after communication is normal and a DCS side control loop is automatically switched, the DCS side loop control algorithm is automatically switched from manual operation to automatic operation, then an advanced control station algorithm is switched, the DCS side and the advanced control station are manually operated after the manual operation is switched, the advanced control station automatic switching button is reset, and the advanced control station button can be used for independently switching the automatic operation of the advanced control station under the condition that the DCS side is automatic;
and a second switching mode: an advanced control station algorithm selection button is newly added and can be used in a normal communication state; firstly, inputting an algorithm selection button of an advanced control station, and then directly switching manual and automatic control of the advanced control station through a manual and automatic button of a loop of DCS logic, wherein after a control mode of the advanced control station is cut off, the manual and automatic control is manual and automatic switching of a DCS side algorithm, and if the advanced control algorithm mode is cut off in the automatic operation process of the advanced control, the loop is switched to a manual state;
and a third switching mode: adding an advanced control algorithm input button, wherein the button can be used when the communication is normal, and directly switching the automatic advanced control station through an original panel without using the automatic program of DCS;
and a switching mode is four: an advanced control algorithm manual and automatic switching button is added, and the automatic switching button can be used when the communication is normal; redefining manual and automatic switching buttons, and directly controlling the algorithm of the advanced control station manually and automatically through the buttons.
5. The advanced control station and distributed processing control unit interface implementation method of claim 1, wherein: adopting two algorithm instructions to realize undisturbed switching of two output instructions;
the switching mode is as follows: the output of the advanced control station is fed to a tracking port of a DCS side controller, the DCS side controller is switched to a tracking mode when the advanced control station is automatic, and a tracking value is fed to an output channel;
and a second switching mode: the output of the advanced control station and the output of the DCS side controller enter an instruction output channel in a selection mode, the state of a selection switch determines which side of the calculation result is used, and the selected input value channel corresponds to the DCS side calculation output and the advanced control station calculation output; when the advanced control station output value is selected, the advanced control station value is given to the command channel, and the output value on the DCS side tracks the command output channel.
6. The method as claimed in claim 5, wherein the switching manner comprises the following specific steps: for DCS with the hand operator and the PID controller separated, selecting a tracking switch and a tracking value port on the hand operator, and for DCS with the hand operator and the PID controller integrated, selecting a tracking switch and a tracking value port of the PID; the advanced control station output is connected to the tracking value port, the tracking switch is controlled according to the state of the advanced control station output, the port opens the tracking function when the algorithm is selected to be output by the advanced control station, the tracking value is transmitted to the output channel of the controller or the manual operator, the corresponding module state is tracking, and the operation panel or the monitoring panel displays the algorithm output state of the advanced control station.
7. The advanced control station and distributed processing control unit interface implementation method of claim 1, wherein: the communication diagnosis signal adopts a bidirectional transmission mode of an advanced control station and a distributed processing control unit, the diagnosis signal transmitted by the advanced control station is used for the distributed processing control unit to detect whether an output instruction of the advanced control station is effective or not, and the distributed processing control unit switches back to a DCS control algorithm when a fault occurs; the distributed processing control unit sends a diagnosis signal to the advanced control station, the diagnosis signal is used for the advanced control station to detect whether the acquired DCS side process data and the switching instruction are current effective values or not, the advanced control station quits corresponding calculation when a fault occurs, preparation for tracking the DCS side data is made, and the refreshing data is kept consistent with the DCS data after communication is switched on.
CN202110752553.2A 2021-07-02 2021-07-02 Advanced control station and distributed processing control unit interface implementation method Pending CN113359423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110752553.2A CN113359423A (en) 2021-07-02 2021-07-02 Advanced control station and distributed processing control unit interface implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110752553.2A CN113359423A (en) 2021-07-02 2021-07-02 Advanced control station and distributed processing control unit interface implementation method

Publications (1)

Publication Number Publication Date
CN113359423A true CN113359423A (en) 2021-09-07

Family

ID=77538092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110752553.2A Pending CN113359423A (en) 2021-07-02 2021-07-02 Advanced control station and distributed processing control unit interface implementation method

Country Status (1)

Country Link
CN (1) CN113359423A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135887A (en) * 2006-09-01 2008-03-05 大庆开发区华创电子有限公司 High robust advanced control method and control system thereof
CN102915002A (en) * 2012-03-14 2013-02-06 上海西门子工业自动化有限公司 Distributed control system
CN103728946A (en) * 2013-12-31 2014-04-16 广东电网公司电力科学研究院 Coordination control method of unit plant

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135887A (en) * 2006-09-01 2008-03-05 大庆开发区华创电子有限公司 High robust advanced control method and control system thereof
CN102915002A (en) * 2012-03-14 2013-02-06 上海西门子工业自动化有限公司 Distributed control system
CN103728946A (en) * 2013-12-31 2014-04-16 广东电网公司电力科学研究院 Coordination control method of unit plant

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘坚;: "先进控制系统与中控DCS系统控制站控制组态讨论分析", 企业技术开发, no. 05 *
李延浩 等: "APC与DCS控制系统安全切换的设计与应用", 《石油石化绿色低碳》, vol. 5, no. 4, pages 14 - 16 *

Similar Documents

Publication Publication Date Title
EP0144953A2 (en) Method of detecting recovery from fault in a data transmission system which effects loopback control
EP3886115A1 (en) Nuclear power plant digital auxiliary control panel system and design method, and control system
CN108923530A (en) A kind of double set redundancy switching methods of transformer station measurement and control device
CN107957692A (en) Controller redundancy approach, apparatus and system
CN111077842B (en) Automatic switching control system for alloy electric vibration fault behind converter
CN109555888B (en) Control system and test method for main steam isolation valve of nuclear power platform
CN113359423A (en) Advanced control station and distributed processing control unit interface implementation method
CN106597944B (en) A kind of two CSTR controller seamless switch-over system and switching method
CN105404287B (en) The control switching method of data acquisition analysis system based on heart-beat protocol
CN110829536A (en) Safety redundancy control device and method of intelligent battery charger
JP2006115577A (en) Standby current breaker and standby current breaking system
CN210041307U (en) Power supply system power failure protection system based on PLC control
CN108082214A (en) Key operation emergency response system based on track traffic SCADA
CN111645068A (en) Action control method and system and intelligent robot
KR100685443B1 (en) Remote Terminal Unit for integrated ship automation control
JPH11252827A (en) Monitor/control system, system protection control system and computer-readable storage medium
CN112596480B (en) Double-loop control device, method and system
CN113409976B (en) Non-safety-level process control system of nuclear power station
CN107463148A (en) A kind of method of PLC redundancies switching
CN211744023U (en) Self-healing system for avoiding station power failure risk by utilizing mutual feeder rule
CN220107655U (en) Manual synchronous closing command-issuing device of large hydropower station unit
CN109313421B (en) Industrial control system communication method and industrial control system
CN118346590A (en) Nuclear power plant electric main feed pump rotating speed adjusting control system and method
CN118295856A (en) Interrupt processing method and device for target communication
CN201113544Y (en) Oil engine switching control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination