JP2007058447A - Modeling method of control target system based on extended petri net and controller based on extended petri net - Google Patents

Modeling method of control target system based on extended petri net and controller based on extended petri net Download PDF

Info

Publication number
JP2007058447A
JP2007058447A JP2005241585A JP2005241585A JP2007058447A JP 2007058447 A JP2007058447 A JP 2007058447A JP 2005241585 A JP2005241585 A JP 2005241585A JP 2005241585 A JP2005241585 A JP 2005241585A JP 2007058447 A JP2007058447 A JP 2007058447A
Authority
JP
Japan
Prior art keywords
petri net
transition
place
execution
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005241585A
Other languages
Japanese (ja)
Inventor
Hidekazu Otake
英一 大竹
Yukitoshi Sato
幸俊 佐藤
Takayuki Nanri
孝行 南里
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.)
Kimura Unity Co Ltd
Original Assignee
Kimura Unity 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 Kimura Unity Co Ltd filed Critical Kimura Unity Co Ltd
Priority to JP2005241585A priority Critical patent/JP2007058447A/en
Publication of JP2007058447A publication Critical patent/JP2007058447A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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]

Abstract

<P>PROBLEM TO BE SOLVED: To provide a controller based on an extended Petri net useful for a design or improvement of a physical distribution system. <P>SOLUTION: This controller 101 based on the extended Petri net comprises a computer system having input means 105, 106, a display means 104, a Petri net model design means 111, and a Petri net execution means 112, connectable with external control target equipment 108. Thereby, control of a system, monitoring of the system, and performance evaluation of the system can be performed by one Petri net model. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、物流分野や製造分野において、庫内物流、FAシステムまたは生産ラインなどの制御対象システムを制御するための拡張ペトリネットに基づくモデル化方法とそれを用いた拡張ペトリネットに基づく制御装置に関するものである。   The present invention relates to a modeling method based on an extended Petri net and a control device based on an extended Petri net using the same for controlling a control target system such as a physical distribution, FA system or production line in the physical distribution field or the manufacturing field. It is about.

物流分野や製造分野における、庫内物流、FAシステムまたは生産ラインなどでは、シーケンス制御が用いられている。最近では、制御のみではなくシステムの稼働状況把握や進捗把握、遠隔地からのシステム監視、システム異常発生元の表示などシステムの状態を詳細に表現することのできる付加価値について必要性が増している。さらに、生産ラインや物流システムの性能を模擬的に評価することで生産性を下げているボトルネックとなる工程やシステム構成の問題箇所などを発見し、システムを改善するヒントを得ることのできる付加価値においても同様である。   Sequence control is used in warehouse logistics, FA systems, production lines, etc. in the logistics and manufacturing fields. Recently, there is an increasing need for added value that can express the state of the system in detail, such as not only control but also system operation status and progress grasp, system monitoring from a remote location, display of the system error source, etc. . In addition, by evaluating the performance of production lines and logistics systems in a simulated manner, it is possible to discover the bottleneck processes and system configuration problems that are reducing productivity, and obtain hints for improving the system. The same applies to value.

物流分野や生産分野のシステムは、主にシーケンス制御を行うPLC(プログラマブル・ロジック・コントローラー)により制御されている。PLCでは主にLD(ラダー)、SFC(シーケンシャル・ファンクション・チャート)などの記述手法を用いてシーケンス制御の処理を行っている。LDは、個々の出力に対して動作条件を羅列していくため、全体の制御の流れが見えにくく、そのプログラムは作成者以外の第三者には理解し難い。そのため、メンテナンス性が悪いなど問題点が指摘されている。SFCは、LDの制御の流れが見えにくいという問題点を改善することができる。しかし、両者はシーケンス制御の処理を行う記述手法であるため、システムそのものを表現することはできない。よって、システム状態の監視やシステムの性能評価などの前記付加価値を提供することはできない。   Logistics and production systems are mainly controlled by a PLC (programmable logic controller) that performs sequence control. In PLC, sequence control processing is mainly performed using a description method such as LD (ladder) or SFC (sequential function chart). Since LD arranges operating conditions for each output, the entire control flow is difficult to see, and the program is difficult for a third party other than the creator to understand. For this reason, problems such as poor maintainability have been pointed out. SFC can improve the problem that it is difficult to see the flow of LD control. However, since both are description methods that perform sequence control processing, the system itself cannot be expressed. Therefore, it is not possible to provide the added value such as system state monitoring and system performance evaluation.

物流分野や生産分野などの庫内物流における製品の流れや生産ラインを流れる部品や材料が幾つかの作業工程を経て製品になる様子は、一般に離散事象システムとして表さわれる。離散事象システムをモデル化する手法の1つにペトリネットがある。ペトリネットは、多くのシステムに適用可能なグラフィックでモデル化ができるツールである。   The state of products in warehouse logistics such as the logistics field and production field, and the state that parts and materials flowing through the production line become products through several work processes are generally expressed as discrete event systems. One technique for modeling discrete event systems is Petri nets. Petri nets are tools that can be modeled with graphics that can be applied to many systems.

ペトリネットは、1962年ドイツのCarl Adam Petriによって提案され、平行的、非同期的、並列的、分散的、非決定的、確立的な動作を特徴とする生産システムや、情報システム、物流システムなどを表現する有力な手段である。   Petri Net was proposed by Carl Adam Petri of Germany in 1962 and represents production systems, information systems, logistics systems, etc. characterized by parallel, asynchronous, parallel, distributed, non-deterministic and established behaviors. It is a powerful means to do.

ペトリネットの定義自体は、オートマトンなどと同様に単純なものであり、その理解には特別な数学の知識を必要としない。特に、図としての表現が可能であることがペトリネットの大きな特徴である。   The Petri net definition itself is as simple as an automaton, and its understanding does not require special mathematical knowledge. In particular, a major feature of Petri nets is that they can be represented as diagrams.

ペトリネットは有向グラフの1つであり初期マーキングと呼ばれる初期状態をもつ。ペトリネットをつくる基本的なグラフは、重みつき有向2部グラフであって、プレースとトランジションの2種類のノードからなる。アークは、プレースからトランジションに接続するもの、または、トランジションからプレースに接続するもののいずれかである。   A Petri net is one of directed graphs and has an initial state called initial marking. The basic graph for creating a Petri net is a weighted directed bipartite graph, and consists of two types of nodes: places and transitions. An arc is either connected from a place to a transition or connected from a transition to a place.

条件と事象の概念を用いるモデル化においては、プレースが条件を表し、トランジションが事象を表す。トランジションはそれぞれの事象の前提条件と後提条件としているいくつかの入力プレースと出力プレースを持つ。   In modeling using the concept of conditions and events, places represent conditions and transitions represent events. A transition has several input places and output places as preconditions and postconditions for each event.

以下、本発明にも関連する図2等を参照しつつ、ペトリネット図について説明する。トランジション208の前提条件となる入力プレース201と入力プレース204、後提条件となる出力プレース209をそれぞれのアークで接続している。入力プレース201内のトークン202およびトークン203と、入力プレース204内のトークン205とは、初期マーキングを表す。   The Petri net diagram will be described below with reference to FIG. 2 and the like related to the present invention. The input place 201 and the input place 204, which are prerequisites for the transition 208, and the output place 209, which is a post-condition, are connected by respective arcs. The token 202 and token 203 in the input place 201 and the token 205 in the input place 204 represent initial marking.

トランジション208が発火可能となる条件は、入力プレース201からトランジション208に接続しているアーク206の重み211以上のトークンが入力プレース201にあり、かつ、入力プレース204からトランジション208に接続しているアーク207の重み以上のトークンが入力プレース204にある場合である。この場合、入力プレース201に接続しているアークの重み211は2で入力プレース201内のトークンも2つある。また、入力プレース204に接続しているアークの重みは、アークに数値が記述されていない場合は1であり、入力プレース204のトークン数は1である。よって、前提条件を満たしているため、トランジション208は発火する。   The condition that the transition 208 can be ignited is that the token having a weight 211 or more of the arc 206 connected to the transition 208 from the input place 201 is in the input place 201 and the arc connected to the transition 208 from the input place 204 This is a case where tokens having a weight of 207 or more exist in the input place 204. In this case, the arc weight 211 connected to the input place 201 is 2, and there are also two tokens in the input place 201. The weight of the arc connected to the input place 204 is 1 when no numerical value is described in the arc, and the number of tokens in the input place 204 is 1. Therefore, since the precondition is satisfied, the transition 208 is ignited.

トランジション208が発火した状態を図3に示す。発火後の前提条件では、入力プレース301から接続するアークの重み309分のトークンを取り除く。入力プレース302も同様に接続するアーク304の重み分のトークンを取り除く。   FIG. 3 shows a state where the transition 208 is ignited. As a precondition after firing, a token having a weight of 309 arc connected from the input place 301 is removed. Similarly, the input place 302 removes tokens corresponding to the weight of the arc 304 to be connected.

発火後の後提条件では、出力プレース307に接続するアーク306の重み分のトークンを出力プレース307内にマーキングする。この場合は、アークの重みが1であるため、出力プレース307には1つのトークンがマーキングされる。   Under the postponement condition after firing, a token for the weight of the arc 306 connected to the output place 307 is marked in the output place 307. In this case, since the arc weight is 1, one token is marked in the output place 307.

図2のトランジション208の発火遅れ212について説明する。上記のペトリネット理論に時間的概念を加えたものが時間ペトリネットである。この発火遅れ212は、発火可能な状態から5ステップ分の発火時間を遅らせる働きがある。1ステップ時間を1秒とした場合、発火可能なトランジション208が発火するのは、5秒後となる。このように、時間ペトリネットを用いれば、システムの挙動を時間的に表現することが可能となる。   The firing delay 212 of the transition 208 in FIG. 2 will be described. Temporal Petri nets are a combination of the above Petri net theory and temporal concepts. This ignition delay 212 has a function of delaying the ignition time for five steps from a state where ignition is possible. If one step time is 1 second, the ignitable transition 208 will fire after 5 seconds. In this way, using a time Petri net makes it possible to express the behavior of the system in terms of time.

カラーペトリネットでは、トークンに属性を持たせることが可能である。トランジションでは、トークン属性を用いて発火規則(firing rule)を論理式などで表すことができる。
特開2003−150887号公報
In color petri nets, it is possible to give attributes to tokens. In transition, a firing rule can be expressed by a logical expression or the like using a token attribute.
JP 2003-150887 A

従来のペトリネット理論を用いたシステムの制御、監視、システムの性能評価には下記の4つの問題点がある。   There are the following four problems in system control, monitoring, and system performance evaluation using conventional Petri net theory.

1つ目として、従来のペトリネット理論では、システムのあらゆる状況において優先的に割り込み処理をさせるようなシステムを簡素にモデル化することが困難であった。割り込み処理に複数の種類がある場合は、モデル化を一層に複雑にしていた。ペトリネットモデルを複雑にすることは、ペトリネットの利点でもある視覚的表現の効果に影響を与え、システムの監視の妨げになり問題である。例えば、図4の搬送システムをペトリネットモデル化して制御を行う場合、非常停止のような割り込み的な制御に対応させるため為には、制御内容をペトリネットモデル化したプログラム内の全てのトランジションに非常停止が押された時に、非常停止処理を行うという前提条件と後提条件を追加しなければならなくなる。トランジションに前提条件と後提条件を追加することは、ペトリネットモデルの設計工数を増加させるだけでなくペトリネットモデルを複雑にすることになる。また、システムの規模が大きくなるに従いトランジションの数が増えてしまうため、より影響を受けてしまうこととなる。さらに、割り込み処理の種類が複数あるとトランジションに対して追加する前提条件と後提条件も複数追加することとなるため、設計工数の増大とペトリネットモデルの複雑化への影響はより大きくなる。   First, in the conventional Petri net theory, it has been difficult to simply model a system that preferentially handles interrupts in any situation of the system. When there were multiple types of interrupt processing, modeling was further complicated. Complicating the Petri net model affects the effect of visual representation, which is also an advantage of Petri nets, and hinders system monitoring. For example, when the transport system of FIG. 4 is controlled by making a Petri net model, in order to cope with an interrupt-like control such as an emergency stop, the control contents are transferred to all the transitions in the program that is made a Petri net model. When an emergency stop is pressed, a precondition that an emergency stop process is performed and a post-condition must be added. Adding preconditions and post-conditions to the transition not only increases the design effort of the Petri net model, but also complicates the Petri net model. In addition, since the number of transitions increases as the scale of the system increases, the system is more affected. Furthermore, if there are a plurality of types of interrupt processing, a plurality of preconditions and postponement conditions to be added to the transition are also added, so that the influence on the increase in design man-hours and the complexity of the Petri net model is further increased.

2つ目として、従来のペトリネット理論でシステムのモデル化を行い、そのペトリネットモデルを実行させる場合、1ステップ毎にモデル内の全てのトランジションに対して発火可能であるかの判定を行い、発火可能であれば発火処理を行う必要があった。システムの規模が大きくなるに従いトランジションの数が増大すると、全てのトランジションについて1ステップ毎に発火判定を行うことは、ペトリネットの実行処理に大きな負荷を与えることになる。   Secondly, when the system is modeled by the conventional Petri net theory and the Petri net model is executed, it is determined at every step whether or not all transitions in the model can be ignited, If it was possible to ignite, it was necessary to perform an ignition process. If the number of transitions increases as the system size increases, performing the firing determination for each transition for all transitions imposes a heavy load on the Petri net execution process.

3つ目として、カラーペトリネット理論を用いてトークンに属性を与えて商品、部品または製品などを表現する場合、トークンの属性定義やトークンが遷移するアークの属性定義など多くの定義や設定を要するため、ペトリネットモデルの設計や属性設定が複雑で、ペトリネットモデルの設計工数も増大していた。   Third, when a product, part, or product is expressed by giving attributes to the token using color Petri net theory, many definitions and settings are required, such as the attribute definition of the token and the attribute definition of the arc where the token transitions. For this reason, the design and attribute setting of the Petri net model are complicated, and the design man-hours of the Petri net model have increased.

4つ目として、制御を目的としたペトリネットモデルで、システムの監視、システムの性能評価の全てを行うことができなかった為、用途に合わせてペトリネットモデルを再設計する必要があった。   Fourth, the Petri net model for the purpose of control could not perform all of the system monitoring and system performance evaluation, so it was necessary to redesign the Petri net model according to the application.

本発明は、このような事情に鑑みて為されたものであり、システムの制御、システムの監視およびシステムの性能評価を1つのペトリネットモデルで行うことができるモデル化方法を提供することを目的とする。また、このモデル化方法を用いた拡張ペトリネットに基づく制御装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a modeling method capable of performing system control, system monitoring, and system performance evaluation with a single Petri net model. And It is another object of the present invention to provide a control device based on an extended Petri net using this modeling method.

