Movatterモバイル変換


[0]ホーム

URL:


CN110442337B - Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram - Google Patents

Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram
Download PDF

Info

Publication number
CN110442337B
CN110442337BCN201910744306.0ACN201910744306ACN110442337BCN 110442337 BCN110442337 BCN 110442337BCN 201910744306 ACN201910744306 ACN 201910744306ACN 110442337 BCN110442337 BCN 110442337B
Authority
CN
China
Prior art keywords
layer
logic
cloud picture
cloud
diagram
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
CN201910744306.0A
Other languages
Chinese (zh)
Other versions
CN110442337A (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
China Nuclear Control System Engineering 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 Nuclear Control System Engineering Co ltdfiledCriticalChina Nuclear Control System Engineering Co ltd
Priority to CN201910744306.0ApriorityCriticalpatent/CN110442337B/en
Publication of CN110442337ApublicationCriticalpatent/CN110442337A/en
Application grantedgrantedCritical
Publication of CN110442337BpublicationCriticalpatent/CN110442337B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a labeling method based on a cloud picture of a logic algorithm diagram of a nuclear power plant DCS platform, which comprises the following steps: establishing a logic layer and a label layer; switching to a labeling layer when a cloud picture labeling layer instruction is received; setting a cloud picture style in the marking layer and recording the position of a key point selected by a user in the marking layer; selecting a tracking scheme according to the cloud picture pattern and the key point positions, and determining the final frame range of the cloud picture; drawing a frame of the cloud picture, and smoothly connecting the head point and the tail point of the frame; when the logic diagram is drawn, switching to the logic layer and finishing the drawing of the logic diagram; and extracting the logic diagram layer data of the logic layer, filtering out the data of the label layer, and generating a logic execution file from the logic diagram layer data. The invention relates to a labeling method of a cloud picture based on a nuclear power plant DCS platform logic algorithm picture, which strictly separates a logic layer from a cloud picture labeling layer, does not influence each other on data, and is integrated on interface presentation. The independence of data and the convenience of user viewing are guaranteed.

Description

Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram
Technical Field
The invention relates to the field of nuclear power, in particular to a labeling method based on a nuclear power plant DCS platform logic algorithm diagram cloud picture.
Background
The application software running in the processing unit of the nuclear power plant is high-safety software, and the designer of the application software is often nuclear power engineering related personnel rather than software developers. From the perspective of convenience, usability and efficiency of use of designers, or from the perspective of high security requirements of application software, the generation of application software codes first requires the design and development of a logic configuration function diagram to be completed.
The software adopts QGraphicsView framework technology to draw the logic function diagram, and presents the logic design of engineering designers in the form of the logic diagram.
The logic configuration function diagram has complex flow and various functions. The logic configuration function diagram is crucial in the whole life cycle of the application software from design to use. The functional diagram is used in subsequent V & V, test, joint debugging and other links. Participants in each link need to understand the idea of the designer and the logical meaning to be expressed by the logic diagram.
For complex logic diagrams, a large amount of description information is included outside the core logic, which needs to be passed to the next link in a stepwise, accurate and dependent manner. Therefore, in the prior art, it is very difficult to accurately transmit the design information of the engineering designer to the subsequent links only by using the logic function diagram.
Disclosure of Invention
The invention aims to solve the technical problem that in the prior art, it is very difficult to accurately transmit the design information of engineering designers to subsequent links only by using a logic function diagram, and aims to provide a labeling method based on a cloud diagram of a logic algorithm diagram of a nuclear power plant DCS platform, so as to solve the problem.
The invention is realized by the following technical scheme:
a labeling method based on a nuclear power plant DCS platform logic algorithm map cloud picture comprises the following steps:
establishing a logic layer and a label layer;
when a cloud picture annotation layer instruction is received, switching to an annotation layer; setting a cloud picture pattern in the marking layer, and recording the position of a key point selected by a user in the marking layer; selecting a tracking scheme according to the cloud picture pattern and the key point positions, and determining the final frame range of the cloud picture; drawing a frame of the cloud picture, and smoothly connecting the head point and the tail point of the frame;
when the logic diagram is drawn, switching to the logic layer and finishing the drawing of the logic diagram;
and extracting the logic diagram layer data of the logic layer, filtering out the data of the label layer, and generating a logic execution file from the logic diagram layer data.
When the method is applied, a graph layering mode is adopted, a core function graph and a comment cloud graph are independently drawn and jointly used, the graph is graded, and the cloud graph is used as a principle that a high-grade logic graph is not influenced by a low grade. Based on the principle, the drawn logic function diagram is drawn in a labeling layer, and a cloud diagram labeling method is provided. On one hand, the method can realize that the description information in the whole logic function diagram is transferred to the next link step by step, accurately and dependently; on the other hand, the logic part of the functional diagram is guaranteed not to be interfered and influenced.
The invention provides a method for layering graph drawing according to grades and an algorithm for automatic area tracking closing. The core logic function and the description information are all presented by the same logic function diagram, and the presentation mode of the description information is flexibly designed by designers according to actual requirements. The main work to be done to implement the present invention consists of four steps. Firstly, according to user setting, a logic layer and a cloud layer drawn by a graph are flexibly switched. Secondly, according to the input of an operator, a cloud picture frame pattern is set, and the thinking activities of the operator are shown by different line widths, colors, line types and the like. And thirdly, according to the position of a plurality of points selected by a user on the cloud picture labeling layer, the configuration software searches for a track according to a rectangular algorithm and a Bezier curve algorithm, completes the area closing, and draws the cloud picture. And finally, when the function graph is converted into the code, the configuration software filters the cloud layer, and converts the logic layer into the logic code, so that the cloud layer is not influenced by the operation logic.
Further, the cloud pattern includes a cloud shape and a cloud boundary line pattern.
Further, selecting a tracking scheme according to the cloud pattern and the keypoint locations comprises: and when the cloud picture pattern is rectangular, selecting a starting point and an ending point as effective points of the frame.
Further, selecting a tracking scheme according to the cloud pattern and the keypoint locations comprises: when the cloud picture is in an arbitrary polygon shape, all points are selected as effective points.
Further, determining the final frame range of the cloud image includes: and calling a rectangular algorithm to determine the final frame range of the cloud picture in a diagonal manner.
Further, drawing a frame of the cloud picture comprises: and calling a Bezier curve algorithm to draw each edge of the cloud picture frame, ensuring smooth transition of the inflection point and forming effective natural connecting lines.
Further, the codes of the logic layer and the labeling layer are independent of each other.
Furthermore, the grade of the logic layer is higher than that of the label layer, and the label layer does not influence the logic layer.
In the invention, the function of the marking layer is to explain logic algorithm blocks or connecting lines in the logic layer, so in order to ensure the accuracy of generating the logic configuration code, the marking layer and the logic layer need to be completely distinguished, so that the marking layer of low level cannot influence the logic layer of high level.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. the invention relates to a labeling method of a cloud picture based on a nuclear power plant DCS platform logic algorithm picture, which strictly separates a logic layer from a cloud picture labeling layer, does not influence each other on data, and is integrated on interface presentation. The independence of data and the convenience of user viewing are ensured;
2. the invention relates to a cloud picture labeling method based on a nuclear power plant DCS platform logic algorithm picture, which is characterized in that inflection points of a cloud picture labeling frame naturally transition, and a curve outer frame is automatically closed;
3. the cloud picture labeling method based on the nuclear power plant DCS platform logic algorithm picture is successfully used on a nuclear power logic picture through analyzing a rectangular algorithm and a Bezier curve algorithm, and cloud picture labeling is carried out on the logic picture, so that the cloud picture labeling method looks simple, easy to understand and clear;
4. the invention relates to a cloud picture labeling method based on a nuclear power plant DCS platform logic algorithm picture, which strictly separates logic data from labeled data through a scheme of automatically filtering the data according to business requirements by computer software, transmits the logic data to compiling software by using an effective and constant scheme, and strictly cleans and checks the cloud picture labeled data before transmitting the data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a schematic diagram of the process steps of the present invention;
FIG. 2 is a schematic view of an embodiment of the present invention;
FIG. 3 is a schematic view of an embodiment of the present invention;
FIG. 4 is a schematic view of an embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Examples
As shown in fig. 1, the invention provides a labeling method based on a cloud chart of a nuclear power plant DCS platform logic algorithm, which comprises the following steps:
establishing a logic layer and a label layer;
when a cloud picture annotation layer instruction is received, switching to an annotation layer; setting a cloud picture pattern in the marking layer, and recording the position of a key point selected by a user in the marking layer; selecting a tracking scheme according to the cloud picture pattern and the key point positions, and determining the final frame range of the cloud picture; drawing a frame of the cloud picture, and smoothly connecting the head point and the tail point of the frame;
when the logic diagram is drawn, switching to the logic layer and finishing the drawing of the logic diagram;
and extracting the logic diagram layer data of the logic layer, filtering out the data of the label layer, and generating a logic execution file from the logic diagram layer data.
In the implementation of this embodiment, a graph layering mode is adopted, a core function graph and a comment cloud graph are independently drawn and jointly used, the graph is graded, and the cloud graph is used as a principle that a low grade does not affect a high-grade logic diagram. Based on the principle, the drawn logic function diagram is drawn in a labeling layer, and a cloud diagram labeling method is provided. On one hand, the method can realize that the description information in the whole logic function diagram is transferred to the next link step by step, accurately and dependently; on the other hand, the logic part of the functional diagram is guaranteed not to be interfered and influenced.
The embodiment provides a method for layering graphics drawing according to levels and an algorithm for automatic tracking closing of areas. The core logic function and the description information are all presented by the same logic function diagram, and the presentation mode of the description information is flexibly designed by designers according to actual requirements. The main work to be done to implement the present invention consists of four steps. Firstly, according to user setting, a logic layer and a cloud layer drawn by a graph are flexibly switched. Secondly, according to the input of an operator, a cloud picture frame pattern is set, and the thinking activities of the operator are shown by different line widths, colors, line types and the like. And thirdly, according to the position of a plurality of points selected by a user on the cloud picture labeling layer, the configuration software searches for a track according to a rectangular algorithm and a Bezier curve algorithm, completes the area closing, and draws the cloud picture. And finally, when the function graph is converted into the code, the configuration software filters the cloud layer, and converts the logic layer into the logic code, so that the cloud layer is not influenced by the operation logic.
To further illustrate the working principle of the present embodiment, the cloud pattern includes a cloud shape and a cloud boundary line pattern.
To further illustrate the working principle of the present embodiment, the selecting a tracking scheme according to the cloud pattern and the keypoint locations comprises: and when the cloud picture pattern is rectangular, selecting a starting point and an ending point as effective points of the frame.
To further illustrate the working principle of the present embodiment, the selecting a tracking scheme according to the cloud pattern and the keypoint locations comprises: when the cloud picture is in an arbitrary polygon shape, all points are selected as effective points.
To further illustrate the working principle of the embodiment, determining the final frame range of the cloud picture includes: and calling a rectangular algorithm to determine the final frame range of the cloud picture in a diagonal manner.
To further illustrate the working principle of this embodiment, drawing the frame of the cloud graph includes: and calling a Bezier curve algorithm to draw each edge of the cloud picture frame, ensuring smooth transition of the inflection point and forming effective natural connecting lines.
To further illustrate the working principle of the embodiment, the codes of the logic layer and the label layer are independent of each other.
To further illustrate the working principle of the embodiment, the level of the logic layer is higher than that of the label layer, and the label layer does not affect the logic layer.
In the present invention, the function of the annotation layer is to explain logic algorithm blocks or links in the logic layer, so in order to ensure the accuracy of generating the logic configuration code, the annotation layer and the logic layer need to be completely distinguished, so that the low-level annotation layer cannot affect the high-level logic layer.
To further illustrate the operation of the present embodiment, the present embodiment has been implemented in a security level DCS system, which has been provided in the Center project. The method uses a mode of automatically closing a multipoint connecting line, and selects a rectangular algorithm and a Bezier curve algorithm. The radian of the inflection point of the connecting line is natural, and the whole cloud picture mark supports text marking, range marking and line type interactive setting, so that the whole logic picture is simple, understandable and clear in appearance. The explanation information in the whole logic function diagram is transferred to the next link step by step, accurately and according to the explanation information; while ensuring that the logic portion of the functional diagram is not subject to any interference or influence provides an efficient and feasible approach.
The specific steps are as follows:
firstly, configuration software receives an instruction of starting a cloud picture labeling layer by an operator, and the configuration software automatically switches to the cloud picture labeling layer.
Second, the configuration software receives cloud picture pattern setting and provides flexible and various cloud picture patterns including the patterns of the cloud pictures, such as rectangles, any polygons and the like; including patterns of cloud boundary lines such as line width, line color, line style, etc.
And thirdly, the configuration software receives the positions of the key points selected by the operator in the cloud picture layer and records the positions of the key points.
Judging the self style of the cloud picture to be drawn currently by the configuration software, selecting a tracking scheme according to the style, selecting a starting point and an ending point as effective points of a frame if the cloud picture is a rectangular style, and selecting all the points as the effective points if the cloud picture is any polygon.
And fifthly, calling a rectangle algorithm by the configuration software, and determining the final frame range of the rectangle in a diagonal manner.
And sixthly, the configuration software calls a Bezier curve algorithm to draw each edge of the cloud picture frame, so that smooth transition of the inflection point is guaranteed, and effective natural connection lines are formed.
And seventhly, smoothly connecting the first point and the last point by configuration software according to a closing principle to ensure that the cloud picture is closed.
And switching the configuration software to a logic diagram drawing layer to draw a logic diagram.
Ninthly, the functional graph page data are processed by the configuration software, the logic graph layer data are extracted, cloud graph marking layer data are filtered, undisturbed logic graph data are transmitted to the compiling software, and a logic execution file is generated.
In a safety level DCS project, the labeling method based on the cloud graph of the nuclear power plant DCS platform logic algorithm diagram is realized.
A graphical representation of a rectangular cloud generated using the present method is shown, for example, in fig. 2.
An example of an arbitrary polygon cloud generated by the method is shown in fig. 3:
an example of an arbitrary polygon cloud generated by the method is shown in fig. 4:
the pure logic layer processed by the method is shown in FIG. 5:
in the embodiment, a cloud picture labeling method is researched aiming at the characteristics of complex logic function diagram flow and various functions, a mode of automatically closing multipoint connecting lines is used, and a rectangular algorithm and a Bezier curve algorithm are selected. The radian of the inflection point of the connecting line is natural. The whole cloud picture mark supports text marking, range marking and linear interaction setting, so that the whole logic picture is simple, easy to understand and clear in appearance. Finally, the explanation information in the logic function diagram is transferred to the next link step by step, accurately and according to the explanation information; while ensuring that the functional diagram logic is not subject to any interference or influence. The method is suitable for various occasions of logic function design, V & V, test and verification.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (6)

CN201910744306.0A2019-08-132019-08-13Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagramActiveCN110442337B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910744306.0ACN110442337B (en)2019-08-132019-08-13Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910744306.0ACN110442337B (en)2019-08-132019-08-13Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram

Publications (2)

Publication NumberPublication Date
CN110442337A CN110442337A (en)2019-11-12
CN110442337Btrue CN110442337B (en)2022-03-22

Family

ID=68435036

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910744306.0AActiveCN110442337B (en)2019-08-132019-08-13Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram

Country Status (1)

CountryLink
CN (1)CN110442337B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115185898B (en)*2022-05-202024-02-09中核武汉核电运行技术股份有限公司Nuclear power plant data periodic real-time processing method
CN115047835B (en)*2022-06-272024-06-04中国核动力研究设计院DCS-based periodic test data acquisition method, device, equipment and medium
CN115576283B (en)*2022-10-202024-08-20中国核动力研究设计院Whole-process backtracking method for logic diagram drawing of DCS (distributed control system) of nuclear power plant

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105159243A (en)*2015-07-282015-12-16华北电力大学(保定)Coal grindability compensation control method of thermal power set coordinated control system
CN105549557A (en)*2015-12-162016-05-04天津市奥朗新能源科技有限公司Real-time dynamic 3D water balance monitoring system of power plant and working method of system
AU2017100153A4 (en)*2017-02-092017-04-20Hilbers, Martijn Theodorus Bernardus MRA S88 compliant group controlling, self-sequencing, redundancy managing, alarm-managing, stackable and self learning control algorithm and software architecture for DCS'/PLC’s/PAC's and Smart Actuators.
CN107070738A (en)*2017-02-212017-08-18济南浪潮高新科技投资发展有限公司A kind of Transmission Control Protocol transmission data principles visualization method and system
CN107357278A (en)*2017-08-232017-11-17福建福清核电有限公司A kind of nuclear power plant's control system signal flow diagram generates online and service platform
CN109408916A (en)*2018-10-112019-03-01南京国电南自维美德自动化有限公司A kind of recognition methods of graphics logic configuration

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050086635A1 (en)*2003-10-202005-04-21Pegasus Technologies, Inc.Visual programming system and method
JP2007536634A (en)*2004-05-042007-12-13フィッシャー−ローズマウント・システムズ・インコーポレーテッド Service-oriented architecture for process control systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105159243A (en)*2015-07-282015-12-16华北电力大学(保定)Coal grindability compensation control method of thermal power set coordinated control system
CN105549557A (en)*2015-12-162016-05-04天津市奥朗新能源科技有限公司Real-time dynamic 3D water balance monitoring system of power plant and working method of system
AU2017100153A4 (en)*2017-02-092017-04-20Hilbers, Martijn Theodorus Bernardus MRA S88 compliant group controlling, self-sequencing, redundancy managing, alarm-managing, stackable and self learning control algorithm and software architecture for DCS'/PLC’s/PAC's and Smart Actuators.
CN107070738A (en)*2017-02-212017-08-18济南浪潮高新科技投资发展有限公司A kind of Transmission Control Protocol transmission data principles visualization method and system
CN107357278A (en)*2017-08-232017-11-17福建福清核电有限公司A kind of nuclear power plant's control system signal flow diagram generates online and service platform
CN109408916A (en)*2018-10-112019-03-01南京国电南自维美德自动化有限公司A kind of recognition methods of graphics logic configuration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Development of control system for an acid solution formation plant using DCS;Gajanan Kolmare等;《016 International Conference on Computing, Communication and Automation (ICCCA)》;20170116;第977-981页*
核电厂数字化仪控系统算法软件自动化生成方法;黄俊等;《上海交通大学学报》;20181228;第52卷;第31-35页*

Also Published As

Publication numberPublication date
CN110442337A (en)2019-11-12

Similar Documents

PublicationPublication DateTitle
CN110442337B (en)Labeling method based on cloud picture of nuclear power plant DCS platform logic algorithm diagram
JP6250901B2 (en) A robot system in which a CNC and a robot controller are connected via a communication network
AU2008209631B2 (en)Method for emphasizing differences in graphical appearance between an original document and a modified document with annotations
US8849032B2 (en)Shape parameterisation for editable document generation
US5553224A (en)Method for dynamically maintaining multiple structural interpretations in graphics system
CN113867694B (en) A method and system for intelligently generating front-end code
CN114661286A (en) A large-screen visual code generation method, system and storage medium
CN109375915A (en)A kind of block chain visual programming system and method
Baudelaire et al.Planar maps: an interaction paradigm for graphic design
CN101482897A (en)Intelligent skirt style and pattern design system
CN102446097B (en)Method for changing user interface skins
Chen et al.UI layers merger: merging UI layers via visual learning and boundary prior
CN108363879A (en)Data processing method suitable for image of clothing
CN118261779A (en)Color blindness friendly map conversion method, system and terminal based on generation countermeasure network
CN114937283B (en)Method for automatically identifying stratum information by utilizing two-dimensional geological vertical section
CN1987772A (en)General interface design interface system and interface developing method using said system
Tombre et al.Interpretation of engineering drawings
Schneider et al.Transient view generation in Eclipse
CN109710398A (en)It is a kind of based on UML towards GPU vertex coloring method for scheduling task
CN102419706B (en)Method for editing skin of user interface
CN116342723A (en)Templating method and terminal for visual shader editing
SalehiImageMagick Tricks Web Image Effects from the Command Line and PHP
CN112182705A (en)BIM technology-based simulation model data analysis method
Zhao et al.Pen-based interfaces in engineering environments
Chen et al.A new generation of intelligent punching environment for computerized embroidery

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right

Effective date of registration:20201222

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

TA01Transfer of patent application right
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp