JP2008293186A - Method and apparatus for automatically generating steel plant control program - Google Patents
Method and apparatus for automatically generating steel plant control program Download PDFInfo
- Publication number
- JP2008293186A JP2008293186A JP2007136648A JP2007136648A JP2008293186A JP 2008293186 A JP2008293186 A JP 2008293186A JP 2007136648 A JP2007136648 A JP 2007136648A JP 2007136648 A JP2007136648 A JP 2007136648A JP 2008293186 A JP2008293186 A JP 2008293186A
- Authority
- JP
- Japan
- Prior art keywords
- steel plant
- control program
- project
- plant control
- parts
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
この発明は、オブジェクト指向を用いた鉄鋼プラントなどのプロセス制御ラインにおける制御プログラムのソースコードを自動生成するための制御プログラムの自動生成方法およびその装置に関するものである。 The present invention relates to a method and apparatus for automatically generating a control program for automatically generating a source code of a control program in a process control line such as a steel plant using object orientation.
従来のプロセス制御プログラム自動生成装置においては、仕様書のトラッキング基本情報およびトラッキング動作情報を解析し、トラッキング機能標準部品からプログラムの自動生成をしている(例えば、特許文献1参照)。 A conventional process control program automatic generation apparatus analyzes tracking basic information and tracking operation information of a specification, and automatically generates a program from a tracking function standard part (see, for example, Patent Document 1).
従来の制御プログラム自動作成装置で自動作成されたソースコードは関数レベルのものが多く、それをユーザーが作成したプログラムから呼び出す形で使われている。このため、ユーザーが自由に関数を作成することが出来るため仕様書とソースコードの整合性を取ることは困難であった。 Many of the source codes automatically created by the conventional automatic control program creation device are at the function level and are used by calling them from a program created by the user. For this reason, since the user can freely create a function, it is difficult to ensure consistency between the specification and the source code.
この発明は上記のような問題を解決するためになされたものであり、UML(Unified Modeling Language)で記述した仕様書とオブジェクト指向言語を用いることによって、仕様書からソースコードの自動生成まで一貫性を保ち、工数の削減、保守性の向上を実現した鉄鋼プラント制御プログラムの自動生成方法及びその装置を得ることを目的とする。 The present invention has been made to solve the above-described problems, and by using a specification written in UML (Unified Modeling Language) and an object-oriented language, it is consistent from the specification to automatic generation of source code. An object of the present invention is to obtain a method and apparatus for automatically generating a steel plant control program that can reduce man-hours and improve maintainability.
また、この発明はオブジェクト指向に基づいたソースコードの部品化により、ソースコードの自動生成時に部品を適用することで、ブログラムの自動生成率を高めると共に、プログラム改修時の調整容易化を実現した鉄鋼プラント制御プログラムの自動生成装置を得ることを目的とする。 In addition, according to the present invention, by applying source code parts based on object orientation, the parts are applied when the source code is automatically generated, thereby improving the automatic program generation rate and facilitating the adjustment at the time of program modification. An object is to obtain an automatic generator for a steel plant control program.
また、この発明は大規模な処理を実現するために、仕様書に記述した機能の集まりから、トラッキング等をトリガーに発生するイベントを介在としたタスクの集まりに分割し、分散・並列化した独立して動く一連のタスクのソースコードに生成することができる自動生成装置を得ることを目的とする。 In addition, in order to realize large-scale processing, the present invention divides the function collection described in the specification into a task collection that uses an event that is triggered by tracking, etc., and is distributed and parallelized independently. An object of the present invention is to obtain an automatic generation apparatus that can generate a source code of a series of tasks that move in the same manner.
この発明に係る鉄鋼プラント制御プログラム自動生成方法においては、鉄鋼プラント制御プログラムを設計するためにUML(Unified Modeling Language)で記述した機能仕様書および該機能仕様書と鉄鋼プラントを制御する上での標準的な処理を部品化した標準部品と適用プロジェクト特有の処理を部品化したプロジェクト固有部品を用いて鉄鋼プラント制御プログラムを生成するための自動生成方法であって、機能仕様書に記述されたUMLの構造図と振る舞い図からプログラムの基本構造を自動的に解釈するステップと、標準部品とプロジェクト固有部品を結合するステップと、標準部品とプロジェクト固有部品を結合する処理結果に基づいて完成形プログラムを生成するステップとを備えたものである。 In the steel plant control program automatic generation method according to the present invention, a functional specification written in UML (Unified Modeling Language) for designing a steel plant control program, and a standard for controlling the functional specification and the steel plant. Automatic generation method for generating a steel plant control program using standard parts with standardized processing and project-specific parts with processing specific to the application project. Generates a complete program based on the result of automatically interpreting the basic structure of the program from the structure diagram and the behavior diagram, combining the standard part and the project-specific part, and combining the standard part and the project-specific part. And a step to perform.
また、この発明に係る鉄鋼プラント制御プログラム自動生成装置においては、鉄鋼プラント制御プログラムを設計するためにUML(Unified Modeling Language)で記述した機能仕様書および該仕様書と鉄鋼プラントを制御する上での標準的な処理を部品化した標準部品と適用プロジェクト特有の処理を部品化したプロジェクト固有部品を用いて鉄鋼プラント制御プログラムを生成するためのものであって、UMLで記述された機能仕様情報を入力する入力機能と、読み込まれた該機能仕様書のUMLの構造図と振る舞い図を自動的に解釈しオブジェクト指向言語のソースコードを自動生成する完成形プログラム生成機能とを備えたものである。 Moreover, in the steel plant control program automatic generation apparatus according to the present invention, a functional specification written in UML (Unified Modeling Language) and a specification for controlling the steel plant are designed to design a steel plant control program. The function specification information described in UML is input to generate a steel plant control program using standard parts that are standardized parts and project-specific parts that are part of the process specific to the application project. And a completed program generation function that automatically interprets the UML structure diagram and behavior diagram of the read function specification and automatically generates an object-oriented language source code.
この発明によれば、構造図と振る舞い図とからなる入力データを入力する入力処理機能、入力データを解析してプログラムのソースコードを生成するソースコード自動生成機能とを備えたので、システム開発の効率化と保守性の向上を実現した制御プログラム自動生成装置が得られる効果がある。 According to the present invention, the system has an input processing function for inputting input data composed of a structure diagram and a behavior diagram, and a source code automatic generation function for analyzing the input data and generating a source code of the program. There is an effect that an automatic control program generation device that realizes efficiency improvement and maintainability improvement can be obtained.
実施の形態1.
以下、この発明の実施の形態1における鉄鋼プラント制御プログラム自動生成装置を図面に基づいて説明する。
図1はこの発明の実施の形態1における鉄鋼プラント制御プログラム自動生成装置の構成を示すブロック図、図2は2次記憶装置に含まれる機能仕様情報の構成を示す説明図、図3は主記憶装置内の情報解析処理部を示すブロック図、図4はこの発明の実施の形態1における鉄鋼プラント制御プログラム自動生成装置の動作を説明するためのフローチャート、図5はこの発明の実施の形態1における鉄鋼プラント制御プログラム自動生成装置を用いて機能仕様書から完成形ソースコードを生成する処理の流れを示す図である。
Hereinafter, the steel plant control program automatic generation device in
1 is a block diagram showing the configuration of an automatic steel plant control program generating apparatus according to
図1に示すように、この発明の鉄鋼プラント制御プログラム自動生成装置は、情報解析処理部2を含む主記憶装置1と、CRT3と、CPU4と、キーボード5と、2次記憶装置6とから構成されている。上記2次記憶装置6は、機能仕様情報7と、標準部品8と、プロジェクト固有部品9と、自動生成ソースコード10とを含んでいる。
As shown in FIG. 1, the steel plant control program automatic generation device of the present invention comprises a
図2は2次記憶装置6に含まれる機能仕様情報7の構成を示す説明図である。機能仕様情報7は、UML(Unified Modeling Language)で記述されたクラス図20A、オブジェクト図20B、コンポーネント図20Cなどで構成された構造図20と、シーケンス図21A、アクティビティ図21B、ステートマシン図21Cなどで構成された振る舞い図21から構成されている。
FIG. 2 is an explanatory diagram showing the configuration of the
図3は主記憶装置1内の情報解析処理部2を示すブロック図である。情報解析処理部2は、入力処理機能40と、入力データ整合性チェック機能41と、標準部品結合機能42と、プロジェクト固有部品結合機能43と、ソースコード自動生成機能44とから構成されている。
FIG. 3 is a block diagram showing the information
入力処理機能40は機能仕様情報7内の構造図20と振る舞い図21の入力処理を行う。
入力データ整合性チェック機能41は入力データの整合性チェックを行う。
標準部品結合機能42は構造図20と振る舞い図21に基づいて該当する標準部品8の結合処理を行う。
プロジェクト固有部品結合機能43は構造図20と振る舞い図21に基づいて標準部品8が適用されないプロジェクト固有の処理についてプロジェクト固有部品9の結合処理を行う。
ソースコード自動生成機能44は標準部品結合機能42とプロジェクト固有部品結合機能43の処理結果に基づいてソースコードを生成する。
The
The input data
The standard
Based on the structure diagram 20 and the behavior diagram 21, the project-specific
The source code
次に、図4、図5のフローチャートに基づき、この発明である制御プログラム自動生成装置の動作について説明する。
まず、図1においてキーボード5から、あらかじめ機能仕様情報7内の構造図20と振る舞い図21とプロジェクト固有部品9を入力する。その後、キーボード5から、ボタン押下操作によりプログラム自動生成指示を行う。
図2の構造図20はプログラムがどのようなクラスやオブジェクトで構成されているのかを定義する。
振る舞い図21は構造図20で定義したオブジェクト間でどのようなタイミングでどのようなメッセージが相互作用しているかを定義する。
Next, the operation of the control program automatic generation apparatus according to the present invention will be described with reference to the flowcharts of FIGS.
First, in FIG. 1, the structure diagram 20, the behavior diagram 21, and the project
The structure diagram 20 in FIG. 2 defines what class or object the program is composed of.
The behavior diagram 21 defines what kind of message is interacting at what timing between the objects defined in the structure diagram 20.
情報解析処理部2は、ユーザーからのプログラム自動生成指示を受けて、図4に示す処理を実行する。
振る舞い図21は構造図20で定義したオブジェクト間で、トラッキングなどのトリガーによりイベントが発生したときに、どのような処理を実行させていくかを定義する。
まず、入力処理工程50において、ユーザーが入力した機能仕様情報7を2次記憶装置6から取り込む入力処理機能40を実行する。次に、入力情報チェック工程51において、入力データ整合性チェック機能41で構造図20と振る舞い図21の内容をチェックする。もし、入力データに誤りがあれば、データ異常有り工程52において、CRT3にエラーを出力し(エラー出力工程53)、自動生成装置を停止、終了する。
The information
The behavior diagram 21 defines what kind of processing is to be executed when an event occurs between the objects defined in the structure diagram 20 by a trigger such as tracking.
First, in the
入力データが正常であれば、標準部品結合工程54において、標準部品結合機能42により2次記憶装置6にある標準部品8から必要なコードを取り込む。
次に、プロジェクト固有部品結合工程55において、プロジェクト固有部品結合機能43により2次記憶装置6にあるプロジェクト固有部品9から必要なコードを取り込む。
次に、ソースコード自動生成工程56において、ソースコード自動生成機能44は標準部品結合機能42とプロジェクト固有部品結合機能43の処理結果に基づいて、図5に示すようにイベント毎に分割されたタスクのソースコードを生成して2次記憶装置6に格納する。
If the input data is normal, the standard
Next, in the project specific
Next, in the source code
図5はこの発明である制御プログラム自動生成装置を用いて各機能仕様者から完成形ソースコードを生成する処理の流れを示す図である。
各機能仕様書のトラッキング機能仕様書60は、UML構造図61とUML振る舞い図62からなる例を示している。また、自動生成装置70は、入力データ整合性チェック機能41、標準部品結合機能42、プロジェクト固有部品結合機能43からなり、標準部品結合機能42は、標準部品ソースコードが熱間圧延プロセスライン用部品71を含む例を示し、プロジェクト固有部品結合機能43は、固有部品ソースコードが特定プロジェクト用部品72を含む例を示している。また、完成形ソースコード80は、タスク1〜タスク3がトラッキングソースコード81を含む例を示している。
FIG. 5 is a diagram showing a flow of processing for generating a complete source code from each functional specification person using the control program automatic generation apparatus according to the present invention.
The
この発明である制御プログラム自動生成装置は、UML(Unified Modeling Language)で作成された機能仕様書に記述されているソフトウェアの構造を定義した構造図と、トラッキング等をトリガーに発生するイベントの流れを記述した振る舞い図を入力情報として取り込み、入力情報を解析して標準部品とプロジェクト固有部品からの結合を行うことにより、大きな処理をイベントを介在とした複数の小さな処理に対応するタスクに分割し、分散/並列化した一連の独立して動くタスクの集まりとしたソースコードを自動生成するものである。 The control program automatic generation apparatus according to the present invention includes a structure diagram that defines a software structure described in a functional specification written in UML (Unified Modeling Language), and a flow of events that are triggered by tracking and the like. By importing the described behavior diagram as input information, analyzing the input information and combining standard parts and project-specific parts, the large process is divided into tasks corresponding to multiple small processes with events, It automatically generates source code as a collection of a series of tasks that are distributed / parallelized and independently operated.
1 主記憶装置
2 情報解析処理部
3 CRT
4 CPU
5 キーボード
6 2次記憶装置
7 機能仕様情報
8 標準部品
9 プロジェクト固有部品
10 自動生成ソースコード
20 構造図
21 振る舞い図
40 入力処理機能
41 入力データ整合性チェック機能
42 標準部品結合機能
43 プロジェクト固有部品結合機能
44 ソースコード自動生成機能
50 入力処理工程
51 入力情報チェック工程
52 データ異常有り工程
53 エラー出力工程
54 標準部品結合工程
55 プロジェクト固有部品結合工程
56 ソースコード自動生成工程
60 トラッキング機能仕様書
61 UML構造図
62 UML振る舞い図
70 自動生成装置
71 熱間圧延プロセスライン用部品
72 特定プロジェクト用部品
80 完成形ソースコード
81 トラッキングソースコード
1
4 CPU
5 Keyboard 6
Claims (4)
前記機能仕様書に記述されたUMLの構造図と振る舞い図からプログラムの基本構造を自動的に解釈するステップと、前記標準部品とプロジェクト固有部品を結合するステップと、前記標準部品とプロジェクト固有部品を結合する処理結果に基づいて完成形プログラムを生成するステップと、を備えたことを特徴とする鉄鋼プラント制御プログラムの自動生成方法。 A functional specification described in UML (Unified Modeling Language) to design a steel plant control program, and a standard part obtained by converting the functional specification and a standard process for controlling a steel plant into parts and application project specific An automatic generation method for generating a steel plant control program using project-specific parts obtained by converting a process into parts,
A step of automatically interpreting a basic structure of a program from a UML structure diagram and a behavior diagram described in the functional specification, a step of combining the standard part and the project specific part, and the standard part and the project specific part. An automatic generation method for a steel plant control program, comprising: generating a complete program based on processing results to be combined.
前記UMLで記述された機能仕様情報を入力する入力機能と、読み込まれた該機能仕様書のUMLの構造図と振る舞い図を自動的に解釈しオブジェクト指向言語のソースコードを自動生成する完成形プログラム生成機能とを備えたことを特徴とする鉄鋼プラントプログラムの自動生成装置。 Functional parts written in UML (Unified Modeling Language) to design a steel plant control program and standard parts and standardized processes for controlling the steel plant and standard parts and processing specific to the application project An automatic generation device for generating a steel plant control program using project-specific parts obtained by converting
An input function for inputting functional specification information described in the UML, and a complete program for automatically generating source code of an object-oriented language by automatically interpreting the UML structure diagram and behavior diagram of the read functional specification An automatic generation device for a steel plant program characterized by comprising a generation function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007136648A JP2008293186A (en) | 2007-05-23 | 2007-05-23 | Method and apparatus for automatically generating steel plant control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007136648A JP2008293186A (en) | 2007-05-23 | 2007-05-23 | Method and apparatus for automatically generating steel plant control program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008293186A true JP2008293186A (en) | 2008-12-04 |
Family
ID=40167859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007136648A Pending JP2008293186A (en) | 2007-05-23 | 2007-05-23 | Method and apparatus for automatically generating steel plant control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008293186A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022906A (en) * | 2009-07-17 | 2011-02-03 | Mitsubishi Electric Corp | Device, method and program for supporting development |
JP2013164670A (en) * | 2012-02-09 | 2013-08-22 | Fuji Electric Co Ltd | Object-oriented program generation device, method thereof and program |
JP2014153783A (en) * | 2013-02-05 | 2014-08-25 | Fuji Electric Co Ltd | Object-oriented program generation device, object-oriented program generation method, and program for object-oriented program generation |
JP2014222482A (en) * | 2013-05-14 | 2014-11-27 | 富士電機株式会社 | Object-oriented program generation device, object-oriented program generation method, and program for generating object-oriented program |
JP2015026139A (en) * | 2013-07-24 | 2015-02-05 | 富士電機株式会社 | Program generation device, program generation method, and program for program generation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04242801A (en) * | 1991-01-07 | 1992-08-31 | Mitsubishi Electric Corp | Generating method for plant control logic |
JP2002116911A (en) * | 2000-10-06 | 2002-04-19 | Revenet:Kk | Automatic generation device for object-oriented program |
JP2003108220A (en) * | 2001-09-28 | 2003-04-11 | Omron Corp | System and method for assisting development of control program |
JP2003140893A (en) * | 2001-11-02 | 2003-05-16 | Nippon Telegr & Teleph Corp <Ntt> | Device and method for automatically creating user interface program, program and storage medium |
JP2006350729A (en) * | 2005-06-16 | 2006-12-28 | Hitachi Ltd | Application software construction method, application software construction processing program, and application software construction system |
-
2007
- 2007-05-23 JP JP2007136648A patent/JP2008293186A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04242801A (en) * | 1991-01-07 | 1992-08-31 | Mitsubishi Electric Corp | Generating method for plant control logic |
JP2002116911A (en) * | 2000-10-06 | 2002-04-19 | Revenet:Kk | Automatic generation device for object-oriented program |
JP2003108220A (en) * | 2001-09-28 | 2003-04-11 | Omron Corp | System and method for assisting development of control program |
JP2003140893A (en) * | 2001-11-02 | 2003-05-16 | Nippon Telegr & Teleph Corp <Ntt> | Device and method for automatically creating user interface program, program and storage medium |
JP2006350729A (en) * | 2005-06-16 | 2006-12-28 | Hitachi Ltd | Application software construction method, application software construction processing program, and application software construction system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022906A (en) * | 2009-07-17 | 2011-02-03 | Mitsubishi Electric Corp | Device, method and program for supporting development |
JP2013164670A (en) * | 2012-02-09 | 2013-08-22 | Fuji Electric Co Ltd | Object-oriented program generation device, method thereof and program |
JP2014153783A (en) * | 2013-02-05 | 2014-08-25 | Fuji Electric Co Ltd | Object-oriented program generation device, object-oriented program generation method, and program for object-oriented program generation |
JP2014222482A (en) * | 2013-05-14 | 2014-11-27 | 富士電機株式会社 | Object-oriented program generation device, object-oriented program generation method, and program for generating object-oriented program |
JP2015026139A (en) * | 2013-07-24 | 2015-02-05 | 富士電機株式会社 | Program generation device, program generation method, and program for program generation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108351636B (en) | Engineering design tool, system and module | |
EP1715411A1 (en) | A data processing system and method | |
Ozik et al. | The ReLogo agent-based modeling language | |
JP2010250378A (en) | Software development support apparatus, system, function extension method for software development support apparatus and program | |
Denil et al. | Explicit semantic adaptation of hybrid formalisms for FMI co-simulation | |
CN105700867A (en) | Method for generating executable applications with dynamic scalable vector graphics | |
JP2008293186A (en) | Method and apparatus for automatically generating steel plant control program | |
CN110109658B (en) | ROS code generator based on formalized model and code generation method | |
CN102375743A (en) | SOA(Service-Oriented Architecture) system development method based on model and template | |
CN114138274A (en) | High-level intermediate representation conversion method and related device of deep learning compiler | |
JP2009289162A (en) | Apparatus for automatically creating control program and testing method plan | |
Sun et al. | A model-driven approach to support engineering changes in industrial robotics software | |
Kim et al. | Design of code template for automatic code generation of heterogeneous smartphone application | |
US20100269089A1 (en) | Method and system for generation of reusable design patterns | |
Sawprakhon et al. | Sequence diagram generation with model transformation technology | |
Son et al. | MOF based code generation method for android platform | |
Son et al. | Semi-automatic software development based on MDD for heterogeneous multi-joint robots | |
JP2012150740A (en) | Program generating device and method | |
Szvetits et al. | Architectural design decisions for systems supporting model-based analysis of runtime events: a qualitative multi-method study | |
Barcelona et al. | Applying a model-based methodology to develop web-based systems of systems | |
JP5045059B2 (en) | Automatic control program creation device | |
Sunitha et al. | Translation of behavioral models to source code | |
Kateros et al. | A methodology for model-driven web application composition | |
Li et al. | EML: A Tree Overlay-Based Visual Language for Business Process Modelling. | |
Watanobe et al. | Diagram scenes in* AIDA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100426 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120306 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120307 |
|
A521 | Written amendment |
Effective date: 20120424 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120904 |