本発明者はこの課題を解決すべく鋭意研究し、試行錯誤を重ねた結果、次のような本発明を完成するに至った。
〈拡張ペトリネットに基づく制御対象システムのモデル化方法〉
すなわち本発明の拡張ペトリネットに基づく制御対象システムのモデル化方法は、制御対象であるシステムを拡張ペトリネットを用いてモデル化する拡張ペトリネットに基づく制御対象システムのモデル化方法であって、
該システムの起こり得る状態を表したプレースと該システムのある状態を表すプレースから次の状態を表すプレースへの遷移に必要となる処理を階層構造をもって表した階層構造トランジションとを時系列順に並べて上位ペトリネット図を作成し、該システムの全体の状態をモデル化するシステム状態モデル作成工程と、前記上位ペトリネット図上のあるプレースから次のプレースへ遷移する様子を、前記処理の開始を示すスタートトランジションと該処理の終了を示すエンドトランジションと該スタートトランジションと該エンドトランジションとの間の状態を細分化して表した複数の処理状態プレースと該処理状態プレース間の遷移に必要となる細分化された処理を表した処理トランジションとを時系列順に並べて作成した下位ペトリネット図に表し、前記階層構造トランジションに含まれる階層化先の処理内容をモデル化するシステム処理実行モデル作成工程と、前記システムの通常処理から割り込み処理へ遷移可能なペトリネットモデルを作成して、前記システムの通常処理の実行中の如何なる状態からでも優先的に割り込み処理の実行を可能とするシステム割り込み処理実行モデル作成工程と、外部I/Oデバイスの論理的な入出力条件の結果を反映すると共に複数のペトリネット図の間で共有可能な機能をもつ共有プレースを用いて該入出力条件をブロック化する特定ペトリネット図を作成して、該複数のペトリネット図間で該該共有プレースの再利用を可能とするモデル化を行う入出力条件ブロック化モデル作成工程とを有することを特徴とする。
(作用効果)
本発明の拡張ペトリネットに基づく制御対象システムのモデル化方法によれば、次のよう作用効果が得られる。
(1)システム状態モデル作成工程やシステム処理実行モデル作成工程では、システムの状態の流れや処理の流れに沿って順序立てて制御対象システムをモデル化することができるため、設計が容易で、専門知識や設計経験が無くても設計が可能である。
(2)こうしてモデル化したペトリネット図をペトリネット実行手段により実行処理した場合、システム状態モデル作成工程やシステム処理実行モデル作成工程で作成したペトリネット図からシステムの状態を容易に把握することができる。
(3)システム割り込み処理実行モデル作成工程で作成したペトリネット図は、割り込み処理が可能な従来のペトリネットモデルに比べて簡素化することができる。よって、モデル化の設計効率が向上する。
(4)入出力条件ブロック化モデル作成工程で作成したペトリネット図は、1つの共有プレースに反映させることが可能である。このため、他のペトリネット図で共有プレースを再利用することでペトリネットモデルを簡素化することができる。
〈拡張ペトリネットに基づく制御装置〉
さらに本発明は、上記拡張ペトリネットに基づく制御対象システムのモデル化方法を制御装置に利用したものでも良い。
すなわち本発明の拡張ペトリネットに基づく制御装置は、ポインティングデバイスおよびキーボードを含む入力手段と、作成および編集した内容を表示する表示手段と、拡張ペトリネットによるペトリネットモデルを設計するペトリネットモデル設計手段と、ペトリネットモデルを実行するペトリネット実行手段とを備え、外部の制御対象機器と接続可能なコンピュータシステムからなる拡張ペトリネットに基づく制御装置であって、
前記ペトリネットモデル設計手段は、プレースとトランジションと該プレースおよび該トランジションを接続するアークとを配置したペトリネット図を作成する要素配置編集手段と、前記要素配置編集手段で配置したノードを設定する各種ノード設定手段と、前記ペトリネット図を目的に応じた状態に設定するシート設定手段と、前記ペトリネット図に階層構造を設定する階層構造設定手段と、外部の制御対象機器と特定機能を有する外部入出力プレースとの関連を設定するI/O設定手段の手段とを備え、前記ペトリネット実行手段は、前記階層化されたペトリネット図の実行を制御する階層構造実行手段と、前記ペトリネットモデルを実行させて外部の制御対象機器を制御する制御実行手段と、前記ペトリネットモデルを実行させてシステムの挙動をペトリネットで表現する通常実行手段とを備え、さらに、作成したペトリネットモデルを記録するペトリネットモデル記録手段と、ペトリネットモデルの作成、編集および実行を表示手段に表示させるペトリネットモデル表示手段とを有することを特徴とする。
(作用効果)
本発明の拡張ペトリネットに基づく制御装置によれば、次のよう作用効果が得られる。
(1)本発明の制御装置の階層構造実行手段は、前述したモデル化方法で作成した階層構造を有するペトリネットモデルの通常実行処理中に発生した割り込み処理命令に対して、割り込み処理を行うペトリネット図に実行処理を任意に移すことが可能となる。
(2)ペトリネット実行手段は、システムの状態が遷移する際に、必要となる階層化先のペトリネット図のみを実行処理させる。そのため、トランジションの発火判定処理を、必要とするペトリネット図のみに限定して行うことができるため、実行処理の負荷を軽減できる。
(3)ペトリネット実行手段は、制御対象の制御を行いながらシステム状態モデルシートと、制御処理モデルシートでリアルタイムにシステムの挙動を表現しているため、簡単にシステムの状態を把握することができる。
(4)制御実行手段のI/Oセッティングシートの実行処理と初期化機能により、外部入出力条件をブロック化したペトリネット図の簡素化と、ペトリネットモデル内のトランジションを削減することによる実行処理の負荷を軽減できる。
〈その他〉
本発明の拡張ペトリネットに基づく制御対象システムのモデル化方法および拡張ペトリネットに基づく制御装置は、さらに次のような構成を備えるとより好ましい。
1.すなわち、上記した本発明は、前記ペトリネット図単位に該ペトリネット図内の全てのトークンに対して所定の設定に応じたデータの格納、参照および代入を可能とする属性を設定する属性設定手段と、前記トークンに付与された属性値に外部情報を設定でき若しくは該属性値の変更を任意に設定できる機能をプレース若しくはトランジションに割り当てる機能設定手段と、前記トランジションの発火規則を示す発火条件式を任意に設定できるトランジション発火条件式設定手段と、トランジションの発火後に遷移する前記トークンに付与された属性値に対して該属性値の変更を任意に設定できるトランジション出力設定手段と、前記機能設定手段の設定に従い前記トークンの属性値を変更する機能実行手段と、前記トランジション発火条件式設定手段で設定した発火条件式を考慮した発火判定を行い、前記トランジション出力設定手段の設定に従い発火後のトークンの属性値を変更する属性設定発火処理手段とを有すると好適である。
(作用効果)
本発明によれば次のよう作用効果が得られる。
(1)属性設定手段を用いることで、複数のシートからなるペトリネットモデルに対して、必要なシートにのみ属性定義をすることができる。このため、ペトリネット実行手段で実行処理を行う場合、属性に関連するメモリの消費量と、属性に関連する実行処理を削減して処理の負荷を抑えることができる。
(2)属性設定手段は、あらかじめトークンに何種類かの属性定義をすることで、トークンが格納できるデータ長を指定するだけで、簡単にトークンに属性を持たせることができる。
(3)属性設定手段でデータ長を指定する際に、個々の属性値に自動的にアドレスが付与される。そのアドレスにより、トランジション発火条件式設定手段、トランジション出力設定手段または機能設定手段などは、個々の属性値への参照や、演算結果の代入など簡単に設定することが可能となる。
(4)属性設定発火処理手段を用いることで、トークンの属性値からトランジション発火を制御したり、トランジションや機能プレースの機能などの設定値によりトークンの属性値を変更したりすることができる。
(5)上記した全ての手段を用いることで、システムを詳細に表現することが可能となり、複雑なシステムの制御と詳細なシステムの状態監視とを実現することができる。
2.さらに、本発明は、前記システムの生産性低下の要因箇所の特定を可能とする性能評価を模擬的に行える性能評価実行手段と、前記性能評価実行手段が実行時に使用する特定のパラメータを設定する性能評価設定手段とを有すると一層好適である。
(作用効果)
本発明によれば次のよう作用効果が得られる。
(1)性能評価実行手段は、本来の制御用に拡張ペトリネット形式でモデル化したペトリネット図でシステムの性能を模擬的に評価することが可能である。これにより、性能評価設定手順の設定次第で、システムの生産効率、作業計画さらにはシステムの構成の不具合などを把握することができる。
(2)性能評価設定手段と性能評価実効手段を用いることで、制御用のペトリネット図を性能評価のためにも再利用することが可能となる。これにより、性能評価を行うために必要なペトリネットモデルの設計をより効率的に行える。
As a result of intensive studies to solve this problem and repeated trial and error, the present inventors have completed the present invention as follows.
<Modeling method of controlled system based on extended Petri net>
That is, the control target system modeling method based on the extended Petri net of the present invention is a control target system modeling method based on an extended Petri net that models a system to be controlled using an extended Petri net,
Place a place representing a possible state of the system and a hierarchical structure transition representing the processing necessary for transition from a place representing a certain state of the system to a place representing the next state in a chronological order. A system state model creation step of creating a Petri net diagram and modeling the overall state of the system, and a start indicating the start of the process, from a place on the upper Petri net diagram to the next place A subdivision required for transition between a processing state place and a plurality of processing state places showing a transition, an end transition indicating the end of the processing, a state between the start transition and the end transition. Lower-order petrines created by arranging process transitions representing processes in chronological order A system processing execution model creation step that models the processing contents of the hierarchization destination included in the hierarchical transition, and a Petri net model that can transition from normal processing to interrupt processing of the system, Reflects the result of the system interrupt processing execution model creation step that enables the interrupt processing to be executed preferentially from any state during execution of the normal processing of the system and the logical input / output conditions of the external I / O device And creating a specific Petri net diagram that blocks the input / output conditions using a shared place having a function that can be shared among a plurality of Petri net diagrams. And an input / output condition blocking model creation step for modeling to enable reuse.
(Function and effect)
According to the control target system modeling method based on the extended Petri net of the present invention, the following operational effects can be obtained.
(1) In the system state model creation process and the system process execution model creation process, the system to be controlled can be modeled in order according to the system state flow and process flow. Design is possible without knowledge or design experience.
(2) When the Petri net diagram modeled in this way is executed by the Petri net execution means, the system state can be easily grasped from the Petri net diagram created in the system state model creation process or the system processing execution model creation process. it can.
(3) The Petri net diagram created in the system interrupt processing execution model creation step can be simplified as compared with a conventional Petri net model capable of interrupt processing. Therefore, the design efficiency of modeling is improved.
(4) The Petri net diagram created in the input / output condition blocking model creation step can be reflected in one shared place. For this reason, the Petri net model can be simplified by reusing the shared place in another Petri net diagram.
<Control device based on extended Petri net>
Further, the present invention may use a control target system modeling method based on the extended Petri net for a control device.
That is, the control device based on the extended Petri net of the present invention includes an input means including a pointing device and a keyboard, a display means for displaying the created and edited contents, and a Petri net model design means for designing a Petri net model by the extended Petri net. And a Petri net execution means for executing the Petri net model, and a control device based on an extended Petri net comprising a computer system connectable to an external control target device,
The Petri net model design means includes an element arrangement editing means for creating a Petri net diagram in which places, transitions, arcs connecting the places and the transitions are arranged, and various nodes for setting the nodes arranged by the element arrangement editing means. Node setting means, sheet setting means for setting the Petri net diagram in a state according to the purpose, hierarchical structure setting means for setting a hierarchical structure in the Petri net diagram, an external device to be controlled and an external device having a specific function I / O setting means for setting an association with an input / output place, and the Petri net executing means includes a hierarchical structure executing means for controlling execution of the layered Petri net diagram, and the Petri net model. Control execution means for controlling an external control target device by executing A Petri net model recording means for recording the created Petri net model, and a Petri net for displaying the creation, editing and execution of the Petri net model on the display means. And a model display means.
(Function and effect)
According to the control device based on the extended Petri net of the present invention, the following operational effects can be obtained.
(1) The hierarchical structure executing means of the control apparatus of the present invention is a petri that performs interrupt processing on interrupt processing instructions generated during normal execution processing of a Petri net model having a hierarchical structure created by the modeling method described above. Execution processing can be arbitrarily transferred to the net diagram.
(2) The Petri net execution means executes only the necessary Petri net diagram of the hierarchization destination when the system state transitions. For this reason, the transition firing determination process can be performed only for the necessary Petri net diagrams, so the load of the execution process can be reduced.
(3) Since the Petri net execution means expresses the system behavior in real time with the system state model sheet and the control processing model sheet while controlling the controlled object, the system state can be easily grasped. .
(4) By executing the I / O setting sheet execution process and initialization function of the control execution means, the Petri net diagram in which external input / output conditions are blocked is simplified, and the execution process is performed by reducing transitions in the Petri net model. Can reduce the load.
<Others>
It is more preferable that the control target system modeling method based on the extended Petri net and the control device based on the extended Petri net of the present invention further include the following configuration.
1. That is, the present invention described above is an attribute setting means for setting an attribute that enables storage, reference, and substitution of data according to a predetermined setting for all tokens in the Petri net diagram in the Petri net diagram unit. A function setting unit that assigns a function that can set external information to the attribute value assigned to the token or that can arbitrarily set the attribute value to a place or transition, and a firing conditional expression that indicates a firing rule of the transition. A transition firing condition formula setting means that can be arbitrarily set, a transition output setting means that can arbitrarily set a change of the attribute value with respect to the attribute value given to the token that is transitioned after the transition is fired, and a function setting means Function execution means for changing the attribute value of the token according to the setting, and the transition firing condition Performs ignition determination in consideration of the ignition condition set in the setting means, it is preferable to have an attribute setting firing process means for changing the attribute value of the token after firing in accordance with the setting of the transition output setting means.
(Function and effect)
According to the present invention, the following effects can be obtained.
(1) By using the attribute setting means, it is possible to define attributes only for necessary sheets with respect to a Petri net model composed of a plurality of sheets. For this reason, when the execution process is performed by the Petri net execution means, it is possible to reduce the memory consumption related to the attribute and the execution process related to the attribute to reduce the processing load.
(2) The attribute setting means can easily give an attribute to the token simply by specifying the data length that can be stored in the token by defining several kinds of attributes in the token in advance.
(3) When the data length is designated by the attribute setting means, an address is automatically given to each attribute value. Depending on the address, the transition firing condition expression setting means, the transition output setting means, or the function setting means can be easily set such as reference to individual attribute values and substitution of calculation results.
(4) By using the attribute setting firing processing means, it is possible to control the transition firing from the token attribute value, or to change the token attribute value by setting values such as the transition and function place functions.
(5) By using all the means described above, the system can be expressed in detail, and complex system control and detailed system status monitoring can be realized.
2. Furthermore, the present invention sets performance evaluation execution means that can simulate performance evaluation that enables identification of a factor that causes a decrease in productivity of the system, and specific parameters that the performance evaluation execution means uses at the time of execution. It is more preferable to have performance evaluation setting means.
(Function and effect)
According to the present invention, the following effects can be obtained.
(1) The performance evaluation execution means can evaluate the performance of the system in a simulated manner using a Petri net diagram modeled in the extended Petri net format for the original control. Thereby, depending on the setting of the performance evaluation setting procedure, it is possible to grasp the system production efficiency, the work plan, and the malfunction of the system configuration.
(2) By using the performance evaluation setting means and the performance evaluation effective means, the Petri net diagram for control can be reused for performance evaluation. As a result, the Petri net model necessary for performance evaluation can be designed more efficiently.

次に実施形態を挙げ、本発明をより詳しく説明する。以下の説明は、本発明の拡張ペトリネットに基づく制御装置のみならず拡張ペトリネットに基づく制御対象システムのモデル化方法にも適宜該当する。また、いずれの実施形態が最適であるかは、制御対象、要求性能等によって異なることを断っておく。
図1に拡張ペトリネットに基づく制御装置のハード構成を示す。図1は本発明を実施する際に必要となる装置、機能を記載している。
Next, an embodiment is given and this invention is demonstrated in detail. The following description appropriately applies not only to the control device based on the extended Petri net of the present invention but also to the modeling method of the controlled system based on the extended Petri net. It should be noted that which embodiment is optimal depends on the control target, required performance, and the like.
FIG. 1 shows a hardware configuration of a control device based on an extended Petri net. FIG. 1 describes the devices and functions required for carrying out the present invention.

図1においてコンピュータ本体101は、中央演算処理装置102と主記憶装置103などを有する汎用コンピュータである。
拡張ペトリネットに基づく設計実行手段110は、データ入力装置105(例、キーボード)や、ポインティング入力装置106(例、マウス)を用いて、ペトリネットモデルの設計を行うことや、制御対象機器108を制御するペトリネットモデルの実行処理、システム状態の表示処理、システム性能の評価処理などを行う。
表示装置104(例、液晶ディスプレイ)は、拡張ペトリネットに基づく設計実行手段110の処理内容などを表示する。補助記憶装置107(例、磁気ディスク)は、拡張ペトリネットに基づく設計実行手段110などのデータを必要に応じて記録する。データベース131は、拡張ペトリネットに基づく設計実行手段110と必要に応じて接続することが可能であり、ペトリネット実行手段112とデータの受け渡しを行う。
コンピュータ本体には、外部入出力信号を扱うことのできる汎用のPCIボードのI/Oインターフェース109が内蔵されている。中央演算処理装置102で処理されることで、外部の制御対象機器108からの入力信号の受け取り、主記憶装置103上に記録された拡張ペトリネットに基づく設計実行手段110にデータとしての反映、拡張ペトリネットに基づく設計実行手段110から外部出力信号としてI/Oインターフェース109から外部の制御対象機器108への出力信号の送信などがなされる。これらの装置のしくみにより、制御対象機器108の制御を行うことができる。
In FIG. 1, a computer main body 101 is a general-purpose computer having a central processing unit 102, a main storage device 103, and the like.
The design execution means 110 based on the extended Petri net designs a Petri net model using the data input device 105 (eg, keyboard) and the pointing input device 106 (eg, mouse), and controls the control target device 108. Performs execution processing of the Petri net model to be controlled, system state display processing, system performance evaluation processing, and the like.
The display device 104 (for example, a liquid crystal display) displays the processing contents of the design execution unit 110 based on the extended Petri net. The auxiliary storage device 107 (eg, magnetic disk) records data such as the design execution means 110 based on the extended Petri net as necessary. The database 131 can be connected to the design execution means 110 based on the extended Petri net as necessary, and exchanges data with the Petri net execution means 112.
The computer main body includes a general-purpose PCI board I / O interface 109 capable of handling external input / output signals. By being processed by the central processing unit 102, an input signal from the external control target device 108 is received, reflected as data in the design execution means 110 based on the extended Petri net recorded on the main storage device 103, and extended. The design execution means 110 based on the Petri net transmits an output signal from the I / O interface 109 to the external control target device 108 as an external output signal. The control target device 108 can be controlled by the mechanism of these devices.

ペトリネットモデル設計手段111は、以下の幾つかの設計に関する手段を行うことでシステムの制御や、システムの性能評価ができるペトリネットモデルを作成する。
シート設定手段113は、ペトリネット図を描くシートの種類の選択や、ペトリネット実行手段112の実行処理間隔時間を設定する。要素配置編集手段114は、選択したペトリネット図のシートに「プレース」、「トランジション」、「アーク」を入力してペトリネット図を作成する。属性設定手段115は、ペトリネット図のシート単位にカラーペトリネットのトークンの属性定義を拡張した拡張ペトリネットによる属性定義の設定(以下属性定義とする)の有無や、初期マーキングのトークンに属性定義による値を設定する。
ペトリネット図に属性設定が許可されている場合のみ使用できる発火条件式設定手段116は、図2に示すペトリネットの発火条件とは別に、トランジションに対してトークンの属性を活用して任意に発火規則を表す発火条件式を設定する。ペトリネット図に属性設定が許可されている場合のみ使用できるトランジション出力設定手段117は、トランジションの発火により遷移するトークンについて任意に値を設定する。各種ノード設定手段118は、発火遅れ時間や、トランジション名の設定や、プレースのトークンの初期マーキング数やプレース名などの設定、アークの重みなどを設定する。
階層構造設定119は、階層構造の上位と下位の関係を構築してシートの名前やトランジションの発火順序を設定する。機能設定手段120は、トランジションやプレースなどに制御に必要な特殊機能や演算などの関数機能を割り当て設定する。I/O設定手段121は、は制御対象機器108への外部入出力信号をプレースに割り当てる。性能評価設定122は、制御を目的とした拡張ペトリネットの形式で制御対象システムをモデル化したものに性能評価で使用するパラメータを設定する。
The Petri net model design means 111 creates a Petri net model that can control the system and evaluate the performance of the system by performing the following several design-related means.
The sheet setting unit 113 selects the type of sheet on which the Petri net diagram is drawn, and sets the execution processing interval time of the Petri net execution unit 112. The element arrangement editing unit 114 creates a Petri net diagram by inputting “place”, “transition”, and “arc” into the selected Petri net diagram sheet. The attribute setting means 115 determines whether or not there is an attribute definition setting (hereinafter referred to as attribute definition) by an extended Petri net obtained by extending the attribute definition of the color Petri net token for each sheet of the Petri net diagram, and defines the attribute for the initial marking token. Set the value by.
The firing condition formula setting means 116 that can be used only when the attribute setting is permitted in the Petri net diagram is arbitrarily ignited by utilizing the attribute of the token for the transition separately from the petri net firing condition shown in FIG. Set the firing conditional expression that represents the rule. The transition output setting means 117, which can be used only when the attribute setting is permitted in the Petri net diagram, arbitrarily sets a value for the token that transitions due to the firing of the transition. The various node setting means 118 sets an ignition delay time, a transition name, an initial marking number of place tokens, a place name, and an arc weight.
In the hierarchical structure setting 119, the upper and lower relationships of the hierarchical structure are constructed, and the sheet name and the firing order of the transition are set. The function setting means 120 assigns and sets special functions necessary for control and function functions such as operations to transitions and places. The I / O setting unit 121 assigns an external input / output signal to the control target device 108 to a place. The performance evaluation setting 122 sets parameters used for performance evaluation in a model of the control target system in the form of an extended Petri net for control purposes.

