CN108829051B - Method and device for simulating DCS avalanche working condition - Google Patents

Method and device for simulating DCS avalanche working condition Download PDF

Info

Publication number
CN108829051B
CN108829051B CN201810547254.3A CN201810547254A CN108829051B CN 108829051 B CN108829051 B CN 108829051B CN 201810547254 A CN201810547254 A CN 201810547254A CN 108829051 B CN108829051 B CN 108829051B
Authority
CN
China
Prior art keywords
avalanche
dcs
data
data point
data points
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.)
Active
Application number
CN201810547254.3A
Other languages
Chinese (zh)
Other versions
CN108829051A (en
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.)
China General Nuclear Power Corp
China Techenergy Co Ltd
Original Assignee
China General Nuclear Power Corp
China Techenergy 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 China General Nuclear Power Corp, China Techenergy Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201810547254.3A priority Critical patent/CN108829051B/en
Publication of CN108829051A publication Critical patent/CN108829051A/en
Application granted granted Critical
Publication of CN108829051B publication Critical patent/CN108829051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/41845Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by system universality, reconfigurability, modularity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention belongs to the technical field of industrial automation control, and provides a simulation method and a device applied to DCS avalanche working condition of a nuclear power station, wherein the method comprises the following steps: s1, deriving an engineering database from the DCS, wherein the I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items; s2, screening the data points in the engineering database to obtain avalanche test data point items simulating avalanche working conditions; s3, storing the avalanche test data points of the simulated avalanche working condition according to a designed format; s4, combining the avalanche test data point items stored according to the design format with a timer, periodically transmitting the avalanche test data point items into a DCS through DCS interface equipment, and forcibly changing the value of the avalanche test data point to realize automatic simulation of the avalanche working condition; therefore, in the avalanche working condition simulation process, a separate signal generation device for simulating bottom layer equipment is omitted, and the test cost is reduced.

Description

