JPH0337201B2 - - Google Patents
Info
- Publication number
- JPH0337201B2 JPH0337201B2 JP14592182A JP14592182A JPH0337201B2 JP H0337201 B2 JPH0337201 B2 JP H0337201B2 JP 14592182 A JP14592182 A JP 14592182A JP 14592182 A JP14592182 A JP 14592182A JP H0337201 B2 JPH0337201 B2 JP H0337201B2
- Authority
- JP
- Japan
- Prior art keywords
- scheduling
- rule
- information
- processing
- output
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- General Factory Administration (AREA)
- Numerical Control (AREA)
- Control By Computers (AREA)
- Multi-Process Working Machines And Systems (AREA)
- Devices For Executing Special Programs (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】
この発明はスケジユーリング装置に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a scheduling device.
スケジユーリング(Scheduling)とは生産工
程(加工工程、処理工程等を含んでいう)の合理
的な手順をあらかじめ定めておき、そのスケジユ
ールシーケンス(Shedule sequence)に従つて
実行することを意味する。第1図はスケジユール
対象の一例を示すブロツク図であつて、1は部品
供給口、2は製品取出口、3a,3b,3c,3
dはそれぞれ加工装置1,2,3,4であるが、
加工装置1(3a)と2(3b)は互に同等な機
能を有する前加工装置であり、加工装置3(3
c)と4(3d)は互に同等な機能を有する後加
工装置である。また4は後加工不用の場合の処理
飛越経路である。部品供給口1に供給された部品
は装置1(3a)又は2(3b)により前加工さ
れた後、装置3(3c)又は装置4(3d)で後
加工されるか又は経路4で後加工を省略されて製
品取出口2に到る。このような場合1から品の3
c,3d,4への振分けにおいてスケジユールが
必要となる。 Scheduling means predetermining a rational procedure for a production process (including processing steps, processing steps, etc.) and executing it according to the schedule sequence. FIG. 1 is a block diagram showing an example of the scheduling target, in which 1 is a parts supply port, 2 is a product outlet, 3a, 3b, 3c, 3
d are processing devices 1, 2, 3, and 4, respectively,
Processing equipment 1 (3a) and 2 (3b) are pre-processing equipment with mutually equivalent functions, and processing equipment 3 (3b) is
c) and 4 (3d) are post-processing devices having mutually equivalent functions. Further, 4 is a processing skip path when no post-processing is required. The parts supplied to the parts supply port 1 are pre-processed by device 1 (3a) or 2 (3b), and then post-processed by device 3 (3c) or device 4 (3d), or post-processed by path 4. is omitted and reaches the product outlet 2. In this case, from 1 to 3
A schedule is required for distribution to c, 3d, and 4.
第2図は従来のスケジユールアルゴリズム
(Schedule algorithm)を示す流れ図で、5,
6,7,8はそれぞれプログラムステツプであ
る。最初にステツプ5で前加工ずみか否かが判断
されNOの時はステツプ6の判断により装置1
(3a)か2(3b)が選択される。但し第2図
に示す例では装置1(3a)と2(3b)が共に
BUSY(作業中で受入禁止状態)になることはな
いとする。ステツプ5でYESのときはステツプ
7で後加工不要か否かが判断されYESであれば
飛越経路4に部分を供給しNOのときはステツプ
8の判断により装置3(3c)か4(3d)が選
択される。但し第2図に示す例では装置3(3
c)と4(3d)が共にBUSYになることはな
いとする。 Figure 2 is a flowchart showing the conventional schedule algorithm.
6, 7, and 8 are program steps, respectively. First, it is determined in step 5 whether or not the material has been pre-processed, and if NO, the device 1 is determined in step 6.
(3a) or 2 (3b) is selected. However, in the example shown in Figure 2, both devices 1 (3a) and 2 (3b)
It is assumed that there will be no BUSY (work in progress and prohibited status). If YES in step 5, it is determined in step 7 whether or not post-processing is necessary. If YES, the part is supplied to the jump path 4, and if NO, the part is sent to device 3 (3c) or 4 (3d) based on the determination in step 8. is selected. However, in the example shown in FIG.
Assume that both c) and 4 (3d) are never BUSY.
従来の装置では、スケジユールは以上のように
実行されるのでスケジユール対象に合つたスケジ
ユールアルゴリズムをあらかじめ作成する必要が
あり、対象が変化した場合にはアルゴリズムを変
更しなければならず、したがつてスケジユール対
象の変化に即応することはできなかつた。また、
従来はスケジユールアルゴリズムを作成するには
非実時間で、静的つまりスケジユーリング以前に
スケジユール対象の情報を予め知ることによりス
ケジユーリングルールをスケジユーリングアルゴ
リズムに人手で変換していた。これらを行うには
スケジユール対象の統計的発生頻度などの情報を
予め知る必要があり、しかも人手による変換作業
に時間がかかる等熟練したプログラマを必要とす
るという欠点があつた。 In conventional devices, scheduling is executed as described above, so it is necessary to create a scheduling algorithm that suits the scheduling target in advance, and if the target changes, the algorithm must be changed, so the scheduling algorithm must be changed in advance. It was not possible to respond immediately to changes in the subject. Also,
Conventionally, scheduling algorithms were created in a non-real-time manner by manually converting scheduling rules into scheduling algorithms statically, that is, by knowing information about the scheduling target in advance before scheduling. In order to do this, it is necessary to know in advance information such as the statistical frequency of occurrence of the scheduling target, and there is also the disadvantage that manual conversion takes time and requires a skilled programmer.
この発明は上記のような従来のものの欠点を除
去するためになされたもので、スケジユール対象
の機能の情報と、スケジユール対象の状態の情報
と、スケジユーリングルールに関する情報とを記
憶しこれら記憶した情報に基づいて、データ処理
装置により推論的にスケジユーリングを行うこと
のできるスケジユーリング装置を提供することを
目的としている。 This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and it is a system that stores information on the functions of the scheduling target, information on the status of the scheduling target, and information on the scheduling rules. It is an object of the present invention to provide a scheduling device that allows a data processing device to perform scheduling speculatively based on information.
以下、この発明の実施例を図面により説明す
る。 Embodiments of the present invention will be described below with reference to the drawings.
第3図はこの発明の一実施例を示すブロツク図
で、9は知識情報を遂次的に適用し計算を進める
推論機構でプログラムメモリとそのプログラムを
読出して実行する処理装置によつて構成され、1
0はスケジユール対象の機能情報、11はスケジ
ユール対象の状態情報、12はスケジユーリング
ルールに関する情報で、10,11,12を総称
して知識情報と称し、知識情報はデータメモリに
格納される。13は入力で状態情報11を更新す
るために入力される。14は出力でスケジユール
結果が出力される。 FIG. 3 is a block diagram showing an embodiment of the present invention, in which numeral 9 denotes an inference mechanism that sequentially applies knowledge information to proceed with calculations, and is composed of a program memory and a processing device that reads and executes the program. ,1
0 is functional information of the scheduling target, 11 is status information of the scheduling target, and 12 is information regarding scheduling rules. 10, 11, and 12 are collectively referred to as knowledge information, and the knowledge information is stored in the data memory. 13 is input and is input to update the status information 11. 14 is an output, and the schedule result is output.
第4図は第3図の推論機構において実行される
プログラムステツプを示す流れ図で、15,1
6,17,18はそれぞれプログラムステツプで
ある。ステツプ15は適用すべきルールの有無を
判定する判断部、ステツプ16はステツプ15で
適用すべきルールがあれば(YES)、そのルール
を推論機構9により計算するルール適用部、ステ
ツプ17は計算が終了した時点での出力の有無を
判定する出力判断部、ステツプ18はステツプ1
7により出力結果(スケジユール結果)があれば
(YES)、それを出力する出力処理部である。な
お、上記ステツプ15で適用すべきルールがなか
つたり、また上記ステツプ17により出力結果が
なければ(NO)となり、もう一度はじめからス
テツプ15において適用すべきルールの有無が判
断される。 FIG. 4 is a flowchart showing the program steps executed in the inference mechanism of FIG.
6, 17, and 18 are program steps, respectively. Step 15 is a judgment unit that determines whether there is a rule to be applied. Step 16 is a rule application unit that calculates the rule by the inference mechanism 9 if there is a rule to be applied in step 15 (YES). Step 17 is a calculation unit that determines whether there is a rule to be applied. The output judgment unit, step 18, which judges whether there is an output at the time of completion, is the step 1.
7, if there is an output result (scheduled result) (YES), it is an output processing unit that outputs it. Incidentally, if there is no rule to be applied in step 15 or if there is no output result in step 17 (NO), the presence or absence of a rule to be applied is determined from the beginning again in step 15.
すなわち、この第4図に示す推論機構のプログ
ラムでは、知識情報10,11,12を実時間で
動的にパターンマツチング処理することによりス
ケジユール結果を計算する。 That is, in the inference mechanism program shown in FIG. 4, the schedule result is calculated by dynamically pattern matching the knowledge information 10, 11, and 12 in real time.
第5図は第3図の機能情報10の一例を示し、
第6図は第3図の状態情報11の一例を示し、第
7図及び第8図はスケジユーリングルールに関す
る情報12の一例を示す。スケジユーリングルー
ルに関する情報12は第7図及び第8図に示すと
おりPREMISE部(条件判定部)の記述と
ACTION部(処理部)の記述とから構成されて
いる。 FIG. 5 shows an example of the functional information 10 in FIG. 3,
FIG. 6 shows an example of the status information 11 in FIG. 3, and FIGS. 7 and 8 show examples of the information 12 regarding scheduling rules. The information 12 regarding the scheduling rules is the description of the PREMISE section (condition judgment section) as shown in FIGS. 7 and 8.
It consists of a description of the ACTION part (processing part).
スケジユール対象が第1図に示すものである場
合、スケジユール対象機能情報10は第5図に示
すとおり装置1〜4の機能及び部品1,2,…の
処理に必要な機能を記述しておけばよい(以下、
説明の便宜のため部品は部品1と部品2だけであ
るとする。)またスケジユール対象状態情報11
は第6図に示すとおり部品1,2の状態、装置1
〜4の状態を記述しておればよい。状態情報はそ
れに対する検出手段(図示せず)を設け入力13
を介して更新し、又は第4図の出力処理部18に
よつて更新する。また、スケジユーリングルール
12は第7図(RULE:1)が、装置1又は2に
部品を供給するルールを、第7図(RULE:2)
が、装置3又は4に供給する部品を決定するルー
ルを、第8図(RULE:3)が、装置3又は4に
部品を供給するルールを、第8図(RULE:4)
で、飛越経路4に部品を供給するルールをそれぞ
れ示している。これらのルールでXは部品、Yは
装置である。 When the scheduling target is shown in FIG. 1, the scheduling target function information 10 should describe the functions of devices 1 to 4 and the functions necessary for processing parts 1, 2, etc. as shown in FIG. Good (hereinafter,
For convenience of explanation, it is assumed that there are only parts 1 and 2. ) Also, schedule target status information 11
are the states of parts 1 and 2 and device 1 as shown in Figure 6.
It is sufficient to describe the states of ~4. The status information is input 13 by providing detection means (not shown) for it.
or by the output processing unit 18 in FIG. In addition, scheduling rule 12 is shown in FIG. 7 (RULE: 1), and the rule for supplying parts to device 1 or 2 is shown in FIG. 7 (RULE: 2).
Figure 8 (RULE: 3) is the rule for determining parts to be supplied to device 3 or 4, and Figure 8 (RULE: 4) is the rule for determining parts to be supplied to device 3 or 4.
The rules for supplying parts to the jumping route 4 are shown respectively. In these rules, X is a component and Y is a device.
推論は第4図のアルゴリズムで実行される。ス
テツプ15で適用すべきルールの有無が判断され
る。(RULE:1)はスケジユール対象状態情報
11の記憶(第6図)を調査すると部品2がXに
適合し、スケジユール対象機能情報10の記憶
(第5図)から装置1,2が前加工装置であつて
また状態情報11の記憶(第6図)から装置1が
NO BUSYであるので(RULE:1)が適用で
きると判断され、ステツプ16によりこの
(RULE:1)が適用されて、「部品2を装置1に
供給する」という処理結果が発生し、ステツプ1
7で出力有りと判定されてステツプ18の出力を
発動し、処理結果「部品2を装置に供給する」を
出力する。すなわち、一般的に言えばこの推論処
理は(AならばB)においてPREMISE Aが与
えられればACTION Bを導くもので、論理学に
おけるmodus ponensに基づく演えき機能を拡張
し機械化したものである。 The inference is performed using the algorithm shown in FIG. In step 15, it is determined whether there are any rules to be applied. (RULE: 1) means that when checking the storage of scheduled status information 11 (Fig. 6), part 2 conforms to X, and from the storage of scheduled function information 10 (Fig. 5), devices 1 and 2 are Also, from the storage of the state information 11 (FIG. 6), the device 1
Since it is NO BUSY, it is determined that (RULE: 1) can be applied, and this (RULE: 1) is applied in step 16, and the processing result of "supplying part 2 to device 1" is generated, and step 1
At step 7, it is determined that there is an output, and the output at step 18 is activated, and the processing result ``supply part 2 to the device'' is output. That is, generally speaking, this inference process derives ACTION B if PREMISE A is given in (if A then B), and is an expanded and mechanized version of the operational function based on modus ponens in logic.
次に(RULE:2)は第6図から部品1が前加
工ずみであり第5図から部品1は後加工必要であ
るから、(RULE:2)が適用できると判断され
「部品1は後加工部品である」という処理結果が
発生して出力され(RULE:3)に渡される。ま
た、(RULE:3)から(RULE:2)を起動す
ることもできる。(RULE:3)のPREMISE部
1、の「Xは後加工部品である」という情報の
「後加工部品」は単なる機能情報でもなければ単
に状態情報でもないので、第5図にも第6図にも
存在しない。(RULE:2)のACTION部が「X
は後加工部品である」という情報を作り出す結果
となつているので(RULE:3)は(RULE:
2)を起動し、(RULE:2)のPREMISE部が
成立すれば、そのACTION部の情報が得られる。
すなわちRULE:3でXは部品1でありYは第5
図、第6図(第6図では装置3,4の状態情報の
記述を図面から省略してあるが「装置3はNO
BUSYである」とする)から装置3であり、「部
品1を装置3に供給する」という処理結果が発生
する。(RULE:4)は第5図、第6図に示す例
ではPREMISE部が成立せずステツプ15の判定
でNOとなる。以上のようにしてこの発明におけ
るスケジユーリングが実行される。 Next, (RULE:2) is determined to be applicable because Part 1 is pre-processed from Fig. 6 and Part 1 requires post-processing from Fig. 5. A processing result "This is a machined part" is generated, output, and passed to (RULE:3). It is also possible to start (RULE:2) from (RULE:3). The "post-processed part" in the information "X is a post-processed part" in the PREMISE part 1 of (RULE: 3) is neither mere functional information nor state information, so it is It doesn't exist either. (RULE:2) ACTION part is “X
is a post-processed part, so (RULE: 3) is (RULE:
2) is activated, and if the PREMISE part of (RULE:2) is established, the information of the ACTION part can be obtained.
In other words, in RULE: 3, X is part 1 and Y is part 5.
Fig. 6 (In Fig. 6, the description of the status information of devices 3 and 4 is omitted from the drawing, but “Device 3 is NO
BUSY), it is device 3, and a processing result of ``supplying component 1 to device 3'' is generated. In the example shown in FIGS. 5 and 6, (RULE: 4) does not satisfy the PREMISE portion and the determination at step 15 is NO. Scheduling in the present invention is performed as described above.
なお、上記実施例では、スケジユーリングルー
ル12がスケジユール対象機能情報10とスケジ
ユール対象状態情報11を参照するとして説明し
たが、機能情報10と状態情報11とが適合する
PREMISE部を有するスケジユーリングルール1
2を呼び出す動作とすることもできる。 In addition, in the above embodiment, the scheduling rule 12 was explained as referring to the scheduling target function information 10 and the scheduling target status information 11, but the function information 10 and the status information 11 are compatible.
Scheduling rule 1 with PREMISE part
2 can also be called.
以上のようにこの発明によれば、スケジユール
システムを構成するのに、スケジユール対象の機
能情報、スケジユール対象の状態情報及びスケジ
ユーリングルールを知識情報として記憶し推論機
構を用いてスケジユーリングを決定しているの
で、スケジユール対象の変化に対しては単に知識
情報を変更するだけで対応することができ、従来
のようにプログラムを変更する必要がなくなる。 As described above, according to the present invention, in order to configure a scheduling system, functional information of a scheduling target, status information of a scheduling target, and scheduling rules are stored as knowledge information, and scheduling is determined using an inference mechanism. Therefore, it is possible to respond to changes in the scheduling target by simply changing the knowledge information, eliminating the need to change the program as in the past.
第1図はスケジユール対象の一例を示すブロツ
ク図、第2図は従来のスケジユールアルゴリズム
を示す流れ図、第3図はこの発明の一実施例を示
すブロツク図、第4図は第3図の推論機構におい
て実行されるプログラムを示す流れ図、第5図は
第3図の機能情報の一例を示す図、第6図は第3
図の状態情報の一例を示す図、第7図及び第8図
はスケジユーリングルールの情報の一例を示す図
である。
9…推論機構、10…スケジユール対象機能情
報、11…スケジユール対象状態情報、12…ス
ケジユーリングルール、13…入力、14…出
力、16…ルールの適用、18…出力処理。な
お、図中同一符号は同一又は相当部分を示す。
Fig. 1 is a block diagram showing an example of a scheduling target, Fig. 2 is a flow chart showing a conventional scheduling algorithm, Fig. 3 is a block diagram showing an embodiment of the present invention, and Fig. 4 is the inference mechanism of Fig. 3. FIG. 5 is a flowchart showing the program executed in FIG. 3, FIG.
FIG. 7 and FIG. 8 are diagrams showing examples of scheduling rule information. 9... Reasoning mechanism, 10... Scheduling target function information, 11... Scheduling target state information, 12... Scheduling rule, 13... Input, 14... Output, 16... Rule application, 18... Output processing. Note that the same reference numerals in the figures indicate the same or equivalent parts.
Claims (1)
段と、上記スケジユール対象の状態を記憶する手
段と、スケジユーリングルールに関する情報を条
件判定部の記述と処理部の記述との関係において
記憶する手段と、上記スケジユーリングルールに
おける条件判定部の記述とスケジユール対象の機
能の情報及び状態の情報の記憶とを実時間で動的
にパターンマツチング処理することにより上記ス
ケジユーリングルールの処理部の記述との関連を
計算する推論機構とを備え、この推論機構の出力
により上記スケジユール対象を制御するようにし
たスケジユーリング装置。1: means for storing information on the function to be scheduled; means for storing the state of the scheduled object; means for storing information regarding the scheduling rule in the relationship between the description of the condition determination unit and the description of the processing unit; By dynamically pattern matching the description of the condition judgment part in the above scheduling rule and the storage of information and status information of the function to be scheduled in real time, the description of the processing part of the above scheduling rule is and an inference mechanism that calculates the relationship between the two, and the scheduling device is configured to control the scheduling target based on the output of the inference mechanism.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57145921A JPS5937033A (en) | 1982-08-21 | 1982-08-21 | Scheduling apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57145921A JPS5937033A (en) | 1982-08-21 | 1982-08-21 | Scheduling apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5937033A JPS5937033A (en) | 1984-02-29 |
| JPH0337201B2 true JPH0337201B2 (en) | 1991-06-04 |
Family
ID=15396156
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57145921A Granted JPS5937033A (en) | 1982-08-21 | 1982-08-21 | Scheduling apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5937033A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61192455A (en) * | 1985-02-19 | 1986-08-27 | Nec Corp | Production system |
| JPS63121907A (en) * | 1986-11-12 | 1988-05-26 | Fujitsu Ltd | Work sequence generator |
| JPH02106257A (en) * | 1988-10-11 | 1990-04-18 | Omron Tateisi Electron Co | Production control system |
-
1982
- 1982-08-21 JP JP57145921A patent/JPS5937033A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5937033A (en) | 1984-02-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2883784B2 (en) | Microcomputer | |
| JPS6325733A (en) | Compiler processing system | |
| JPH0337201B2 (en) | ||
| US6718459B1 (en) | Device and method for arithmetic processing | |
| JPH0619518A (en) | Program calling system | |
| JPH0358277A (en) | Design execution controller | |
| JPH01224842A (en) | Inferential control system for knowledge-based system | |
| JP2921231B2 (en) | Programmable controller | |
| JPH08212083A (en) | Interruption processor | |
| JPS63318605A (en) | Nc part program generating device | |
| JPH0488426A (en) | Program coverage measuring instrument | |
| JPH11288306A (en) | Operating system for programmable controller | |
| JPH0452987B2 (en) | ||
| JPH04112363A (en) | Storage system for condition satisfying element of mask generating instruction | |
| JPH04127328A (en) | Execution control method for system consisting of plural modules | |
| JPH04160644A (en) | Evaluation parameter learning system | |
| JPH01263574A (en) | Test pattern program automatic generation device | |
| JPH06259108A (en) | Target knowledge automatic generation device | |
| JPH0773049A (en) | Program simulator device | |
| JPH10124110A (en) | Computer controller for automatic work processing system | |
| JPS595357A (en) | cause-effect graph execution device | |
| JPH02197903A (en) | Programmable controller | |
| JPS61150043A (en) | Performance evaluation method of program | |
| JPH08263296A (en) | System for preserving and restoring program execution environment | |
| JP2000056991A (en) | Micro computer programmable controller provided with multi-task function and its control method |