ペトリネット実行手段112は、下記の幾つかの実行に関する手段を行うことで、システムの制御や、システム監視、システムの性能評価を行うことができる。階層構造実行手段123は、ペトリネットモデル設計手段111で設計されたペトリネットモデルを拡張ペトリネットの形式に従い階層構造を実行処理する。属性設定発火処理手段124は、トランジション発火条件式設定手段116で設定した発火規則である発火条件式を満足しているかどうか判定を行い、全ての発火条件を満たしていれば発火処理を行う。さらに、発火処理では、トランジション出力設定手段117で設定したトークンの発火出力値の演算、参照値の代入などの処理を行うことで遷移するトークンの属性値に影響を与える処理を行う。機能実行手段125は、機能設定手段120により外部入出力データをトークンに反映させる機能を割り当てられたプレースなど機能を割り当てられた各ノードの実行処理を行う。
制御実行処理手段126は、ペトリネットモデル設計手段111で設計したペトリネットモデルにI/Oインターフェース109からの制御対象機器108からの入力信号、入力データなどの情報を展開して拡張ペトリネットの形式に基づき実行処理を行うことで制御対象機器108の制御を行う。性能評価実行手段127は、システムの制御や、システムの監視が可能なペトリネットモデルでシステムの性能評価を行うために設定した各種パラメータに基づき特殊な実行処理を行いシステムの挙動を表す処理を行う。通常実行処理手段128は、ペトリネットモデル設計手段111で設計したペトリネットモデルを拡張ペトリネットの形式に基づき実行処理を行い、ペトリネットモデルの挙動を表す処理を行う。
The Petri net execution means 112 can perform system control, system monitoring, and system performance evaluation by performing the following several execution-related means. The hierarchical structure execution means 123 executes the hierarchical structure of the Petri net model designed by the Petri net model design means 111 according to the extended Petri net format. The attribute setting firing processing unit 124 determines whether or not the firing condition formula that is the firing rule set by the transition firing condition formula setting unit 116 is satisfied, and performs the firing processing if all the firing conditions are satisfied. Further, in the firing process, a process that affects the attribute value of the transitioning token is performed by performing processing such as calculation of the firing output value of the token set by the transition output setting unit 117 and substitution of the reference value. The function execution unit 125 performs an execution process of each node assigned a function such as a place to which the function setting unit 120 is assigned a function for reflecting external input / output data to a token.
The control execution processing unit 126 expands information such as input signals and input data from the control target device 108 from the I / O interface 109 to the Petri net model designed by the Petri net model design unit 111 and forms an extended Petri net. The control target device 108 is controlled by performing the execution process based on the above. The performance evaluation execution unit 127 performs special execution processing based on various parameters set for performing system performance evaluation using a Petri net model capable of system control and system monitoring, and performs processing representing system behavior. . The normal execution processing unit 128 performs an execution process on the Petri net model designed by the Petri net model design unit 111 based on the format of the extended Petri net, and performs a process representing the behavior of the Petri net model.

ペトリネットモデル設計手段111で設計したペトリネットモデルは、ペトリネットモデル記憶手段129によって、補助記憶装置107などのディスクに記録される。ペトリネットモデル設計手段111でモデル化を行う設計プロセスや、ペトリネット実行手段112でシステムの挙動を表す実行プロセスなどは、ペトリネットモデル表示手段130によって表示機104で表示される。   The Petri net model designed by the Petri net model design unit 111 is recorded on a disk such as the auxiliary storage device 107 by the Petri net model storage unit 129. A design process in which modeling is performed by the Petri net model design unit 111 and an execution process representing the behavior of the system by the Petri net execution unit 112 are displayed on the display unit 104 by the Petri net model display unit 130.

次に実施例を挙げて、本発明をより具体的に説明する。
図4に、物流センターなどで使用されている自動仕分けラインを含めた搬送システムの一部を示した。また、図4には、その搬送システムが図1に示したコンピュータ本体101と入出力信号をやり取りするための接点も表されている。具体的には、I/Oインターフェース109が、システムの各制御機器から入力信号を受け取る接点をXと数字で表されている。また、I/Oインターフェース109が、システムの各制御機器へ出力信号を出力する接点をYと数字で表されている。これら構成で本発明による搬送システムの制御と搬送システムの監視、さらに、搬送システムの性能評価が行われる。
Next, an Example is given and this invention is demonstrated more concretely.
FIG. 4 shows a part of a transport system including an automatic sorting line used in a distribution center or the like. FIG. 4 also shows contacts for the transfer system to exchange input / output signals with the computer main body 101 shown in FIG. Specifically, a contact point at which the I / O interface 109 receives an input signal from each control device of the system is represented by X and a number. In addition, the I / O interface 109 represents a contact for outputting an output signal to each control device of the system by Y and a number. With these configurations, the transport system is controlled and the transport system is monitored, and the performance of the transport system is evaluated.

最初に、図4に示した搬送システムについて説明する。この搬送システムは、トラックなどで運ばれた商品を物流センター内の保管ラックや平場などのエリアまで自動搬送するシステムの一部である。入荷品は、複数の部品を入れることのできる箱(バケット)で入荷ライン401に投入される。バケット内には、同じ保管ラックのエリアへ搬送するものであれば、5種類まで、異なる商品をまとめることができる。バケット内にある商品の品番とその個数は、バケットの側面に貼られたバーコードで情報を得ることが可能である。下の表にバケット内の商品情報を示す。   First, the transport system shown in FIG. 4 will be described. This transport system is a part of a system that automatically transports goods carried by a truck or the like to an area such as a storage rack or a flat place in a distribution center. The incoming goods are input to the incoming line 401 in a box (bucket) in which a plurality of parts can be put. In the bucket, up to five types of different products can be collected as long as they are transported to the same storage rack area. Information on the product number and the number of products in the bucket can be obtained by a barcode attached to the side of the bucket. The table below shows the product information in the bucket.

Figure 2007058447
Figure 2007058447

Figure 2007058447
Figure 2007058447

Figure 2007058447
Figure 2007058447

Figure 2007058447
Figure 2007058447

Figure 2007058447
Figure 2007058447

上の表の品番は、左から数字2つは保管ラックのエリアを示し、右から数字2つは保管ラックの棚番を示す。入荷ライン401に投入したバケットの中身が、異なったエリアへ搬送される商品の混載された状態にある場合、混載チェックライン403に自動仕分けされる。そして、混載をチェックする作業者を呼び出すランプ(Y15)を点灯させる仕組みとなっている。   In the table above, two numbers from the left indicate storage rack areas, and two numbers from the right indicate storage rack shelf numbers. When the contents of the bucket that has been input to the arrival line 401 are in a state where the products to be transported to different areas are mixedly loaded, they are automatically sorted to the mixed loading check line 403. And the lamp (Y15) which calls the worker who checks mixed loading is turned on.

また、バケット内の商品の総数が100個以上の場合は、保管ラックエリアへの搬送ではなく、多量品の一時保管場所である平場エリアへ搬送する仕組みとなっている。   In addition, when the total number of products in the bucket is 100 or more, the product is not transported to the storage rack area but transported to the flat field area, which is a temporary storage place for large quantities of products.

次に、例えば、ライン2(405)にバケットが仕分けされる方法について説明する。
仕分けライン402は、各エリアの引き込みライン404〜407と連絡している。入荷ライン401のコンベアから流れてきたバケットは、仕分けライン402の位置センサ410で検知される。その検知を受け、仕分けライン402のコンベアが動き出し仕分けライン402上をバケットが流れていく。仕分けライン402を流れるバケットは、仕分けライン402に取り付けられている5つの位置センサ(X4〜X7)と5つ押し出しシリンダ(エアー圧力により伸縮する機構:Y10〜Y14)の前を順に通過する。
仕分け先がライン2(405)である場合、位置センサ411がバケットの通過を検知すると一定時間後に仕分けライン402のコンベアが止まる。その時、バケットは、押し出しシリンダ412の正面にある。押し出しシリンダ412にエアーが供給され、その圧力によりシリンダが伸びる。押し出しシリンダ412に取り付けられたシリンダが完全に伸びた状態を感知する押し出し完了センサX32が完了を検知するとシリンダ内へのエアーの供給を止める。この時、バケットは伸びて来たシリンダによってライン2(405)へ押し出されている。
Next, for example, a method for sorting buckets in line 2 (405) will be described.
The sorting line 402 communicates with the pull-in lines 404 to 407 in each area. The bucket that has flowed from the conveyor of the arrival line 401 is detected by the position sensor 410 of the sorting line 402. In response to the detection, the conveyor of the sorting line 402 starts moving and the bucket flows on the sorting line 402. The buckets flowing through the sorting line 402 sequentially pass in front of five position sensors (X4 to X7) and five pushing cylinders (mechanisms that expand and contract by air pressure: Y10 to Y14) attached to the sorting line 402.
When the sorting destination is line 2 (405), when the position sensor 411 detects the passage of the bucket, the conveyor of the sorting line 402 stops after a certain time. At that time, the bucket is in front of the pushing cylinder 412. Air is supplied to the extrusion cylinder 412, and the cylinder is extended by the pressure. When the push-out completion sensor X32 that senses a state in which the cylinder attached to the push-out cylinder 412 is fully extended detects the completion, the supply of air into the cylinder is stopped. At this time, the bucket is pushed out to the line 2 (405) by the extended cylinder.

押し出し完了センサX32の検知後に、押し出しシリンダ412がシリンダ内のエアーを放出してシリンダを初期位置まで縮める。押し出しシリンダ412が初期位置に戻ると、押し出しシリンダ412に取り付けられている初期位置センサX37が検知する。その検知を受けて、仕分けライン402上にバケットがある場合は、仕分けライン402のコンベアを動かし、次のバケットの仕分けを続ける。ライン2(405)の位置センサ413は、押し出されたバケットを検知して、ライン2のコンベアを動かす。これによりバケットは、2エリアの保管ラックまで搬送される。仕分けライン402の仕様については、ある程度の間隔をあけたバケットを最大5つまでのコンベア上に載せることが可能であり、連続的に仕分けができるようになっている。   After the detection of the extrusion completion sensor X32, the extrusion cylinder 412 releases the air in the cylinder and contracts the cylinder to the initial position. When the pushing cylinder 412 returns to the initial position, the initial position sensor X37 attached to the pushing cylinder 412 detects it. In response to the detection, if there is a bucket on the sorting line 402, the conveyor of the sorting line 402 is moved to continue sorting the next bucket. The position sensor 413 of the line 2 (405) detects the pushed bucket and moves the conveyor of the line 2. As a result, the bucket is transported to the storage rack in the two areas. With regard to the specification of the sorting line 402, it is possible to place a bucket with a certain interval on a maximum of five conveyors, so that sorting can be performed continuously.

これらの搬送システムを本発明の拡張ペトリネットに基づく制御装置で、制御、監視、性能評価を行うには、搬送システムを拡張ペトリネット形式でモデル化する必要がある。以下、この搬送システムを例にとり、拡張ペトリネット形式によるシステムのモデル化方法と、本発明の拡張ペトリネットの特徴と実行時における処理方法について説明する。   In order to control, monitor, and evaluate the performance of these transport systems with the control device based on the extended Petri net of the present invention, it is necessary to model the transport system in the extended Petri net format. Hereinafter, taking this transport system as an example, a system modeling method in the extended Petri net format, and features of the extended Petri net of the present invention and a processing method at the time of execution will be described.

図5は、搬送システムを拡張ペトリネット形式によってモデル化した際に表示機器104に出力される拡張ペトリネットに基づく設計実行手段110の画面の構成である。
アプリケーションのメインウィンドウ501は、ウィンドウの移動やウィンドウサイズの伸縮が自由に行えるようになっている。主に、メインウィンドウ501は、さまざまな操作を行うためのメニューバー502とペトリネットモデルを作成するときに必要となるノード(プレース、トランジション、アークについては、通常アーク、抑止アーク、往復アークの3種類ある)の選択や配置の切り替えなどを行うツールバー503、ペトリネットモデルを作成するウィンドウ506(シート)、507にグリッド線を設定することで各ノードを整列させることや作製したネットウィンドウのペトリネットモデルを拡大縮小して表示させるツールバー504、制御の実行や性能評価などのペトリネットモデルを実行するツールバー505、拡張ペトリネットモデルで階層先のモデル化を行うウィンドウ507、現在のアプリケーション内のプロジェクト(モデル化したペトリネット図のまとまり)を階層的に表現しているプロジェクトバー508で構成されている。
FIG. 5 shows a screen configuration of the design execution means 110 based on the extended Petri net that is output to the display device 104 when the transport system is modeled in the extended Petri net format.
The main window 501 of the application can be freely moved and expanded / contracted. Mainly, the main window 501 includes a menu bar 502 for performing various operations and nodes necessary for creating a Petri net model (for places, transitions, and arcs, normal arc, suppression arc, and reciprocating arc 3) A tool bar 503 for selecting and switching arrangements, a window 506 (sheet) for creating a Petri net model, and a grid line in the 507 to arrange the nodes and a Petri net for the created net window A toolbar 504 for displaying a model in a scaled size, a toolbar 505 for executing a Petri net model such as execution of control and performance evaluation, a window 507 for modeling a hierarchical destination with an extended Petri net model, a project in the current application ( Modeled peto And it is configured to unity) net diagram in project bar 508 which is represented hierarchically.

拡張ペトリネット形式でシステムのモデル化を行う際に作成するペトリネット図は、拡張ペトリネットに基づく設計実行手段110で下記のように作成できる。   The Petri net diagram created when modeling the system in the extended Petri net format can be created by the design execution means 110 based on the extended Petri net as follows.

各ノード(プレース、トランジション、アークなど)の配置は、ツールバー503で配置したいノードを選択して、ペトリネットモデルを作成するウィンドウ506、507の配置したい場所でポインティング入力装置106(マウス)を左クリックすると配置することができる。アークについては、ツールバー501で設定したいアークを選択して、接続させたいプレースやトランジションをポインティング入力装置106で選択することで接続できる。このとき、最初にマウスで選択したノードから次に選択したノードへの向きでアークを接続することになる。ペトリネットモデルを作成するウィンドウ506、507については複数のウィンドウ(シート)を生成することが可能である。   To place each node (place, transition, arc, etc.), select the node you want to place on the toolbar 503 and left-click the pointing input device 106 (mouse) at the place where you want to place the windows 506 and 507 for creating the Petri net model. Then, it can arrange. The arc can be connected by selecting the arc to be set with the tool bar 501 and selecting the place or transition to be connected with the pointing input device 106. At this time, arcs are connected in the direction from the node selected first with the mouse to the next selected node. A plurality of windows (sheets) can be generated for the windows 506 and 507 for creating the Petri net model.

図4の搬送システムを拡張ペトリネットの形式でモデル化する方法は、大きく4つの工程に分けることができる。これらの4つの工程では、それぞれ目的にあったシート(ウィンドウ)にペトリネット図を描く必要がある。   The method of modeling the transport system of FIG. 4 in the form of an extended Petri net can be roughly divided into four steps. In these four steps, it is necessary to draw a Petri net diagram on a sheet (window) suitable for each purpose.

1つ目のシステム状態モデル作成工程は、システムに起こり得る状態またはシステムを監視したい状態を表現するペトリネット図を作成する工程である。作成者は、前記システムの状態を表現するペトリネット図を、システム状態モデルシートで描くことができる。   The first system state model creation step is a step of creating a Petri net diagram representing a state that can occur in the system or a state in which the system is to be monitored. The creator can draw a Petri net diagram representing the state of the system on the system state model sheet.

2つ目のシステム処理実行モデル作成工程は、前記システム状態モデル作成工程で作成したペトリネット図のある状態から次の状態へ遷移する際に必要となる処理の内容について階層化先で表現するペトリネット図を作成する工程である。作成者は、前記必要となる処理の内容を表現したペトリネット図を、制御処理モデルシートで描くことができる。   The second system processing execution model creation step is a Petri network that expresses the contents of processing required when transitioning from one state of the Petri net diagram created in the system state model creation step to the next state in the hierarchy destination. This is a process of creating a net diagram. The creator can draw a Petri net diagram expressing the contents of the necessary processing on the control processing model sheet.

3つ目のシステム割り込み処理実行モデル作成工程は、通常処理から非常停止のような優先的に割り込み処理を実行させたい場合に、階層構造の上位レベルで制御の分岐処理を表現するペトリネット図を作成する工程である。作成者は、前記の制御の分岐処理を表現するペトリネット図をシステム状態モデルシートで描くことができる。   The third system interrupt processing execution model creation process is a Petri net diagram that represents control branch processing at a higher level of the hierarchical structure when interrupt processing is to be executed preferentially from normal processing to emergency stop. It is a process to create. The creator can draw a Petri net diagram expressing the branch process of the control on the system state model sheet.

4つ目の入出力条件ブロック化モデル作成工程は、共有プレースを用いて入出力条件をブロック化して他の各シートで再利用することを目的としたペトリネット図を作成する工程である。作成者は、前記ブロック化を目的としたペトリネット図をI/Oセッティングシートで作成することができる。   The fourth input / output condition blocking model creation step is a step of creating a Petri net diagram for the purpose of blocking input / output conditions using a shared place and reusing them in other sheets. The creator can create a Petri net diagram for the purpose of making the block by using an I / O setting sheet.

図4に示した搬送システムを前記システム状態モデル作成工程で作成したペトリネット図を図7に示す。図7のペトリネットモデルは、図4の外観をペトリネットで表現している。プレース702、704などは、ラインまたはライン上の1部分を示している。ライン上を流れる商品(バケット)をトークンで表すと、搬送システムのどのラインにどんな商品(バケット)が流れているかを把握することができる。このようにシステム状態モデル作成工程では、システムの起こり得る状態または作成者がシステムを監視したい状態をペトリネット図で表現する。そして、ある状態から次の状態へ遷移する際の処理については、階層化トランジション701、705などを用いて表現する。   FIG. 7 shows a Petri net diagram in which the transport system shown in FIG. 4 is created in the system state model creation process. The Petri net model of FIG. 7 represents the appearance of FIG. 4 with a Petri net. Places 702, 704, etc. indicate lines or portions on the lines. If the product (bucket) flowing on the line is represented by a token, it is possible to grasp what product (bucket) is flowing in which line of the transport system. In this way, in the system state model creation step, a possible state of the system or a state in which the creator wants to monitor the system is represented by a Petri net diagram. Then, the processing when transitioning from one state to the next state is expressed using hierarchical transitions 701, 705, and the like.

次の工程であるシステム処理実行モデル作成工程では、階層化トランジションで表現した処理の内容についてモデル化を行う。図10は、図7に示した階層化トランジション701の階層化先のペトリネット図である。階層化トランジション701は、入荷品の投入処理を表している。この階層化先のペトリネット図では、入荷品の投入時の制御機器との入出力信号処理が行われる。   In the system process execution model creation process, which is the next process, the contents of the process expressed by hierarchical transitions are modeled. FIG. 10 is a Petri net diagram of the hierarchization destination of the hierarchized transition 701 shown in FIG. A hierarchized transition 701 represents an input process for an incoming product. In this Petri net diagram of the hierarchization destination, input / output signal processing with the control device at the time of input of incoming goods is performed.

階層化先のペトリネット図は、図10に示すように、スタートトランジション(STARTノード)で始まり、エンドトランジション(ENDノード)で終わる特定の構造となっている。スタートトランジションとエンドトランジションなどの階層化トランジションの仕様については後述する。   The Petri net diagram of the hierarchization destination has a specific structure that starts with a start transition (START node) and ends with an end transition (END node), as shown in FIG. The specification of hierarchical transitions such as start transition and end transition will be described later.

