CN107273626A - One kind is applied to Nuclear Safety level DCS data processing methods - Google Patents

One kind is applied to Nuclear Safety level DCS data processing methods Download PDF

Info

Publication number
CN107273626A
CN107273626A CN201710487646.0A CN201710487646A CN107273626A CN 107273626 A CN107273626 A CN 107273626A CN 201710487646 A CN201710487646 A CN 201710487646A CN 107273626 A CN107273626 A CN 107273626A
Authority
CN
China
Prior art keywords
scade
data
code
function
level 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.)
Granted
Application number
CN201710487646.0A
Other languages
Chinese (zh)
Other versions
CN107273626B (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 NUCLEAR CONTROL SYSTEM ENGINEERING Co.,Ltd.
Original Assignee
Nuclear Power Institute of China
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 Nuclear Power Institute of China filed Critical Nuclear Power Institute of China
Priority to CN201710487646.0A priority Critical patent/CN107273626B/en
Publication of CN107273626A publication Critical patent/CN107273626A/en
Application granted granted Critical
Publication of CN107273626B publication Critical patent/CN107273626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Abstract

Being applied to Nuclear Safety level DCS data processing methods the invention discloses one kind includes:External member is programmed using SCADE, Software Function Design is carried out according to function drawing;Completed according to function drawing after functional diagram, all functional diagrams are converted to the C language code that can be compiled using the translation function built in SCADE external members;The code that SCADE is generated carried out using C language header file and source file the secondary encapsulation of variable;C code after secondary encapsulation is merged into compiling with communication interface code turns into executable file;By executable file by being attached to Target Board under lower dress program;Start internal task scheduling on target device after electricity, call executable file to run adapter Target Board;Each station data is received and dispatched by communication interface;Data forwarding function is realized by the covering and reading of buffering area, realize handle nuclear power safe level DCS data when workload it is small, technical threshold is low, the higher technique effect of efficiency.

Description

One kind is applied to Nuclear Safety level DCS data processing methods
Technical field
The present invention relates to Automated condtrol data communication field, in particular it relates to which a kind of be applied to Nuclear Safety level DCS numbers According to processing method.
Background technology
Data communication is used for transmitting digitized signal between the different disposal module of npp safety level DCS platforms, or Data are transmitted between other external systems.According to security requirement, communication function needs to meet following items functional safety:
1. communication system should have certainty;
2. control interior communication should use point-to-point data link;
3. chain reaction can not occur in communication protocol;
4. reciever and sender are clearly specified in communication protocol;
5. should not occur the unwanted protocol layer of application software or service in communication protocol.
In design, using the communication system based on state, with more preferable predictability.The so-called communication based on state System refers to that communication system at regular intervals, is transmitted fixed data set, whether changed but regardless of data set Become.Use C language under development realizes the mechanism in communication, and upper layer data definition is carried out using SCADE.By Logical Configuration and The mode of secondary code encapsulation reaches distribution and the aggregation feature of data.So as to which the point-to-point and data communication for meeting system will Ask.
But writing forwarding logic manually can cause largely to hide BUG and V&V work.And for engineering staff, C Language Compiling Technique threshold is high, and the application for being not suitable for carrying out logic level is write.
In summary, present inventor has found above-mentioned technology extremely during the present application technical scheme is realized There is following technical problem less:
In the prior art, existing npp safety level DCS Platform communications Functional Design presence is write forwarding manually and patrolled Collect workload larger, technical threshold is high, less efficient technical problem.
The content of the invention
Nuclear Safety level DCS data processing methods are applied to the invention provides one kind, existing nuclear power plant's peace is solved Full level DCS Platform communications Functional Design is larger in the presence of forwarding logic workload is write manually, and technical threshold is high, less efficient skill Art problem, realize handle nuclear power safe level DCS data when worker workload it is small, technical threshold is low, and efficiency is higher Technique effect.
The design SCADE logic chart mode generates exchange algorithm, has used aid known to engineering staff Into the data rule of bottom, threshold is low, and reliability is high, and exploitativeness is strong.
In order to solve the above technical problems, being applied to Nuclear Safety level DCS data processing methods this application provides one kind, state Method includes:
Step 1:External member is programmed using SCADE, Software Function Design is carried out according to function drawing;
Step 2:Completed according to function drawing after functional diagram, it is using the translation function built in SCADE external members that institute is functional Figure, clicks on KCG code building options in SCADE external members, generates the C language code that can be compiled;
Step 3:The code that SCADE is generated carried out using C language header file and source file the secondary encapsulation of variable;
Step 4:C code after secondary encapsulation is merged with communication interface code, using general C language compiler (such as GCC, VC etc.) configured according to engineering and enter line code using GNU Makefile or Microsoft Visual Studio engineerings Compiling, as executable file;
Step 5:By executable file by being attached to Target Board under lower dress program;
Step 6:Start internal task scheduling on target device after electricity, call executable file to run adapter Target Board;It is logical Cross communication interface and receive and dispatch each station data;
Step 7:Data forwarding function is realized by the covering and reading of buffering area.
Further, the step 1 also includes:Between algorithm function output and input in SCADE functional diagrams, use Mouse drag connection mode carrys out the input and output correspondence relation of design data.
Further, the step 3 also includes:Identify size, the variable arrangement of the C language structure of SCADE generations Mode, types of variables;And the communication pool software application DLL progress pair for realizing the structure example of generation and C language Connect.
Further, methods described also includes:The buffering area and SCADE logical algorithm data of the data segment of forwarding will be needed Area carries out bidirectional replication, passes through the skew of memory headroom size shared by variable (such as 32 integers, 16 integers, 32 floating-points) Address and data type is measured to determine the particular content for needing to forward data.
This method is used on safe level DCS data transfer equipment TU.Engineering staff need not grasp the thin of C language Section.Only need to be familiar with design side's functional diagram can the accessible data forwarding logic to the equipment be programmed.Realize whole Data forwarding function in system system.
One or more technical schemes that the application is provided, have at least the following technical effects or advantages:
Realize handle nuclear power safe level DCS data when worker workload it is small, technical threshold is low, and efficiency is higher Technique effect.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding the embodiment of the present invention, constitutes one of the application Point, do not constitute the restriction to the embodiment of the present invention;
Fig. 1 is the schematic flow sheet that Nuclear Safety level DCS data processing methods are applied in the application;
It is typical npp safety level DCS connections topology schematic diagram in the application that Fig. 2, which is,;
Fig. 3 is that variable passes through SCADE modes one to many distribution schematic diagrames in the application.
Embodiment
Nuclear Safety level DCS data processing methods are applied to the invention provides one kind, existing nuclear power plant's peace is solved Full level DCS Platform communications Functional Design is larger in the presence of forwarding logic workload is write manually, and technical threshold is high, less efficient skill Art problem, realize handle nuclear power safe level DCS data when worker workload it is small, technical threshold is low, and efficiency is higher Technique effect.
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting mutually, the application's Feature in embodiment and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also Implemented with the other modes in the range of being different from being described herein using other, therefore, protection scope of the present invention is not by under The limitation of specific embodiment disclosed in face.
SCADE is English Safety-Critical Application Development Environment abbreviation, It is the Application development environ-ment of a high security.French Ace Te Er technology companys have combined boat when developing SCADE softwares The affiliate in the fields such as empty electronics, automotive electronics, military aircraft and nuclear power stand control, such as AIRBUS, Schneider Electric, Dassault Aviation and THALES etc., combining multiple fields will to the difference of embedded software developing Ask, it is proposed that the automation tools and the respective party science of law of a whole set of high security embedded software developing.SCADE is used Correct by construction concept, is covered whole from demand to embedded code in embedded software developing Flow:Requirements Modeling, pattern checking, analog simulation, formal verification, embedded code is automatically generated and document is automatically generated Deng.
Code building function of the invention based on SCADE, the C language code that forwarding unit is generated by SCADE realizes number According to forwarding and external offer interface.Buffering area and logical algorithm data field are subjected to bidirectional replication.Pass through offset and data class Type determines data particular content.
Fig. 1 is refer to, functional steps are as follows:
Engineering staff programs external member using SCADE, and Software Function Design is carried out according to the function drawing of design side. Carry out the input and output of design data between algorithm function output and input in SCADE functional diagrams using mouse drag connection mode Corresponding relation.
Complete after functional diagram, turned all functional diagrams according to design side's drawing using the translation function built in SCADE external members It is changed to the C language code that can be compiled.
The code that SCADE is generated carried out using C language header file and source file the secondary encapsulation of variable.Identify Size, variable arrangement mode, the types of variables of the C language structure of SCADE generations.And the communication pool for realizing it with C language Software application DLL is docked.
C code after secondary encapsulation is merged compiling with communication interface code by compiling turns into executable file.
By executable file by being attached to Target Board under lower dress program.
Start internal task scheduling on target device after electricity, call executable file to run adapter Target Board.Pass through communication Interface receives and dispatches each station data.
Data forwarding function is realized by the covering and reading of buffering area.
Refer to P1C2, P1C2 in Fig. 2, figure is two relay protective scheme series.Two relay protective scheme series pass through one simultaneously Individual TU1 station is come the convergence and distribution of a data that stand.The data processing method that this patent is introduced is used by TU1 again, by two The data forwarding of individual relay protective scheme series is to safe display unit (SVDU), gateway station (GW) and engineer station (MTS).
Fig. 3 is refer to, for example:A stations have a variable v to need to stand with D to C stations by TU station simultaneous transmissions.So stood in B During using SCADE systematic function figures, newly-built three variables As, C, D.Three typess of variables must be consistent.Use below figure connecting line Mode links three variables:
It can be automatically generated when C language code is generated after connection:
V_out_c=V_in_a;
V_out_d=V_in_a;
Then by secondary encapsulation, two variables of V_out_c and V_out_d are aligned in a buffering area.Again by compiling Translate and be associated buffering area with communication interface, the buffering area that communication is sent is associated with V_out_ V_out_d, the reception of communication Buffering area is associated with V_in_a.So it is achieved that one-to-many data assignment.Multi-to-multi and many-one are similarly.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
Realize handle nuclear power safe level DCS data when worker workload it is small, technical threshold is low, and efficiency is higher Technique effect.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (4)

1. one kind is applied to Nuclear Safety level DCS data processing methods, it is characterised in that methods described includes:
Step 1:External member is programmed using SCADE, Software Function Design is carried out according to function drawing;
Step 2:Complete after functional diagram, turned all functional diagrams according to function drawing using the translation function built in SCADE external members It is changed to the C language code that can be compiled;
Step 3:The code that SCADE is generated carried out using C language header file and source file the secondary encapsulation of variable;
Step 4:C code after secondary encapsulation is merged into compiling with communication interface code turns into executable file;
Step 5:By executable file by being attached to Target Board under lower dress program;
Step 6:Start internal task scheduling on target device after electricity, call executable file to run adapter Target Board;By logical Letter interface receives and dispatches each station data;
Step 7:Data forwarding function is realized by the covering and reading of buffering area.
2. according to claim 1 be applied to Nuclear Safety level DCS data processing methods, it is characterised in that the step 1 Also include:Between algorithm function output and input in SCADE functional diagrams, design data is carried out using mouse drag connection mode Input and output correspondence relation.
3. according to claim 1 be applied to Nuclear Safety level DCS data processing methods, it is characterised in that the step 3 Also include:Identify size, variable arrangement mode, the types of variables of the C language structure of SCADE generations;And by the knot of generation Structure body example is docked with the communication pool software application DLL that C language is realized.
4. according to claim 1 be applied to Nuclear Safety level DCS data processing methods, it is characterised in that methods described Also include:The buffering area and SCADE logical algorithms data field that need the data segment forwarded are subjected to bidirectional replication, pass through variable institute The offset address and data type of memory headroom size is accounted for determine the particular content for needing to forward data.
CN201710487646.0A 2017-06-23 2017-06-23 Data processing method applied to nuclear power safety level DCS Active CN107273626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710487646.0A CN107273626B (en) 2017-06-23 2017-06-23 Data processing method applied to nuclear power safety level DCS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710487646.0A CN107273626B (en) 2017-06-23 2017-06-23 Data processing method applied to nuclear power safety level DCS

Publications (2)

Publication Number Publication Date
CN107273626A true CN107273626A (en) 2017-10-20
CN107273626B CN107273626B (en) 2021-03-09

Family

ID=60068424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710487646.0A Active CN107273626B (en) 2017-06-23 2017-06-23 Data processing method applied to nuclear power safety level DCS

Country Status (1)

Country Link
CN (1) CN107273626B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919914A (en) * 2019-02-15 2019-06-21 广州视源电子科技股份有限公司 Method of calibration, device, computer equipment and the storage medium of configuration file
CN110069250A (en) * 2019-04-30 2019-07-30 联陆智能交通科技(上海)有限公司 LTE-V2X standard application layer data decoding method, system and medium
CN110415849A (en) * 2019-08-05 2019-11-05 中国核动力研究设计院 A kind of reply heat extraction increases the protection system of superposition SWCCF accident
CN111930628A (en) * 2020-08-13 2020-11-13 中国核动力研究设计院 Security level display module graphic configuration simulation system and simulation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385509A (en) * 2010-08-31 2012-03-21 苏州大学 Graphical embedded type development method and platform
US8762784B1 (en) * 2005-12-22 2014-06-24 The Mathworks, Inc. Viewing multi-dimensional metric data from multiple test cases
CN105224753A (en) * 2015-10-13 2016-01-06 上海核工程研究设计院 The multi-specialized design verification platform of non-active nuclear power plant
CN106598577A (en) * 2016-11-30 2017-04-26 中国航空工业集团公司沈阳飞机设计研究所 General purpose module integration method based on ScadeDisplay software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8762784B1 (en) * 2005-12-22 2014-06-24 The Mathworks, Inc. Viewing multi-dimensional metric data from multiple test cases
CN102385509A (en) * 2010-08-31 2012-03-21 苏州大学 Graphical embedded type development method and platform
CN105224753A (en) * 2015-10-13 2016-01-06 上海核工程研究设计院 The multi-specialized design verification platform of non-active nuclear power plant
CN106598577A (en) * 2016-11-30 2017-04-26 中国航空工业集团公司沈阳飞机设计研究所 General purpose module integration method based on ScadeDisplay software

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张合军: "基于SCADE的无人机飞行控制系统软件设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *
章晓春 等: "SCADE 平台下的图形化设计和代码自动生成", 《软件》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919914A (en) * 2019-02-15 2019-06-21 广州视源电子科技股份有限公司 Method of calibration, device, computer equipment and the storage medium of configuration file
CN110069250A (en) * 2019-04-30 2019-07-30 联陆智能交通科技(上海)有限公司 LTE-V2X standard application layer data decoding method, system and medium
CN110415849A (en) * 2019-08-05 2019-11-05 中国核动力研究设计院 A kind of reply heat extraction increases the protection system of superposition SWCCF accident
CN110415849B (en) * 2019-08-05 2020-11-24 中国核动力研究设计院 Protection system for coping with heat extraction increase superposition SWCCF accident
CN111930628A (en) * 2020-08-13 2020-11-13 中国核动力研究设计院 Security level display module graphic configuration simulation system and simulation method thereof
CN111930628B (en) * 2020-08-13 2022-05-13 中国核动力研究设计院 Security level display module graphic configuration simulation system and simulation method thereof

Also Published As

Publication number Publication date
CN107273626B (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN107273626A (en) One kind is applied to Nuclear Safety level DCS data processing methods
CN102419725B (en) The method and apparatus of the input/output interface of test I MA type avionics module
CN104268074B (en) One kind is based on DCS system application software on-line debugging method
EP3316262B1 (en) Safety control system for a nuclear power plant
US20180129761A1 (en) Test System Having Data Collection Unit for Dynamic Positioning Controller System of Ship
CN109087552A (en) A kind of spacecraft fortune control simulated training system
CN107402765A (en) A kind of code inspection dissemination method and system
CN107678958A (en) A kind of method of testing for comprehensive parameters display system software
KR102247237B1 (en) Integrated simulation apparatus for ship verification
KR20130096216A (en) A system for real time simulation of the environment of an aircraft engine
CN106776321A (en) A kind of winged guard system software emulation contrast conversion method based on dynamic link library
Kugele et al. On the deployment problem of embedded systems
Lee et al. Risk assessment of safety data link and network communication in digital safety feature control system of nuclear power plant
CN107430659A (en) Method and apparatus for being handled in the electric of functional safety, electronics and/or programmable electronic system and transmitting data
David et al. Operational experience feedback in JET Remote Handling
CN109324597B (en) Engineering adaptability test method for second-generation pressurized water reactor safety-level DCS of nuclear power station
CN101098211B (en) Sending control device, receiving control device, and communication system
EP3316260A1 (en) Safety control system for nuclear power plant
Syrbe Basic principles of advanced process control system structures and a realization with distributed microcomputers
EP2597600A1 (en) Apparatus and method for automatic status check of an aircraft
KR20200068577A (en) Computer system integrity through a combination of certifiable and qualifiable software
Annighoefer Enabling correct I/O sharing in the combinatorial optimization of large avionics systems
Giron-Sierra et al. Distributed control system for fuel management using CANBUS
De Castro et al. Meeting the requirements of distributed engine control via decentralized, modular smart sensing
Martin et al. Role of hardware-in-the-loop simulation in fly-by-light system development

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201218

Address after: No.3, Hongda South Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: CHINA NUCLEAR CONTROL SYSTEM ENGINEERING Co.,Ltd.

Address before: 610000, No. three, 28 south section of Ring Road, Chengdu, Sichuan

Applicant before: NUCLEAR POWER INSTITUTE OF CHINA

GR01 Patent grant
GR01 Patent grant