Method and device for simulating DCS avalanche working condition
Technical Field
The invention relates to the technical field of industrial automation control, in particular to a method and a device for simulating an avalanche working condition applied to a nuclear power station DCS.
Background
In the technical field of nuclear power station DCS (Digital control system), avalanche means that when a major accident occurs in a nuclear power station, a large amount of rapid changes in field signals affect the DCS; the working condition is called an avalanche working condition, which causes huge load impact on the DCS, and can cause partial DCS equipment to be out of work due to failure in severe cases. Therefore, before the DCS is put into use formally, an avalanche test needs to be performed, that is, whether the function and performance of the DCS meet the design requirements or not is verified under the condition of simulating an avalanche working condition. The verification is an important test content of the nuclear power station DCS, and an avalanche test is required to be carried out no matter the nuclear power station DCS controls the safety-level DCS of a nuclear island or controls the non-safety-level DCS of a conventional island. The essence of the nuclear power station DCS avalanche test is to verify whether effective data transmission and data processing capacity of the nuclear power station DCS is still kept under the limit working condition, so that the nuclear power station is still in the control range of the DCS, and safe and stable operation and driving protection of the nuclear power station are realized.
As shown in fig. 1, a test device for a digital instrument Control system of a nuclear power Station is disclosed in chinese patent application No. CN201110092105.0, and the test device is a microcomputer device, which can run a script program for controlling the physical point changes of the switching value and the analog value, and can output a Control signal to a terminal module or a card of a Control cabinet of a Field Control Station (FCS Station, hereinafter referred to as FCS Station) through related devices.
The inventor finds that the prior art at least has the following defects in the process of implementing the invention:
1. a test device has a limited number of signals that can be simulated. To simulate the variation of a large number of physical points, it is only possible to increase the number of test devices, which increases the test cost. For example, in the current vertical avalanche test of the non-safety-level DCS, four test devices are used to simulate an avalanche condition, so that the test cost is relatively high.
2. The script program running in the test device needs to be continuously modified along with the selection of the avalanche test data points, so that the test working time is increased. For example, after an avalanche test is performed in the FCS station 10, if it is desired to perform an avalanche test again in the FCS station 11, the corresponding data points used by the script program need to be modified.
3. Due to the condition limitation of the testing device and the FCS station control cabinet, one testing device can only be connected with one FCS station control cabinet, so that the selection range of the avalanche working condition data is narrow, and all data points of the avalanche working condition cannot be comprehensively and randomly covered.
Disclosure of Invention
In order to solve the technical problem caused by the fact that the simulation avalanche working condition in the prior art is limited by the fact that a testing device of a digital instrument control system of a nuclear power station is insufficient, the invention provides a method and a device for simulating the DCS avalanche working condition with low cost and high efficiency.
In order to achieve the above object, the technical solution provided by the present invention comprises:
in one aspect, a method for simulating a DCS avalanche condition is provided, where the method includes:
s1, deriving an engineering database from the DCS, wherein the I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items;
s2, screening the data points in the engineering database to obtain avalanche test data point items simulating avalanche working conditions;
s3, storing the avalanche test data point item of the simulated avalanche working condition according to a designed format;
and S4, combining the avalanche test data point items stored according to the design format with a timer, periodically transmitting the avalanche test data point items into the DCS through DCS interface equipment, and forcibly changing the value of the avalanche test data point to realize the automatic simulation of the avalanche working condition.
Preferably, the screening of the data point items in step S2 includes the steps of: 1) automatically screening the data points in the engineering database according to the terminal module position point item, so that all I/O data points including the terminal module position point item in the engineering database are screened out; 2) screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened out in the step 1) according to the module type; 3) manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening the DI and AI data screened in the step 2) again according to the number of avalanche test data points; so that avalanche test data point items meeting the simulated avalanche working condition of the data volume are screened out.
Preferably, the storage format designed in step S3 refers to a self-defined structure array corresponding to the avalanche time, and the value of the avalanche test data point item for simulating the avalanche condition in the self-defined structure array should be a value whose value needs to be manually and forcibly changed according to the corresponding avalanche time interval.
Further preferably, the avalanche test data point item storage mode of each simulated avalanche condition at least includes a self-defined structure array name, a data point item value and an avalanche time interval which are associated with each other.
Further preferably, in step S4, after the avalanche test timing starts, by running the timer, when a certain time is reached, the corresponding custom structure array is triggered and called, and the value of the corresponding parameter is transmitted into the DCS through the interface device of the DCS to perform forced conversion; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
On the other hand, the invention also provides a simulation device of the DCS avalanche working condition, which is characterized by comprising the following components:
a data receiving unit for deriving an engineering database from the DCS, wherein I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items;
the data screening unit is used for screening data points in the engineering database to obtain an avalanche test data point item simulating an avalanche working condition;
the data storage unit is used for storing the avalanche test data point item simulating the avalanche working condition according to a designed format;
the data operation unit is provided with a timer and is used for periodically transmitting the avalanche test data point items stored according to the design format into the DCS through the DCS interface equipment in combination with the timer, forcibly changing the value of the avalanche test data point and realizing the automatic simulation of the avalanche working condition.
Preferably, the screening of the data point items by the data screening unit comprises the steps of: 1) automatically screening the data points in the engineering database according to the terminal module position point item, so that all I/O data points including the terminal module position point item in the engineering database are screened out; 2) screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened out in the step 1) according to the module type; 3) manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening the DI and AI data screened in the step 2) again according to the number of avalanche test data points; so that avalanche test data point items meeting the simulated avalanche working condition of the data volume are screened out.
Preferably, the storage format designed in the data storage unit refers to a self-defined structure array corresponding to the avalanche time, and the value of the avalanche test data point item for simulating the avalanche condition in the self-defined structure array is a value of which the value needs to be manually and forcibly changed according to the corresponding avalanche time interval.
Further preferably, the avalanche test data point item storage mode of each simulated avalanche condition at least includes a self-defined structure array name, a data point item value and an avalanche time interval which are associated with each other.
Further preferably, after the avalanche test timing starts, the data operation unit triggers and calls the corresponding self-defined structure array through the operation of the timer when a certain time is reached, and transmits the self-defined structure array into the DCS through the interface device of the DCS to perform forced conversion on the values of the corresponding parameters; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
By adopting the technical scheme provided by the invention, at least one of the following beneficial effects can be obtained:
1. based on the property that the value of an input/output signal of an I/O variable data point of a nuclear power station DCS can be manually and forcibly changed, the value of the I/O data point in the DCS is directly and forcibly changed, and the occurrence condition of an avalanche working condition is simulated; a signal generating device for simulating bottom equipment is omitted, so that the test cost is reduced; and the inconvenience caused by the small number of signals and wiring of the signal generating device of the single analog bottom layer equipment is avoided.
2. By adopting the avalanche test data screening method, avalanche test data point items to be simulated can be quickly and accurately found, the operation script required to be designed by the DCS avalanche condition simulation device is cancelled, and the testing efficiency is improved.
3. The avalanche test data point items stored according to the design format are stored in a computer memory, so that the avalanche test data point items can be conveniently operated together with a timer, and the avalanche working condition can be quickly and automatically simulated.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure and/or process particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
FIG. 1 is a schematic diagram of a connection structure of a testing device for a digital instrument control system of a nuclear power plant in the prior art;
fig. 2 is a flowchart of a method for simulating a DCS avalanche condition according to an embodiment of the present invention;
fig. 3 is a flowchart of data screening in the simulation method of the DCS avalanche condition according to the first embodiment of the present invention;
FIG. 4 is a diagram illustrating the physical point variation required for a vertical avalanche test according to a second embodiment of the present invention;
fig. 5 is a flowchart of data screening in the simulation method of the DCS avalanche condition according to the second embodiment of the present invention;
fig. 6 is a schematic diagram of a structural body array designed in the simulation method for DCS avalanche condition according to the second embodiment of the present invention;
fig. 7 is a schematic view of an avalanche test automatic processing flow in the simulation method of DCS avalanche condition according to the second embodiment of the present invention;
fig. 8 is a block diagram of a structure of a DCS avalanche condition simulation apparatus according to a third embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that the detailed description is only for the purpose of making the invention easier and clearer for those skilled in the art, and is not intended to be a limiting explanation of the invention; moreover, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are all within the scope of the present invention.
Additionally, the steps illustrated in the flow charts of the drawings may be performed in a control system such as a set of controller-executable instructions and, although a logical ordering is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than that illustrated herein.
The technical scheme of the invention is described in detail by the figures and the specific embodiments as follows:
example one
As shown in fig. 2, the method for simulating a DCS avalanche condition according to this embodiment includes:
s100, deriving an engineering database from the DCS, wherein I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items.
And S102, screening the data points in the engineering database to obtain an avalanche test data point item simulating an avalanche working condition. More specifically, as shown in fig. 3, the specific process of screening the data point items provided in this embodiment includes:
s1020, automatically screening the data points in the engineering database according to the terminal module position point item, so that all the I/O data points containing the terminal module position point item in the engineering database are screened out;
s1022, screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened in the S1020 according to the module types;
s1024, manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening DI and AI data screened in S1022 again according to the number; so that avalanche test data point items meeting the simulated avalanche working condition of the data volume are screened out.
And S104, storing the avalanche test data point item simulating the avalanche working condition according to a designed format. Preferably, the designed storage format refers to a self-defined structure array corresponding to the avalanche time, and in the self-defined structure array, the value of the avalanche test data point item for simulating the avalanche condition is a value of which the value needs to be manually and forcibly changed according to the corresponding avalanche time interval. Further preferably, the avalanche test data point item storage mode of each simulated avalanche condition at least comprises a self-defined structure body array name, a data point item value and an avalanche time interval which are mutually related.
And S106, combining the avalanche test data point items stored according to the design format with a timer, periodically transmitting the avalanche test data point items into the DCS through DCS interface equipment, and forcibly changing the value of the avalanche test data point to realize the automatic simulation of the avalanche working condition. The avalanche test data point item storage mode for simulating the avalanche working condition corresponds to the avalanche time interval, so that when the timer times out different time intervals, the avalanche test data point items corresponding to the different time intervals are automatically selected as parameters required by the avalanche working condition simulation; after the avalanche test timing is started, triggering and calling a corresponding self-defined structure array at a certain moment through the operation of a timer, and transmitting the self-defined structure array into the DCS through interface equipment of the DCS to perform forced conversion on the value of a corresponding parameter; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
By adopting the technical scheme provided by the embodiment, at least one of the following beneficial effects can be obtained:
1. based on I/O variable data points of the nuclear power station DCS, the attribute of the value of an input/output signal of the I/O variable data points can be manually and forcibly changed in the DCS, the value of the data points in the DCS is directly and forcibly changed, and the occurrence condition of an avalanche working condition is simulated; a signal generating device for simulating bottom equipment is omitted, so that the test cost is reduced; and the inconvenience caused by the small number of signals and wiring of the signal generating device of the single analog bottom layer equipment is avoided.
2. By adopting the avalanche test data screening method, avalanche test data point items to be simulated can be quickly and accurately found, the operation script required to be designed by the DCS avalanche condition simulation device is cancelled, and the testing efficiency is improved.
3. The avalanche test data point items stored according to the design format are stored in a computer memory, so that the avalanche test data point items can be conveniently operated together with a timer, and the avalanche working condition can be quickly and automatically simulated.
Example two
Conventional avalanche tests can be generally divided into three types of vertical avalanche, horizontal avalanche and system avalanche according to the signal types simulating the avalanche condition, and the three types of avalanche tests are defined as follows:
1. the vertical avalanche is caused by the fact that a large amount of data is transmitted between Level1 layer equipment and Level2 layer equipment of the nuclear power station DCS;
2. horizontal avalanche refers to avalanche caused by the transfer of a large amount of data between automatic control units in the same instrument control island and between automatic control units in different instrument control islands;
3. system avalanche refers to avalanche caused by a partial DCS cabinet failure or reset.
When an avalanche test is performed, the focus of attention is slightly different, and the focus of attention of the non-safety DCS is the load and communication capacity of a server and a Field Control Station (FCS Station for short hereinafter); besides load and communication capacity, the safety-level DCS pays more attention to whether various response time indexes under the avalanche working condition meet design requirements or not, and the requirements are consistent with the control requirements of the safety-level DCS on the nuclear island.
In order to explain the specific implementation manner of the present invention more clearly, the present embodiment uses the vertical avalanche test of the non-safety-level DCS as an example to describe the current avalanche testing method and the simulation method proposed in the present embodiment, and the other forms of avalanche tests are not described in detail because the principle is basically the same and the testing method is the same. Unless otherwise specified, reference to avalanche is to vertical avalanche of an unsafe-grade DCS, and the avalanche test is used in the present context in the same sense as the avalanche test term.
As shown in fig. 4, it is a schematic diagram of the physical point change required by the non-safety level DCS vertical avalanche test in a nuclear power plant DCS project. From fig. 4, it can be seen that 1200 switching value points (DI points) and 200 analog value points (AI points) are required to be arbitrarily selected from DCS, from the beginning of timing, the avalanche condition lasts 340 seconds, and the switching value at the highest peak time generates 1200 events per second, i.e. the switching values 0 and 1 are shifted; the analog quantity generates 200 events per second, namely the analog quantity is changed in a range of 0-100%. Specific changes are shown in table 1 below.
Serial number Time Number of displacement of switching point Number of analog point changes
0 0 to 10 seconds 0 0
1 11 seconds 240 0
2 12 seconds 480 0
3 13 seconds 720 0
4 14 seconds 960 0
5 15 seconds 1200 0
6 16 seconds 960 0
7 17 seconds 720 0
8 18 seconds 480 0
9 19 seconds 240 0
10 20 to 70 seconds 0 200
11 71 seconds 60 200
12 72 seconds 120 200
13 73 seconds 180 200
14 74 seconds 240 200
15 75 seconds 300 200
16 76 seconds 240 200
17 77 seconds 180 200
18 78 seconds 120 200
19 79 seconds 60 200
20 80-320 seconds 0 200
21 32l to 340 seconds 0 0
TABLE 1 statistics of vertical avalanche operating point numbers
Since the avalanche test requires 1400 physical points of DI and AI, if the avalanche condition is simulated according to the test apparatus provided in the background art, it often takes a person several days to complete the work of only manual wiring.
In the embodiment, a method for simulating an avalanche working condition by applying a changed data signal to the outside of the DCS through hardware in the prior art is abandoned, and the avalanche working condition is simulated by forcing a relevant I/O variable point to change according to an avalanche corresponding requirement in the DCS. The method is based on the property that the I/O variable data points of the nuclear power station DCS system can manually and forcibly change the numerical value of the input/output signal of the I/O variable data points. The I/O data points of the nuclear power plant DCS system usually have an attribute that can be manually intervened in the input/output signal values, i.e., an attribute that can be manually forced to change the values, which is referred to as a competable attribute for short. The setting of the mandatory properties of the I/O data points facilitates the input/output situation where an operator may intervene and control the I/O data points manually in some cases. Another wide application of forcing the attribute is that in the process of DCS test and field debugging, the state of a Level0 layer device can be simulated by using the attribute, and in the case of not having a Level0 layer device or in the case of using a Level0 layer device for protection, the state of a Level0 layer device can be simulated by a forcing function.
The embodiment simulates the avalanche working condition by forcibly changing the selected data in the DCS system, and is not influenced and limited by related hardware. Since many FCS stations in the DCS system are controlled by the DCS, the avalanche test data can be selected within any range of I/O data of the FCS stations.
As shown in fig. 5, the flow of data screening in the simulation method for DCS avalanche condition provided by this embodiment includes:
and S200, exporting the engineering database from the DCS.
The engineering database is a basic component of the nuclear power plant DCS, and in the field of the nuclear power plant DCS, the related information of the nuclear power plant equipment is collected, displayed, logically calculated, and externally output control information in the form of data points in the DCS. The engineering database is a collection of these data points and their point entries, and is in the form of an EXCEL table containing multiple page pages, each page representing a data type, i.e., data points of the same type are stored in the same page.
In each SHEET page of the engineering database, the data points are arranged in rows, and the various point entries are distributed in columns. The non-safety level DCS system of a conventional nuclear power station has about 50000 data points, and the average point item of each data point is about 30 items, so that the data volume of the non-safety level DCS system only can reach 150 ten thousand. Of the 5 ten thousand data points, about 2-3 thousand I/O data points for DCS signal collection and signal output, and the rest are intermediate data points for signal transmission and logic calculation.
S202, opening a project database. I.e. opens the project database in step S200.
And S204, searching and extracting all I/O data point items according to the point item of the terminal row number.
Since the Data points used in the avalanche test are I/O Data points and only Input Data points (Input Data), all I/O Data points need to be searched and extracted from the database first, but since there are many point items of the Data points and many point items are not used in the avalanche test, the embodiment provides a technical solution in which only some point item values related to the avalanche test need to be searched and extracted when searching and extracting the I/O Data points, and therefore, the embodiment constructs an avalanche test Data search template in which the point items and specific meanings of the selected avalanche test Data points are as shown in table 2 below.
Figure BDA0001680053770000111
TABLE 2 Point item of avalanche test data points and detailed meanings
Then, the avalanche test data point is automatically searched through a program and extracted into an avalanche test data searching template. However, because the data volume of the engineering database is very huge, if the engineering database is searched one by one, even if the application program automatically queries, the speed is slow, and the efficiency is low. For the characteristics of the I/O data points, in the query, the technical solution provided by this embodiment uses the term "terminal module position (TNUM)" as a query condition, because only the I/O data points in the DCS are collected or output through the terminal module, that is, only the I/O data points have the term "terminal module position (TNUM)", so the query is performed according to the term "terminal module position (TNUM)", and the queried data will be all I/O data points. The I/O data is screened from the engineering database according to the point item of 'terminal module position (TNUM)' and the 'avalanche test data search template', and the I/O data is the first screening of the avalanche test data.
S206, sorting the searched I/O data according to the station number, the module number and the channel number.
The overall I/O data retrieved and extracted from the DCS engineering database is ordered by the number of the FCS station (station number), the number of the module in the FCS station (module number), and the number of the relevant channel in the module (channel number). The purpose of the ordering is to facilitate further extraction of data points used to simulate avalanche conditions.
And S208, screening the DI and AI data point items according to the module type.
DI and AI data points are screened from the totality of I/O data according to module type, which are physical points used for DCS signal acquisition, while other data points such as DO and AO are physical points used for DCS signal output and cannot be used in avalanche testing. After screening the DI data and the AI data from the database, which are data that can be used for avalanche testing, the avalanche test data should be selected from these data points, and thus the second avalanche test data screening is completed.
Since the Level1 layer of the nuclear power plant DCS in this embodiment is the HOLLiAS-N operating system of the hitachi company, the data points of the NM622A (DI data point, terminal module model used is NM3610) module and NM480(AI data point, terminal module model used is NM3480) module, which are also the largest number, which are often used in the HOLLiAS-N system, are selected as avalanche test data points, from which 1200 DI signals and 200 AI signals are selected.
And S210, counting the number of DI and AI points contained in each FCS station.
Since the avalanche test only uses 1200 DI points and 200 AI points, and the number of NM622A (DI) data points and NM480(AI) data points that we have screened is about 9000 more than the number required for the avalanche test, the data point of the third avalanche test is selected. The third avalanche test data selection manually specifies the number of DI and AI data points used by each FCS station, so it is necessary to count the number of DI and AI data points contained in each FCS station.
And S212, manually selecting the number of DI points and AI points used for the avalanche test of each FCS station.
The number of NM622A and NM480 data points that each FCS station contains may be calculated from the program, from the specific number used by each FCS station.
And S214, randomly screening avalanche test data point items according to the number of manually selected DI and AI points.
In order to embody the randomness of the selected data, random functions are used for random decimation according to the number of DI points and AI points of each FCS station selected manually in the step by a computer program; this is the third screening of the avalanche experimental data.
S216, storing the selected avalanche test data point item into a custom structure array in a computer memory, and preparing for avalanche testing. The specific storage process will be described in detail below.
The selected avalanche test data points are stored in the computer memory because the simulation of the avalanche operating conditions requires hundreds of data points per second
Figure BDA0001680053770000121
Variations are made which increase the time for programming the avalanche condition, the avalanche signal required if data read is also involved in the avalanche condition simulation process
Figure BDA0001680053770000131
The change cannot be guaranteed, the avalanche test data is stored in the computer memory in advance, and the data processing speed of the program in the memory is the fastest. However, there is a need for a way to store data in a computer memory to meet the changing requirements of the avalanche condition. To this end, the present embodiment designs a data structure to store these avalanche test data: the custom structure array is specifically shown in fig. 6 and table 3:
there are only 22 time periods in table 1, but there are 24 time periods in table 3, because the 10 th item 20-70 seconds has the analog quantity repeatedly changing from 0% to 100% range, this embodiment uses two elements of Avalanche for simulation, namely Avalanche (10) and Avalanche (11), similarly, the 20 th item 80-320 seconds, uses Avalanche (21) and Avalanche (22) for simulation, as shown in table 3.
Any one of the 24 elements in table 3, avalanche (x), is composed of 1400 elements, namely avalanche (x), TagArr (0) -avalanche (x), TagArr (1399), corresponding to 1200 DI data points and 200 AI data points, respectively; furthermore, any one of the 1400 elements is composed of two elements, namely:
avalanche (x), tagarr (y), BSTagName, and avalanche (x), tagarr (y), BSValue, which are used to store the roll name of the avalanche test data point and the value of the data point at a certain time, respectively.
In this example, the simulation of the required avalanche condition is changed according to the requirement of the vertical avalanche condition schematic diagram of fig. 2 (or the statistics of the number of vertical avalanche condition points in table 1), so the value in the structure array should adopt the design shown in table 4 below, so that the custom structure array is called at different times, and the requirement for simulating the avalanche condition change is met when the forced displacement of the avalanche test data is completed.
Serial number Avalanche array Representing time of day
0 Avalanche(0) Second 0
1 Avalanche(1) Second 11
2 Avalanche(2) Second 12
3 Avalanche(3) Second 13
4 Avalanche(4) Second 14
5 Avalanche(5) Second 15
6 Avalanche(6)- Second 16
7 Avalanche(7) 17 th second
8 Avalanche(8) 18 th second
9 Avalanche(9) Second 19
10 Avalanche(10) 20 th, 22 th, 24 th, … th, 70 th (even number)
11 Avalanche(11) 21 st, 23 rd, 25 th, … th, 69 th (odd number)
12 Avalanche(12) 71 th second
13 Avalanche(13) 72 th second
14 Avalanche(14) 73 th second
15 Avalanche(15) 74 th second
16 Avalanche(16) 75 th second
17 Avalanche(17) 76 th second
18 Avalanche(18) 77 th second
19 Avalanche(19) At 78 th second
20 Avalanche(20 79 th second
21 Avalanche(21) 80 th, 82 th, 84 th, … th, 320 th (even number)
22 Avalanche(22) 81 st, 83 th, 85 th, … th, 319 th (odd number)
23 Avalanche(23) 321 to 340 seconds
TABLE 3 corresponding relationship between structure array and avalanche time
Figure BDA0001680053770000141
TABLE 4 value design of the array of structures (local)
The contents in table 4 are specifically explained:
and starting forcibly at the 0 th second moment, wherein all the DI data points and the AI data points are 0, and the data in the Avalanche (0) structure array is forced to realize.
At the 11 th second, comparing Avalanche (1) with Avalanche (0), the values of the first 240 DI points are different, and the rest data points are the same. This achieves that when Avalanche (1) is forced, only the first 240 DI points change compared to Avalanche (0).
At the 12 th second time, comparing Avalanche (2) with Avalanche (1), the values of the first 480 DI points are different, and the rest data points are the same. This achieves that when Avalanche (2) is forced, only the first 480 DI points change compared to Avalanche (1).
At the 13 th second time, comparing Avalanche (3) and Avalanche (2), the values of the first 720 DI points are different, and the rest data points are the same. This achieves that when Avalanche (3) is forced, only the first 720 DI points change compared to Avalanche (2).
At the 14 th second time, comparing Avalanche (4) and Avalanche (3), the first 960 DI points are different in value, and the rest data points are the same. This achieves that when Avalanche (4) is forced, the first 960 DI points change compared to Avalanche (3).
At the 15 th second time, comparing Avalanche (5) with Avalanche (4), the values of the former 1200 DI points are different, and the rest data points are the same. This achieves that 1200 DI points are changed when the Avalanche (5) is forced versus the Avalanche (4).
Later in time, and so on.
The same method is adopted for the analog quantity change processing mode (in table 4, only the DI data point value design in the structure array is demonstrated, and the AI data point value design method is the same).
The reason why the Avalanche test data points are stored in the custom structure array of the Avalanche is designed in the embodiment is to meet the design requirements of Avalanche working conditions.
As shown in fig. 7, in the method for simulating the DCS Avalanche condition provided in this embodiment, after reading the relevant Avalanche test data into the Avalanche structure array in the memory of the computer, a timer program is designed in this embodiment, and after the start of the Avalanche test, when a certain time arrives, the timer program triggers and calls the corresponding Avalanche array, and transmits the time to the inside of the DCS system through the interface system of the DCS for enforcement, specifically, the method for dynamically simulating the Avalanche condition includes:
and S300, starting avalanche testing and timing.
S302, calling Avalanche (0) to forcibly convert the data parameters in the DCS to start.
And S304, calling the Avalanche (1) when the 11 th second is counted, and forcibly converting the data parameters in the DCS to start.
S306, calling the Avalanche (1) when the 12 th second is counted, and starting to forcibly convert the data parameters in the DCS.
And sequentially calling the Avalanche arrays by adopting the corresponding relation between the table 3 and the graph 6:
and S308, calling the Avalanche (23) when the 321 th second is counted, and forcibly converting the data parameters in the DCS to start.
And S310, when the time reaches 341 th second, ending the avalanche test.
The software tool for simulating the vertical avalanche working condition compiled by the method provided by the embodiment has good effect after multiple tests and tests, and the novel method greatly improves the efficiency of the vertical avalanche test and reduces the test time, but the test result is consistent with the result of using the test device. And because the whole time consumption of the avalanche test is controlled within 10 minutes, the multiple times of the avalanche test are facilitated, so that the selection of point items of the avalanche test can be more free, and the selected data points can cover all I/O data used by DCS, so that the simulated avalanche working condition is closer to the actual limit working condition, and the test effect is good.
EXAMPLE III
The embodiment provides a simulation device of a DCS avalanche condition, which is capable of completing a simulation method corresponding to the first embodiment and/or the second embodiment, and specifically, the simulation device includes:
a data receiving unit 402 for deriving an engineering database from the DCS, I/O variable data points in the engineering database, in which the values of input/output signals thereof can be manually and forcibly changed, and each data point contains a plurality of data point items;
the data screening unit 404 is configured to screen data points in the engineering database to obtain an avalanche test data point item simulating an avalanche working condition;
the data storage unit 406 is used for storing the avalanche test data point item for simulating the avalanche working condition according to a designed format;
and the data operation unit 408 is provided with a timer, and is used for periodically transmitting the avalanche test data point items stored according to the design format into the DCS system through the DCS interface equipment in combination with the timer, forcibly changing the value of the avalanche test data point, and realizing automatic simulation of the avalanche working condition.
Preferably, the screening of the data point items by the data screening unit 402 includes the steps of: 1) automatically screening data points in the engineering database according to the terminal module position point item, so that I/O data points including the terminal module position point item in the engineering database are screened out; 2) screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened out in the step 1) according to the module type; 3) manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening the DI and AI data screened in the step 2) again according to the number of avalanche test data points; so that avalanche test data point items meeting the simulated avalanche working condition of the data volume are screened out.
Preferably, the storage format designed in the data storage unit 406 refers to a self-defined structure array corresponding to the avalanche time, and the value of the avalanche test data point item for simulating the avalanche condition in the self-defined structure array should be a value whose value needs to be manually and forcibly changed according to the corresponding avalanche time interval.
Further preferably, the avalanche test data point item storage mode of each simulated avalanche condition at least comprises a self-defined structure body array name, a data point item value and an avalanche time interval which are mutually related.
Further preferably, after the avalanche test timing starts, the data operation unit 408 triggers and calls the corresponding custom structure array through the operation of the timer when a certain time is reached, and transmits the custom structure array into the DCS through the interface device of the DCS to perform forced conversion on the values of the corresponding parameters; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
When the simulation device in the embodiment is used for performing avalanche condition simulation, the technical effects mentioned in the first embodiment and/or the second embodiment can be obtained similarly.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be understood that the above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way. Those skilled in the art can make many changes and simple substitutions to the technical solution of the present invention without departing from the technical solution of the present invention, and the technical solution of the present invention is protected by the following claims.