階層化先のペトリネット図では、まず図10のように入荷品の投入処理の内容をスタートトランジションとエンドトランジションを結ぶ直線上の間に細分化する。図10では、入荷品の投入処理を入荷品の確認の状態を示すプレース1002、入荷コンベアの稼働状態の確認の状態を示すプレース1008、入荷コンベアの制御完了した状態を示すプレース1011の3つの処理状態プレースに細分化して、処理の進み具合を把握できるようにしている。   In the Petri net diagram of the hierarchization destination, as shown in FIG. 10, the contents of the incoming goods input process are first subdivided into a straight line connecting the start transition and the end transition. In FIG. 10, there are three processes: a place 1002 that indicates the state of confirmation of the incoming goods, a place 1008 that indicates the state of confirmation of the operating state of the incoming conveyor, and a place 1011 that indicates the completion of control of the incoming conveyor. It is subdivided into status places so that the progress of processing can be grasped.

次に、これら処理状態プレースの遷移によって発生する細分した処理を示す処理トランジションを順に並べて処理全体の流れをつくる。図10では、入荷品の確認処理を示す処理トランジション1005、コンベアの稼働処理を行う処理トランジション1009、稼働中のコンベアに稼働継続の処理を行う処理トランジション1010に処理を細分化している。   Next, process transitions indicating the subdivided processes generated by the transition of these process state places are arranged in order to create a flow of the entire process. In FIG. 10, the processing is subdivided into a processing transition 1005 indicating the confirmation processing of the received product, a processing transition 1009 for performing the operation processing of the conveyor, and a processing transition 1010 for performing the operation continuation processing on the operating conveyor.

更に、前記処理状態プレースから遷移するのに必要な前記処理トランジションの入力条件と、この入力条件を満たした後に行う処理内容を処理トランジションの出力条件としてモデル化する。
図10では、処理トランジション1005の入力条件として、処理状態プレース1002と、入荷品の有無を示す入荷ラインの左端に取り付けられたセンサの入力信号に対応した外部入力プレース1003と、外部入力プレース1003の重複した入力信号による処理トランジション1005の発火を抑える共有プレース1004の3つの入力条件でモデル化している。
処理トランジション1005の発火後の処理として、状態プレース1008への状態遷移を示すマーキングと、入荷ライン上のバケット数をカウントする共有プレース1007のカウント数を1つ加算するマーキングと、共有プレース1004と同じプレースを共有している共有プレース1006にトークンをマーキングして外部入力プレース1003の重複した信号による発火を防止する3つの処理をモデル化している。同様に、全ての処理トランジションに対してモデル化を行う。
Further, the processing transition input condition necessary for transition from the processing state place and the processing content to be performed after satisfying the input condition are modeled as a processing transition output condition.
In FIG. 10, as the input conditions of the processing transition 1005, the processing state place 1002, the external input place 1003 corresponding to the input signal of the sensor attached to the left end of the incoming line indicating the presence / absence of the incoming goods, and the external input place 1003 Modeling is performed under three input conditions of a shared place 1004 that suppresses the firing of a processing transition 1005 due to an overlapping input signal.
As the processing after the firing of the processing transition 1005, the marking indicating the state transition to the state place 1008, the marking for adding one count number of the shared place 1007 for counting the number of buckets on the arrival line, and the same as the shared place 1004 Three processes for modeling a token on a shared place 1006 sharing a place and preventing firing due to a duplicate signal in the external input place 1003 are modeled. Similarly, all processing transitions are modeled.

同様に図7の階層化トランジション706の階層化先ペトリネット図を図11、階層化トランジション707の階層化先ペトリネット図を図12のように、図7の残りの階層化トランジションに対してモデル化を行う。   Similarly, FIG. 11 shows a layered destination Petri net diagram of the layered transition 706 in FIG. 7 and FIG. 12 shows a layered destination Petri net diagram of the layered transition 707 as a model for the remaining layered transitions in FIG. To do.

システム割り込み処理実行モデル作成工程は、通常処理から非常停止のような割り込み処理を実行させることのできるペトリネットモデルを作成する工程である。図4の通常処理は、システム状態モデル作成工程や、システム処理実行モデル作成工程で作成したペトリネット図を実行して処理を行うことである。拡張ペトリネットで通常処理に割り込み処理を行う場合は、通常処理のような割り込み処理を行うペトリネット図より階層構造が上位となるペトリネット図で通常処理と割り込み処理とを分岐するモデル化を行う必要がある。図4の搬送システムの場合は、図7に示す上位ペトリネット図を階層化プレースで階層化することで図7より階層構造がさらに上位になる図6に示す最上位ペトリネット図で割り込み処理のモデル化を行っている。   The system interrupt processing execution model creation step is a step of creating a Petri net model capable of executing interrupt processing such as emergency stop from normal processing. The normal process in FIG. 4 is to execute the process by executing the Petri net diagram created in the system state model creation process or the system process execution model creation process. When interrupt processing is performed for normal processing in an extended Petri net, modeling is performed to branch normal processing and interrupt processing in a Petri net diagram that has a hierarchical structure higher than the Petri net diagram that performs interrupt processing like normal processing. There is a need. In the case of the transfer system of FIG. 4, the upper Petri net diagram shown in FIG. 7 is hierarchized by a hierarchized place so that the hierarchical structure becomes higher than that of FIG. Modeling is in progress.

図6に示すペトリネット図の実行処理が開始されると、図7に示す搬送システムの処理を行う階層化プレース604にトークンがマーキングされる。このように通常処理を行う階層化プレースに常時マーキングされるようモデル化を行う。
階層化トランジション605は、図8に示すような階層化先のペトリネット図からなり、非常停止ボタンが押されたら発火するようモデル化されている。そのため、非常停止ボタンを押した場合、階層化トランジション605が発火して、通常処理を行う階層化プレース604のトークンが取り除かれ、非常停止中の処理を行う階層化プレース606にトークンを遷移させる。その結果、通常処理が停止して、非常停止中の処理が実行されるようになる。このように割り込み処理を行う階層化プレースを用意して、通常処理を行う階層化プレースからトークンを遷移させることができるようにモデル化を行う。
When the execution process of the Petri net diagram shown in FIG. 6 is started, a token is marked on the hierarchized place 604 that performs the processing of the transport system shown in FIG. In this way, modeling is performed so as to always mark the hierarchical place where the normal processing is performed.
The hierarchized transition 605 includes a Petri net diagram of the hierarchization destination as shown in FIG. 8, and is modeled to fire when an emergency stop button is pressed. Therefore, when the emergency stop button is pressed, the hierarchized transition 605 is fired, the token of the hierarchized place 604 that performs normal processing is removed, and the token is shifted to the hierarchized place 606 that performs processing during emergency stop. As a result, the normal process is stopped and the emergency stop process is executed. In this way, a hierarchical place that performs interrupt processing is prepared, and modeling is performed so that tokens can be transitioned from the hierarchical place that performs normal processing.

入出力条件ブロック化モデル作成工程では、外部入出力の条件をブロック化して他のペトリネット図で再利用することでモデル化を簡素化することを狙いとしている。図4に示す搬送システムの場合は、7つの非常停止ボタン(X22〜X28)が1つでも押された時に信号がONになるような条件を図9のようにモデル化を行う。
モデル化の際には、他のペトリネット図でも同じプレースのようにトークンなどの情報を共有することができる特定機能を持つI/O共有プレースに入出力条件の結果を反映するようにする。図9の場合、入力条件の結果をI/O共有プレース901により反映している。そして、I/O共有プレース901を他のペトリネット図(図8)のI/O共有プレース803と共有することによりトランジション804の入力条件を簡素化している。
The input / output condition blocking model creation process aims to simplify modeling by blocking external input / output conditions and reusing them in other Petri net diagrams. In the case of the transport system shown in FIG. 4, a condition is set as shown in FIG. 9 such that the signal is turned on when any one of the seven emergency stop buttons (X22 to X28) is pressed.
At the time of modeling, the result of the input / output condition is reflected on an I / O shared place having a specific function that can share information such as tokens in other Petri net diagrams as in the same place. In the case of FIG. 9, the result of the input condition is reflected by the I / O shared place 901. Then, the input condition of the transition 804 is simplified by sharing the I / O shared place 901 with the I / O shared place 803 in another Petri net diagram (FIG. 8).

図9に示すペトリネット図のシートであるI/Oセッティングシートは、拡張ペトリネットの特定の実行処理により、モデル化を図9のように簡素化することができる。これについては、I/Oセッティングシートの実行処理方法で説明する。   The I / O setting sheet, which is a sheet of the Petri net diagram shown in FIG. 9, can be modeled as shown in FIG. 9 by a specific execution process of the extended Petri net. This will be described in the I / O setting sheet execution processing method.

このように、4つの工程でモデル化することで、モデル化が行い易くなり、ペトリネットモデルの実行時にはシステムの状態を容易に把握することができる。   In this way, modeling in four steps facilitates modeling, and the system state can be easily grasped when the Petri net model is executed.

次に、本発明である拡張ペトリネットに基づく制御装置の拡張ペトリネット形式によるペトリネットモデルの実行処理について説明する。
拡張ペトリネット形式によるペトリネットモデルの実行処理は、拡張ペトリネットに基づく設計実行手段110で行われる。実行処理には、制御実行手段126、性能評価実行手段127、通常実行手段128の実行形態と、階層構造における複数ネット間の実行処理を制御する階層構造実行手段123がある。これらについて、順に説明する。
Next, the execution process of the Petri net model in the extended Petri net format of the control device based on the extended Petri net according to the present invention will be described.
The execution process of the Petri net model in the extended Petri net format is performed by the design execution means 110 based on the extended Petri net. The execution processing includes execution forms of the control execution means 126, the performance evaluation execution means 127, and the normal execution means 128, and a hierarchical structure execution means 123 that controls execution processing between a plurality of nets in the hierarchical structure. These will be described in order.

図13は、単一のペトリネット図を描いたシートにおける制御実行手段126の実行処理の順序を簡易的に示したフローチャート図である。実行処理の基となるものは、図2、図3のペトリネット理論に時間的概念を取り入れた時間ペトリネット理論である。拡張ペトリネットの形式では、図5の拡張ペトリネットに基づく設計実行手段501のウィンドウ506や、507のウィンドウ(シート)単位で実行処理が行われる。
実行処理とは、シート内のトランジションに対して発火処理を行いトークンを遷移させることである。トランジションの発火処理は、属性設定手段115で選択することができる属性設定の有無により処理方法が異なる。ここでは、属性設定手段115で属性設定が行われていないペトリネット図のシートにおける発火処理について説明する。
FIG. 13 is a flowchart schematically showing the order of execution processing of the control execution means 126 in a sheet depicting a single Petri net diagram. The basis of the execution process is the time Petri net theory that incorporates the time concept into the Petri net theory of FIGS. In the extended Petri net format, execution processing is performed in units of windows (sheets) 506 and 507 of the design execution means 501 based on the extended Petri net of FIG.
The execution process is to perform a firing process on the transition in the sheet to change the token. The transition firing process differs depending on whether or not there is an attribute setting that can be selected by the attribute setting means 115. Here, an ignition process for a sheet of a Petri net diagram for which attribute setting is not performed by the attribute setting unit 115 will be described.

発火処理は、主に、発火遅れなしの発火処理1304と発火遅れありの発火処理1306の2種類ある。   There are mainly two types of ignition processes: an ignition process 1304 without an ignition delay and an ignition process 1306 with an ignition delay.

発火遅れなしの発火処理は、トランジションに遅れ時間が設定されていないトランジションに対してのみ発火処理を行うことである。この場合、記録した発火可能なトランジションを発火させた後、再度、発火遅れ時間が設定されていないトランジションに対して発火処理を行う。発火遅れ時間の設定がされていないトランジションが発火できなくなるまで繰り返し発火処理を行う。   The ignition process without an ignition delay is to perform the ignition process only for a transition in which no delay time is set for the transition. In this case, after the recorded ignitable transition is ignited, the igniting process is performed again for the transition for which the ignition delay time is not set. Repeats the ignition process until a transition for which no ignition delay time is set cannot be ignited.

発火遅れありの発火処理については、発火遅れ設定時間が設定されているトランジションに対してのみ発火処理を行う。この場合、記録された発火可能なトランジションには、発火カウンタがあり、発火処理を行う度に発火カウンタを1加算して遅れ時間分、トランジションの発火を待機させて時間を遅らせる。発火カウンタとトランジションの発火遅れ時間との値が等しくなったことが記録されたトランジションについては、待機状態を解除して発火を行うことでトークンを遷移させる。   As for the ignition process with an ignition delay, the ignition process is performed only for the transition in which the ignition delay set time is set. In this case, the recorded ignitable transition includes an igniting counter, and each time the igniting process is performed, the igniting counter is incremented by 1 to delay the igniting of the transition by a delay time, and the time is delayed. For the transition in which the values of the ignition counter and the transition delay time of the transition are recorded are the same, the token is transitioned by releasing the standby state and performing the ignition.

この発火処理を踏まえて、図13の制御実行処理について説明する。入力リフレッシュ処理1301、1310は、制御対象機器108の入力信号を下記の外部入力プレースを用いた拡張ペトリネット形式でモデル化したものに反映させる処理である。   Based on this ignition process, the control execution process of FIG. 13 will be described. The input refresh processes 1301 and 1310 are processes for reflecting the input signal of the control target device 108 in the modeled in the extended Petri net format using the following external input place.

プレース902やプレース1003などの外部入力プレースXは、制御対象機器108から拡張ペトリネットに基づく制御装置101への入力接続を示し、符番については、制御装置101と制御対象機器108と入力接点番号と対応している。よって、X1の外部
入力プレースは、入力接点1に接続している制御機器からの入力信号を反映していることを表している。制御機器から送られた入力信号は、外部入力プレースのトークンのマーキングによって入力信号の有無を判別することができる。このプレースは、機能プレースであるためプレース内にマーキングできるトークンは必ず1つであり常に外部入力信号の状態を反映する仕様となっている。
An external input place X such as a place 902 or a place 1003 indicates an input connection from the control target device 108 to the control device 101 based on the extended Petri net. Regarding the reference numerals, the control device 101, the control target device 108, and the input contact number It corresponds to. Therefore, the external input place of X1 represents that the input signal from the control device connected to the input contact 1 is reflected. The input signal sent from the control device can determine the presence or absence of the input signal by marking the token of the external input place. Since this place is a functional place, there is always one token that can be marked in the place, and the specification always reflects the state of the external input signal.

I/Oセッティングシート発火遅れなしの発火処理については、シートの種類が異なるのみで発火遅れなしの処理は同じである。I/Oセッティングシートは、制御対象機器との接続を示す接点に対応した外部入力プレースや外部出力プレースの信号の有無を応用した複雑な条件をI/O共有プレースでブロック化することで他のシートのモデル化を簡素化する場合に使用するシートである。I/Oセッティングシートについての詳細は後に説明する。   Regarding the ignition processing without I / O setting sheet ignition delay, the processing without ignition delay is the same except that the types of sheets are different. The I / O setting sheet blocks other complicated conditions applying the presence / absence of signals in the external input place and the external output place corresponding to the contact indicating the connection with the control target device in the I / O shared place. This is a sheet used for simplifying sheet modeling. Details of the I / O setting sheet will be described later.

ステップ1302〜1307までの発火処理についは前記に示したものと同様である。   The ignition process from steps 1302 to 1307 is the same as that shown above.

出力のリフレッシュ処理1308は、外部出力を示すYと出力接点番号を示した外部出力プレース内のトークンの有無で表される状態をその接点に接続している制御対象機器108に対して出力信号として反映させる処理を行う。具体的には、例えば、外部出力プレースY1のマーキングがある場合、この出力接点Y1に接続している制御対象機器108に出力信号を出力する。   The output refresh process 1308 outputs, as an output signal, the state represented by the presence or absence of a token in the external output place indicating Y and the output contact number for the control target device 108 connected to the contact. Process to reflect. Specifically, for example, when the external output place Y1 is marked, an output signal is output to the control target device 108 connected to the output contact Y1.

シート設定手段113で設定した1ステップ時間から、発火処理などに掛かった時間を差し引き、残りの時間を1311で待機する。このように、実行処理を一定間隔で繰り返し行うことで制御対象機器108を制御することが可能となる。   The time taken for the ignition process or the like is subtracted from the one step time set by the sheet setting means 113, and the remaining time is waited at 1311. In this way, it is possible to control the control target device 108 by repeatedly performing the execution process at regular intervals.

図14には、性能評価実行手段127、通常実行手段128のフローチャート図を示す。これら両者は、実行処理に用いるシートとパラメータが異なるのみで実行処理の順序、発火遅れなしの発火処理1401、1403および発火遅れありの発火処理1402は前記の発火処理と同じである。   FIG. 14 is a flowchart of the performance evaluation execution unit 127 and the normal execution unit 128. In both of these, the order of execution processes, the ignition processes 1401 and 1403 without ignition delay, and the ignition process 1402 with ignition delay are the same as the above-described ignition processes except that the parameters used for the execution process are different.

制御実行手段126の特徴は、時間と共に外部入出力プレースに反映される入力情報が変化するため、全てのトランジションが発火できなくなっても実行処理を繰り返し継続する仕様となっていることである。この点、性能評価実行手段127、通常実行手段128とは仕様が異なる。   The feature of the control execution means 126 is that the input information reflected in the external input / output place changes with time, so that the execution process is repeatedly repeated even if all transitions cannot be fired. In this respect, the specifications are different from the performance evaluation execution means 127 and the normal execution means 128.

階層構造実行手段123について説明する。図6のプレース604とプレース606は、階層化プレースであり、トランジション605とトランジション607は、階層化トランジションである。以下、拡張ペトリネットの各階層化ノードについて説明する。   The hierarchical structure execution unit 123 will be described. A place 604 and a place 606 in FIG. 6 are hierarchized places, and a transition 605 and a transition 607 are hierarchized transitions. Hereinafter, each hierarchical node of the extended Petri net will be described.

階層化プレースは、1つのシートに関連させることで階層構造を持つことが可能となる。階層化プレースと階層構造的に関連したペトリネット図のことを階層化先のペトリネット図(シート)と言う。
階層化プレースと階層化先のペトリネット図は、以下の仕様となっている。
1.階層化プレース内にトークンがマーキングされている場合、階層化先のペトリネット図を活性させ実行処理を行う。
2.階層化プレースにトークンが在り続ける限り、階層化先のペトリネット図は実行処理を行う。
3.階層化プレース内のトークンが遷移してプレース外に出た場合、階層化先のペトリネット図を不活性とし実行処理を停止させる。但し、階層化プレース内にまだトークンが1つ以上あるときは、シート設定手段113の下記の設定に従い再度実行処理を行う。
(i)図15の1501にチェックを入れない場合、ペトリネット図を活性させて停止
した状態から継続して実行を続ける(継続実行処理)。
(ii)図15の1501のチェックを入れる場合、ペトリネット図を活性させ停止した
状態からペトリネット図の初期化処理を行い、再度実行処理を行う(初期化後に実行処理)。
4.階層化プレース内にトークンがない場合、再び階層化プレース内にトークンがマーキングされるまで階層化先のペトリネット図の実行処理を停止させる。
A hierarchical place can have a hierarchical structure by relating it to one sheet. The Petri net diagram related to the hierarchical place in the hierarchical structure is called a Petri net diagram (sheet) of the hierarchical destination.
The layered place and the Petri net diagram of the layered destination have the following specifications.
1. When a token is marked in the hierarchized place, the Petri net diagram of the hierarchization destination is activated and an execution process is performed.
2. As long as tokens continue to exist in the hierarchized place, the petri net diagram of the hierarchized destination performs execution processing.
3. When a token in the hierarchized place transitions and goes out of the place, the Petri net diagram of the hierarchization destination is inactivated and the execution process is stopped. However, when there are still one or more tokens in the hierarchical place, the execution process is performed again according to the following setting of the sheet setting means 113.
(i) When the check box 1501 in FIG. 15 is not checked, the Petri net diagram is activated and continuously executed from the stopped state (continuous execution process).
(ii) When the check box 1501 in FIG. 15 is checked, the Petri net diagram is initialized from the state where the Petri net diagram is activated and stopped, and the execution processing is performed again (execution processing after initialization).
4). If there is no token in the hierarchical place, the execution process of the Petri net diagram of the hierarchical destination is stopped until a token is marked again in the hierarchical place.

