JPH07160773A - Production planning device - Google Patents

Production planning device

Info

Publication number
JPH07160773A
JPH07160773A JP30767693A JP30767693A JPH07160773A JP H07160773 A JPH07160773 A JP H07160773A JP 30767693 A JP30767693 A JP 30767693A JP 30767693 A JP30767693 A JP 30767693A JP H07160773 A JPH07160773 A JP H07160773A
Authority
JP
Japan
Prior art keywords
transition
production
simulation
unit
petri net
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.)
Withdrawn
Application number
JP30767693A
Other languages
Japanese (ja)
Inventor
Toyoo Iida
豊男 飯田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP30767693A priority Critical patent/JPH07160773A/en
Publication of JPH07160773A publication Critical patent/JPH07160773A/en
Withdrawn legal-status Critical Current

Links

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/30Computing systems specially adapted for manufacturing

Abstract

PURPOSE:To provide a production planning device capable of effectively plan ning a schedule and easily allowing an actual production system and a constructed modem to correspond to each other. CONSTITUTION:The device consists of transition (N-TR) capable of optimally setting a fire continuing time and transistion (0-TR) having nonfirable attributes and uses operation units corresponding to operation executed in each facility. Then, the device is provided with a model input device (101) inputting the symbol (icon expression) of a production process, a model generation device (103) connecting the units of Petri net expression in accordance with the inputted symbol, a result correction device (212) collecting a result from an actual production process, an initial condition setting system (211) setting an initial condition to the Petri net expression of the production process based on information from the result collection system and a competition eliminating device (202) eliminating competition when competition is generated while executing simulation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ペトリネットモデル
を用いた生産計画装置に関し、特にペトリネットモデル
の作成および修正を容易にするとともに、飛び込みや設
備の停止などによるリスケジューリングやダイナミック
スケジューリングに対応できるようにした生産計画装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a production planning apparatus using a Petri net model, and in particular, makes it easy to create and modify a Petri net model, and supports rescheduling and dynamic scheduling due to diving or equipment stoppage. The present invention relates to a production planning device.

【0002】[0002]

【従来の技術】生産システム等の離散事象システムにお
ける情報の流れの解析や状態解析等を実行する1つの有
力な手法としてペトリネットによるモデル化が知られて
いる。(参考文献;「ペトリネット入門」著者J.Lピ
ータスン、共立出版株式会社) しかし、上記参考文献に開示されたものは、生産システ
ムの全体のデータをまとめてモデル化しているためモデ
ルの構築が非常に繁雑であるという問題があった。
2. Description of the Related Art Modeling by Petri nets is known as one of powerful methods for performing analysis of information flow and state analysis in a discrete event system such as a production system. (Reference: “Introduction to Petri Net” author J. L. Pitasun, Kyoritsu Shuppan Co., Ltd.) However, the one disclosed in the above-mentioned reference is that the model of the entire production system is modeled as a whole, so that the model construction The problem was that it was very complicated.

【0003】そこで、発明者等は、上記問題を解決する
とともに、生産する製品の変更、機械の故障などの事
故、およびバッファの追加、削減に対して即座、かつ効
率的に対応でき、更に、あるトークンの配置および時刻
から生産進行の逆方向にシミレーションできるペトリネ
ットによる生産システムシミレータ装置(特開平5−2
33590号)を提案している。
Therefore, the inventors can solve the above-mentioned problems and can promptly and efficiently respond to changes in products to be produced, accidents such as machine failure, and addition or reduction of buffers. A production system simulator device using a Petri net capable of simulating in the opposite direction of production progress from the arrangement and time of a certain token (Japanese Patent Laid-Open No. 5-2
No. 33590) is proposed.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記特開平5
−233590号に開示されたものにおいては、以下に
示すような問題がある。
However, the above-mentioned Japanese Unexamined Patent Application Publication No.
The one disclosed in No. 233590 has the following problems.

【0005】1)生産システムを各要素に分けてモデル
化しているため、実際の生産システムと構築されたモデ
ルとの対応をとることが困難である。
1) Since the production system is divided into each element and modeled, it is difficult to make correspondence between the actual production system and the constructed model.

【0006】2)実際の生産システムでは、飛び込みな
どにより、リスケジューリングやダイナミックスケジュ
ーリングが必要になるが、製造工程からの実績データを
リアルタイムに収集、設定することができず、上記リス
ケジューリングやダイナミックスケジューリングを行う
ことができない。
2) In an actual production system, re-scheduling or dynamic scheduling is required due to a jump or the like, but actual data from the manufacturing process cannot be collected and set in real time. Can't do.

【0007】3)作業時間が固定に設定されるものであ
り、段取り時間などの可変時間を考慮したスケジューリ
ングを行うことができない。
3) Since the working time is fixed, it is impossible to perform scheduling considering variable time such as setup time.

【0008】4)時間経過を固定発火継続時間のトラン
ジションで実現しているため、モデルをコンピュータシ
ステムのメモリ上に作成するときは、全ての作業時間を
決定しなければ必要なメモリ要領を推定することができ
ず、また、作業時間の長い処理が多ければ、膨大なメモ
リ容量を必要とする。
4) Since the elapsed time is realized by the transition of the fixed ignition duration, when the model is created in the memory of the computer system, the required memory point is estimated unless all the working times are determined. If it is not possible and there are many processes that require a long working time, a huge memory capacity is required.

【0009】5)あるトランジションの入力側プレース
の全てにトークンがあると、このトランジションは発火
するという完全な自然発火規則に従うように構成されて
いるため、発火可能なトランジションの重複チェックが
避けられず、シミレーションに時間がかかる。また、実
際には処理の開始を待った方が結果的によい評価のスケ
ージュールが作成できる場合においても、順次スケージ
ュールが作成されてしまうことになり、効果的なスケジ
ューリングを行うことができない。
5) Since a transition is configured to follow a complete self-ignition rule that tokens exist in all the places on the input side of a transition, this transition is inevitable to be checked for duplication. , Simulation takes time. Further, actually, even when a schedule with a better evaluation can be created as a result of waiting for the start of processing, the schedules are sequentially created, and effective scheduling cannot be performed.

【0010】そこで、この発明は、実際の生産システム
と構築されたモデルとの対応をとることが容易であり、
リスケジューリングやダイナミックスケジューリングに
対応でき、段取り時間などの可変時間を考慮したスケジ
ューリングを行うことができ、更に、メモリ容量を大幅
に削減でき、かつ効果的なスケジューリングを行うこと
ができる生産計画装置を提供することを目的とする。
Therefore, in the present invention, it is easy to make correspondence between the actual production system and the constructed model,
Providing a production planning device that can support rescheduling and dynamic scheduling, can perform scheduling considering variable time such as setup time, can significantly reduce memory capacity, and can perform effective scheduling The purpose is to do.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、この発明は、ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、上記シミレーションにより上記ペトリ
ネットモデルの中の発火が競合するトランジションがあ
る場合は、予め格納された競合解消知識に基づき該競合
を解消する競合解消手段、を具備することを特徴とす
る。
In order to achieve the above-mentioned object, the present invention is a production planning apparatus for producing a production plan by executing a simulation using a Petri net model. When there are transitions in which the ignition conflicts in the model, a conflict resolution means for eliminating the conflict based on previously stored conflict resolution knowledge is provided.

【0012】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、上記ペトリネットモデ
ルの対象となる生産設備から実績情報を収集する実績情
報収集手段と、上記実績情報収集手段により収集した実
績情報に対応して上記ペトリネットモデルのシミレーシ
ョンの初期条件を設定する初期条件設定手段と、を具備
することを特徴とする。
Further, the present invention, in a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, actual performance information for collecting actual performance information from the production equipment which is the target of the Petri net model. It is characterized by comprising: a collecting means; and an initial condition setting means for setting an initial condition of the simulation of the Petri net model corresponding to the performance information collected by the performance information collecting means.

【0013】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、上記シミレーションを
実行するシミレーション装置、を具備し、上記シミレー
ション装置は、上記ペトリネットモデルの中から発火可
能なトランジションを抽出する抽出手段と、上記抽出手
段で抽出された発火可能なトランジションの発火により
発火できなくなるトランジションが存在するかを調べる
競合判別手段と、上記競合判別手段により発火できなく
なるトランジションが存在すると判別された場合は競合
の発生として競合解消装置に対して競合の解消を依頼す
る競合解消依頼手段と、上記競合解消装置からの競合解
消情報を受信して該競合を解消する手段とを具備するこ
とを特徴とする。
Further, the present invention is a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising: a simulation apparatus for executing the simulation. Is a means for extracting a transition that can be ignited from the Petri net model, a competition determination means for checking whether there is a transition that cannot be ignited by the ignition of the ignitable transition extracted by the extraction means, and When it is determined by the conflict determination means that there is a transition that cannot be fired, it is determined that a conflict has occurred and the conflict resolution requesting means for requesting the conflict resolution device to resolve the conflict and the conflict resolution information from the conflict resolution device are received. And means for eliminating the conflict.

【0014】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、上記シミレーションを
実行するシミレーション装置、を具備し、上記シミレー
ション装置は、上記ペトリネットモデルの中から発火可
能なトランジションを抽出する抽出手段と、上記抽出手
段で抽出された発火可能なトランジションを発火させ、
該発火したトランジションが作業ユニットの開始にあた
るトランジションであれば1単位時間の発火不能属性を
つける発火不能属性付加手段と、上記抽出手段で抽出さ
れた発火可能なトランジションが上記作業ユニットの終
了にあたるトランジションであれば上記発火不能属性を
解除する発火不能属性解除手段と、上記抽出手段で抽出
された発火可能なトランジションの発火時刻を記録する
発火時刻記録手段と、を具備することを特徴とする。
Further, the present invention is a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising: a simulation apparatus for executing the simulation. Is extraction means for extracting a transition that can be ignited from the Petri net model, and ignites the transition that can be ignited extracted by the extraction means,
If the ignited transition is a transition that corresponds to the start of a work unit, an ignitable attribute adding means that gives an ignitability attribute for one unit time and an ignitable transition extracted by the extraction means are a transition that corresponds to the end of the work unit. If there is any, the non-ignition attribute cancellation means for canceling the non-ignition attribute and the ignition time recording means for recording the ignition time of the ignitionable transition extracted by the extraction means are provided.

【0015】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、上記シミレーションを
実行するシミレーション装置、を具備し、かつ上記ペト
リネットモデルは、発火継続時間が任意の値に設定でき
る可変時間トランジション、を具備し、上記シミレーシ
ョン装置は、上記ペトリネットモデルの中から可変時間
トランジションを抽出する抽出手段と、上記抽出手段で
抽出した可変時間トランジションの発火継続時間を設定
して発火させる発火継続時間設定手段と、上記発火継続
時間設定手段により発火されたトランジションの発火時
刻を記録する発火時刻記録手段と、を具備することを特
徴とする。
Further, the present invention is a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising a simulation apparatus for executing the simulation, and the Petri net. The model comprises a variable time transition whose ignition duration can be set to an arbitrary value, and the simulation device extracts the variable time transition from the Petri net model and the extraction means. An ignition duration setting means for setting the ignition duration of the variable time transition to ignite, and an ignition time recording means for recording the ignition time of the transition ignited by the ignition duration setting means. To do.

【0016】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、上記シミレーションの
完了後、生産計画を各トランジションの発火時刻を時間
軸にならべたガンチャートとして出力する計画出力手
段、を具備することを特徴とする。
Further, according to the present invention, in a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, after the completion of the above-mentioned simulation, the production plan is set to a time base of the firing time of each transition. Plan output means for outputting as a Gantt chart arranged according to the above.

【0017】また、この発明は、ペトリネットモデルを
用いてシミレーションを実行することにより生産計画を
作成する生産計画装置において、表示手段と、上記ペト
リネットモデルを生成するモデル生成手段と、を具備
し、上記モデル生成手段は、生成したモデルを格納する
記憶手段と、製造工程のシンボルを入力する入力手段
と、上記入力手段により入力された製造工程のシンボル
を上記表示手段の画面上に配置する手段と、上記画面上
に配置された各製造工程のシンボルを順次選択すること
により、該選択された製造工程のシンボルが表わす上記
ペトリネットモデルの各ユニットに対応するデータ構造
を記憶する記憶領域を上記記憶手段上で確保する手段
と、上記記憶手段上で確保された記憶領域に各製造工程
のデータを入力する手段と、上記画面上で選択された各
シンボルに対応する各ユニットを接続することにより上
記ペトリネットモデルを生成する手段と、を具備するこ
とを特徴とする。
Further, according to the present invention, in a production planning apparatus for producing a production plan by executing a simulation using a Petri net model, a display means and a model producing means for producing the Petri net model are provided. The model generation means arranges the storage means for storing the generated model, the input means for inputting the manufacturing process symbol, and the manufacturing process symbol input by the input means on the screen of the display means. Means and a symbol for each manufacturing process arranged on the screen are sequentially selected to create a storage area for storing a data structure corresponding to each unit of the Petri net model represented by the selected manufacturing process symbol. Means for securing in the storage means, and means for inputting data of each manufacturing process in the storage area secured in the storage means Characterized by comprising means for generating the Petri net model by connecting each unit corresponding to each symbol that is selected on the screen.

【0018】[0018]

【作用】この発明では、シミレーションによりペトリネ
ットモデルの中の発火が競合するトランジションがある
場合は、競合解消手段により、予め格納された競合解消
知識に基づき該競合を解消する。
According to the present invention, when there is a transition in which the firings in the Petri net model conflict due to the simulation, the conflict resolution means resolves the conflict based on the conflict resolution knowledge stored in advance.

【0019】ここで、上記競合解消知識は、生産納期が
短い場合は作業時間の短い製造工程に対応するトランジ
ションの発火を優先するように構成することができ、ま
た、上記競合解消知識は、生産納期が長い場合は早く到
達した製造工程に対応するトランジションの発火を優先
するように構成することができる。
Here, the conflict resolution knowledge can be configured to give priority to the ignition of a transition corresponding to a manufacturing process having a short working time when the production deadline is short, and the conflict resolution knowledge can be produced by the production. If the delivery time is long, it is possible to prioritize the ignition of the transition corresponding to the manufacturing process that arrives earlier.

【0020】また、この発明では、実績情報収集手段に
より、ペトリネットモデルの対象となる生産設備から実
績情報を収集し、初期条件設定手段により、この収集し
た実績情報に対応してペトリネットモデルのシミレーシ
ョンの初期条件を設定する。ここで、上記実績情報は、
上記生産設備内の仕掛かり品の種類および残り作業時間
を示す仕掛かり品情報、または、上記生産設備の前段の
バッファ内の仕掛かり品の種類およびその数を示す仕掛
かり品情報から構成することができる。
Further, according to the present invention, the performance information collecting means collects performance information from the production equipment which is the target of the Petri net model, and the initial condition setting means corresponds to the collected performance information of the Petri net model. Set the initial conditions for simulation. Here, the above performance information is
Work-in-process information indicating the type of work-in-process and remaining work time in the production facility, or work-in-process information indicating the type and number of work-in-process in the buffer in the preceding stage of the production facility. You can

【0021】また、上記初期条件設定手段は、上記ペト
リネットモデルの当該作業に対応する作業ユニットのプ
レースからトークを除き、該作業ユニットのトランジシ
ョンの発火継続時間を上記残り作業時間に設定し、ま
た、上記ペトリネットモデルの当該バッファに対応する
バッファユニットのプレースからトークンを減らし、当
該バッファに対応する接続ユニットのプレースに該トー
クンを加え、更に、停止している生産設備がある場合、
上記ペトリネットモデルの当該生産設備に対応する設備
ユニットのプレースからトークンを削除し、該生産設備
のシミレーションを禁止し、更に、製造オーダの追加が
ある場合、上記ペトリネットモデルの入力製品ユニット
のプレースに該追加されたオーダに対応するトークンを
加える。
The initial condition setting means removes the talk from the place of the work unit corresponding to the work of the Petri net model, sets the transition firing duration of the work unit to the remaining work time, and , If the token is reduced from the place of the buffer unit corresponding to the buffer of the Petri net model, the token is added to the place of the connection unit corresponding to the buffer, and the production facility is stopped,
When the token is deleted from the place of the equipment unit corresponding to the production equipment of the Petri net model, the simulation of the production equipment is prohibited, and when the manufacturing order is added, the input product unit of the Petri net model is added. Add a token corresponding to the added order to the place.

【0022】また、この発明においては、シミレーショ
ンを実行するシミレーション装置を具備し、該シミレー
ション装置は、抽出手段によりペトリネットモデルの中
から発火可能なトランジションを抽出し、競合判別手段
により、該抽出された発火可能なトランジションの発火
により発火できなくなるトランジションが存在するかを
調べる。そして、発火できなくなるトランジションが存
在する場合は競合の発生として、競合解消依頼手段によ
り、競合解消装置に対して競合の解消を依頼し、記競合
解消装置からの競合解消情報を受信することにより該競
合を解消する。
Further, in the present invention, a simulation device for performing simulation is provided, and the simulation device extracts an ignitable transition from the Petri net model by the extraction means, and the competition determination means, It is checked whether there is a transition that cannot be fired due to the firing of the extracted ignitable transition. Then, if there is a transition that cannot be fired, it is determined that a conflict has occurred, and the conflict resolution requesting unit requests the conflict resolution device to resolve the conflict, and receives the conflict resolution information from the conflict resolution device. Resolve conflicts.

【0023】また、この発明においては、シミレーショ
ンを実行するシミレーション装置を具備し、該シミレー
ション装置は、抽出手段により、ペトリネットモデルの
中から発火可能なトランジションを抽出し、発火不能属
性付加手段により、該抽出された発火可能なトランジシ
ョンを発火させ、該発火したトランジションが作業ユニ
ットの開始にあたるトランジションであれば1単位時間
の発火不能属性をつけ、発火不能属性解除手段により、
該抽出された発火可能なトランジションが上記作業ユニ
ットの終了にあたるトランジションであれば上記発火不
能属性を解除する。そして、発火時刻記録手段により、
上記抽出手段で抽出された発火可能なトランジションの
発火時刻を記録する。
Further, the present invention comprises a simulation device for performing simulation, and the simulation device extracts ignitable transitions from the Petri net model by the extraction means and adds an ignitable attribute. By means of igniting the extracted ignitable transition, if the ignited transition is a transition that corresponds to the start of the work unit, an ignitable attribute of 1 unit time is attached, and the ignitable attribute releasing means,
If the extracted ignitable transition is a transition that is the end of the work unit, the ignitable attribute is canceled. And, by the ignition time recording means,
The ignition time of the ignitable transition extracted by the extraction means is recorded.

【0024】また、この発明においては、シミレーショ
ンを実行するシミレーション装置を具備するとともに、
ペトリネットモデルは、発火継続時間が任意の値に設定
できる可変時間トランジションを具備し、シミレーショ
ン装置は、抽出手段により、ペトリネットモデルの中か
ら可変時間トランジションを抽出し、発火継続時間設定
手段により、該抽出した可変時間トランジションの発火
継続時間を設定して発火させる。そして、発火時刻記録
手段により、発火されたトランジションの発火時刻を記
録する。
Further, in the present invention, a simulation device for executing simulation is provided, and
The Petri net model has a variable time transition that can set the firing duration to an arbitrary value, and the simulation device extracts the variable time transition from the Petri net model by the extraction means and uses the firing duration setting means. The ignition duration of the extracted variable time transition is set and fired. Then, the firing time recording means records the firing time of the fired transition.

【0025】また、この発明においては、計画出力手段
により、シミレーションの完了後、生産計画を各トラン
ジションの発火時刻を時間軸にならべたガンチャートと
して出力する。
Further, in the present invention, after the completion of the simulation, the plan output means outputs the production plan as a Gun chart in which the ignition times of the respective transitions are arranged on the time axis.

【0026】また、この発明においては、表示手段と、
ペトリネットモデルを生成するモデル生成手段とを具備
し、モデル生成手段は、入力手段により、製造工程のシ
ンボルを入力し、該入力された製造工程のシンボルを上
記表示手段の画面上に配置し、該画面上に配置された各
製造工程のシンボルを順次選択することにより、該選択
された製造工程のシンボルが表わすペトリネットモデル
の各ユニットに対応するデータ構造を記憶する記憶領域
を記憶手段上で確保し、記憶手段上で確保された記憶領
域に各製造工程のデータを入力し、また、画面上で選択
された各シンボルに対応する各ユニットを接続すること
によりペトリネットモデルを生成する。
Further, in the present invention, display means,
A model generating means for generating a Petri net model, wherein the model generating means inputs the symbol of the manufacturing process by the input means and arranges the input symbol of the manufacturing process on the screen of the display means, By sequentially selecting symbols of each manufacturing process arranged on the screen, a storage area for storing a data structure corresponding to each unit of the Petri net model represented by the selected manufacturing process symbol is stored on the storage means. A Petri net model is generated by securing and inputting data of each manufacturing process into the secured storage area on the storage means, and connecting each unit corresponding to each symbol selected on the screen.

【0027】ここで、上記シンボルは、例えば、 1)投入製品、 2)出力製品、 3)設備、 4)バッファ、 を示すシンボルから構成することができる。Here, the symbol can be composed of symbols indicating, for example, 1) input product, 2) output product, 3) equipment, 4) buffer.

【0028】また、上記画面上の配置は、上記投入製品
を示すシンボルを起点とし、上記出力製品を示すシンボ
ルを終点とし、該投入製品を示すシンボルと該出力製品
を示すシンボルとの間に上記設備を示すシンボル、上記
バッファを示すシンボルを配置する。
The arrangement on the screen is such that the symbol indicating the input product is the starting point, the symbol indicating the output product is the end point, and the symbol indicating the input product and the symbol indicating the output product are the above. A symbol indicating equipment and a symbol indicating the above buffer are arranged.

【0029】また、上記画面上におけるシンボルの選択
に対応して、上記投入製品を示すシンボルを起点とし、
上記設備を示すシンボル、上記バッファを示すシンボル
を介し、上記終点の出力製品を示すシンボルに至る線を
上記画面上に表示する。
Corresponding to the selection of a symbol on the screen, the symbol indicating the input product is used as a starting point,
A line leading to the symbol indicating the output product at the end point through the symbol indicating the facility and the symbol indicating the buffer is displayed on the screen.

【0030】また、上記各ユニットは、ペトリネットの
基本要素を組み合わせて構成される。
Each of the above units is constructed by combining the basic elements of Petri nets.

【0031】また、上記各ユニットは、 1)入力製品ユニット、 2)出力製品ユニット、 3)作業ユニット、 4)バッファユニット、 5)接続ユニット、 から構成することができる。Each unit can be composed of 1) an input product unit, 2) an output product unit, 3) a working unit, 4) a buffer unit, and 5) a connection unit.

【0032】ここで、上記ペトリネットモデルの生成
は、上記入力製品ユニットを起点とするとともに、上記
出力製品ユニットを終点とし、該入力製品ユニットと該
出力製品ユニットとの間に上記作業ユニット、上記バッ
ファユニット、上記接続ユニットを組み合わせて接続す
る。
Here, the Petri net model is generated with the input product unit as a starting point and the output product unit as an end point, and the working unit and the output product unit are provided between the input product unit and the output product unit. A buffer unit and the above connection unit are combined and connected.

【0033】このように、この発明によれば、コンピュ
ータシステムの画面上に生産システムの要素(設備、バ
ッファ、製品の入力および出力)を生産システムの物理
的な配置と同様に配置することができるようにすること
によって、モデルと生産工程とを対応つけることができ
る。
As described above, according to the present invention, the elements of the production system (equipment, buffer, input and output of products) can be arranged on the screen of the computer system in the same manner as the physical arrangement of the production system. By doing so, the model and the production process can be associated with each other.