Claims (6)

1. A simulation method of DCS avalanche condition, which is characterized in that the method comprises the following steps:
s1, deriving an engineering database from the DCS, wherein I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items;
s2, screening the data points in the engineering database to obtain avalanche test data point items simulating avalanche working conditions;
s3, storing the avalanche test data point item of the simulated avalanche working condition according to a designed format;
s4, combining the avalanche test data point items stored according to the design format with a timer, periodically transmitting the avalanche test data point items into a DCS through DCS interface equipment, and forcibly changing the value of the avalanche test data point to realize automatic simulation of the avalanche working condition;
the screening of the data points in step S2 includes the following steps: 1) automatically screening the data points in the engineering database according to the terminal module position point item, so that all I/O data points including the terminal module position point item in the engineering database are screened out; 2) screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened out in the step 1) according to the module type; 3) manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening the DI and AI data screened in the step 2) again according to the number of avalanche test data points; screening avalanche test data point items meeting the simulated avalanche working conditions of the data quantity;
the storage format designed in step S3 refers to a self-defined structure array corresponding to the avalanche time, and the value of the avalanche test data point item for simulating the avalanche condition in the self-defined structure array should be a value whose value needs to be manually and forcibly changed according to the corresponding avalanche time interval.
2. The simulation method according to claim 1, wherein the avalanche test data point item storage manner of each avalanche condition simulation at least includes a self-defined structure array name, a data point item value and an avalanche time interval which are associated with each other.
3. The simulation method according to claim 2, wherein in step S4, after the avalanche test timing is started, when a certain time is reached through the operation of the timer, the corresponding custom structure array is triggered and called, and is transmitted into the DCS through its interface device, so as to perform forced conversion on the values of the corresponding parameters; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
4. An apparatus for simulating a DCS avalanche condition, the apparatus comprising:
a data receiving unit for deriving an engineering database from the DCS, wherein I/O variable data points in the engineering database can be manually and forcibly changed in the DCS, and each data point contains a plurality of data point items;
the data screening unit is used for screening data points in the engineering database to obtain an avalanche test data point item simulating an avalanche working condition;
the data storage unit is used for storing the avalanche test data point item simulating the avalanche working condition according to a designed format;
the data operation unit is provided with a timer and is used for periodically transmitting the avalanche test data point items stored according to the design format into the DCS through the DCS interface equipment in combination with the timer, forcibly changing the value of the avalanche test data point and realizing the automatic simulation of the avalanche working condition;
wherein, the screening of the data screening unit to the data point items comprises the following steps: 1) automatically screening the data points in the engineering database according to the terminal module position point item, so that all I/O data points including the terminal module position point item in the engineering database are screened out; 2) screening DI (digital input) data points and AI (analog input) data points of the I/O data points screened out in the step 1) according to the module type; 3) manually determining the number of avalanche test data points used by each FCS station, and automatically and randomly screening the DI and AI data screened in the step 2) again according to the number of avalanche test data points; screening avalanche test data point items meeting the simulated avalanche working conditions of the data quantity;
the storage format designed in the data storage unit refers to a self-defined structure array corresponding to avalanche time, and the value of an avalanche test data point item simulating an avalanche working condition in the self-defined structure array is a value of which the value needs to be manually and forcibly changed according to a corresponding avalanche time interval.
5. The simulation apparatus according to claim 4, wherein the avalanche test data point item storage manner of each avalanche condition simulation at least includes a self-defined structure array name, a data point item value and an avalanche time interval which are associated with each other.
6. The simulation apparatus according to claim 5, wherein the data operation unit, after the start of the avalanche test, triggers and invokes the corresponding custom structure array by the operation of the timer when reaching a certain time, and transmits the custom structure array to the inside of the DCS through its interface device to perform forced conversion on the values of the corresponding parameters; so as to realize the automatic simulation of the occurrence of the avalanche working condition.
CN201810547254.3A 2018-05-31 2018-05-31 Method and device for simulating DCS avalanche working condition Active CN108829051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547254.3A CN108829051B (en) 2018-05-31 2018-05-31 Method and device for simulating DCS avalanche working condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547254.3A CN108829051B (en) 2018-05-31 2018-05-31 Method and device for simulating DCS avalanche working condition