階層化トランジションも階層化プレースと同様に、1つのペトリネット図を関連させることで階層構造を持つことが可能である。階層化トランジションと階層構造的に関連したペトリネット図のことを階層化先のペトリネット図(シート)と言う。階層化トランジションと階層化先のペトリネット図は、以下の仕様となっている。
1.階層化トランジションは、発火可能な状態になった時に、階層化先のペトリネット図を活性化させ実行処理を行う。但し、階層化トランジションは、入力プレースのトークンを発火予約しない。
2.階層化先のペトリネット図は、必ずスタートトランジションとエンドトランジションの特定のトランジションで構成されている。
3.活性化して実行を開始した階層化先のペトリネット図は、スタートトランジションを1度のみ発火させる(スタートトランジションの仕様)。
4.エンドトランジションの発火条件を満たしエンドトランジションが発火するまでは、階層化元の階層化トランジションは発火を行わない(エンドトランジションの仕様)。
5.階層化トランジションと競合を起こしているトランジションが先に発火してしまうことで階層化トランジションが発火できなくなった場合、活性して実行処理を行っている階層化先のペトリネット図は直ちに実行処理をやめてシートを不活性としてシートの初期化を行う。この際、初期化されるプレースは通常プレースのみである。
6.エンドトランジションが発火した場合、その階層化先のペトリネット図を不活性として実行処理を終了して初期化を行う。そして、階層化元の階層化トランジションを発火させて通常どおりトークンの遷移を行う。
Similarly to the hierarchized place, the hierarchized transition can have a hierarchical structure by associating one Petri net diagram. The Petri net diagram related to the hierarchized transition in a hierarchical structure is called the Petri net diagram (sheet) of the hierarchization destination. The layered transition and layered Petri net diagram have the following specifications.
1. The hierarchized transition activates the hierarchized Petri net diagram when it becomes ready to fire, and performs execution processing. However, the hierarchized transition does not reserve the firing of the input place token.
2. The Petri net diagram of the hierarchization destination is always composed of specific transitions of the start transition and end transition.
3. In the Petri net diagram of the hierarchization destination that has been activated and started execution, the start transition is ignited only once (specification of the start transition).
4). Until the end transition firing condition is met and the end transition is fired, the hierarchized transition of the hierarchizing source does not fire (end transition specification).
5. If the transition that conflicts with the hierarchized transition fires first, and the hierarchized transition cannot be fired, the Petri net diagram of the hierarchized destination that is active and executing the process immediately executes the process Stop and initialize the sheet as inactive. At this time, only the normal place is initialized.
6). When the end transition is ignited, the Petri net diagram of the hierarchization destination is made inactive, the execution process is terminated, and initialization is performed. Then, the hierarchized transition of the hierarchization source is fired and token transition is performed as usual.

前述した階層化プレース、階層化トランジションおよび階層化先のペトリネット図の仕様に基づく、階層構造を持つペトリネットモデルの実行処理の流れを図16のフローチャート図で示す。発火処理1602は、図13と図14にある、発火遅れなしの発火処理(1ステップ単位)と発火遅れありの発火処理(1ステップ単位)とを示している。従って、図16のフローチャート図の処理は、図13、図14にそれぞれ示したフローチャート図の発火処理の前に行われる。   The flowchart of FIG. 16 shows the flow of execution processing of the Petri net model having a hierarchical structure based on the specifications of the hierarchized place, the hierarchized transition, and the Petri net diagram of the hierarchization destination. The ignition process 1602 shows the ignition process without an ignition delay (one step unit) and the ignition process with an ignition delay (one step unit) shown in FIGS. 13 and 14. Therefore, the process of the flowchart of FIG. 16 is performed before the firing process of the flowcharts shown in FIGS.

図16の活性判定1601や階層化ノードによるシートの活性判定1603、階層化ノードによるシートの不活性判定1604は、階層化ノードの状態より判定することが可能である。   The activation determination 1601 in FIG. 16, the sheet activation determination 1603 by the hierarchized node, and the sheet inactivity determination 1604 by the hierarchical node can be determined from the state of the hierarchical node.

本発明の拡張ペトリネット形式では、システムの制御と監視、システムの性能評価を円滑に行えるようにする為に、ペトリネット図を描く3種類のシートを用意している。それぞれの種類と役割について説明する。   In the extended Petri net format of the present invention, three types of sheets for drawing Petri net diagrams are prepared so that system control and monitoring and system performance evaluation can be performed smoothly. Each type and role will be described.

1つ目のシートは、システム状態モデルシートである。このシートの役割は主に3つある。
1.システムの状態を表示する(システム監視が可能)。
2.システムの状態が遷移する際に、必要となる階層化先のペトリネット図のみ実行処理させるトリガーの役割をもたせる。
3.システムの性能評価実行時に、階層構造の下位のペトリネット図である制御処理モデルシートとシステム状態モデルシートを分離して、システムの性能評価に必要なシステム状態モデルシートのみ実行処理させる。
The first sheet is a system state model sheet. There are three main roles for this sheet.
1. Displays the system status (system monitoring is possible).
2. When the system state transitions, it has a trigger role that executes only the necessary layered Petri net diagram.
3. At the time of system performance evaluation execution, the control processing model sheet, which is a lower Petri net diagram of the hierarchical structure, and the system state model sheet are separated, and only the system state model sheet necessary for system performance evaluation is executed.

2つ目のシートは、制御処理モデルシートである。このウィンドウの役割は、システム状態モデルシートから実行処理の指示を受け、システムの状態を変化させるのに必要な処理や制御処理、データ処理などを行うシートである。実際に外部入力プレースや外部出力プレースなどを配置するシートである。   The second sheet is a control processing model sheet. The role of this window is a sheet that receives an instruction of execution processing from the system state model sheet and performs processing, control processing, data processing, and the like necessary for changing the state of the system. It is a sheet that actually arranges external input places, external output places, and the like.

3つ目のシートは、I/Oセッティングシートである。このシートの特徴は、入出力に対応した制御対象機器(I/Oデバイス)の信号リフレッシュ後に常時実行されるところにある。このシートの役割は下記の通りである。
1.I/Oデバイスの信号の有無を応用した条件をブロック化して制御処理モデルシートの条件を簡素化する。
2.I/Oセッティングシートが、常にI/Oデバイス信号の条件をチェックすることで、常に実行していない階層化シートであっても常時I/Oデバイスの信号を反映させた条件を使うことができるようになる。
3.I/Oセッティングシートにおいて、I/O共有プレース(複数のシートで1つのプレースを共有して使用することができる機能プレース)などを用いてI/Oデバイスの条件をブロック化したシートを、I/Oデバイスと同様であると考え、シートに対してステップ毎に初期化処理1309(I/Oリフレッシュ処理と同じ意味。初期化処理の実行は選択可能)を実行する。これにより、入出力条件のシートを簡素化する。
The third sheet is an I / O setting sheet. The feature of this sheet is that it is always executed after signal refresh of a control target device (I / O device) corresponding to input / output. The role of this sheet is as follows.
1. The conditions for applying the presence / absence of signals of the I / O device are blocked to simplify the conditions of the control processing model sheet.
2. The I / O setting sheet always checks the condition of the I / O device signal, so that the condition that always reflects the signal of the I / O device can be used even if the hierarchized sheet is not always executed. It becomes like this.
3. In the I / O setting sheet, a sheet in which I / O device conditions are blocked using an I / O shared place (a functional place that can be used by sharing one place among a plurality of sheets), etc. The initialization process 1309 (same meaning as the I / O refresh process. Execution of the initialization process can be selected) is executed for each step on the sheet. This simplifies the input / output condition sheet.

システムの制御と監視、性能評価を効率よく行うために、3つの種類のシートには規則がある。
1.システムモデルネットは、制御処理モデルシートより必ず階層構造が高い位置に配置する。
2.システム状態モデルシートには、外部入出力プレースなどのI/Oデバイスに関連したノードを配置することができない。
3.I/Oセッティングシートでは階層化の設定ができない。
There are rules for the three types of seats for efficient system control, monitoring and performance evaluation.
1. The system model net is always arranged at a position having a higher hierarchical structure than the control processing model sheet.
2. A node related to an I / O device such as an external input / output place cannot be arranged in the system state model sheet.
3. Hierarchy cannot be set on the I / O setting sheet.

次に、本発明の拡張ペトリネット形式でモデル化した搬送システムのペトリネットモデルを例にとり、拡張ペトリネット形式による階層構造の実行処理と従来のペトリネット理論のモデル化では、複雑なモデルとなってしまう非常停止などの割り込み処理を簡素化できるモデル化の方法について説明する。   Next, taking the Petri net model of the transport system modeled in the extended Petri net form of the present invention as an example, the execution process of the hierarchical structure in the extended Petri net form and the modeling of the conventional Petri net theory become a complicated model. A modeling method that can simplify interrupt processing such as emergency stop will be described.

図6は、ルートとなる、階層構造の最上位にあるペトリネット図である。このペトリネット図は、システム状態モデルのシートであるため、搬送システムの状態の移り変わりを表すようにモデル化されている。図6の搬送システムネットは、搬送システムが制御中であるか非常停止中であるのか、また、それらに移行する段階にあるのかを表現することが可能である。   FIG. 6 is a Petri net diagram at the top of the hierarchical structure serving as the root. Since this Petri net diagram is a sheet of a system state model, it is modeled to represent a change in state of the transport system. The transfer system net in FIG. 6 can express whether the transfer system is under control or emergency stop, and whether it is in a stage of transition to them.

システムの初期状態を示すプレース601には、初期マーキングがある。図6の搬送システムのモデル化では、トークンは現在の搬送システムの状態を示している。ツールバー505の実行ボタンを選択してこの搬送システムをモデル化したペトリネット図の実行処理を開始した場合、トランジション603が発火してトークン602が階層化プレース604に遷移する。   The place 601 indicating the initial state of the system has an initial marking. In the modeling of the transport system of FIG. 6, the token indicates the current state of the transport system. When the execution button of the toolbar 505 is selected and the execution process of the Petri net diagram modeling this transport system is started, the transition 603 is fired and the token 602 transitions to the hierarchical place 604.

階層化プレース604にトークンがマーキングされると階層化先のペトリネット図であるライン制御中を示すペトリネット図の図7が活性されて実行処理を開始する。また、層化プレース604にトークンがマーキングされると、階層化トランジション605が発火可能な状態となる為、階層化先のペトリネット図である非常停止処理シートが活性されて実行を開始する。   When a token is marked on the hierarchized place 604, FIG. 7 of the Petri net diagram indicating that the line control is being performed, which is the Petri net diagram of the hierarchization destination, is activated and the execution process is started. When a token is marked on the stratified place 604, the hierarchized transition 605 is ready to be fired, so that the emergency stop processing sheet, which is the Petri net diagram of the stratified destination, is activated and starts executing.

階層化プレース604により活性した図7のライン制御中を示すペトリネット図は、システム状態モデルシートである。このシートの各プレースによって示された状態は、搬送システムそのもの状態であり、搬送システムを上部から見た外観と同じようにモデル化している。各プレースは、搬送システムの各ラインなどを表し、遷移するトークンは、入荷品であるバケットやその中の商品を表すことができる。このため、図7については、トークンに属性を持たせる設定を行っている。この点は、属性設定の方法に関連して後述する。   The Petri net diagram showing the line control in FIG. 7 activated by the hierarchical place 604 is a system state model sheet. The state indicated by each place on the sheet is the state of the transport system itself, and is modeled in the same manner as the appearance of the transport system viewed from above. Each place represents each line of the transportation system, and the transition token can represent a bucket that is an incoming product and a product in the bucket. For this reason, with respect to FIG. 7, a setting for giving an attribute to the token is performed. This point will be described later in connection with the attribute setting method.

図7のライン制御中を示すシステム状態モデルのシートを実行すると、階層化トランジション701が発火可能な状態になる。そして、階層化先のペトリネット図である図10の入荷品の投入を示すペトリネット図が活性して実行処理が行われる。   When the sheet of the system state model indicating that the line control is being performed in FIG. 7 is executed, the hierarchized transition 701 can be fired. Then, the Petri net diagram showing the input of the received goods in FIG. 10 which is the Petri net diagram of the hierarchization destination is activated and the execution process is performed.

図10の入荷品投入シートは、制御処理モデルシートである。このシートでは、入荷品を投入したときの制御処理を行っている。よって、このペトリネットモデルには外部入出力プレースが配置されており、センサなどの制御対象からの入力信号やコンベアなどの制御対象への出力信号などを扱っている。   The incoming product input sheet of FIG. 10 is a control processing model sheet. This sheet performs a control process when an incoming product is input. Therefore, an external input / output place is arranged in this Petri net model, and handles an input signal from a control target such as a sensor or an output signal to a control target such as a conveyor.

入荷品の投入シートでは、スタートトランジション1001を一度のみ発火(スタートトランジションの仕様)させることで、入荷品の確認状態を示す状態プレース1002にマーキングする。   On the input sheet of the incoming goods, the start transition 1001 is ignited only once (specification of the start transition), thereby marking the status place 1002 indicating the confirmation state of the incoming goods.

次のトランジション1005が発火するには、入荷ライン401の左端センサ414(X1)がONにならなければならない。左端センサ414は、入荷ライン401の作業者が左端センサ414の前に入荷品を投入することでONになる。よって、入荷品の投入後、左端センサ414に対応している外部入力プレース1003にトークンがマーキングされる。
共有プレース1004は、複数のシートで1つのプレースを共有して使用することができる機能プレースであり、共有プレース1006と同じプレースを共有している。共有プレース1004はトランジション1005と抑止アークで接続しているため、共有プレース内にトークンがなければトランジション1005の発火条件は満たされる。トランジション1005の発火により3つの出力プレースである共有プレース1006と共有プレース1007状態プレース1008にトークンが遷移する。
In order for the next transition 1005 to ignite, the left end sensor 414 (X1) of the incoming line 401 must be turned ON. The left end sensor 414 is turned on when an operator of the arrival line 401 puts a received item in front of the left end sensor 414. Therefore, a token is marked on the external input place 1003 corresponding to the left end sensor 414 after the arrival of goods.
The shared place 1004 is a functional place that allows one place to be shared by a plurality of sheets, and shares the same place as the shared place 1006. Since the shared place 1004 is connected to the transition 1005 by a suppression arc, the firing condition of the transition 1005 is satisfied if there is no token in the shared place. As the transition 1005 is fired, the token transits to the shared place 1006 and the shared place 1007 state place 1008 which are three output places.

このとき、外部入力プレース1003は、常に左端センサ414の入力信号の状態をプレースのトークンに反映する機能プレースであるため、トランジション1005の発火によるトークンの遷移によって1003のトークンが失われることはない。   At this time, since the external input place 1003 is a functional place that always reflects the state of the input signal of the left end sensor 414 in the place token, the token of 1003 is not lost by the transition of the token due to the firing of the transition 1005.

共有プレース1005は、入荷ラインに流れているバケット数を表している。この共有プレース1005は、階層化トランジション705の階層化先のペトリネット図などで使用されている。   A shared place 1005 represents the number of buckets flowing in the arrival line. This shared place 1005 is used in the Petri net diagram of the hierarchized destination of the hierarchized transition 705.

発火後に共有プレース1006にトークンがマーキングされると、同じプレースを共有している共有プレース1004にもマーキングされる。共有プレース1004の役割は、左端センサ414の前からバケットが通り過ぎて入力信号がOFFになるまでトランジション1005の発火をできなくすることである。   When a token is marked on the shared place 1006 after firing, the shared place 1004 that shares the same place is also marked. The role of the shared place 1004 is to make it impossible to ignite the transition 1005 until the bucket passes from the front of the left end sensor 414 and the input signal is turned OFF.

状態プレース1008以降の処理は、入荷ラインのコンベアの状態に応じてコンベアを稼働させる処理を行っている。その処理の後、エンドトランジション1012が発火する。この発火により、階層化元のシートの階層化トランジション701が発火して機能プレース702にトークンを遷移させる。   The processing after the status place 1008 performs processing for operating the conveyor according to the status of the conveyor on the arrival line. After that process, the end transition 1012 is fired. By this firing, the hierarchized transition 701 of the hierarchization source sheet is fired and the token is changed to the function place 702.

機能プレース702に遷移したトークンは搬送システムを流れる入荷品(バケット)を表している。機能プレース702は、バーコードリーダー409で読み取った2次元バーコードのデータをトークンの属性に反映させる機能をもったプレースである。この機能プレース702は、図1の機能設定手段120で関数コードを入力して機能設定することによりプレースに機能を実装することが可能である。この機能については、属性定義に関連して後述する。   The token that has transitioned to the function place 702 represents an incoming product (bucket) that flows through the transport system. The function place 702 is a place having a function of reflecting the two-dimensional barcode data read by the barcode reader 409 on the attribute of the token. The function place 702 can be implemented with a function by inputting a function code and setting the function with the function setting means 120 shown in FIG. This function will be described later in connection with attribute definition.

このように、図7に示すライン制御中シートの実行処理は、搬送システムの状態を示すものであり、その状態から次の状態へ遷移する際に必要となる処理を階層化トランジションの階層化先のペトリネット図を実行して処理を行っている。図6の階層化プレース604にトークンがある限り、図7とシート内の階層化ノードによって階層化されたシートが実行処理を行うことで搬送システムの制御が行なわれる仕組みとなっている。   As described above, the execution processing of the sheet under line control shown in FIG. 7 indicates the state of the conveyance system, and the processing necessary when transitioning from the state to the next state is performed as the hierarchization destination of the hierarchized transition. The process is executed by executing the Petri net diagram. As long as there is a token in the hierarchized place 604 in FIG. 6, the sheet is hierarchized by the hierarchized nodes in FIG. 7 and the sheet, and the conveyance system is controlled by executing the execution process.

図6の階層化トランジション605が発火可能な場合、階層化先のペトリネット図である非常停止処理シート(図8)が活性して実行される。   When the hierarchized transition 605 of FIG. 6 can be fired, the emergency stop processing sheet (FIG. 8), which is the Petri net diagram of the hierarchization destination, is activated and executed.