【0034】また、配置された生産システムをその生産
システムを使用して製造される製品の通過順に入力装置
(マウス)でクリックしたときに、対象設備での処理時
間などの入力ができる。
Further, when the arranged production system is clicked with the input device (mouse) in the order of passage of the products manufactured by using the production system, the processing time at the target equipment can be inputted.

【0035】また、ペトリネットモデルを作成する際
に、各設備上で実行される作業に対し、発火継続時間が
自由に設定できる可変時間トランジションを利用した作
業ユニットという概念を導入することにより、必要メモ
リ容量を削減し、総作業数で、必要メモリ容量を概算で
き、段取り替えなどの可変時間要素にも対応できる。
Further, when the Petri net model is created, it is necessary to introduce the concept of a work unit using a variable time transition in which the firing duration can be freely set for the work executed on each facility. The memory capacity can be reduced, the required memory capacity can be roughly estimated from the total number of operations, and variable time factors such as setup change can also be supported.

【0036】また、トランジションに発火不能の属性を
設けることにより、自然発火規則による発火不能トラン
ジションの重複チェックの防止によって、シミレーショ
ン時間を短縮し、特定時間作業の着手を遅らせることが
できる。
Further, by providing a non-ignition attribute to the transition, it is possible to shorten the simulation time and delay the start of the work for a specific time by preventing duplicate checks of non-ignition transitions according to the spontaneous firing rules.

【0037】更に、実際の製造工程の設備およびバッフ
ァからPOP(Point Of Production )システムを利用
し、処理中の製品情報、残り処理時間、バッファ内の製
品種類および製品数を獲得し、上記ペトリネットモデル
に初期条件を与えることにより、飛び込みや設備の停止
などによるリスケジューリングやダイナミックスケジュ
ーリングに対応できる。
Further, by using a POP (Point Of Production) system from the equipment and buffer of the actual manufacturing process, the product information during processing, the remaining processing time, the product type and the number of products in the buffer are obtained, and the Petri net is obtained. By giving initial conditions to the model, it is possible to deal with rescheduling and dynamic scheduling due to jumping in or facility stoppage.

【0038】[0038]

【実施例】以下、この発明に係わる生産計画装置の実施
例を図面に基づいて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a production planning apparatus according to the present invention will be described below in detail with reference to the drawings.

【0039】図1はこの発明に係わる生産計画装置の概
略システム構成を示したものである。図1において、こ
の生産計画装置は、生産工程に対応するペトリネットモ
デルを作成するモデル作成部100およびこのモデル作
成部100で作成されたペトリネットモデルに基づきシ
ミレーションを実行するシミレーション部200を具備
している。
FIG. 1 shows a schematic system configuration of a production planning apparatus according to the present invention. In FIG. 1, the production planning apparatus includes a model creating unit 100 that creates a Petri net model corresponding to a production process, and a simulation unit 200 that executes a simulation based on the Petri net model created by the model creating unit 100. It has.

【0040】ここで、モデル作成部100は、モデル入
力装置101、表示装置102、モデル生成装置103
を具備して構成され、シミレーション部200は、シミ
レーション装置201、計画表示装置202、競合解消
装置203を具備して構成される。
Here, the model creating section 100 includes a model input device 101, a display device 102, and a model creating device 103.
The simulation unit 200 includes a simulation device 201, a plan display device 202, and a conflict resolution device 203.

【0041】また、この生産計画装置は、設備の段取り
替え情報を格納する段取り替え情報格納装置111、モ
デル入力装置101から入力されたモデルの情報を格納
するモデル情報格納装置112、競合解消装置203で
の競合解消処理のための競合解消知識を格納する競合解
消知識データベース214を具備している。
This production planning apparatus also includes a setup change information storage device 111 for storing equipment setup change information, a model information storage device 112 for storing model information input from the model input device 101, and a conflict resolution device 203. It has a conflict resolution knowledge database 214 for storing conflict resolution knowledge for the conflict resolution process.

【0042】更に、この生産計画装置は、シミレーショ
ン装置201におけるシミレーション実行のための初期
条件設定装置211、生産設備213から実績情報を収
集するための実績収集装置212を具備している。
Further, this production planning system is provided with an initial condition setting system 211 for executing simulation in the simulation system 201 and a performance collection system 212 for collecting performance information from the production facility 213.

【0043】図1において、モデル入力装置101は、
製造工程のモデルを入力するための装置で、コンピュー
タシステムのキーボードやマウス等に対応する。この実
施例の装置では、このモデル入力装置101を使って製
造工程のモデルを入力し、このモデル入力装置101で
入力されたモデルは表示装置102に表示される。
In FIG. 1, the model input device 101 is
A device for inputting a model of the manufacturing process, which corresponds to a keyboard or mouse of a computer system. In the apparatus of this embodiment, the model of the manufacturing process is input using the model input device 101, and the model input by the model input device 101 is displayed on the display device 102.

【0044】モデル入力装置101により入力される入
力項目は、 1)製造工程の設備の配置、能力、段取り替えテーブル 2)製造工程のバッファの配置、容量 3)工程を通過する製品、製品番号 等である。
The input items input by the model input device 101 are as follows: 1) facility arrangement and capacity of the manufacturing process, setup table, 2) buffer configuration and capacity of the manufacturing process, 3) products passing through the process, product number, etc. Is.

【0045】表示装置102は、モデル入力装置101
で入力されたモデルを表示するための装置で、コンピュ
ータシステムのCRT、プリンタ等に対応する。この表
示装置102によってモデル入力装置101から入力さ
れたモデルの様子が表示される。
The display device 102 is the model input device 101.
This is a device for displaying the model input in step S1, and corresponds to a CRT, a printer, etc. of a computer system. The display device 102 displays the state of the model input from the model input device 101.

【0046】モデル生成装置103は、モデル入力装置
101から入力された情報を基に製造工程モデル(ペト
リネットモデル)をメモリ上に構築する。
The model generation device 103 builds a manufacturing process model (Petri net model) on the memory based on the information input from the model input device 101.

【0047】モデル入力装置101から入力された情報
の内の設備の段取り替え情報は段取り替え情報格納装置
111に格納される。
Of the information input from the model input device 101, the equipment setup change information is stored in the setup setup information storage device 111.

【0048】また、モデル生成装置103により構築さ
れたモデルの情報はモデル情報格納装置112に格納さ
れる。
Information on the model constructed by the model generation device 103 is stored in the model information storage device 112.

【0049】ところで、この実施例において、モデル生
成装置103は、ペトリネットの基本要素を組み合わせ
た各ユニットからペトリネットモデルを生成する。
By the way, in this embodiment, the model generating device 103 generates a Petri net model from each unit in which the basic elements of the Petri net are combined.

【0050】このペトリネットの基本要素を組み合わせ
た各ユニットとしては以下に示すものがある。 1)入力製品ユニット 2)出力製品ユニット 3)作業ユニット 4)設備ユニット 5)バッファユニット 6)接続ユニット
The following are examples of each unit in which the basic elements of this Petri net are combined. 1) Input product unit 2) Output product unit 3) Working unit 4) Equipment unit 5) Buffer unit 6) Connection unit

【0051】図2は、この実施例で使用するペトリネッ
トの基本要素を示したものであり、301はプレース
(PL)を示し、302は発火継続時間が0であるトラ
ンジション(TRまたは0−TR)を示し、303は発
火継続時間が可変できる可変時間トランジション(N−
TR)を示し、304はアークを示し、305はトーク
ンを示す。
FIG. 2 shows the basic elements of the Petri net used in this embodiment, where 301 is a place (PL), and 302 is a transition (TR or 0-TR) whose firing duration is 0. ), 303 is a variable time transition (N-
TR), 304 indicates an arc, and 305 indicates a token.

【0052】図3は、図2に示したペトリネットの基本
要素を組み合わせて構成されるこの実施例の各ユニット
の具体的構成を示す。
FIG. 3 shows a concrete configuration of each unit of this embodiment constructed by combining the basic elements of the Petri net shown in FIG.

【0053】図3において、図3(a)には設備ユニッ
トが示され、この設備ユニット410は、プレース41
1とこのプレース411内に置かれたトークン412か
ら構成される。
In FIG. 3, an equipment unit is shown in FIG. 3A, and this equipment unit 410 is a place 41.
1 and a token 412 placed in this place 411.

【0054】また、図3(b)は、バッファユニット4
20を示し、このバッファユニット420は、プレース
421とこのプレース421内に置かれた2つのトーク
ン422、423から構成される。
Further, FIG. 3B shows the buffer unit 4
20, the buffer unit 420 is composed of a place 421 and two tokens 422 and 423 placed in the place 421.

【0055】また、図3(c)は接続ユニット430を
示し、この接続ユニット430は、プレース431とこ
のプレース431に向かうアーク432およびこのプレ
ース431から外に向かうアーク433から構成され
る。
Further, FIG. 3C shows a connection unit 430, which is composed of a place 431, an arc 432 directed to the place 431, and an arc 433 directed outward from the place 431.

【0056】また、図3(d)は入力製品ユニット44
0を示し、この入力製品ユニット440は、プレース4
41とトランジション(0−TR)442とプレース4
41からトランジション(0−TR)442に向かうア
ーク443から構成される。また、図3(e)は作業ユ
ニット450を示し、この作業ユニット450は、プレ
ース451、452、453とトランジション(0−T
R)454、457、トランジション(N−TR)45
5、456と各プレースと各トランジションとの間を接
続する複数のアークから構成される。ここで、トランジ
ション(0−TR)454は発火不能属性を持つことが
でき、トランジション(N−TR)455は段取り替え
時間を表わし、トランジション(N−TR)456は実
作業時間を表わす。また、トランジション(N−TR)
455およびトランジション(N−TR)456のそれ
ぞれの発火継続時間は任意に変更できる。
FIG. 3D shows the input product unit 44.
0, this input product unit 440 is placed in place 4
41 and transition (0-TR) 442 and place 4
It is composed of an arc 443 traveling from 41 to the transition (0-TR) 442. Further, FIG. 3E shows a work unit 450, and this work unit 450 has a place (451-452, 453) and a transition (0-T).
R) 454, 457, transition (N-TR) 45
5, 456 and a plurality of arcs connecting between each place and each transition. Here, the transition (0-TR) 454 can have a non-firing attribute, the transition (N-TR) 455 represents a setup change time, and the transition (N-TR) 456 represents an actual work time. In addition, transition (N-TR)
The firing duration of each of 455 and transition (N-TR) 456 can be arbitrarily changed.

【0057】また、図3(f)は出力製品ユニット46
0を示し、この出力製品ユニット460は、トランジシ
ョン(0−TR)461とプレース462とトランジシ
ョン(0−TR)461からプレース462に向かうア
ーク463から構成される。図4から図6は、この実施
例で用いるトランジションの発火条件を示したものであ
る。
FIG. 3 (f) shows the output product unit 46.
0, this output product unit 460 comprises a transition (0-TR) 461, a place 462, and an arc 463 from the transition (0-TR) 461 to the place 462. 4 to 6 show transition firing conditions used in this embodiment.

【0058】図4に示す状態において、トランジション
(0−TR)は、その入力側の一方のプレースにトーク
ンを有しないため発火できない(トランジションの発火
条件その1)。
In the state shown in FIG. 4, the transition (0-TR) cannot be fired because it has no token in one place on its input side (transition firing condition 1).

【0059】また、図5の状態において、トランジショ
ン(0−TR)は、その入力側の双方のプレースにトー
クンを有しているため発火する(トランジションの発火
条件その2)。ただし、この実施例においてはトランジ
ション(0−TR)は単位時間の発火不能属性を持つこ
とができ、この場合、図5に示すように発火可能な状態
になってもトランジション(0−TR)は発火しない。
このトランジション(0−TR)は発火不能属性が解除
になって初めて発火する。
In the state of FIG. 5, the transition (0-TR) is fired because it has tokens in both places on its input side (transition firing condition 2). However, in this embodiment, the transition (0-TR) can have a unit time ignitable attribute, and in this case, even if the transition (0-TR) becomes an ignitable state as shown in FIG. Does not catch fire.
This transition (0-TR) fires only when the non-firing attribute is released.