Publications (2)

Publication Number Publication Date
CN108829051A CN108829051A (en) 2018-11-16
CN108829051B true CN108829051B (en) 2021-03-16

Family

ID=64145223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547254.3A Active CN108829051B (en) 2018-05-31 2018-05-31 Method and device for simulating DCS avalanche working condition

Country Status (1)

Country Link
CN (1) CN108829051B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949956B (en) * 2019-03-25 2021-07-23 北京广利核系统工程有限公司 High-load working condition simulation method and system for nuclear power station control system
CN111444056A (en) * 2020-04-01 2020-07-24 江苏核电有限公司 Simulation test system and test method for safety-level DCS (distributed control System) of nuclear power station
CN112462710B (en) * 2020-11-23 2022-04-05 杭州和利时自动化有限公司 Variable processing method, system, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066034A (en) * 2005-08-31 2007-03-15 Yukio Yazaki Disaster notification system
CN102184749A (en) * 2011-04-11 2011-09-14 北京广利核系统工程有限公司 Method for automatically testing DCS (Digital Control System) control cabinet
CN104898633A (en) * 2015-06-16 2015-09-09 中广核工程有限公司 Nuclear power plant non-security-level DCS configuration testing method and system
CN106257367A (en) * 2015-06-18 2016-12-28 中核控制系统工程有限公司 A kind of nuclear power DCS platform test device based on analogue system and method for testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066034A (en) * 2005-08-31 2007-03-15 Yukio Yazaki Disaster notification system
CN102184749A (en) * 2011-04-11 2011-09-14 北京广利核系统工程有限公司 Method for automatically testing DCS (Digital Control System) control cabinet
CN104898633A (en) * 2015-06-16 2015-09-09 中广核工程有限公司 Nuclear power plant non-security-level DCS configuration testing method and system
CN106257367A (en) * 2015-06-18 2016-12-28 中核控制系统工程有限公司 A kind of nuclear power DCS platform test device based on analogue system and method for testing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
核电厂DCS高负荷响应时间分析及测试;孙学慧等;《核科学与工程》;20161215;全文 *
核电厂非安全级DCS验证系统KSN子系统测试;王晋等;《核电子学与探测技术》;20160320;全文 *
核电站I/O变量信息快速检查方法的研究;赵潮涌等;《自动化博览》;20170415;全文 *