図8の非常停止処理シートが実行されると、スタートトランジション801が、一度のみ発火して状態プレース802にトークンをマーキングする。トランジション804は、I/O共有プレース803にトークンがないと発火条件を満たすことができないため、発火することはない。このI/O共有プレース803は、図9のI/Oセッティングシートで入力条件をブロック化したI/O共有プレース901と共有している。このブロック化については、入出力条件ブロック化モデル作成工程に関連して既に説明している。   When the emergency stop processing sheet of FIG. 8 is executed, the start transition 801 fires only once and marks the token in the state place 802. Since the transition 804 cannot satisfy the firing condition if there is no token in the I / O shared place 803, it does not fire. This I / O shared place 803 is shared with the I / O shared place 901 in which input conditions are blocked in the I / O setting sheet of FIG. This blocking has already been described in relation to the input / output condition blocking model creation step.

I/Oセッティングシートの発火処理や実行処理のタイミングは、図13のフローチャート図のステップ1302、1304、1306、1309に示す。   Timings of the I / O setting sheet firing process and execution process are shown in steps 1302, 1304, 1306, and 1309 in the flowchart of FIG.

図9のI/Oセッティングシートは、搬送システムの各ラインにある7つの非常停止ボタンのいずれかが押された場合、接続するトランジションが発火してI/O共有プレース901にトークンがマーキングされる。
I/O共有プレース901は、トークンによるON/OFFの制御信号を扱うため制限容量を1と設定してある。そのため、I/O共有プレース901のトークンは1つのみマーキングすることが可能である。このI/O共有プレース901のトークンを取り除かない限り、トランジションが連続的に発火することはない。
In the I / O setting sheet of FIG. 9, when any of the seven emergency stop buttons on each line of the transport system is pressed, a transition to be connected is fired and a token is marked on the I / O shared place 901. .
The I / O shared place 901 has a limited capacity set to 1 in order to handle ON / OFF control signals by tokens. Therefore, only one token of the I / O shared place 901 can be marked. As long as the token of this I / O shared place 901 is not removed, the transition will not fire continuously.

I/Oセッティングシートは、シート設定手段113(図1)により、図15に示す1501の設定でステップ単位に初期化を行うかどうか設定することが可能である。このI/Oセッティングシート図9は、ステップ毎に初期化する設定となっているため、I/O共有プレース901のトークンは次のステップで初期化され、トークンは取り除かれる。
非常停止ボタンを復帰した場合、接続するトランジションが発火することはないので該I/O共有プレース901のトークンも無くなる。
The I / O setting sheet can be set by the sheet setting means 113 (FIG. 1) whether or not initialization is performed in units of steps with the setting 1501 shown in FIG. Since this I / O setting sheet is set to be initialized at each step, the token of the I / O shared place 901 is initialized at the next step, and the token is removed.
When the emergency stop button is returned, the transition to be connected is not ignited, so the token of the I / O shared place 901 is also lost.

I/O共有プレース901は、図8の非常停止処理ネットのI/O共有プレース803と共有されているため、7つの非常停止ボタンの入力信号をブロック化してトランジション804の発火条件を簡素化している。非常停止が1つでも押されれば、I/O共有プレース803にトークンがマーキングされるので、トランジション804は発火する。   Since the I / O shared place 901 is shared with the I / O shared place 803 of the emergency stop processing net in FIG. 8, the input signals of the seven emergency stop buttons are blocked to simplify the firing condition of the transition 804. Yes. If even one emergency stop is pressed, the token is marked on the I / O shared place 803, and the transition 804 is fired.

従来のペトリネットでは、一度プレースにマーキングされたトークンを排出する場合、排出するためのペトリネット図を構成する必要があった。しかし、本発明の拡張ペトリネットによるI/Oセッティングシートの初期化設定機能により、非常停止ボタンが復帰した場合のトークンを排出させるためのペトリネット図を構成する必要を無くすことができる。さらに、I/Oデバイスの入出力条件をブロック化して他のシートで使用することで、システムのモデル化を簡素化してシステムの設計効率を向上させることができる。   In the conventional Petri net, when a token once marked in a place is discharged, it is necessary to construct a Petri net diagram for discharging. However, the initialization setting function of the I / O setting sheet by the extended Petri net of the present invention can eliminate the need to construct a Petri net diagram for discharging the token when the emergency stop button is returned. Further, by blocking the input / output conditions of the I / O device and using them in other sheets, the system modeling can be simplified and the system design efficiency can be improved.

トランジション804の発火後、トークンは処理状態プレース805へ遷移する。そして、エンドトランジション806が発火可能となり発火する。   After the transition 804 fires, the token transitions to the processing state place 805. Then, the end transition 806 can be ignited and ignites.

上記のように非常停止ボタンが押された場合、図6の階層化トランジション605が発火して階層化プレース604のトークンが取り除かれ、階層化プレース606へトークンが遷移する。階層化トランジション605が発火する際、階層化先のペトリネット図である非常停止処理シート図8が不活性となり初期化が行なわれる。この時、初期化されるプレースは通常プレースのみである。   When the emergency stop button is pressed as described above, the layered transition 605 in FIG. 6 is fired, the token of the layered place 604 is removed, and the token transits to the layered place 606. When the hierarchized transition 605 is fired, the emergency stop processing sheet FIG. 8, which is the Petri net diagram of the hierarchization destination, is inactivated and initialization is performed. At this time, only a normal place is initialized.

また、階層化トランジション605の発火後には、階層化プレース604の階層化先のペトリネット図であるライン制御中シート(図7)とこのライン制御中シートの実行によって実行していた階層化先のペトリネット図は、全て不活性となり実行処理が停止する仕組みとなっている。   Further, after the hierarchized transition 605 is fired, the line control sheet (FIG. 7) that is the Petri net diagram of the hierarchization place 604 and the hierarchization destination executed by the execution of the line control sheet. All Petri net diagrams are inactive and the execution process stops.

図7のライン制御中シートは、シート設定手段123(図1)による図15の1501の設定が行われないため、シートの初期化を行わない。この場合、再び、階層化プレース604にトークンがマーキングされると現状のシートの状態から継続して実行処理を行う。   The sheet under line control in FIG. 7 is not initialized because the sheet setting unit 123 (FIG. 1) does not set 1501 in FIG. In this case, when a token is marked again in the hierarchical place 604, the execution process is continued from the current sheet state.

階層化トランジション605の発火により階層化プレース606は、トークンをマーキングする。これにより、階層化プレース606の階層化先のペトリネット図が、活性して実行処理を開始する。実行処理を開始した階層化先のペトリネット図では、システムのペトリネットモデル内の出力信号を取り除く処理を行うことで搬送システムは非常停止状態になる。   The layered place 606 marks the token by firing the layered transition 605. As a result, the Petri net diagram of the hierarchized destination of the hierarchized place 606 is activated and starts execution processing. In the Petri net diagram of the hierarchization destination where the execution process is started, the transport system is brought into an emergency stop state by performing the process of removing the output signal in the Petri net model of the system.

このように、図7に示すペトリネット図と階層構造が下位のペトリネット図の実行処理が停止すると、実際の搬送システムも停止状態となる。この時、図7が示すペトリネットモデルのシステムの状態と実際に停止している搬送システムの状態は同じとなる。   As described above, when the execution process of the Petri net diagram shown in FIG. 7 and the Petri net diagram whose hierarchical structure is lower is stopped, the actual transport system is also stopped. At this time, the system state of the Petri net model shown in FIG. 7 is the same as the state of the actually stopped transport system.

階層化プレース606にトークンがマーキングされたことで、階層化トランジション607が、発火可能となり、階層化先のペトリネット図が活性して実行を開始する仕組みとなっている。   Since the token is marked on the hierarchized place 606, the hierarchized transition 607 can be ignited, and the Petri net diagram of the hierarchized destination is activated to start execution.

これらの拡張ペトリネット形式による階層構造の実行方法を用いれば、システムが如何なる状態にあっても、非常停止のような割り込み処理を容易に行うことが可能となる。さらに、割り込み処理の種類を増やす場合にも、容易に対応することが可能である。   If these hierarchical Petri net format execution methods are used, interrupt processing such as emergency stop can be easily performed regardless of the state of the system. Furthermore, it is possible to easily cope with an increase in the types of interrupt processing.

例として、図4の搬送システムに別の割り込み処理を追加したい場合について説明する。優先的に割り込み処理を行いたい場合、階層構造の上位ルートで割り込み処理を行うペトリネットモデルへトークンを導くようにする(分岐処理)。これにより、割り込み処理の追加およびその実行が可能となる。   As an example, a case where another interrupt process is desired to be added to the transport system of FIG. 4 will be described. When interrupt processing is to be performed preferentially, a token is guided to a Petri net model that performs interrupt processing in the upper route of the hierarchical structure (branch processing). This makes it possible to add and execute interrupt processing.

図6の場合、階層化プレース604から階層化トランジション605とは別の階層化トランジションを接続させる。そして、その階層化先のペトリネット図に割り込みを発生させたい条件をモデル化して、その条件が満たされた時に階層化トランジションが発火できるようにする。次に、この階層化トランジションに階層化プレースを接続させる。接続させた階層化プレースの階層化先のペトリネット図に割り込み処理の内容をモデル化すれば、割り込み処理は完成する。   In the case of FIG. 6, a layered transition different from the layered transition 605 is connected from the layered place 604. Then, a condition for generating an interrupt is modeled in the Petri net diagram of the hierarchization destination so that the hierarchized transition can be fired when the condition is satisfied. Next, a hierarchical place is connected to this hierarchical transition. If the contents of the interrupt process are modeled in the Petri net diagram of the hierarchized destination of the connected hierarchical place, the interrupt process is completed.

このようにすれば、割り込み処理の発生条件を満たせば、新たに追加した階層化トランジションが発火して、階層化プレース604のトークンが取り去られ、新たに追加した割り込み処理を行う階層化プレースにトークンがマーキングされる。これにより、割り込み処理を実行することがきる。   In this way, if the interrupt processing generation condition is satisfied, the newly added layered transition is fired, the token of the layered place 604 is removed, and the layered place that performs the newly added interrupt processing is changed. The token is marked. Thereby, interrupt processing can be executed.

従来のペトリネット理論では、図4の搬送システムをペトリネットモデル化して制御を行う場合、非常停止のような割り込み的な制御に対応させるため為には、制御内容をペトリネットモデル化したプログラム内の全てのトランジションに、非常停止が押され時に非常停止処理を行うという前提条件と後提条件を追加しなければならなかった。しかし、本発明である拡張ペトリネット形式での階層構造の実行方法であれば、図6のようなルートに割り込み処理を行うペトリネットモデルへトークンを導くようにすることで(分岐処理)、割り込み処理を容易に実現することができる。また、割り込み処理の種類が増えてもルートに分岐処理を追加することで容易に対応できる。   In the conventional Petri net theory, when the transport system shown in FIG. 4 is controlled by a Petri net model, in order to cope with an interrupt-like control such as an emergency stop, the control contents are included in the Petri net model program. All the transitions in this section had to be added with the precondition and postcondition that an emergency stop process would be performed when an emergency stop was pressed. However, according to the method of executing the hierarchical structure in the extended Petri net format according to the present invention, the token is guided to the Petri net model that performs the interrupt processing on the route as shown in FIG. Processing can be easily realized. Further, even if the number of types of interrupt processing increases, it can be easily handled by adding branch processing to the route.

さらに、本発明の拡張ペトリネット形式での階層構造の実行方法は、階層構造の上位にある階層化ノードにより、階層化先のペトリネット図を活性させて実行処理を行うことに特徴がある。このことから、拡張ペトリネット形式でシステムのモデル化を行い、この拡張ペトリネット形式での階層構造の実行方法でモデル化したシートを実行することによって、ペトリネットモデル内で活性したシートのトランジションのみ発火判定を行うだけで実行が可能となる。これにより、ペトリネットモデル内の全てのトランジションの発火判定を行う必要がなくなり、実行処理の負荷を軽減することができる。   Further, the method for executing a hierarchical structure in the extended Petri net format according to the present invention is characterized in that execution processing is performed by activating the Petri net diagram of the hierarchization destination by a hierarchical node at a higher level of the hierarchical structure. For this reason, only the transition of the active sheet in the Petri net model is performed by modeling the system in the extended Petri net format and executing the sheet modeled by the hierarchical structure execution method in this extended Petri net format. Execution is possible simply by making a fire determination. As a result, it is not necessary to perform firing determination for all transitions in the Petri net model, and the load of execution processing can be reduced.

次に、本発明である拡張ペトリネットに基づく制御装置の拡張ペトリネットの属性定義と制御への応用について説明する。図4の搬送システムにバケットを投入すると、図10のペトリネット図の実行処理により図7のペトリネット図の階層化トランジション701が発火してトークンを遷移させる。このとき、トークンは、投入したバケットを表現している。さらに、拡張ペトリネットの属性定義によりトークンの属性値でバケット内の異なる商品を表現することができる。   Next, attribute definition of the extended Petri net of the control device based on the extended Petri net according to the present invention and application to control will be described. When a bucket is inserted into the transport system of FIG. 4, the layered transition 701 of the Petri net diagram of FIG. 7 is fired by the execution process of the Petri net diagram of FIG. At this time, the token represents the input bucket. Furthermore, different products in the bucket can be expressed by the attribute value of the token by the attribute definition of the extended Petri net.

拡張ペトリネットの属性定義には大きく2つの特徴がある。
1つ目は、制御分野で一般的に使われる整数値や実数値、文字列または2値(ビット)を、それぞれ扱うことができるデータ型として数値型、文字型またはフラグ型の3種類を定義して、これら3種類の型をトークンの属性定義としていることである。
2つ目は、ペトリネット図を描くシート単位に3種類の型のデータ長を設定し、ペトリネット図内の全てのトークンにその設定に応じたデータを格納できるようにして、そのデータに対して参照または代入できるようアドレスを指定できるようにしていることである。これらの属性定義は、属性設定手段115で設定することができる。
これらの特徴により、複数のペトリネット図からなるペトリネットモデル内で属性定義の必要となるシートのみに属性設定を許可することが可能となり、実行処理を行ったときの属性に関連するメモリの消費と、属性に関連する実行処理の負荷を抑えることができる。
また、あらかじめ種類の属性を決めておくことで、トークンが格納できるデータ長を指定するだけで簡単に属性を定義することが可能である。
The extended Petri net attribute definition has two main characteristics.
The first defines three types of data types that can handle integer values, real values, character strings, or binary values (bits) that are commonly used in the control field: numeric, character, or flag types. Thus, these three types are used as token attribute definitions.
Second, three types of data length are set for each sheet on which a Petri net diagram is drawn, and data corresponding to the setting can be stored in all tokens in the Petri net diagram. The address can be specified so that it can be referenced or assigned. These attribute definitions can be set by the attribute setting means 115.
With these features, it is possible to allow attribute setting only for sheets that require attribute definition within a Petri net model consisting of multiple Petri net diagrams, and memory consumption related to attributes when execution processing is performed. And the load of the execution process related to the attribute can be suppressed.
Also, by determining the type of attribute in advance, it is possible to easily define the attribute simply by specifying the data length that can store the token.

この属性設定について、図4の搬送システムを例にとり説明する。図7に示すペトリネット図では、バケットを表すトークンに対して図15のように属性設定を行っている。数値型のデータ数を選択する1502、文字型のデータ数を選択する1503、フラグ型のデータ数を選択する1504でそれぞれデータの個数を設定することができる。図7では、数値型を6個、文字型を6個をそれぞれ指定して、選択しているシートに対して属性定義を許可するチェックボックス1507にチェックをしている。これにより、図7の全てのトークンに対して数値型6個、文字型6個のデータを格納することができるようになる。   This attribute setting will be described using the conveyance system of FIG. 4 as an example. In the Petri net diagram shown in FIG. 7, attributes are set as shown in FIG. 15 for tokens representing buckets. The number of data can be set by 1502 for selecting the number of numerical data, 1503 for selecting the number of character data, and 1504 for selecting the number of flag data. In FIG. 7, six numerical types and six character types are designated, respectively, and a check box 1507 for allowing attribute definition to the selected sheet is checked. This makes it possible to store data of 6 numerical types and 6 character types for all tokens in FIG.

このトークンに格納されたデータには自動的にアドレスが設定される。数値型の6個のデータに対しては、D1からD6までのアドレスが付与される。文字型の6個のデータには、S1からS6までのアドレスが付与される。これにより、属性を定義する際に、個々の属性値に自動的に設定されるアドレスを指定することで、個々の属性値への参照や、演算結果の代入など簡単に設定することが可能である。   An address is automatically set to the data stored in this token. Addresses from D1 to D6 are assigned to six numerical data. Addresses S1 to S6 are assigned to the six character-type data. As a result, when defining an attribute, by specifying an address that is automatically set for each attribute value, it is possible to easily set the reference to each attribute value or the assignment of the operation result. is there.

拡張ペトリネットの属性定義をシステムの制御とシステムの状態監視に応用する方法について説明する。図4の搬送システムでは、表1から表5が示す商品が入ったバケットが順に投入される。1つ目のバケットを投入すると、図7のペトリネット図の階層化トランジション701が実行処理され、発火することでトークンを機能プレース702に遷移させる。このとき、機能プレース703は、プレースが持つ特定の機能を完了するまでトークンを予約してトークンを遷移できなくする。この機能プレース702では、トークンのマーキング後に入荷ライン401を流れるバケットの2次元バーコードを読み取り、トークンに対して表1にある品番を文字型のS1からS5までに代入を行う。さらに、品番に対する個数については、D1からD5に代入を行う。代入完了後、機能プレース702によるトークンの予約が解除され、トランジション703が発火可能になる。   A method of applying the extended Petri net attribute definition to system control and system status monitoring will be described. In the transport system of FIG. 4, buckets containing the products shown in Tables 1 to 5 are sequentially inserted. When the first bucket is inserted, the hierarchized transition 701 in the Petri net diagram of FIG. 7 is executed, and the token is changed to the function place 702 by firing. At this time, the function place 703 reserves a token until the specific function of the place is completed, and the token cannot be changed. In this function place 702, the two-dimensional barcode of the bucket flowing in the arrival line 401 is read after marking the token, and the product number in Table 1 is assigned to the token from S1 to S5 of the character type. Further, the number for the product number is substituted from D1 to D5. After the substitution is completed, the token reservation by the function place 702 is canceled, and the transition 703 can be fired.