【0060】図6は、可変時間トランジション(N−T
R)の動作を示す。可変時間トランジション(N−T
R)は、図6に示すように、そのその入力側の双方のプ
レースにトークンを有すると発火するが、その発火は設
定時間の間継続し、その設定時間が経過すると発火を終
了する。ここで、発火継続時間は任意に変更することが
できる。
FIG. 6 shows a variable time transition (N-T
The operation of R) is shown. Variable time transition (N-T
R) fires when it has a token in both places on its input side, as shown in FIG. 6, but the firing continues for a set time, and the firing ends when the set time elapses. Here, the ignition duration time can be arbitrarily changed.

【0061】図1に戻り、シミレーション装置201
は、モデル作成部100で作成したペトリネットモデル
を用いてシミレーションを実行する。具体的には、シミ
レーション装置201はモデル作成部100の出力およ
び後述する初期条件設定装置211の出力に基づき、段
取り替え情報格納装置111およびモデル情報格納装置
112の格納情報を参照してシミレーションを実行す
る。このシミレーション装置201によるシミレーショ
ンの実行結果がこの装置による製造工程の計画となる。
Returning to FIG. 1, the simulation device 201.
Performs simulation using the Petri net model created by the model creating unit 100. Specifically, the simulation device 201 refers to the stored information in the setup change information storage device 111 and the model information storage device 112 based on the output of the model creation unit 100 and the output of the initial condition setting device 211 described later, and performs the simulation. To execute. The result of the simulation performed by the simulation device 201 becomes the plan of the manufacturing process by the device.

【0062】また、シミレーション装置201は、シミ
レーションの実行中に競合が発生した場合は競合解消装
置203に競合の優先順位つけを依頼する。そして、競
合解消装置203によって決定された競合の優先順位つ
けに基づいて競合を解消し、シミレーションを続行す
る。
If a conflict occurs during execution of the simulation, the simulation device 201 requests the conflict resolution device 203 to prioritize the conflict. Then, the conflict is resolved based on the priority ranking of the conflict determined by the conflict resolution device 203, and the simulation is continued.

【0063】競合解消装置203は、シミレーション装
置201で発生した競合を解消するための装置で、競合
解消知識データベース214に格納された競合解消知識
を基に、シミレーション装置201でシミレーションし
ている工程の状態にしたがって競合の優先順位つけを行
う。この競合解消装置203としては単純なディスパッ
チングルールを用いたもの等により構成することができ
る。
The conflict resolving device 203 is a device for resolving the conflict that has occurred in the simulation device 201. Based on the conflict resolving knowledge stored in the conflict resolving knowledge database 214, the conflict resolving device 203 performs simulation with the simulation device 201. Prioritize the competition according to the process status. The conflict resolution device 203 can be configured by using a simple dispatching rule or the like.

【0064】計画表示装置202は、シミレーション装
置201でシミレーションした結果を表示する。ここ
で、計画表示装置202における表示の方式としては、
ガントチャートや投入順形式を用いることができる。
The plan display device 202 displays the result of simulation performed by the simulation device 201. Here, as the display method on the plan display device 202,
A Gantt chart or a loading order format can be used.

【0065】初期条件設定装置211は、実際の製造工
程の状態にしたがって、モデル作成部100で作成した
製造工程モデル(ペトリネットモデル)の初期状態を設
定する。この初期条件設定装置211で初期状態として
設定できる項目は以下の通りである。 1)製造オーダ(これから作る製品) 2)未投入仕掛かり品(まだ着手されていない仕掛かり
品) 3)バッファ仕掛かり品(バッファ内に滞留する仕掛か
り品) 4)設備内仕掛かり品(設備内で加工中の仕掛かり品)
The initial condition setting device 211 sets the initial state of the manufacturing process model (Petri net model) created by the model creating unit 100 according to the actual manufacturing process status. Items that can be set as the initial state by the initial condition setting device 211 are as follows. 1) Manufacturing order (product to be made in the future) 2) Unprocessed work-in-progress (work-in-process that has not yet been started) 3) Buffer work-in-process (work-in-process remaining in the buffer) 4) In-machine work-in-process ( Work in progress being processed in the facility)

【0066】実績収集装置212は、製造工程の仕掛か
り品の実績を収集するための装置である。ここで、実績
収集装置212は、生産設備213の付帯するPLC
(プログラマブルロジックコントローラ)やPLCなど
を使ったPOP(Point Of Production )システムから
FA−LANを利用して仕掛かり品の実績を収集する。
次に、この発明に係わる生産計画装置を用いて構成した
具体的生産システムについて説明する。
The performance collecting device 212 is a device for collecting the performance of work-in-process products in the manufacturing process. Here, the performance collection device 212 is a PLC attached to the production facility 213.
The FA-LAN is used to collect the results of work-in-progress from a POP (Point Of Production) system using a (programmable logic controller) or PLC.
Next, a specific production system configured by using the production planning apparatus according to the present invention will be described.

【0067】図7は、この発明に係わる生産計画装置を
用いて構成した具体的生産システムの一例を示したもの
である。
FIG. 7 shows an example of a concrete production system constructed by using the production planning apparatus according to the present invention.

【0068】この生産システムは、3台の生産設備(設
備1)PR1、(設備2)PR2、(設備3)PR3を
有しており、各生産設備PR1、PR2、PR3にはそ
れぞれバッファ(バッファ1)BU1、(バッファ2)
BU2、(バッファ3)BU3および設備管理プログラ
マブルロジックコントローラ(設備管理PLC)PLC
1、PLC2、PLC3が設けられている。
This production system has three production equipments (equipment 1) PR1, (equipment 2) PR2, (equipment 3) PR3, and each production equipment PR1, PR2, PR3 has a buffer (buffer). 1) BU1, (buffer 2)
BU2, (buffer 3) BU3 and facility management programmable logic controller (facility management PLC) PLC
1, PLC2, PLC3 are provided.

【0069】図7において、この発明に係わる生産計画
装置は、コンピュータPCにより実現され、このコンピ
ュータPCと各生産設備PR1、PR2、PR3の設備
管理プログラマブルロジックコントローラPLC1、P
LC2、PLC3との間はファクトリオートメーション
ローカルエリアネットワークFA−LANにより接続さ
れている。
In FIG. 7, the production planning apparatus according to the present invention is realized by a computer PC, and equipment management programmable logic controllers PLC1, P1 for the computer PC and each production equipment PR1, PR2, PR3.
The factory automation local area network FA-LAN is connected to LC2 and PLC3.

【0070】また、このコンピュータPCには、各生産
設備の段取り替え情報を格納する段取り替え情報格納フ
ァイルF1、生産工程モデルの情報を格納するモデル情
報格納ファイルF2、競合解消処理のための競合解消知
識を格納する競合解消知識ファイルF3が設けられてい
る。
Further, in this computer PC, setup change information storage file F1 for storing setup change information of each production facility, model information storage file F2 for storing production process model information, conflict resolution for conflict resolution processing. A conflict resolution knowledge file F3 for storing knowledge is provided.

【0071】この生産システムは、3台の生産設備PR
1、PR2、PR3を利用して複数の製品を製造する。
ここで、この3台の生産設備PR1、PR2、PR3に
対するオーダは不定期に来、そのたびに生産計画を立て
直す必要があり、また生産設備の変更も頻繁にある状態
を想定している。
This production system includes three production facilities PR.
A plurality of products are manufactured by using 1, PR2 and PR3.
Here, it is assumed that the orders for the three production facilities PR1, PR2, and PR3 come irregularly, the production plan needs to be rebuilt each time, and the production facilities are frequently changed.

【0072】図8は、図7に示したコンピュータPCの
内部構成を機能的に示したもので、このコンピュータP
Cは、本体部PCBと表示部CRTから構成され、本体
部PCBには、モデル入力装置10、モデル生成装置2
0、シミレーション装置30、競合解消装置40、シミ
レーション結果送出装置50、初期条件設定装置60、
実績収集装置70が設けられており、表示部CRTに
は、表示装置W1、計画表示装置W2が設けられてい
る。なお、モデル入力装置10、モデル生成装置20、
シミレーション装置30、競合解消装置40、初期条件
設定装置60、実績収集装置70の基本的動作は、図1
に示した、モデル入力装置101、モデル生成装置10
3、シミレーション装置201、競合解消装置203、
初期条件設定装置211、実績収集装置212と同一で
ある。また、製造オーダファイルF4は製造オーダを記
憶するものである。また、シミレーション結果送出装置
50は、シミレーション装置30のシミレーション結果
を表示部CRTの計画表示装置W2に出力する。
FIG. 8 functionally shows the internal structure of the computer PC shown in FIG.
C is composed of a main body PCB and a display CRT, and the main body PCB includes a model input device 10 and a model generation device 2
0, simulation device 30, conflict resolution device 40, simulation result sending device 50, initial condition setting device 60,
The performance collection device 70 is provided, and the display unit CRT is provided with the display device W1 and the plan display device W2. In addition, the model input device 10, the model generation device 20,
The basic operation of the simulation device 30, the conflict resolution device 40, the initial condition setting device 60, and the performance collection device 70 is shown in FIG.
The model input device 101 and the model generation device 10 shown in FIG.
3, simulation device 201, conflict resolution device 203,
It is the same as the initial condition setting device 211 and the performance collection device 212. The manufacturing order file F4 stores the manufacturing order. In addition, the simulation result sending device 50 outputs the simulation result of the simulation device 30 to the plan display device W2 of the display unit CRT.

【0073】次に、図9から図11を参照してこの実施
例におけるモデル生成の過程を説明する。なお、図9か
ら図11は、実際に表示部CRTの計画表示装置W2に
表示される画面とメモリ上のモデルイメージとの関係を
示したものである。
Next, the process of model generation in this embodiment will be described with reference to FIGS. 9 to 11. 9 to 11 show the relationship between the screen actually displayed on the plan display device W2 of the display unit CRT and the model image on the memory.

【0074】このシステムを起動すると、まず、表示部
CRT上に図9に示す部品ボックス501が表示され
る。ユーザは、モデル入力装置10のマウスを用いてこ
の部品ボックス501から「設備」または「バッファ」
または「製品」を選択する。そしてこの選択した部品を
表示部CRTの表示装置W1上に配置する。
When this system is activated, first, the parts box 501 shown in FIG. 9 is displayed on the display CRT. The user uses the mouse of the model input device 10 to select “equipment” or “buffer” from the component box 501.
Or select “Product”. Then, the selected component is placed on the display device W1 of the display unit CRT.

【0075】ここで、選択した部品が「設備」であると
きは、設備登録ウインドウ503が開かれ、この設備登
録ウインドウ503を用いて、設備番号、設備能力、段
取り替えテーブル番号を入力する。
Here, when the selected part is "equipment", the equipment registration window 503 is opened, and the equipment number, equipment capacity, and setup change table number are input using this equipment registration window 503.

【0076】また、選択した部品が「バッファ」である
ときは、バッファ登録ウインドウ504が開かれ、この
バッファ登録ウインドウ504を用いて、バッファ番
号、バッファ容量を入力する。
When the selected component is the "buffer", the buffer registration window 504 is opened and the buffer number and the buffer capacity are input using this buffer registration window 504.

【0077】また、選択した部品が「製品」であるとき
は、製品登録ウインドウ502が開かれ、この製品登録
ウインドウ504を用いて、製品番号、製品名を入力す
る。ここで、表示部CRTの表示装置W1上の配置に制
限はなく、実際の工程の物理的な配置に対応するように
配置することができる。
When the selected part is "product", the product registration window 502 is opened, and the product number and the product name are input using the product registration window 504. Here, the arrangement of the display unit CRT on the display device W1 is not limited, and the display unit CRT can be arranged so as to correspond to the physical arrangement of the actual process.