Also Published As

Publication number Publication date
CN108829051A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108829051B (en) Method and device for simulating DCS avalanche working condition
EP0850481B1 (en) Device for skip addressing certain lines in a serially operating digital store
CN104572136B (en) The graphical generation method and system of questionnaire
CN108038142A (en) Realize method, electronic device and the storage medium of multistage linking combobox
DE60036432T2 (en) Cell search method, communication synchronizer, and portable terminal
CN109254964A (en) Address Standardization method, apparatus, computer equipment and storage medium
CN108804708A (en) Business datum table files modification method, device, computer equipment and storage medium
DE2357654A1 (en) ASSOCIATIVE MEMORY
DE60221567T2 (en) INSERT-GRADERS
DE102007036273A1 (en) An integrated memory device and method for operating a memory device
CN112910086A (en) Intelligent substation data verification method and system
CN112699032B (en) Method for realizing vddbench performance test result analysis based on Excel
CN110502543A (en) Device performance data storage method, device, equipment and storage medium
CN100461801C (en) Method and device for generating the phone directory recording and the test method and system of the phone directory
Hatanaka et al. Co-trending
CN109614399A (en) Bitmap data querying method, device, computer equipment and storage medium
CN112001617B (en) Report generation progress method, device, equipment and readable storage medium
EP1647901A1 (en) System and method for collecting network performance data and storing it in a single relational table.
CN102142051B (en) Method for determining circuit fault based on PSPICE
CN108960384A (en) A kind of coding/decoding method and client of graphic code
CN114265780A (en) Method, system, equipment and storage medium for testing report system
CN113203938A (en) Test vector storage method, compression method and equipment, and test method and equipment
DE1762906C3 (en)
CN109949956B (en) High-load working condition simulation method and system for nuclear power station control system
CN106682228A (en) Method and device for visually and dynamically drawing arrangement of cabinets

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
GR01 Patent grant
GR01 Patent grant