属性設定を許可したシートにおけるトランジションの設定と、搬送システムの制御を行う実行処理について説明する。属性設定を許可したシートでは、トランジション発火条件式設定手段116とトランジション出力設定手段117によりトークンの属性値を用いた複雑な制御を行うための設定を簡単に行うことができる。属性設定を許可したシートの実行処理では、通常のトランジションの発火判定に加え、トランジション発火条件式設定手段116で設定したトランジションの発火条件式を含む発火規則を考慮して発火判定処理を行う。
また、発火後の遷移するトークンに対して、トランジション出力設定手段117の設定に従いトークンの属性値の変更を行う。トランジション発火条件式設定手段116で設定した発火条件式やトランジション出力設定手段117で設定した出力設定は、関連するアーク単位に設定を行い、関連するアークに設定値が組み込まれる仕組みとなっている。システムの制御における属性値を用いた複雑な発火処理は、実行処理内の属性設定発火処理手段124で処理を行っている。
An execution process for performing the transition setting for the sheet for which the attribute setting is permitted and the control of the conveyance system will be described. In a sheet that permits the attribute setting, the transition firing condition expression setting unit 116 and the transition output setting unit 117 can easily perform settings for performing complex control using the attribute value of the token. In the execution process of the sheet for which the attribute setting is permitted, the firing determination process is performed in consideration of the firing rule including the transition firing condition expression set by the transition firing condition expression setting unit 116 in addition to the normal transition firing determination.
In addition, the token attribute value is changed in accordance with the setting of the transition output setting unit 117 for the transitioning token after firing. The firing condition formula set by the transition firing condition formula setting means 116 and the output setting set by the transition output setting means 117 are set for each related arc, and the setting value is incorporated into the related arc. Complex firing processing using attribute values in system control is performed by the attribute setting firing processing means 124 in the execution processing.

トランジション703では、トランジション発火条件式設定手段116による設定を行っていないので、通常の発火判定により発火する。発火後の出力設定については、トランジション出力設定手段117により設定を行っている。このため、機能プレース703から遷移するトークンの属性値によって保管ラックのエリアが判別され、D6に保管ラックのエリアを示すデータが機能プレース703から遷移するトークンに格納されるよう設定される。   In the transition 703, since the setting by the transition firing condition formula setting unit 116 is not performed, the fire is fired by the normal firing determination. The output setting after firing is set by the transition output setting means 117. Therefore, the storage rack area is determined based on the attribute value of the token transitioned from the function place 703, and data indicating the storage rack area is set in D6 to be stored in the token transitioned from the function place 703.

トランジション703のトランジション出力設定手段117の設定画面を図17に示す。トランジションの出力設定は、入力プレースから遷移するトークンの属性値を基に、トランジションから出力プレースに出力されるトークンの属性値に対して、遷移するトークンのデータの代入や遷移するトークンデータを基に演算した結果の代入等、任意に行うことができる。   A setting screen of the transition output setting means 117 of the transition 703 is shown in FIG. The transition output settings are based on the attribute value of the token that transitions from the input place, and the attribute value of the token that is output from the transition to the output place. This can be done arbitrarily, such as substituting the calculated result.

出力トークン設定表1702のアドレスD1の1:1:D1の表記内容について説明する。1つ目の数字は、トランジションの発火によりトークンが遷移する入力プレースに接続しているアークの番号を示している。アークの番号とは、入力アークの一覧表1701の番号欄に表示している番号である。
2つ目の数字は、遷移するトークンの番号である。アーク番号で指定したアークに2以上の重みがある場合、アークに接続する入力プレースから遷移するトークンも2以上の複数となる。このため、2つ目の数字で、トランジションの発火時に同一アークより遷移するトークンが複数ある場合、何番目に遷移するトークンなのかを示している。これらにより遷移する1つのトークンを確定することができる。
3つ目のアドレス値は、確定したトークンのアドレスを指定している。
The description content of 1: 1: D1 of the address D1 in the output token setting table 1702 will be described. The first number indicates the number of the arc connected to the input place where the token transitions due to the firing of the transition. The arc number is a number displayed in the number column of the input arc list 1701.
The second number is the number of the transition token. When the arc specified by the arc number has a weight of 2 or more, there are two or more tokens that transition from the input place connected to the arc. For this reason, the second number indicates the number of tokens that transition when there are multiple tokens that transition from the same arc when the transition is fired. By these, one transition token can be determined.
The third address value specifies the address of the confirmed token.

出力トークンの設定表1702のアドレスD1は、機能プレース702から遷移するトークンのD1の値、すなわち個数の値をそのまま代入することを意味する。D2からD5も指定したアドレスの値を代入している。D6については、S1からS5に代入された品番の上位2桁の保管ラックのエリア(以下搬送先エリアとする)が5つの商品とも同一の場合は搬送先エリアの数値を代入し、商品の搬送先エリアが1つでも異なる場合は混載チェックライン403へ誘導するための値6を代入する。このように、出力するトークンの属性データを簡単に設定することが可能である。   The address D1 of the output token setting table 1702 means that the value of the token D1 that transitions from the function place 702, that is, the value of the number is substituted as it is. D2 to D5 are also assigned the value of the designated address. For D6, if the upper two-digit storage rack area (hereinafter referred to as “transport destination area”) of the product number assigned to S1 to S5 is the same for all five products, the numerical value of the transport destination area is substituted and the product is transported. If even one destination area is different, the value 6 for guiding to the mixed loading check line 403 is substituted. In this way, it is possible to easily set the attribute data of the token to be output.

図4の仕分けライン402でバケットの搬送先エリアに応じて押し出しシリンダがバケットを仕分けする制御について説明する。トランジション703で搬送先エリアのデータをD6に格納したトークンは、順に実行処理を経て仕分けライン402上のバケットを示すプレース707へ遷移する。このプレース707にトークンがマーキングされると、押し出しシリンダで仕分け処理を行う階層化トランジション706と、次の押し出しシリンダにバケットを搬送する処理を行う階層化トランジション708が通常の発火判定において発火可能な状態となる。   The control in which the pushing cylinder sorts the buckets according to the transfer destination area of the buckets in the sorting line 402 of FIG. 4 will be described. The token storing the data of the transport destination area in D6 in the transition 703 is sequentially transferred to a place 707 indicating a bucket on the sorting line 402 through execution processing. When a token is marked in this place 707, a hierarchized transition 706 that performs sorting processing by an extrusion cylinder and a hierarchized transition 708 that performs processing of transporting a bucket to the next extrusion cylinder can be ignited in a normal firing determination. It becomes.

階層化トランジション706は、トランジション発火条件式設定手段116によりライン上のバケットを表すトークンの属性値を用いた発火条件式が設定されている。階層化トランジション706をトランジション発火条件設定手段116で設定する画面を図18に示す。
入力アークの一覧表1801は入力アークを示している。発火条件式の設定1802では、入力アークに接続している入力プレース内のトークン属性値を用いて、発火条件式を任意に設定することができる。トランジション706が発火する条件として、発火条件式の設定1802に示す2つの発火条件式がある。通常の発火判定で発火可能な状態あり、2つの発火条件式を共に満たしていればトランジション706は発火する仕組みとなっている。1つ目の発火条件式は、トークンの搬送先エリアが2であることであり、2つ目の発火条件式は、5つの商品の数量が100個以下であることである。
In the hierarchized transition 706, the firing condition formula using the attribute value of the token representing the bucket on the line is set by the transition firing condition formula setting unit 116. A screen for setting the hierarchized transition 706 by the transition firing condition setting means 116 is shown in FIG.
The input arc list 1801 shows the input arcs. In the firing conditional expression setting 1802, the firing conditional expression can be arbitrarily set using the token attribute value in the input place connected to the input arc. There are two firing condition formulas shown in the firing condition formula setting 1802 as the conditions for the transition 706 to fire. If there is a state that can be ignited by normal firing determination, and both of the two firing condition expressions are satisfied, the transition 706 is ignited. The first firing condition formula is that the token transport destination area is 2, and the second firing condition formula is that the number of five products is 100 or less.

階層化トランジション708にも、トランジション発火条件式設定手段116により発火条件式が設定されている。階層化トランジション708をトランジション発火条件設定手段116で設定する画面を図19に示す。通常の発火判定で発火可能な状態であり、発火条件式の設定1902で示す2つの発火条件式のいずれかを満たしていれば、階層化トランジション708は発火する仕組みとなっている。   In the hierarchized transition 708, the firing condition formula is set by the transition firing condition formula setting means 116. A screen for setting the hierarchized transition 708 by the transition firing condition setting means 116 is shown in FIG. The hierarchized transition 708 is configured to ignite if it can be ignited by normal firing determination and satisfies either of the two firing condition expressions shown in the firing condition expression setting 1902.

プレース707へ遷移したトークンの搬送先エリアを示すD6の値は2であり、商品の個数を示すD1からD5の合計も100個以下であるため、階層化トランジション706が発火条件を満たす。よって、発火条件式による発火判定で発火可能となり図11が示す階層化先のペトリネット図の実行処理を行う仕組みとなっている。   Since the value of D6 indicating the transfer destination area of the token that has transitioned to the place 707 is 2, and the total of D1 to D5 indicating the number of products is also 100 or less, the hierarchical transition 706 satisfies the firing condition. Therefore, it is possible to ignite by the firing determination by the firing condition formula, and the execution process of the layered Petri net diagram shown in FIG. 11 is performed.

図11は、ライン2にバケットを仕分けする押し出しシリンダの制御する処理内容を示している。図11のペトリネット図の実行処理を行うことで、表1に示すバケットはライン2へ仕分けされる。   FIG. 11 shows the processing contents controlled by the extrusion cylinder that sorts the buckets into the line 2. The bucket shown in Table 1 is sorted into line 2 by performing the execution process of the Petri net diagram of FIG.

図4の搬送システムを拡張ペトリネット形式でモデル化した複数のシートの中で、属性定義を許可したシートは図7に示すもののみである。他のシートに関しては属性定義を行ってはいない。このように必要に応じてトークンの属性定義をシート単位に行うことが可能な仕組みとなっている。これにより、属性による発火判定の処理を必要なシートのみで行えばよく、実行処理にかかる負荷を軽減できる。   Among a plurality of sheets obtained by modeling the transport system of FIG. 4 in the extended Petri net format, only the sheets shown in FIG. Attributes are not defined for other sheets. In this way, the token attributes can be defined on a sheet basis as needed. As a result, the firing determination process based on the attribute need only be performed on the necessary sheets, and the load on the execution process can be reduced.

このように、拡張ペトリネットによる属性定義と、拡張ペトリネットによるトークンの属性値を用いたトランジションの発火制御や、トランジションや機能プレースの機能などによりトークンの属性値を変更することで、システムを詳細に表現することが可能となる。そして、複雑なシステムの制御と詳細なシステムの状態監視を実現することができる。   In this way, the system is detailed by changing the attribute value of the token by the attribute definition by the extended Petri net, the firing control of the transition using the attribute value of the token by the extended Petri net, the function of the transition and function place, etc. It is possible to express in Further, complex system control and detailed system status monitoring can be realized.

次に、制御を目的としている拡張ペトリネットの形式で生産ラインや物流システムなどの制御対象システムをモデル化したペトリネット図で、システムの性能を模擬的に評価して、生産性を下げているボトルネックとなる工程やシステム構成の問題箇所などを発見し、システムを改善するヒントを得ることのできるシステムの性能評価を行う性能評価実行手段127と、性能評価実行手段127が実行時に使用する特定のパラメータを設定する性能評価設定手段122について説明する。   Next, a Petri net diagram that models controlled systems such as production lines and distribution systems in the form of extended Petri nets for control purposes, and system performance is simulated to reduce productivity. A performance evaluation execution means 127 that performs performance evaluation of a system that can find a process that becomes a bottleneck or a problem portion of the system configuration and obtain a hint to improve the system, and a specification that the performance evaluation execution means 127 uses at the time of execution The performance evaluation setting means 122 for setting the parameters will be described.

図4に示す搬送システムなどを拡張ペトリネット形式でモデル化したペトリネット図には、制御処理モデルシートで制御対象機器との信号に対応した機能プレースなどを使用している。このため、拡張ペトリネットでモデル化したペトリネット図を実行処理させても、搬送効率を下げているボトルネックとなるライン、ライン上のバケットが溢れないようなバケットを投入するタクトタイム、またはシステム構成の問題箇所などを模擬的(搬送システムとの制御を行わない)に発見することはできない。なぜなら、制御処理モデルシートの機能プレースが制御対象機器と交信を行わない限り、実行処理が進まないからである。   In the Petri net diagram obtained by modeling the transport system shown in FIG. 4 in the extended Petri net format, a function place corresponding to a signal with the control target device is used in the control processing model sheet. For this reason, even if a Petri net model modeled with an extended Petri net is executed, the bottleneck that lowers the transfer efficiency, the tact time for introducing a bucket that does not overflow the bucket on the line, or the system The problem part of the configuration cannot be found in a simulated manner (not controlled with the transport system). This is because the execution process does not proceed unless the function place of the control process model sheet communicates with the control target device.

性能評価実行手段127は、搬送システムを拡張ペトリネット形式でモデル化した複数のペトリネット図のシステム状態モデルシートのみ実行処理させる。これにより、搬送システムの性能評価を行うことができる。この実行形態を性能評価実行という。   The performance evaluation execution means 127 executes only the system state model sheets of a plurality of Petri net diagrams obtained by modeling the transport system in the extended Petri net format. Thereby, the performance evaluation of a conveyance system can be performed. This execution form is called performance evaluation execution.

性能評価実行手段127による実行処理時に、性能評価設定手段122で設定したパラメータを使用する。このパラメータは、制御実行手段126および通常実行手段128による実行処理時に使用する、各種ノード設定手段118および機能設定手段120などが設定したパラメータとは異なる。   The parameters set by the performance evaluation setting unit 122 are used during the execution process by the performance evaluation execution unit 127. This parameter is different from the parameters set by the various node setting means 118 and the function setting means 120 used during the execution process by the control execution means 126 and the normal execution means 128.

性能評価実行で使用するパラメータを前記性能評価設定手段122で設定する方法について説明する。性能評価実行を行う場合、階層化先のシートが制御処理モデルシートである階層化ノードと機能プレースに対して設定を行う必要がある。その設定方法について、前述した搬送システムを拡張ペトリネットの形式でモデル化したペトリネット図を用いて説明する。   A method for setting the parameters used in the performance evaluation execution by the performance evaluation setting means 122 will be described. When performing performance evaluation, it is necessary to make settings for the hierarchized node and function place whose hierarchization destination sheet is the control processing model sheet. The setting method will be described using a Petri net diagram obtained by modeling the above-described transport system in the form of an extended Petri net.

最初に、搬送システムの何について性能評価を行うのか決める必要がある。ここでは、明日の作業オーダーを図4の搬送システムで行った場合の性能評価を行うことにする。
1ステップ実行処理の時間であるタイムユニットを実作業時間で定義する。この場合、1タイムユニットを30秒として、1日の作業8時間をタイムユニットに換算した960ステップで性能評価実行が終了するように性能評価設定手段122で設定する。
First, it is necessary to decide what kind of performance evaluation is to be performed in the transport system. Here, the performance evaluation when tomorrow's work order is performed by the transport system of FIG. 4 will be performed.
The time unit, which is the time for the one-step execution process, is defined as the actual work time. In this case, the performance evaluation setting means 122 is set so that the performance evaluation execution is completed in 960 steps in which one time unit is 30 seconds and 8 hours of work per day is converted into time units.

搬送システムのペトリネット図の中で、システム状態モデルシートのペトリネット図は図6と図7である。図6は、搬送システムを制御する通常処理と、非常停止ボタンが押された場合に搬送システムを止める非常停止処理の分岐を制御する。作業履歴により搬送システムの1日に発生する非常停止回数から階層化トランジション605の発火遅れ時間を算出して設定する。この発火遅れ時間には、統計、確率などの関数を設定することも可能である。階層化トランジション607には、類似するシステムの非常停止1回分の時間より発火遅れ時間を算出して設定する。
性能評価実行では、階層化トランジションの階層化先のシートが制御処理モデルシートである場合、階層化先のシートは実行処理を行うことは無く性能評価設定手段122で設定した発火遅れ時間により発火処理を行う仕組みとなっている。このため、図6を性能評価実行した場合、階層化トランジション605と階層化トランジション607により、階層化プレース604による図7の実行処理を作業履歴より算出した搬送システムの非常停止発生時間分だけ止める。これにより、搬送システムの性能評価を忠実に再現することができる。
Among the Petri net diagrams of the transport system, the Petri net diagrams of the system state model sheet are shown in FIGS. FIG. 6 controls branching of normal processing for controlling the transport system and emergency stop processing for stopping the transport system when the emergency stop button is pressed. Based on the work history, the ignition delay time of the hierarchized transition 605 is calculated and set from the number of emergency stops that occur in one day of the transport system. Functions such as statistics and probabilities can be set for the ignition delay time. In the hierarchized transition 607, the ignition delay time is calculated and set from the time of one emergency stop of a similar system.
In the performance evaluation execution, when the hierarchized destination sheet of the hierarchized transition is a control processing model sheet, the hierarchized destination sheet does not execute the execution process, and the ignition process is performed according to the ignition delay time set by the performance evaluation setting unit 122. It is a mechanism to do. For this reason, when the performance evaluation of FIG. 6 is executed, the execution process of FIG. 7 by the hierarchized place 604 is stopped by the hierarchized transition 605 and the hierarchized transition 607 for the emergency stop occurrence time of the transport system calculated from the work history. Thereby, the performance evaluation of a conveyance system can be reproduced faithfully.

搬送システムの入荷品の投入タクトタイムを30秒の1タイムユニットとした場合、図7の階層化トランジション701の発火遅れ時間は1となる。よって、性能評価設定手段122で該階層化トランジション701の発火遅れ時間を1と設定する。   When the input tact time of the incoming goods in the transport system is 1 time unit of 30 seconds, the ignition delay time of the hierarchized transition 701 in FIG. Therefore, the performance evaluation setting unit 122 sets the ignition delay time of the hierarchical transition 701 to 1.

機能プレース702は、性能評価設定手段122で関数を設定する必要がある。性能評価実行で設定する機能は、制御実行で設定した機能と異なっても構わない。性能評価実行では、本発明の制御装置に接続しているデータベース131にある、例えば、明日の作業オーダーを読み取り、機能プレース702のトークンの属性値に品番と数量を反映する機能を設定する。   The function place 702 needs to set a function by the performance evaluation setting unit 122. The function set in the performance evaluation execution may be different from the function set in the control execution. In the performance evaluation execution, for example, tomorrow's work order in the database 131 connected to the control apparatus of the present invention is read, and a function that reflects the product number and quantity is set in the attribute value of the token in the function place 702.

トランジション703は通常のトランジションであるため制御実行時に使用した属性設定などのパラメータを使用する。   Since the transition 703 is a normal transition, parameters such as attribute settings used during control execution are used.

階層化トランジション705は、制御実行時に階層化先のシートで入荷ライン401上を流れるバケットを仕分けライン402へ送る際の制御処理を行う。よって、性能評価設定手段122で設定する性能評価実行時の階層化トランジション705の発火遅れは、図4の入荷ラインを左端から右端へ流れるバケットの搬送時間を算出して設定することになる。   The hierarchized transition 705 performs control processing when sending buckets that flow on the arrival line 401 with the hierarchization destination sheet to the sorting line 402 during control execution. Therefore, the ignition delay of the hierarchized transition 705 at the time of performance evaluation set by the performance evaluation setting unit 122 is set by calculating the transport time of the bucket flowing from the left end to the right end of the arrival line in FIG.