【0078】そして、表示部CRTの表示装置W1上に
配置された「設備」、「バッファ」、「製品」にしたが
ってメモリ上に各ユニットに対応したデータ構造の記憶
エリアを確保する。
Then, in accordance with the "equipment", "buffer", and "product" arranged on the display device W1 of the display unit CRT, a storage area having a data structure corresponding to each unit is secured in the memory.

【0079】この動作は表示部CRTの表示装置W上に
必要な設備を定義し終わるまで繰り返される。
This operation is repeated until the necessary equipment is defined on the display device W of the display unit CRT.

【0080】次に、図10に示すように、各製品毎に、
通過する「設備」および「バッファ」を順にマウスでク
リックする。これにより、このクリックした順に、「入
力製品」、「設備」、「バッファ」、「出力製品」を結
ぶ線が表示部CRTの表示装置W上に表示される。ただ
し、必ず、起点は「入力製品」、終点は「出力製品」に
設定される。
Next, as shown in FIG. 10, for each product,
Click the "equipment" and "buffer" that pass through with the mouse. As a result, a line connecting the “input product”, the “equipment”, the “buffer”, and the “output product” is displayed on the display device W of the display unit CRT in the order of clicking. However, the starting point is always set to "input product" and the ending point is set to "output product".

【0081】ここで、クリックしたのが「設備」である
ときは、作業時間設定ウインドウ505が開かれ、この
作業時間設定ウインドウ505を用いて、作業番号、作
業時間を入力する。ここで、使用設備はクリック「設
備」に対応して自動的に表示され、これにより設定「設
備」を確認することができる。
When the user clicks on "equipment", the work time setting window 505 is opened, and the work number and work time are input using this work time setting window 505. Here, the used equipment is automatically displayed corresponding to the click “equipment”, and the setting “equipment” can be confirmed by this.

【0082】また、メモリ上に、作業ユニットに対応す
るデータ構造の記憶エリアを確保する。
Further, a storage area of a data structure corresponding to the work unit is secured on the memory.

【0083】そして、接続ユニットに対応するデータ構
造をメモリ上に確保し、前作業ユニットと当該作業ユニ
ットとを接続する。ここで、前作業ユニットがないとき
には入力製品ユニットと接続する。
Then, the data structure corresponding to the connection unit is secured in the memory, and the previous work unit and the work unit are connected. Here, when there is no previous work unit, it is connected to the input product unit.

【0084】また、クリックしたのが「バッファ」であ
るときは、該当する「バッファ」の前後の「設備」で行
われる作業のデータ構造とバッファのデータ構造とを接
続する。
When the user clicks on the "buffer", the data structure of the work performed by the "equipment" before and after the corresponding "buffer" and the data structure of the buffer are connected.

【0085】また、クリックしたのが「出力製品」であ
るときは、図11に示すように、「出力製品」の前の作
業ユニットのデータ構造と出力製品のデータ構造とを接
続ユニットで接続する。
When the user clicks on the "output product", as shown in FIG. 11, the data structure of the work unit before the "output product" and the data structure of the output product are connected by the connection unit. .

【0086】上記動作は、「入力製品」から「出力製
品」に至るまで繰り返される。そして、この動作は、全
ての製品に対して行われる。
The above operation is repeated from the "input product" to the "output product". Then, this operation is performed for all products.

【0087】このようにして作成されたモデルは、デー
タ構造に対応した形式でモデル情報格納ファイルF2に
格納される。このように、作成したモデルをデータ構造
に対応した形式でモデル情報格納ファイルF2に格納す
ることで、このモデル情報格納ファイルF2を読み込む
ことにより、再度モデルを入力し直さなくても計画を作
成できる。
The model thus created is stored in the model information storage file F2 in a format corresponding to the data structure. In this way, by storing the created model in the model information storage file F2 in a format corresponding to the data structure, by reading this model information storage file F2, it is possible to create a plan without inputting the model again. .

【0088】なお、作成したモデルを修正する場合は、
対象設備をクリックし、各登録ウインドウで、各値を修
正する。また、設備の増減があるときは、設備のアイコ
ンを追加または削除する。
When modifying the created model,
Click the target equipment and correct each value in each registration window. When the number of facilities is increased or decreased, the facility icon is added or deleted.

【0089】このような構成によると、表示部CRT上
で物理的な設備の配置に対応したモデルの作成ができる
ため、 1)モデルの作成が容易になる 2)モデルと実際の工程との対応が取りやすいため、設
備の変更などによるモデルの修正が容易になる 3)モデル作成にあたって、ペトリネットに対する知識
が不要になる 等の効果が期待でき、また、発火継続時間が任意のトラ
ンジション(N−TR)を導入したユニットを使用する
ため、 4)発火継続時間が固定のトランジション(1−TR)
を利用する場合に比較して大幅に必要メモリ容量を削減
できる 5)任意の段取り替え時間や作業時間が設定できる 等の効果が期待できる。
With such a configuration, it is possible to create a model corresponding to the physical arrangement of the equipment on the display CRT, so that 1) the model can be easily created. 2) Correspondence between the model and the actual process. It is easy to correct the model by changing the equipment. 3) It is possible to expect effects such as no need for knowledge about Petri nets when creating the model, and the ignition duration can be any transition (N- 4) Transition with a fixed ignition duration (1-TR) because a unit with TR) is used.
It is possible to greatly reduce the required memory capacity compared to the case where 5) is used. 5) It is expected to have the effect that arbitrary setup change time and work time can be set.

【0090】次に、この実施例における実績収集動作お
よび初期条件設定動作について説明する。
Next, the performance collecting operation and the initial condition setting operation in this embodiment will be described.

【0091】図12に示すように、この実施例において
は、各生産設備PR1、PR2、PR3の各プログラマ
ブルロジックコントローラPLC1、PLC2、PLC
3は、各生産設備PR1、PR2、PR3を管理、制御
し、設備内仕掛かり品の残り時間および各バッファBU
1、BU2、BU3内の仕掛かり品数をそれぞれ得るこ
とができる。
As shown in FIG. 12, in this embodiment, each programmable logic controller PLC1, PLC2, PLC of each production facility PR1, PR2, PR3 is
3 manages and controls each production facility PR1, PR2, PR3, and the remaining time of the in-process work in process and each buffer BU
It is possible to obtain the number of work-in-process items in 1, BU2, and BU3, respectively.

【0092】そこで、まず、各生産設備PR1、PR
2、PR3の各プログラマブルロジックコントローラP
LC1、PLC2、PLC3または各プログラマブルロ
ジックコントローラPLC1、PLC2、PLC3に付
属の図示しないPOP(PointOf Production )端末か
ら、各生産設備PR1、PR2、PR3の設備内仕掛か
り品の種類、残り作業時間および各バッファBU1、B
U2、BU3のバファ内仕掛かり品の種類およびその数
を獲得する。
Therefore, first, each production facility PR1, PR
2, PR3 programmable logic controllers P
LC1, PLC2, PLC3 or a programmable logic controller PLC1, PLC2, PLC3 (not shown) attached to the POP (Point Of Production) terminal, from each production equipment PR1, PR2, PR3, the type of work in process, remaining work time and each Buffer BU1, B
Acquire the type and number of work-in-progress items in U2 and BU3.

【0093】そして、各プログラマブルロジックコント
ローラPLC1、PLC2、PLC3または各プログラ
マブルロジックコントローラPLC1、PLC2、PL
C3に付属のPOP端末は、収集した仕掛かり品情報を
ネットワークFA−LANを経由してコンピュータPC
に送る。
Each programmable logic controller PLC1, PLC2, PLC3 or each programmable logic controller PLC1, PLC2, PL
The POP terminal attached to C3 collects the in-process product information collected via the network FA-LAN to the computer PC.
Send to.

【0094】コンピュータPC内の初期条件設定装置6
0は、この仕掛かり品情報を受信し、この仕掛かり品情
報を基にモデルの初期条件の設定を行う。
Initial condition setting device 6 in computer PC
0 receives this work-in-progress information and sets the initial conditions of the model based on this work-in-progress information.

【0095】この初期設定は、バッファ内仕掛かり品が
ある場合は次のようにして行われる。すなわち、バッフ
ァ内仕掛かり品がある場合は、まず、該当するバッファ
容量のデータ構造のトークン数をバッファ内仕掛かり品
の数の分だけ減らす。具体的には、図12の「メモリ上
のイメージ」に示すように、プレースPL17のトーク
ンがバッファBU1の容量に対応して1減らされてい
る。
This initial setting is performed as follows when there are work-in-process products in the buffer. That is, when there is a work-in-process in the buffer, first, the number of tokens in the data structure of the corresponding buffer capacity is reduced by the number of work-in-process in the buffer. Specifically, as shown in the “image on memory” in FIG. 12, the token of the place PL17 is decremented by 1 corresponding to the capacity of the buffer BU1.

【0096】次に、該当する製品のバッファに対応する
接続ユニットのプレース(PL)のデータ構造のトーク
ン数を増やす。具体的には、図12の「メモリ上のイメ
ージ」に示すように、プレースPL6のトークンがバッ
ファBU1の容量に対応して仕掛かり数分1加えられて
いる。
Next, the number of tokens in the data structure of the place (PL) of the connection unit corresponding to the buffer of the relevant product is increased. Specifically, as shown in the "image on the memory" of FIG. 12, the tokens of the place PL6 are added by the number of in-process ones corresponding to the capacity of the buffer BU1.

【0097】また、設備のバッファに仕掛かり品(未着
手品)がある場合、該当する製品の入力ユニットのデー
タ構造のトークン数をこの仕掛かり品数分増やす。
When there is a work-in-progress (unstarted work) in the equipment buffer, the number of tokens in the data structure of the input unit of the corresponding product is increased by the number of work-in-process.

【0098】また、設備内仕掛かり品がある場合は、該
当する「設備」のトークンを抜き、該当する設備で行わ
れている「作業」の作業ユニットの可変時間トランジシ
ョン(N−TR)の発火継続時間を残り作業時間に設定
する。具体的には、図12の「メモリ上のイメージ」に
示すように、プレースPL18からトークンを抜き、可
変時間トランジションTR8の発火継続時間を5に設定
する。
If there is a work-in-progress in the equipment, the token of the corresponding "equipment" is pulled out, and the variable time transition (N-TR) of the work unit of the "work" performed in the corresponding equipment is fired. Set duration to remaining work. Specifically, as shown in the "image on the memory" of FIG. 12, the token is removed from the place PL18 and the firing duration of the variable time transition TR8 is set to 5.

【0099】また、故障などで、停止している設備があ
る場合は、該「設備」のデータ構造からトークンを削除
し、この「設備」をシミレーションで使用できないよう
に設定する。
If there is a facility that is stopped due to a failure or the like, the token is deleted from the data structure of the "facility", and this "facility" cannot be used for simulation.

【0100】また、製造オーダファイルF4に製造オー
ダがある場合は、この製造オーダに対応する製品数のト
ークンを各製品の入力ユニットのプレース(PL)のト
ークン数に加える。
When the manufacturing order file F4 has a manufacturing order, the token of the product number corresponding to this manufacturing order is added to the token number of the place (PL) of the input unit of each product.

【0101】このような構成によると、以下に示すよう
なことが可能になる。すなわち、 1)任意の状態のシミレータの初期条件を実現できる。 2)製造工程の状態を反映した初期条件の設定ができ
る。 3)飛び込みなどの製造オーダの追加に対応して、即座
にリスケジューリングが可能である。 4)設備の状態がモデルに反映できる。
With this structure, the following can be achieved. That is, 1) The initial condition of the simulator in any state can be realized. 2) It is possible to set initial conditions that reflect the state of the manufacturing process. 3) Immediate rescheduling is possible in response to the addition of manufacturing orders such as diving. 4) The state of equipment can be reflected in the model.

【0102】次に、この実施例におけるシミレーション
動作および競合解消動作および計画出力動作について説
明する。
Next, the simulation operation, conflict resolution operation, and planned output operation in this embodiment will be described.

【0103】図8に示したシミレーション装置30は、
初期条件設定装置60により設定された初期条件により
シミレーションを実行する。また、図8に示した競合解
消装置40はシミレーション装置30によるシミレーシ
ョン中に競合が発生した場合は、その優先順位を決定す
る。
The simulation device 30 shown in FIG.
The simulation is executed under the initial condition set by the initial condition setting device 60. In addition, the conflict resolution apparatus 40 shown in FIG. 8 determines the priority order of the competition when the competition occurs during the simulation by the simulation apparatus 30.

【0104】まず、シミレーション装置30の時刻を0
に設定する。
First, the time of the simulation device 30 is set to 0.
Set to.

【0105】次に、発火可能なトランジション(0−T
R)をリストアップする。
Next, a transition (0-T
List R).

【0106】続いて、発火可能なトランジション(0−
TR)のそれぞれについて、このトランジション(0−
TR)が発火すると発火できなくなる他のトランジショ
ン(0−TR)が存在するかを確認する。
Then, a transition (0-
This transition (0-
If TR) fires, check if there is another transition (0-TR) that cannot be fired.

【0107】ここで、発火できなくなるトランジション
(0−TR)が存在しないときは、当該トランジション
(0−TR)を発火させる。そして、この発火したトラ
ンジション(0−TR)が、作業ユニットの作業開始に
あたるトランジション(0−TR)であれば、このトラ
ンジション(0−TR)に発火不能属性をつける。ま
た、この発火したトランジション(0−TR)が、入力
作業ユニットのトランジション(0−TR)であれば、
このトランジション(0−TR)に、1単位時間の発火
不能属性をつける。また、この発火したトランジション
(0−TR)が、作業終了のトランジション(0−T
R)であれば、作業開始のトランジション(0−TR)
の発火不能属性を解除する。そしてそれぞれの発火した
トランジション(0−TR)の発火時刻を記録する。
If there is no transition (0-TR) that cannot be fired, the transition (0-TR) is fired. Then, if this transition (0-TR) that has fired is the transition (0-TR) that is the start of the work of the work unit, the non-ignition attribute is attached to this transition (0-TR). Also, if the transition (0-TR) that fired is the transition (0-TR) of the input work unit,
This transition (0-TR) is given a non-ignition attribute of 1 unit time. In addition, the transition (0-TR) that fired is the transition (0-T) at the end of work.
If R), transition of work start (0-TR)
Remove the non-ignitable attribute of. Then, the firing time of each fired transition (0-TR) is recorded.

【0108】また、発火できなくなるトランジション
(0−TR)が存在するときは、競合が発生していると
認識し、発火不能になるトランジション(0−TR)の
製品番号、作業番号、競合している設備名またはバッフ
ァ名を図8に示した競合解消装置40に送る。
If there is a transition (0-TR) that makes it impossible to ignite, it is recognized that a conflict has occurred, and the product number, work number, and conflict of the transition (0-TR) that makes it impossible to ignite. The existing equipment name or buffer name is sent to the conflict resolution device 40 shown in FIG.

【0109】競合解消装置40は、競合解消知識ファイ
ルF3の競合解消知識を参照してこの競合に優先順位を
つける。そして、シミレーション装置30は、この優先
順位の最も高い「作業」を含むトランジション(0−T
R)を発火させ、該発火したトランジション(0−T
R)が作業ユニットの作業の開始にあたるトランジショ
ン(0−TR)であれば、このトランジション(0−T
R)に発火不能属性をつける。また、この発火したトラ
ンジション(0−TR)が、入力作業ユニットのトラン
ジション(0−TR)であれば、このトランジション
(0−TR)に、1単位時間の発火不能属性をつける。
また、この発火したトランジション(0−TR)が、作
業終了のトランジション(0−TR)であれば、作業開
始のトランジション(0−TR)の発火不能属性を解除
する。そしてそれぞれの発火したトランジション(0−
TR)の発火時刻を記録する。
The conflict resolution device 40 refers to the conflict resolution knowledge in the conflict resolution knowledge file F3 to prioritize this conflict. Then, the simulation device 30 includes the transition (0-T) including the "work" having the highest priority.
R) is ignited, and the transition (0-T
If R) is the transition (0-TR) that is the start of the work of the work unit, this transition (0-T)
R) is given the non-ignitable attribute. If the fired transition (0-TR) is the transition (0-TR) of the input work unit, a non-ignition attribute of 1 unit time is added to the transition (0-TR).
If the fired transition (0-TR) is the work end transition (0-TR), the non-fireable attribute of the work start transition (0-TR) is released. And each fired transition (0-
(TR) record the time of ignition.

【0110】また、競合解消装置40において、競合解
消知識ファイルF3の競合解消知識を参照した結果、現
状では発火不適と判断した場合は、該当トランジション
(0−TR)に1単位時間のみの発火不能属性をつけ
る。
In addition, in the conflict resolution device 40, when the conflict resolution knowledge of the conflict resolution knowledge file F3 is referred to and it is determined that the current state is not suitable for firing, the transition (0-TR) cannot fire for only one unit time. Add attributes.

【0111】上記動作は、発火可能なトランジション
(0−TR)がなくなるまで繰り返される。そして、発
火可能なトランジション(0−TR)がなくなると発火
継続時間が0になっているトランジション(0−TR)
の発火継続が終了する。
The above operation is repeated until there are no transitions (0-TR) that can be fired. Then, when there are no transitions (0-TR) that can be ignited, transitions (0-TR) where the firing duration is 0
The ignition continues.

【0112】次に、発火継続時間がNのトランジション
(N−TR)の内の発火可能なトランジション(N−T
R)をリストアップする。
Next, a transition (N-T) that can be fired among transitions (N-TR) whose firing duration is N.
List R).

【0113】ここで、発火可能なトランジション(0−
TR)がなく、かつ発火可能なトランジション(N−T
R)がない場合は、このシミレーションを終了する。
Here, a transition (0-
Transition that can be ignited without (TR) (N-T
If there is no R), the simulation ends.

【0114】また、発火可能なトランジション(N−T
R)があり、この発火可能なトランジション(N−T
R)が段取り替えを示すトランジション(N−TR)で
あれば、使用している「設備」のデータから前回作業し
て製品番号を得、また、この製品番号に基づき段取り替
え情報格納ファイルF1に格納されている段取替え情報
を検索して段取替え時間を得、このトランジション(N
−TR)の発火継続時間を上記段取替え時間に設定して
発火させる。そして、その発火時刻を記録する。
A transition (N-T
R), and this transition (N-T
If (R) is a transition (N-TR) indicating a setup change, the product number is obtained by performing the previous work from the data of the "equipment" being used, and the setup change information storage file F1 is based on this product number. The stored setup change information is searched to obtain the setup change time, and this transition (N
-TR) set the ignition duration time to the above setup change time and ignite. Then, the ignition time is recorded.

【0115】また、発火可能なトランジション(N−T
R)が実作業を示すトランジション(N−TR)であれ
ば、そのトランジション(N−TR)の発火継続時間を
上記実作業の作業時間に設定して発火させる。そして、
その発火時刻を記録する。
In addition, a transition (N-T
If R) is a transition (N-TR) indicating an actual work, the ignition duration time of the transition (N-TR) is set to the working time of the actual work to ignite. And
Record the firing time.

【0116】上記動作は、発火可能なトランジション
(N−TR)がなくなるまで繰り返される。
The above operation is repeated until there are no transitions (N-TR) that can be fired.

【0117】次に、発火継続中のトランジション(N−
TR)の発火継続時間を1減じ、シミレーション装置3
0の時計を1進める。
Next, the transition (N-
(TR) Ignition duration is reduced by 1 and simulation device 3
Advance a clock of 0 by 1.

【0118】そして、発火不能属性が1単位時間のトラ
ンジション(0−TR)のみの発火不能属性を解除す
る。
Then, the non-ignition attribute having only one unit time transition (0-TR) is released.

【0119】上記動作は、全てのシミレーションが完了
するまで繰り返される。
The above operation is repeated until all the simulations are completed.

【0120】図8に示したシミレーション結果送出装置
50は、シミレーション装置30によるシミレーション
の完了後、トランジション(0−TR)およびトランジ
ション(N−TR)の発火時刻を時間軸上にならべ、ガ
ンチャートとして出力する。
The simulation result sending device 50 shown in FIG. 8 arranges the firing times of transition (0-TR) and transition (N-TR) on the time axis after the completion of the simulation by the simulation device 30. Output as a Gantt chart.

【0121】また、競合解消装置40における競合解消
処理は、次に示すような競合解消知識に基づき実行され
る。 IF総納期余裕=小さい THEN作業時間の小さいも
の順 IF総納期余裕=大きい THEN先着順 IF総納期余裕=小さい THEN段取り替え時間最小
優先
The conflict resolution processing in the conflict resolution device 40 is executed based on the following conflict resolution knowledge. IF total delivery time margin = small THEN in order of smallest work time IF total delivery time margin = large THEN first-come-first-served basis IF total delivery time margin = small THEN minimum changeover time priority

【0122】また、トランジション(0−TR)に発火
不能属性を持たせることにより、以下に示すことが可能
になる。 1)自然発火規則にしたがうと発火する発火可能なトラ
ンジション(0−TR)の重複チェックを防止し、シミ
レーション速度を向上できる。 2)一定条件の発火を抑止することにより、場合によっ
てはより最適な計画が出力できる。
Also, by giving the transition (0-TR) the non-firing attribute, the following can be achieved. 1) It is possible to prevent duplication check of ignitable transitions (0-TR) that are ignited according to the self-ignition rule and improve the simulation speed. 2) By suppressing ignition under certain conditions, a more optimal plan can be output in some cases.

【0123】このトランジション(0−TR)に発火不
能属性を持たせることによる効果を図13を用いて更に
説明する。図13に示す場合、トランジション(0−T
R)TR2は、段取り替え時間+実作業時間が経過する
までは再発火することはできない。しかし、このトラン
ジション(0−TR)TR2が自然発火条件にしたがう
とすると、このトランジション(0−TR)TR2の発
火チェック、すなわちこのトランジション(0−TR)
TR2の前のプレース(PL)にトークンがあるか否か
のチェックを何度も行うことになる。そこで、このトラ
ンジション(0−TR)TR2に発火不能属性を持たせ
ることにより、全ての入力プレース(PL)チェックを
せずに、他のトランジションのチェックに移ることがで
き、これによりシミレーション時間を短縮することがで
きる。
The effect of giving the transition (0-TR) the non-ignition attribute will be further described with reference to FIG. In the case shown in FIG. 13, the transition (0-T
R) TR2 cannot reignite until the setup change time + actual work time elapses. However, if the transition (0-TR) TR2 is subject to the spontaneous firing condition, an ignition check of the transition (0-TR) TR2, that is, the transition (0-TR) is performed.
It will be repeatedly checked whether or not there is a token in the place (PL) before TR2. Therefore, by giving the transition (0-TR) TR2 the non-firing attribute, it is possible to move to the check of other transitions without checking all the input places (PL), thereby reducing the simulation time. It can be shortened.

【0124】また、競合解消装置40を設けることによ
り、以下に示すことが可能になる。 1)シミレーション結果を計画として使うことができ
る。 2)特定の条件のときに発火を停止できる。
By providing the conflict resolution device 40, the following can be achieved. 1) The simulation result can be used as a plan. 2) Ignition can be stopped under certain conditions.

【0125】[0125]