階層化トランジション706は、制御実行時に階層化先のシートでバケットを仕分けする押し出しシリンダの制御処理を行う。よって、性能評価設定手段122で設定する性能評価実行時の階層化トランジション706の発火遅れは、押し出しシリンダがバケットの仕分けにかかる時間を算出して設定することになる。該階層化トランジション706のトークンの属性設定による発火条件式や出力設定に関しては、制御実行処理で使用したパラメータをそのまま使用する。   The hierarchized transition 706 performs a control process of the extrusion cylinder that sorts the buckets by the hierarchization destination sheet when the control is executed. Therefore, the ignition delay of the hierarchized transition 706 at the time of performance evaluation execution set by the performance evaluation setting means 122 is set by calculating the time required for the pushing cylinders to sort the buckets. For the firing condition expression and output setting by the attribute setting of the token of the hierarchical transition 706, the parameters used in the control execution process are used as they are.

他の階層化トランジションに対してもトランジション706と同様に、階層化先の制御処理モデルシートで制御対象を処理する時間を性能評価設定手段122で階層化トランジションの発火遅れに設定する。これにより、図7の性能評価実行は、例えば、明日の作業オーダー分のバケットを図4の搬送システムに流した場合のシステムの状態を時系列で表現することができる。   Similarly to the transition 706 for other layered transitions, the time for processing the control target in the control processing model sheet of the layered destination is set to the firing delay of the layered transition by the performance evaluation setting unit 122. Thereby, the performance evaluation execution of FIG. 7 can express the state of the system in a time series when, for example, buckets for tomorrow's work orders are flowed to the transport system of FIG.

性能評価実行の処理の過程はペトリネット図を遷移するトークンで表現している。性能評価実行の処理の速さは、1ステップの処理時間を任意に設定することで調節が可能である。   The process of performance evaluation execution is represented by tokens that transition Petri net diagrams. The speed of execution of performance evaluation can be adjusted by arbitrarily setting the processing time for one step.

以上より性能評価実行で、明日の作業オーダーのバケットを模擬的に図4の搬送システムに流して、性能を評価することが可能となる。これにより、投入するバケットのタクトタイムが適切であるか、または、1日の作業時間が適切であるかなど調べることができる。また、搬送システムの性能が作業に適しているのかを模擬的に把握することができる。
なぜなら、性能評価実行手段127より図7の搬送システムを表すペトリネット図よりバケット流れ具合を把握することができるため、ボトルネックとなるラインの判別が可能だからである。
逆に搬送システムのバケットを搬送する速度や仕分け速度を性能評価実行で割り出して、その時間で処理をするように制御処理の設計を見直したり、搬送装置をより性能の高いものに取替えて処理を速めるなど、改善活動の手助けを行うことも可能となる。
As described above, by performing the performance evaluation, it is possible to evaluate the performance by flowing the bucket of tomorrow's work order in a simulated manner to the transport system of FIG. As a result, it is possible to check whether the tact time of the bucket to be inserted is appropriate or whether the working time of the day is appropriate. In addition, it is possible to ascertain whether the performance of the transfer system is suitable for work.
This is because the performance evaluation execution means 127 can grasp the bucket flow condition from the Petri net diagram representing the transport system of FIG.
Conversely, the speed and sorting speed for transporting the bucket of the transport system are determined by performance evaluation execution, and the design of the control processing is reviewed so that processing is performed at that time, or the processing is performed by replacing the transport device with one with higher performance. It is also possible to assist improvement activities, such as speeding up.

本発明による拡張ペトリネットに基づく制御装置のシステム構成例を示す図である。It is a figure which shows the system configuration example of the control apparatus based on the extended Petri net by this invention. ペトリネット理論の説明に用いるトランジションの発火前を示す図である。It is a figure which shows before the ignition of the transition used for description of Petri net theory. ペトリネット理論の説明に用いるトランジションの発火後を示す図である。It is a figure which shows after the ignition of the transition used for description of Petri net theory. 搬送システムの構成と制御対象機器に対応した接点番号を示す図である。It is a figure which shows the contact number corresponding to the structure of a conveyance system, and a control object apparatus. 本発明による拡張ペトリネットに基づく設計実行手段のウィンドウを示す図である。It is a figure which shows the window of the design execution means based on the extended Petri net by this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化した最上位ネット(ルートネット)を示す図である。It is a figure which shows the highest net | network (route net) which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化したライン制御中ネットを示す図である。It is a figure which shows the net in line control which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化した非常停止処理ネットを示す図である。It is a figure which shows the emergency stop processing net which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化したI/Oセッティングネットを示す図である。It is a figure which shows the I / O setting net which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化した入荷品の投入ネットを示す図である。It is a figure which shows the input net | network of the arrival goods which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化したライン2分岐処理ネットを示す図である。It is a figure which shows the line 2 branch processing net which modeled the conveyance system in the extended Petri net format of this invention. 本発明の拡張ペトリネット形式で搬送システムをモデル化したシリンダ2通過ネットを示す図である。It is a figure which shows the cylinder 2 passage net which modeled the conveyance system in the extended Petri net form of this invention. 本発明の拡張ペトリネットによる制御実行手段の実行処理を示すフローチャート図である。It is a flowchart figure which shows the execution process of the control execution means by the extended Petri net of this invention. 本発明の拡張ペトリネットによる通常実行手段と性能評価実行手段の実行処理を示すフローチャート図である。It is a flowchart figure which shows the execution process of the normal execution means and performance evaluation execution means by the extended Petri net of this invention. 本発明の拡張ペトリネットによるネット設定手段の設定画面を示す図である。It is a figure which shows the setting screen of the network setting means by the extended Petri net of this invention. 本発明の拡張ペトリネットによる階層構造実行手段の実行処理を示すフローチャート図である。It is a flowchart figure which shows the execution process of the hierarchical structure execution means by the extended Petri net of this invention. 本発明の拡張ペトリネットによるトランジションの出力設定手段の設定画面を示す図である。It is a figure which shows the setting screen of the output setting means of the transition by the extended Petri net of this invention. 本発明の拡張ペトリネットによるトランジションの発火条件式設定手段の設定画面を示す図である。It is a figure which shows the setting screen of the firing condition formula setting means of the transition by the extended Petri net of this invention. 本発明の拡張ペトリネットによるトランジションの発火条件式設定手段の設定画面を示す図である。It is a figure which shows the setting screen of the firing condition formula setting means of the transition by the extended Petri net of this invention.

符号の説明Explanation of symbols

101 拡張ペトリネットに基づく制御装置
111 ペトリネットモデル設計手段
112 ペトリネット実行手段
113 ネット設定手段
114 要素配置編集手段
115 属性設定手段
116 トランジション発火条件式設定手段
117 トランジション出力設定手段
118 I/O設定手段
120 階層構造設定手段
101 Control Device Based on Extended Petri Net 111 Petri Net Model Design Means 112 Petri Net Execution Means 113 Net Setting Means 114 Element Placement Editing Means 115 Attribute Setting Means 116 Transition Firing Condition Expression Setting Means 117 Transition Output Setting Means 118 I / O Setting Means 120 Hierarchical structure setting means

Claims (4)

制御対象であるシステムを拡張ペトリネットを用いてモデル化する拡張ペトリネットに基づく制御対象システムのモデル化方法であって、
該システムの起こり得る状態を表したプレースと該システムのある状態を表すプレースから次の状態を表すプレースへの遷移に必要となる処理を階層構造をもって表した階層構造トランジションとを時系列順に並べて上位ペトリネット図を作成し、該システムの全体の状態をモデル化するシステム状態モデル作成工程と、
前記上位ペトリネット図上のあるプレースから次のプレースへ遷移する様子を、前記処理の開始を示すスタートトランジションと該処理の終了を示すエンドトランジションと該スタートトランジションと該エンドトランジションとの間の状態を細分化して表した複数の処理状態プレースと該処理状態プレース間の遷移に必要となる細分化された処理を表した処理トランジションとを時系列順に並べて作成した下位ペトリネット図に表し、前記階層構造トランジションに含まれる階層化先の処理内容をモデル化するシステム処理実行モデル作成工程と、
前記システムの通常処理から割り込み処理へ遷移可能なペトリネットモデルを作成して、前記システムの通常処理の実行中の如何なる状態からでも優先的に割り込み処理の実行を可能とするシステム割り込み処理実行モデル作成工程と、
外部I/Oデバイスの論理的な入出力条件の結果を反映すると共に複数のペトリネット図の間で共有可能な機能をもつ共有プレースを用いて該入出力条件をブロック化する特定ペトリネット図を作成して、該複数のペトリネット図間で該該共有プレースの再利用を可能とするモデル化を行う入出力条件ブロック化モデル作成工程と、
を有することを特徴とする拡張ペトリネットに基づく制御対象システムのモデル化方法。
A method for modeling a control target system based on an extended Petri net that models a system to be controlled using an extended Petri net,
Place a place representing a possible state of the system and a hierarchical structure transition representing the processing necessary for transition from a place representing a certain state of the system to a place representing the next state in a chronological order. Creating a Petri net diagram and modeling the overall state of the system;
Transition from one place to the next place on the upper Petri net diagram shows the state between the start transition indicating the start of the process, the end transition indicating the end of the process, the start transition, and the end transition. The hierarchical structure is represented in a subordinate Petri net diagram created by arranging a plurality of processing state places that are subdivided and processing transitions that indicate subdivided processing necessary for transition between the processing state places in time series. System process execution model creation process that models the processing contents of the hierarchization destination included in the transition,
Create a Petri net model that can transition from normal processing of the system to interrupt processing, and create a system interrupt processing execution model that enables priority execution of interrupt processing from any state during execution of normal processing of the system Process,
A specific Petri net diagram that reflects a result of a logical input / output condition of an external I / O device and blocks the input / output condition using a shared place having a function that can be shared among a plurality of Petri net diagrams. Creating and modeling an input / output condition blocking model that performs modeling that enables reuse of the shared place between the plurality of Petri net diagrams;
A method for modeling a control target system based on an extended Petri net, comprising:
ポインティングデバイスおよびキーボードを含む入力手段と、作成および編集した内容を表示する表示手段と、拡張ペトリネットによるペトリネットモデルを設計するペトリネットモデル設計手段と、ペトリネットモデルを実行するペトリネット実行手段とを備え、
外部の制御対象機器と接続可能なコンピュータシステムからなる拡張ペトリネットに基づく制御装置であって、
前記ペトリネットモデル設計手段は、
プレースとトランジションと該プレースおよび該トランジションを接続するアークとを配置したペトリネット図を作成する要素配置編集手段と、
前記要素配置編集手段で配置したノードを設定する各種ノード設定手段と、
前記ペトリネット図を目的に応じた状態に設定するシート設定手段と、
前記ペトリネット図に階層構造を設定する階層構造設定手段と、
外部の制御対象機器と特定機能を有する外部入出力プレースとの関連を設定するI/O設定手段の手段とを備え、
前記ペトリネット実行手段は、
前記階層化されたペトリネット図の実行を制御する階層構造実行手段と、
前記ペトリネットモデルを実行させて外部の制御対象機器を制御する制御実行手段と、
前記ペトリネットモデルを実行させてシステムの挙動をペトリネットで表現する通常実行手段とを備え、
さらに、作成したペトリネットモデルを記録するペトリネットモデル記録手段と、
ペトリネットモデルの作成、編集および実行を表示手段に表示させるペトリネットモデル表示手段と、
を有することを特徴とする拡張ペトリネットに基づく制御装置。
An input means including a pointing device and a keyboard, a display means for displaying the created and edited contents, a Petri net model design means for designing a Petri net model by an extended Petri net, and a Petri net execution means for executing the Petri net model With
A control device based on an extended Petri net consisting of a computer system connectable with an external control target device,
The Petri net model design means is:
Element arrangement editing means for creating a Petri net diagram in which a place, a transition, and an arc connecting the place and the transition are arranged;
Various node setting means for setting the nodes arranged by the element arrangement editing means;
Sheet setting means for setting the Petri net diagram in a state according to the purpose;
Hierarchical structure setting means for setting a hierarchical structure in the Petri net diagram;
Means for setting an association between an external control target device and an external input / output place having a specific function,
The Petri net execution means is:
Hierarchical structure execution means for controlling execution of the layered Petri net diagram;
Control execution means for controlling the external control target device by executing the Petri net model;
Normal execution means for executing the Petri net model and expressing the behavior of the system in Petri net,
Furthermore, Petri net model recording means for recording the created Petri net model,
A Petri net model display means for displaying the creation, editing and execution of the Petri net model on the display means;
A control device based on an extended Petri net, comprising:
前記ペトリネット図単位に該ペトリネット図内の全てのトークンに対して所定の設定に応じたデータの格納、参照および代入を可能とする属性を設定する属性設定手段と、
前記トークンに付与された属性値に外部情報を設定でき若しくは該属性値の変更を任意に設定できる機能をプレース若しくはトランジションに割り当てる機能設定手段と、
前記トランジションの発火規則を示す発火条件式を任意に設定できるトランジション発火条件式設定手段と、
トランジションの発火後に遷移する前記トークンに付与された属性値に対して該属性値の変更を任意に設定できるトランジション出力設定手段と、
前記機能設定手段の設定に従い前記トークンの属性値を変更する機能実行手段と、
前記トランジション発火条件式設定手段で設定した発火条件式を考慮した発火判定を行い、前記トランジション出力設定手段の設定に従い発火後のトークンの属性値を変更する属性設定発火処理手段と、
を有する請求項2に記載の拡張ペトリネットに基づく制御装置。
Attribute setting means for setting an attribute that enables storage, reference, and substitution of data according to a predetermined setting for all tokens in the Petri net diagram in the Petri net diagram unit;
A function setting means for assigning a function that can set external information to the attribute value given to the token or can arbitrarily set the change of the attribute value to a place or a transition;
A transition firing condition formula setting means capable of arbitrarily setting a firing condition formula indicating a firing rule of the transition;
Transition output setting means capable of arbitrarily setting a change of the attribute value with respect to the attribute value given to the token that transitions after the transition is ignited;
Function execution means for changing the attribute value of the token in accordance with the setting of the function setting means;
Attribute determination firing processing means for performing an ignition determination in consideration of the firing condition expression set by the transition firing condition expression setting means, and changing the attribute value of the token after firing according to the setting of the transition output setting means;
The control device based on the extended Petri net according to claim 2, comprising:
さらに、前記システムの生産性低下の要因箇所の特定を可能とする性能評価を模擬的に行える性能評価実行手段と、
前記性能評価実行手段が実行時に使用する特定のパラメータを設定する性能評価設定手段と、
を有する請求項2または3に記載の拡張ペトリネットに基づく制御装置。
Furthermore, a performance evaluation execution means that can simulate performance evaluation that enables specification of a factor part of productivity reduction of the system,
Performance evaluation setting means for setting specific parameters used by the performance evaluation execution means during execution;
The control apparatus based on the extended Petri net according to claim 2 or 3.
JP2005241585A 2005-08-23 2005-08-23 Modeling method of control target system based on extended petri net and controller based on extended petri net Pending JP2007058447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005241585A JP2007058447A (en) 2005-08-23 2005-08-23 Modeling method of control target system based on extended petri net and controller based on extended petri net

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005241585A JP2007058447A (en) 2005-08-23 2005-08-23 Modeling method of control target system based on extended petri net and controller based on extended petri net

Publications (1)

Publication Number Publication Date
JP2007058447A true JP2007058447A (en) 2007-03-08

Family

ID=37921915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005241585A Pending JP2007058447A (en) 2005-08-23 2005-08-23 Modeling method of control target system based on extended petri net and controller based on extended petri net

Country Status (1)

Country Link
JP (1) JP2007058447A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159244A (en) * 2015-07-29 2015-12-16 安徽理工大学 Event coordination control method based on Petri network
CN110213237A (en) * 2019-05-06 2019-09-06 西安电子科技大学 The control method of complete distributed subsystem Cooperative Security control, petri net model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6438804A (en) * 1987-08-05 1989-02-09 Fuji Electric Co Ltd Simulation system for operation plant
JPH04130953A (en) * 1990-09-21 1992-05-01 Fuji Xerox Co Ltd Simulation device based upon petri net graph
JPH06149776A (en) * 1992-10-30 1994-05-31 Fuji Xerox Co Ltd Simulation device based upon petri net
JPH10293604A (en) * 1997-04-22 1998-11-04 Hitachi Ltd Fast sequence control method, device therefor, and program production method
JP2003150887A (en) * 2001-11-16 2003-05-23 Nippon Steel Corp Simulation device based on extended petri-net

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6438804A (en) * 1987-08-05 1989-02-09 Fuji Electric Co Ltd Simulation system for operation plant
JPH04130953A (en) * 1990-09-21 1992-05-01 Fuji Xerox Co Ltd Simulation device based upon petri net graph
JPH06149776A (en) * 1992-10-30 1994-05-31 Fuji Xerox Co Ltd Simulation device based upon petri net
JPH10293604A (en) * 1997-04-22 1998-11-04 Hitachi Ltd Fast sequence control method, device therefor, and program production method
JP2003150887A (en) * 2001-11-16 2003-05-23 Nippon Steel Corp Simulation device based on extended petri-net

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159244A (en) * 2015-07-29 2015-12-16 安徽理工大学 Event coordination control method based on Petri network
CN110213237A (en) * 2019-05-06 2019-09-06 西安电子科技大学 The control method of complete distributed subsystem Cooperative Security control, petri net model

Similar Documents

Publication Publication Date Title
CN102326128B (en) For configuring the dynamic user interface with management process control system
JP4973867B2 (en) PLC control program development device and program
US7734628B2 (en) Method and apparatus for displaying and interacting with hierarchical information and time varying rule priority
JPH0464164A (en) Simulation method and device
EP0465149B1 (en) Data editing method and apparatus therefor
US20100077377A1 (en) System and Method for Creating Intelligent Simulation Objects Using Graphical Process Descriptions
Bruno et al. Petri-net based simulation of manufacturing cells
Basile et al. Simulation and analysis of discrete-event control systems based on Petri nets using PNetLab
Gilman et al. A Tutorial on See Why and Witness
Vijaykumar et al. On proposing statecharts to specify performance models
JP2007058447A (en) Modeling method of control target system based on extended petri net and controller based on extended petri net
JP4654285B2 (en) Progress management method, program, and progress management device
CN110020767A (en) Intervene the automatically coherent property inspection method after the workflow based on BPMN executes manually
JP3943909B2 (en) Simulation device based on extended Petri net
Rohrer AutoMod product suite tutorial (AutoMod, Simulator, AutoStat) by AutoSimulations
Healy CINEMA tutorial
Houck et al. Introduction To Simio
JP4514465B2 (en) Control program assembly system and program
JPH1058288A (en) Process capability evaluation simulator
Kilgore et al. Animation design with CINEMA
Bangsow et al. Modeling of production processes
JP2021144369A (en) Data processing apparatus and data processing method
JP2000107961A (en) Productivity evaluating simulation device and method
JPH06149776A (en) Simulation device based upon petri net
CN114418504A (en) Planning method and system for warehouse logistics scheme

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110426