【発明の効果】以上説明したようにこの発明によれば、 1)製造工程のシンボル(アイコン表現)を入力手段で
入力する。 2)発火継続時間が任意に設定できるトランンジション
(N−TR)および発火不能の属性を持ったトランンジ
ション(0−TR)とで構成され、各設備で実施される
作業に対応した作業ユニットを用いる。 3)入力されたシンボルにしたがて、ペトリネット表現
のユニットを接続するモデル生成手段を設ける。 4)実際の製造工程から実績を収集する実績収集手段を
設ける。 5)実績収集システムからの情報をもとに製造工程のペ
トリネット表現に初期条件を設定する初期条件設定手段
を設ける。 6)シミレーション実行中に競合が発生した場合、競合
を解消するための競合解消手段を設ける。 ように構成したため、以下に示すような効果を奏する。
As described above, according to the present invention, 1) The symbol (icon expression) of the manufacturing process is input by the input means. 2) Work corresponding to the work carried out at each facility, consisting of a transition (N-TR) that can set the ignition duration arbitrarily and a transition (0-TR) that has the attribute of being unable to fire. Use a unit. 3) A model generation means is provided for connecting the units of the Petri net representation according to the input symbols. 4) A performance collecting means for collecting performances from the actual manufacturing process is provided. 5) An initial condition setting means for setting initial conditions in the Petri net representation of the manufacturing process based on the information from the performance collection system is provided. 6) If conflict occurs during the execution of the simulation, a conflict resolving means for eliminating the conflict is provided. Since it is configured as described above, the following effects are achieved.

【0126】1)製造工程のシンボルを入力装置(マウ
ス)で入力し、製品毎にどの設備を通過するかを入力装
置(マウス)で指定するだけで、プログラムすることな
く製造工程のペトリネットモデルが作成でき、表示装置
上で見えるモデルが実際の工程と対応がつきやすいた
め、モデルの作成、修正が容易であり、ペトリネットに
対する知識も不要である。
1) A petri net model of a manufacturing process can be obtained without programming simply by inputting a symbol of the manufacturing process with an input device (mouse) and designating which facility each product passes through with the input device (mouse). Can be created, and the model seen on the display device can be easily associated with the actual process, so that the model can be created and modified easily, and no knowledge of the Petri net is required.

【0127】2)発火時間が任意に設定できるトランン
ジション(N−TR)を利用した作業ユニットにより、 a)段取り替え時間を考慮した計画が作成できる。 b)任意の仕掛かり状態を実現できる。 c)必要メモリを削減し、必要メモリ容量を容易に推定
できる。
2) The work unit using the transition (N-TR), in which the ignition time can be arbitrarily set, can: a) make a plan considering the setup change time. b) Any work-in-progress state can be realized. c) The required memory can be reduced and the required memory capacity can be easily estimated.

【0128】3)発火不能属性を持つトランンジション
(0−TR)を使用した作業ユニットにより、自然発火
規則によっておこる発火不能トランンジション(0−T
R)の重複チェックを回避し、シミレーションを高速化
できる。また、任意作業の着手を遅らせることができ
る。
3) The work unit using the transition (0-TR) having the non-ignition impossible attribute causes the non-ignition transition (0-T) caused by the spontaneous firing rule.
R) duplication check can be avoided and the simulation can be speeded up. Also, the start of arbitrary work can be delayed.

【0129】4)実績収集装置(POP)から、各バッ
ファの状態および設備での残作業時間を得、繁雑な作業
を行うことなく自動的にペトリネットモデルに入力で
き、設備の実情に沿った初期設定がリアルタイムでで
き、ダイナミックスケージューリングやリスケージュー
リングに対応できる。
4) The status of each buffer and the remaining work time in the equipment can be obtained from the performance collection device (POP), and can be automatically input to the Petri net model without performing complicated work. Initial settings can be made in real time, and dynamic scheduling and rescheduling can be supported.

【0130】5)実績収集装置からの設備故障情報を基
に使用不能な設備をペトリネットに設定することによっ
て、実績を反映したスケージューリングが実施できる。
5) By setting the unusable equipment in the Petri net based on the equipment failure information from the performance collection device, it is possible to carry out the scheduling reflecting the performance.

【0131】6)競合発生時の競合解消手段を設けるこ
とにより、シミレーション結果として利用できる。
6) It can be used as a simulation result by providing a conflict resolution means when a conflict occurs.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明に係わる生産計画装置の概略システム
構成を示したブロック図。
FIG. 1 is a block diagram showing a schematic system configuration of a production planning apparatus according to the present invention.

【図2】この実施例で使用するペトリネットの基本要素
を示した図。
FIG. 2 is a diagram showing the basic elements of a Petri net used in this embodiment.

【図3】図2に示したペトリネットの基本要素を組み合
わせて構成されるこの実施例の各ユニットの具体的構成
を示した図。
FIG. 3 is a diagram showing a specific configuration of each unit of this embodiment configured by combining the basic elements of the Petri net shown in FIG.

【図4】この実施例で用いるトランジションの発火条件
その1を示した図。
FIG. 4 is a diagram showing a transition ignition condition part 1 used in this embodiment.

【図5】この実施例で用いるトランジションの発火条件
その2を示した図。
FIG. 5 is a diagram showing a second ignition condition of a transition used in this example.

【図6】可変時間トランジション(N−TR)の動作を
示す図。
FIG. 6 is a diagram showing an operation of variable time transition (N-TR).

【図7】この発明に係わる生産計画装置を用いて構成し
た具体的生産システムの一実施例を示したシステム構成
図。
FIG. 7 is a system configuration diagram showing an embodiment of a specific production system configured by using the production planning apparatus according to the present invention.

【図8】図7に示したコンピュータPCの内部構成を機
能的に示したブロック図。
8 is a block diagram functionally showing an internal configuration of the computer PC shown in FIG.

【図9】この実施例におけるモデル生成の過程を説明す
る図。
FIG. 9 is a diagram illustrating a process of model generation in this embodiment.

【図10】この実施例におけるモデル生成の過程を説明
する図。
FIG. 10 is a diagram for explaining the process of model generation in this embodiment.

【図11】この実施例におけるモデル生成の過程を説明
する図。
FIG. 11 is a diagram illustrating a process of model generation in this embodiment.

【図12】この実施例における実績収集動作および初期
条件設定動作を説明するためのシステム構成図。
FIG. 12 is a system configuration diagram for explaining a performance collection operation and an initial condition setting operation in this embodiment.

【図13】トランジション(0−TR)に発火不能属性
を持たせることによる効果を説明するための図。
FIG. 13 is a diagram for explaining an effect obtained by giving a transition (0-TR) a non-firing attribute.

【符号の説明】[Explanation of symbols]

100 モデル作成部 101 モデル入力装置 102 表示装置 103 モデル生成装置 200 シミレーション部 201 シミレーション装置 202 計画表示装置 203 競合解消装置 111 段取り替え情報格納装置 112 モデル情報格納装置 214 競合解消知識データベース 100 model creation unit 101 model input device 102 display device 103 model generation device 200 simulation unit 201 simulation device 202 plan display device 203 conflict resolution device 111 setup change information storage device 112 model information storage device 214 conflict resolution knowledge database

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 ペトリネットモデルを用いてシミレーシ
ョンを実行することにより生産計画を作成する生産計画
装置において、 上記シミレーションにより上記ペトリネットモデルの中
の発火が競合するトランジションがある場合は、予め格
納された競合解消知識に基づき該競合を解消する競合解
消手段、 を具備することを特徴とする生産計画装置。
1. In a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, if there is a transition in which the firings in the Petri net model conflict due to the simulation, A production planning apparatus comprising: a conflict resolution means for eliminating the conflict based on the stored conflict resolution knowledge.
【請求項2】 上記競合解消知識は、生産納期が短い場
合は作業時間の短い製造工程に対応するトランジション
の発火を優先することを特徴とする請求項1記載の生産
計画装置。
2. The production planning apparatus according to claim 1, wherein the conflict resolution knowledge gives priority to firing a transition corresponding to a manufacturing process having a short working time when the production delivery date is short.
【請求項3】 上記競合解消知識は、 生産納期が長い場合は早く到達した製造工程に対応する
トランジションの発火を優先することを特徴とする請求
項1記載の生産計画装置。
3. The production planning apparatus according to claim 1, wherein the conflict resolution knowledge prioritizes firing of a transition corresponding to a manufacturing process that arrives earlier when a production delivery date is long.
【請求項4】 ペトリネットモデルを用いてシミレーシ
ョンを実行することにより生産計画を作成する生産計画
装置において、 上記ペトリネットモデルの対象となる生産設備から実績
情報を収集する実績情報収集手段と、 上記実績情報収集手段により収集した実績情報に対応し
て上記ペトリネットモデルのシミレーションの初期条件
を設定する初期条件設定手段と、 を具備することを特徴とする生産計画装置。
4. A production planning apparatus for creating a production plan by executing a simulation using a Petri net model, and actual result information collecting means for collecting actual result information from a production facility targeted by the Petri net model, A production planning apparatus comprising: initial condition setting means for setting an initial condition of the simulation of the Petri net model in correspondence with the performance information collected by the performance information collecting means.
【請求項5】 上記実績情報は、 上記生産設備内の仕掛かり品の種類および残り作業時間
を示す仕掛かり品情報であることを特徴とする請求項4
記載の生産計画装置。
5. The work-in-progress information indicating the type of work-in-progress in the production facility and the remaining work time in the production facility.
The production planning device described.
【請求項6】 上記実績情報は、 上記生産設備の前段のバッファ内の仕掛かり品の種類お
よびその数を示す仕掛かり品情報であることを特徴とす
る請求項4記載の生産計画装置。
6. The production planning apparatus according to claim 4, wherein the record information is work-in-progress information indicating a type and the number of work-in-progress in a buffer at a preceding stage of the production facility.
【請求項7】 上記初期条件設定手段は、 上記ペトリネットモデルの当該作業に対応する作業ユニ
ットのプレースからトークを除き、該作業ユニットのト
ランジションの発火継続時間を上記残り作業時間に設定
することを特徴とする請求項5記載の生産計画装置。
7. The initial condition setting means removes the talk from the place of the work unit corresponding to the work of the Petri net model, and sets the transition firing duration of the work unit to the remaining work time. The production planning apparatus according to claim 5, which is characterized in that.
【請求項8】 上記初期条件設定手段は、 上記ペトリネットモデルの当該バッファに対応するバッ
ファユニットのプレースからトークンを減らし、当該バ
ッファに対応する接続ユニットのプレースに該トークン
を加えることを特徴とする請求項6記載の生産計画装
置。
8. The initial condition setting means reduces tokens from a place of a buffer unit corresponding to the buffer of the Petri net model, and adds the token to a place of a connection unit corresponding to the buffer. The production planning apparatus according to claim 6.
【請求項9】 上記初期条件設定手段は、 停止している生産設備がある場合、上記ペトリネットモ
デルの当該生産設備に対応する設備ユニットのプレース
からトークンを削除し、該生産設備のシミレーションを
禁止することを特徴とする請求項4記載の生産計画装
置。
9. The initial condition setting means deletes a token from a place of an equipment unit corresponding to the production equipment of the Petri net model when there is a production equipment that is stopped, and simulates the production equipment. The production planning apparatus according to claim 4, wherein the production planning apparatus is prohibited.
【請求項10】 上記初期条件設定手段は、 製造オーダの追加がある場合、上記ペトリネットモデル
の入力製品ユニットのプレースに該追加されたオーダに
対応するトークンを加えることを特徴とする請求項4記
載の生産計画装置。
10. The initial condition setting means, when a manufacturing order is added, adds a token corresponding to the added order to the place of the input product unit of the Petri net model. The production planning device described.
【請求項11】 ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、 上記シミレーションを実行するシミレーション装置、 を具備し、 上記シミレーション装置は、 上記ペトリネットモデルの中から発火可能なトランジシ
ョンを抽出する抽出手段と、 上記抽出手段で抽出された発火可能なトランジションの
発火により発火できなくなるトランジションが存在する
かを調べる競合判別手段と、 上記競合判別手段により発火できなくなるトランジショ
ンが存在すると判別された場合は競合の発生として競合
解消装置に対して競合の解消を依頼する競合解消依頼手
段と、 上記競合解消装置からの競合解消情報を受信して該競合
を解消する手段とを具備することを特徴とする生産計画
装置。
11. A production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising: a simulation apparatus for executing the simulation, wherein the simulation apparatus comprises the Petri net. Extraction means for extracting ignitable transitions from the net model, competition determination means for checking whether there is a transition that cannot be ignited due to ignition of the ignitable transitions extracted by the extraction means, and the competition determination means When it is determined that there is a transition that makes it impossible to fire, it is determined that a conflict has occurred, and a conflict resolution requesting unit that requests the conflict resolution device to resolve the conflict, and receives the conflict resolution information from the conflict resolution device to resolve the conflict. And a means for canceling the production plan.
【請求項12】 ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、 上記シミレーションを実行するシミレーション装置、 を具備し、 上記シミレーション装置は、 上記ペトリネットモデルの中から発火可能なトランジシ
ョンを抽出する抽出手段と、 上記抽出手段で抽出された発火可能なトランジションを
発火させ、該発火したトランジションが作業ユニットの
開始にあたるトランジションであれば1単位時間の発火
不能属性をつける発火不能属性付加手段と、 上記抽出手段で抽出された発火可能なトランジションが
上記作業ユニットの終了にあたるトランジションであれ
ば上記発火不能属性を解除する発火不能属性解除手段
と、 上記抽出手段で抽出された発火可能なトランジションの
発火時刻を記録する発火時刻記録手段と、 を具備することを特徴とする生産計画装置。
12. A production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising: a simulation apparatus for executing the simulation, wherein the simulation apparatus comprises the Petri net. Extraction means for extracting ignitable transitions from the net model, and ignite the ignitable transitions extracted by the extraction means. If the ignited transition is a transition that is the start of a work unit, one unit time is ignited. A non-firing attribute adding means for giving a non-firing attribute, a non-firing attribute releasing means for releasing the non-firing attribute if the transition that can be fired extracted by the extracting means corresponds to the end of the work unit, and the extracting means Ignitable transitions extracted in Production planning apparatus characterized by comprising a firing time recording means for recording the ignition time of the emission, the.
【請求項13】 ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、 上記シミレーションを実行するシミレーション装置、 を具備し、かつ上記ペトリネットモデルは、 発火継続時間が任意の値に設定できる可変時間トランジ
ション、 を具備し、 上記シミレーション装置は、 上記ペトリネットモデルの中から可変時間トランジショ
ンを抽出する抽出手段と、 上記抽出手段で抽出した可変時間トランジションの発火
継続時間を設定して発火させる発火継続時間設定手段
と、 上記発火継続時間設定手段により発火されたトランジシ
ョンの発火時刻を記録する発火時刻記録手段と、 を具備することを特徴とする生産計画装置。
13. A production planning apparatus for creating a production plan by executing a simulation using a Petri net model, comprising: a simulation apparatus for executing the simulation, and the Petri net model: The simulation device comprises a variable time transition whose duration can be set to an arbitrary value, and the simulation device extracts the variable time transition from the Petri net model, and the variable time transition extracted by the extracting means. A production planning apparatus, comprising: an ignition duration setting means for setting an ignition duration and igniting; and an ignition time recording means for recording the ignition time of the transition fired by the ignition duration setting means. .
【請求項14】 ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、 上記シミレーションの完了後、生産計画を各トランジシ
ョンの発火時刻を時間軸にならべたガンチャートとして
出力する計画出力手段、 を具備することを特徴とする生産計画装置。
14. In a production planning apparatus for creating a production plan by executing a simulation using a Petri net model, after the completion of the simulation, the production plan is arranged with a firing time of each transition on a time axis. A production planning apparatus, comprising: a plan output unit for outputting as a chart.
【請求項15】 ペトリネットモデルを用いてシミレー
ションを実行することにより生産計画を作成する生産計
画装置において、 表示手段と、 上記ペトリネットモデルを生成するモデル生成手段と、 を具備し、 上記モデル生成手段は、 生成したモデルを格納する記憶手段と、 製造工程のシンボルを入力する入力手段と、 上記入力手段により入力された製造工程のシンボルを上
記表示手段の画面上に配置する手段と、 上記画面上に配置された各製造工程のシンボルを順次選
択することにより、該選択された製造工程のシンボルが
表わす上記ペトリネットモデルの各ユニットに対応する
データ構造を記憶する記憶領域を上記記憶手段上で確保
する手段と、 上記記憶手段上で確保された記憶領域に各製造工程のデ
ータを入力する手段と、 上記画面上で選択された各シンボルに対応する各ユニッ
トを接続することにより上記ペトリネットモデルを生成
する手段と、 を具備することを特徴とする生産計画装置。
15. A production planning apparatus for producing a production plan by executing a simulation using a Petri net model, comprising: display means; and model generation means for producing the Petri net model. The generation means includes storage means for storing the generated model, input means for inputting manufacturing process symbols, means for arranging the manufacturing process symbols input by the input means on the screen of the display means, and By sequentially selecting symbols for each manufacturing process arranged on the screen, a storage area for storing a data structure corresponding to each unit of the Petri net model represented by the selected manufacturing process symbol is provided on the storage means. And a means for inputting data of each manufacturing process in the storage area secured on the storage means, Production planning apparatus characterized by comprising a means for generating the Petri net model by connecting each unit corresponding to each symbol that is selected on the surface.
【請求項16】 上記シンボルは、 投入製品、 出力製品、 設備、 バッファ、 を示すシンボルから構成されることを特徴とする請求項
14記載の生産計画装置。
16. The production planning apparatus according to claim 14, wherein the symbol is composed of a symbol indicating input product, output product, facility, and buffer.
【請求項17】 上記画面上に配置する手段は、 上記投入製品を示すシンボルを起点とし、上記出力製品
を示すシンボルを終点とし、該投入製品を示すシンボル
と該出力製品を示すシンボルとの間に上記設備を示すシ
ンボル、上記バッファを示すシンボルを配置することを
特徴とする請求項16記載の生産計画装置。
17. The means arranged on the screen has a symbol indicating the input product as a starting point and a symbol indicating the output product as an end point, and between the symbol indicating the input product and the symbol indicating the output product. 17. The production planning apparatus according to claim 16, wherein a symbol indicating the facility and a symbol indicating the buffer are arranged in the.
【請求項18】 上記画面上におけるシンボルの選択に
対応して、 上記投入製品を示すシンボルを起点とし、上記設備を示
すシンボル、上記バッファを示すシンボルを介し、上記
終点の出力製品を示すシンボルに至る線を上記画面上に
表示することを特徴とする請求項17記載の生産計画装
置。
18. Corresponding to the selection of a symbol on the screen, starting from the symbol indicating the input product, passing through the symbol indicating the facility and the symbol indicating the buffer to the symbol indicating the output product at the end point. 18. The production planning apparatus according to claim 17, wherein the line connecting the lines is displayed on the screen.
【請求項19】 上記各ユニットは、 ペトリネットの基本要素を組み合わせて構成されること
を特徴とする請求項14記載の生産計画装置。
19. The production planning system according to claim 14, wherein each unit is configured by combining basic elements of a Petri net.
【請求項20】 上記各ユニットは、 入力製品ユニット、 出力製品ユニット、 作業ユニット、 バッファユニット、 接続ユニット、 から構成されることを特徴とする請求項14記載の生産
計画装置。
20. The production planning apparatus according to claim 14, wherein each of the units includes an input product unit, an output product unit, a work unit, a buffer unit, and a connection unit.
【請求項21】 上記ペトリネットモデルを生成する手
段は、 上記入力製品ユニットを起点とするとともに、上記出力
製品ユニットを終点とし、該入力製品ユニットと該出力
製品ユニットとの間に上記作業ユニット、上記バッファ
ユニット、上記接続ユニットを組み合わせて接続するこ
とを特徴とする請求項22記載の生産計画装置。
21. The means for generating the Petri net model has the input product unit as a starting point and the output product unit as an end point, and the working unit between the input product unit and the output product unit, 23. The production planning apparatus according to claim 22, wherein the buffer unit and the connection unit are connected in combination.
JP30767693A 1993-12-08 1993-12-08 Production planning device Withdrawn JPH07160773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30767693A JPH07160773A (en) 1993-12-08 1993-12-08 Production planning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30767693A JPH07160773A (en) 1993-12-08 1993-12-08 Production planning device

Publications (1)

Publication Number Publication Date
JPH07160773A true JPH07160773A (en) 1995-06-23

Family

ID=17971903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30767693A Withdrawn JPH07160773A (en) 1993-12-08 1993-12-08 Production planning device

Country Status (1)

Country Link
JP (1) JPH07160773A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240340A (en) * 1997-02-26 1998-09-11 Amada Co Ltd Method for displaying information setting screen along with flow of process and multiwindow type nc device having function for the same
JP2003162317A (en) * 2001-09-13 2003-06-06 Nippon Steel Corp Factory operation monitoring system and production adjustment method using the same
US7120699B2 (en) 2001-09-20 2006-10-10 Ricoh Company, Ltd. Document controlled workflow systems and methods
JP2007208269A (en) * 1998-12-31 2007-08-16 Asml Us Inc Method and device for synchronizing substrate processing system
JP2008217045A (en) * 2007-01-15 2008-09-18 Amada Co Ltd Display method of information setting screen along flow of process, and nc unit of multiwindow system which has its function

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240340A (en) * 1997-02-26 1998-09-11 Amada Co Ltd Method for displaying information setting screen along with flow of process and multiwindow type nc device having function for the same
JP2007208269A (en) * 1998-12-31 2007-08-16 Asml Us Inc Method and device for synchronizing substrate processing system
JP4621698B2 (en) * 1998-12-31 2011-01-26 エーエスエムエル ホールディング エヌ.ブイ. Method and apparatus for synchronizing a substrate processing system
JP2003162317A (en) * 2001-09-13 2003-06-06 Nippon Steel Corp Factory operation monitoring system and production adjustment method using the same
US7120699B2 (en) 2001-09-20 2006-10-10 Ricoh Company, Ltd. Document controlled workflow systems and methods
US7356611B1 (en) 2001-09-20 2008-04-08 Ricoh Company, Ltd. Method and apparatus for permissions based active document workflow
JP2008217045A (en) * 2007-01-15 2008-09-18 Amada Co Ltd Display method of information setting screen along flow of process, and nc unit of multiwindow system which has its function
JP4547389B2 (en) * 2007-01-15 2010-09-22 株式会社アマダ Display method of information setting screen along work process flow and multi-window type NC device having the function

Similar Documents

Publication Publication Date Title
US8059092B2 (en) User interface designing apparatus
US8000946B2 (en) Discrete event simulation with constraint based scheduling analysis
Fitzsimmons et al. Design strategy and its interface with manufacturing and marketing: A conceptual framework
Wallace Transferring design methods into practice
JP2000515272A (en) Modeling and control of adaptive processes
JPH01280871A (en) Block diagram simulator
JPH01270164A (en) Simulation system
US5130932A (en) Generating device for production system simulator
JPH07160773A (en) Production planning device
JPH05233590A (en) Production system simulator device using petri net
JP2013016021A (en) Ladder program creation device and ladder program creation method
JP3409269B2 (en) Program creation device
CN114385243B (en) Method and device for automatically issuing instructions for controlling layout engine
CN109472434A (en) Assembling sequence generating means, storage medium and assembling sequence generation method
JP4609655B2 (en) Attached data generator for program parts
JP2585460B2 (en) Test data creation method
CN110632856A (en) Simulation test verification system facing process
JP4488231B2 (en) Program management device
JP4127318B2 (en) Program generation method and apparatus
JP3966355B2 (en) Program generation method and apparatus
JP2007299135A (en) Cad system, control method for cad system and cad program
Quick et al. Building a virtual factory
JPH08194634A (en) Test execution system
Romodin Approach to prototyping project solutions interacting with data bases on the example of UAV
JP2769192B2 (en) Similow case translator using Petri net

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306