JP7474152B2 - Production Planning System - Google Patents

Production Planning System Download PDF

Info

Publication number
JP7474152B2
JP7474152B2 JP2020144034A JP2020144034A JP7474152B2 JP 7474152 B2 JP7474152 B2 JP 7474152B2 JP 2020144034 A JP2020144034 A JP 2020144034A JP 2020144034 A JP2020144034 A JP 2020144034A JP 7474152 B2 JP7474152 B2 JP 7474152B2
Authority
JP
Japan
Prior art keywords
time
equipment
processing
planning system
machines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020144034A
Other languages
Japanese (ja)
Other versions
JP2022039158A5 (en
JP2022039158A (en
Inventor
規生 加納
孝一 加納
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ibiden Co Ltd
Original Assignee
Ibiden Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ibiden Co Ltd filed Critical Ibiden Co Ltd
Priority to JP2020144034A priority Critical patent/JP7474152B2/en
Publication of JP2022039158A publication Critical patent/JP2022039158A/en
Publication of JP2022039158A5 publication Critical patent/JP2022039158A5/ja
Application granted granted Critical
Publication of JP7474152B2 publication Critical patent/JP7474152B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Description

本発明は、生産計画システムに関する。特に、作業者によって運転される複数の設備が、複数の種類の中間製品を一単位ずつ加工する場合の生産計画を組む生産計画システムに関する。 The present invention relates to a production planning system. In particular, it relates to a production planning system that creates production plans for a case in which multiple pieces of equipment operated by workers process multiple types of intermediate products one unit at a time.

物を生産する生産現場において、生産設備と作業者を適切に配置し、生産効率を高めることは、製造原価を下げ、経営を安定化させることに直結し、重要な経営課題である。 At production sites where goods are produced, properly allocating production equipment and workers and increasing production efficiency is directly linked to lowering manufacturing costs and stabilizing management, and is an important management issue.

物作りの方法は、少品種大量生産に適したライン生産方式、多品種少量生産に適したセル生産方式、1人の作業者が同一の機能を有する複数の設備を操作し、取り扱う並列的工程での生産方式などが知られている。少品種大量生産に適したライン生産方式では、中間製品が上工程から下工程に順に流れ、タクトタイムを調整することにより生産量を変動させることができ、生産の計画が組みやすい。これに対し、多品種少量生産に適したフレキシブルなセル生産方式や並列的工程では、一つの製造セルで複数の品種が生産され、さらに、生産される品種が頻繁に変更されるため、製造現場の作業者は、そのための段取り替え作業を頻繁に行う必要がある。現在、セル生産方式や並列的工程での生産方式では、計画作業者の経験や勘に基づいて生産計画が組まれている。このため、効率良く且つ誤りなく製造セルを制御することが求められている。 Known manufacturing methods include line production, which is suitable for small-variety mass production; cell production, which is suitable for large-variety small-volume production; and parallel process production, in which one worker operates and handles multiple pieces of equipment with the same function. In line production, which is suitable for small-variety mass production, intermediate products flow from the upper process to the lower process in sequence, and the production volume can be varied by adjusting the takt time, making it easy to plan production. In contrast, flexible cell production and parallel processes, which are suitable for large-variety small-volume production, produce multiple products in one manufacturing cell, and the products produced are frequently changed, so workers at the manufacturing site must frequently change the setup for this. Currently, in cell production and parallel process production, production plans are made based on the experience and intuition of the planning worker. For this reason, there is a demand for efficient and error-free control of manufacturing cells.

このような課題を解決するため、特許文献1には、製品を製造するための複数の製造機械を有する製造セルと通信する通信装置と、製品の製造に係る製造セル単位の第1製造情報を取得する取得部と、第1製造情報に基づいて複数の製造機械毎の複数の第2製造情報を生成する第1生成部と、複数の第2製造情報を通信装置によって対応する複数の製造機械のそれぞれに送信する送信部と、通信装置を介して複数の製造機械のそれぞれから、第2製造情報に対応する製造機械毎の情報に係る第3製造情報を受信する受信部と、複数の製造機械からの複数の第3製造情報に基づいて製造セル単位の第4製造情報を生成する第2生成部と、第4製造情報を出力する出力部と、を有するセルコントロールシステムが記載されている。 In order to solve such problems, Patent Document 1 describes a cell control system having a communication device that communicates with a manufacturing cell having multiple manufacturing machines for manufacturing products, an acquisition unit that acquires first manufacturing information for each manufacturing cell related to the manufacturing of the product, a first generation unit that generates multiple pieces of second manufacturing information for each of the multiple manufacturing machines based on the first manufacturing information, a transmission unit that transmits the multiple pieces of second manufacturing information to each of the multiple corresponding manufacturing machines via the communication device, a reception unit that receives third manufacturing information related to information for each manufacturing machine corresponding to the second manufacturing information from each of the multiple manufacturing machines via the communication device, a second generation unit that generates fourth manufacturing information for each manufacturing cell based on the multiple pieces of third manufacturing information from the multiple manufacturing machines, and an output unit that outputs the fourth manufacturing information.

特開2017-33525号公報JP 2017-33525 A

しかしながら、特許文献1に記載された発明は、ライン生産方式であって、いつも同じ順序で加工機とロボットを流れていく場合には精度よく生産計画を組むことができるが、作業者が介在する場合、生産計画システムが作業者の作業を把握しにくい。このため、作業者が介在するセル生産方式や並列的な工程の場合に生産計画の精度が低下する恐れがある。 However, the invention described in Patent Document 1 is a line production system, and although it can create accurate production plans when the processing machines and robots always flow in the same order, when workers are involved, it is difficult for the production planning system to grasp the work of the workers. For this reason, there is a risk that the accuracy of the production plan will decrease in the case of cell production systems or parallel processes in which workers are involved.

本発明では、前記課題を鑑み、人が介在するセル生産方式、設備を複数操作する並列的工程において、稼働状況を的確に把握し、精度よく生産計画を組む生産計画システムを提供することを目的とする。 In consideration of the above problems, the present invention aims to provide a production planning system that accurately grasps the operating status and creates accurate production plans in cell production methods with human intervention and parallel processes in which multiple pieces of equipment are operated.

前記課題を解決するための本発明の生産計画システムは、 The production planning system of the present invention, which aims to solve the above problem,

(1)作業者が介在するセル生産方式または設備を複数操作する並列的工程における、作業者によって運転される複数の設備が複数の品種の中間製品を一単位ずつ加工する工程の生産計画を組む生産計画システムであって、
前記中間製品の品種ごとの加工情報および加工数量を入力する入力部と、
複数の前記設備の停止時間と動作時間とを判断する、前記設備に備えられた運転検出センサーと、複数の前記設備において前記中間製品の入れ替えを検出する入替検出センサーと、複数の前記設備において前記作業者が作業中であるか作業待ちであるかを検出する作業検出センサーと、を有する稼働状況分析部と、
同一の前記中間製品の加工を繰り返すときに、前記稼働状況分析部の信号に基づいて、前記停止時間を、前段取り時間、後段取り時間、および作業待ち時間に分割し、品種ごとに、前記前段取り時間、前記動作時間、および前記後段取り時間を1単位として前記中間製品の加工時間を示す標準加工時間を得るとともに、前記複数の設備間で調整し前記加工数量を割り付ける演算部と、
前記演算部の割り付け結果に基づいて、各設備に加工指示を出す出力部と、
を有することを特徴とする生産計画システムである。
(1) A production planning system that creates a production plan for a process in which a plurality of pieces of equipment operated by workers process a plurality of intermediate products one unit at a time in a cell production system in which workers are involved or a parallel process in which a plurality of pieces of equipment are operated, the system comprising:
an input unit for inputting processing information and processing quantity for each type of the intermediate product;
an operating status analysis unit including: an operation detection sensor provided in each of the plurality of pieces of equipment, which determines a stop time and an operating time of the plurality of pieces of equipment; a replacement detection sensor which detects a replacement of the intermediate products in the plurality of pieces of equipment; and an operation detection sensor which detects whether the worker is working or waiting for work in the plurality of pieces of equipment;
a calculation unit which divides the downtime into pre-setup time, post-setup time, and work waiting time based on a signal from the operation status analysis unit when the processing of the same intermediate product is repeated, obtains a standard processing time indicating the processing time of the intermediate product for each type of product by using the pre-setup time, the operation time, and the post-setup time as one unit, and adjusts between the plurality of facilities to allocate the processing quantities;
an output unit that issues processing instructions to each piece of equipment based on the allocation result of the calculation unit;
The production planning system is characterized by having the following features.

本発明によれば、運転検出センサーで検出した設備の停止の時間を作業者の前段取り時間、後段取り時間、および作業待ち時間に分け、前段取り作業、設備の動作、後段取り作業を1単位としてそれに要する標準加工時間を算出することで、作業待ち時間が排除され、加工情報ごとに精度の高い標準加工時間を得ているので、加工する中間製品を適切に割り付けることができる。 According to the present invention, the equipment stop time detected by the operation detection sensor is divided into pre-setup time, post-setup time, and waiting time for work by the worker, and the pre-setup work, equipment operation, and post-setup work are treated as one unit and the standard processing time required for them is calculated. This eliminates waiting time and obtains a highly accurate standard processing time for each processing information, making it possible to appropriately allocate intermediate products to be processed.

また本発明は、以下の態様であることが好ましい。 The present invention also preferably has the following aspects:

(2)前記生産計画システムの演算部は、さらに、加工する前記中間製品の品種が切り替わるときに、前記停止時間の中から品種切替時間を抽出して標準品種切替時間を得るとともに、前記標準加工時間および前記標準品種切替時間に基づいて、前記複数の設備間で調整し前記加工数量を割り付ける。 (2) The calculation unit of the production planning system further extracts a product type changeover time from the stop time to obtain a standard product type changeover time when the product type of the intermediate product being processed is changed, and adjusts and allocates the processing quantity between the multiple pieces of equipment based on the standard processing time and the standard product type changeover time.

(3)前記運転検出センサーは、前記設備に備えられた表示灯の点灯を検出するセンサーである。 (3) The operation detection sensor is a sensor that detects the lighting of an indicator light provided on the equipment.

(4)前記作業検出センサーは、前記設備の前に備えられており、前記作業者が作業しているか否かを判断する人感センサーである。 (4) The work detection sensor is a human presence sensor that is provided in front of the equipment and determines whether the worker is working.

(5)前記作業検出センサーは、前記設備に備えられており、前記作業者が作業しているか否かを判断する安全装置のセンサーである。 (5) The work detection sensor is a safety device sensor that is provided on the equipment and determines whether the worker is working.

(6)前記入替検出センサーは、中間製品とともに工程に流される識別データ若しくは前記設備に送られる加工データの入れ替えタイミングを読み取る読み取り機である。 (6) The replacement detection sensor is a reader that reads the replacement timing of the identification data sent to the process together with the intermediate product or the processing data sent to the equipment.

(7)前記稼働状況分析部は、作業者を識別する作業者識別部を有し、前記演算部では、作業者ごとに標準加工時間を算出する。 (7) The operation status analysis unit has a worker identification unit that identifies the worker, and the calculation unit calculates the standard processing time for each worker.

(8)前記生産計画システムは、生産実績に基づいて、残りの加工する中間製品の再割り付けを繰り返す。 (8) The production planning system repeatedly reallocates the remaining intermediate products to be processed based on production results.

(9)前記演算部は、前記入力部および前記稼働状況分析部の情報に基づいて生産数量を予測するシミュレーターを有し、前記演算部では、前記シミュレーターの結果をもとに加工する中間製品の割り付けを行う。 (9) The calculation unit has a simulator that predicts the production quantity based on information from the input unit and the operation status analysis unit, and the calculation unit allocates intermediate products to be processed based on the results of the simulator.

(10)前記演算部は、強化学習を行う学習部を有する。 (10) The calculation unit has a learning unit that performs reinforcement learning.

(11)前記演算部では、前記加工数量の完了に要する時間を報酬とするQ学習を用いて強化学習を行う。 (11) The calculation unit performs reinforcement learning using Q-learning, in which the reward is the time required to complete the processing quantity.

(12)前記設備は、加工機、ロボット、PLC、搬送機、計測器、試験装置、プレス機、圧入器、印刷機、ダイカストマシン、射出成型機、食品機械、包装機、溶接機、洗浄機、塗装機、組立装置、実装機、木工機械、シーリング装置、および切断機からなる群から選択される一または複数の装置を含む。 (12) The equipment includes one or more devices selected from the group consisting of processing machines, robots, PLCs, conveyors, measuring instruments, test equipment, presses, presses, printing machines, die-casting machines, injection molding machines, food processing machines, packaging machines, welding machines, cleaning machines, painting machines, assembly machines, mounting machines, woodworking machines, sealing devices, and cutting machines.

本発明によれば、運転検出センサーで検出した設備の停止の時間を作業者の前段取り時間、後段取り時間、および作業待ち時間に分け、前段取り時間、動作時間、後段取り時間を1単位として標準加工時間を算出することで、作業待ち時間が排除された、加工情報ごとに精度の高い標準加工時間を得ている。この結果、加工する中間製品を適切に割り付けることができ、作業効率を改善して、より短時間で多くの製品を生産することができる。その結果、設備稼働率の向上と、労働生産性の向上に寄与することができる。 According to the present invention, the equipment stop time detected by the operation detection sensor is divided into pre-setup time, post-setup time, and waiting time for work by the worker, and the pre-setup time, operation time, and post-setup time are used as one unit to calculate the standard processing time, thereby obtaining a highly accurate standard processing time for each processing information item, with the waiting time eliminated. As a result, the intermediate products to be processed can be appropriately allocated, improving work efficiency and enabling more products to be produced in a shorter time. This can contribute to improving equipment operating rates and labor productivity.

また、本発明によれば、バッチプロセスの前の工程である場合など、中間製品を時間内に加工しさえすればよく、作業者に自由度が大きい場合であっても、適切に生産情報を入手して効率よく生産計画を組むことができる。 In addition, according to the present invention, even in cases where the intermediate product only needs to be processed within a certain time frame, such as in the case of a process prior to a batch process, and workers have a great deal of freedom, it is possible to obtain appropriate production information and make efficient production plans.

さらに、生産計画システムの演算部が、加工する中間製品の品種が切り替わるときの標準品種切替時間を得て、標準加工時間および標準品種切替時間に基づいて、設備に加工数量を割り付けることで、特に、金型、刃物の交換、原点出し、洗浄など、品種の切り替えに付随する作業時間が長い場合に、割り付けの精度を高めることができる。 Furthermore, the calculation unit of the production planning system obtains the standard product type changeover time when the product type of the intermediate product being processed is changed, and allocates the processing quantity to the equipment based on the standard processing time and the standard product type changeover time, thereby improving the accuracy of allocation, especially when the work time associated with product type changeover is long, such as changing dies and blades, returning to the starting point, and cleaning.

運転検出センサーを、設備に備えられた表示灯の点灯を検出するセンサーとすることにより、特に改造など加えることなく設備から容易に運転情報を入手することができる。 By using an operation detection sensor that detects the illumination of an indicator light installed on the equipment, operation information can be easily obtained from the equipment without any special modifications.

作業検出センサーを人感センサーとすることにより、作業者がどの装置に関わる作業を行っているのかを容易に判断することができる。 By using a human presence sensor as the task detection sensor, it is easy to determine which device the worker is working on.

作業検出センサーを安全装置のセンサーとすることにより、作業者が安全装置を解除して、前段取り、後段取り、および品種切替のいずれかの作業を行っている場合に、作業者がどの設備の作業中であるかを容易に判断することができる。 By using the operation detection sensor as a safety device sensor, when an operator releases the safety device and is performing pre-setup, post-setup, or product type changeover, it is possible to easily determine which equipment the operator is working on.

入替検出センサーを、中間製品とともに工程に流される識別データ、若しくは設備に送られる加工データの入れ替えタイミングを読み取る読み取り機とすることにより、中間製品とともに作業指示書などが流される場合には、作業指示書に書かれた識別記号を読み取ってどの中間製品を加工しているか識別することができる。また、加工する中間製品の加工プログラムがネットワークから送られてくる場合には、加工プログラムの書き込みをもって品種の切り替えと判断することができる。 By making the changeover detection sensor a reader that reads the identification data sent to the process together with the intermediate product, or the timing of changing the processing data sent to the equipment, when work instructions are sent together with the intermediate product, it is possible to read the identification code written on the work instructions to identify which intermediate product is being processed. Also, when the processing program for the intermediate product to be processed is sent over the network, it is possible to determine that the type is being changed based on the writing of the processing program.

稼働状況分析部が、作業者を識別する作業者識別部を有し、演算部では、作業者ごとに標準加工時間を算出することにより、複数の作業者が存在する場合に、作業者を識別することで、作業者ごとの前段取り時間、後段取り時間、品種切替時間を特定することができる。また、作業者によって作業効率に差がある場合、割り付けの精度を高めることができる。 The operation status analysis unit has a worker identification unit that identifies the worker, and the calculation unit calculates the standard processing time for each worker, so that when there are multiple workers, the pre-setup time, post-setup time, and product type changeover time for each worker can be determined by identifying the workers. Furthermore, when there are differences in work efficiency between workers, the accuracy of allocation can be improved.

生産計画システムが、生産実績に基づいて、残りの、将来加工する中間製品の再割り付けを繰り返すことにより、設備の稼働スタート時だけでなく、途中段階でも再割り付けを行って、突発の故障や割込みがあった際にも、適切に生産計画を修正することができる。 The production planning system repeatedly reallocates the remaining intermediate products to be processed in the future based on production results, allowing reallocation not only at the start of equipment operation but also during the process, making it possible to appropriately revise the production plan even in the event of a sudden breakdown or interruption.

演算部が、入力部および稼働状況分析部の情報に基づいて生産数量を予測するシミュレーターを有し、演算部では、シミュレーターの結果をもとに加工する、中間製品の割り付けを行う。演算部が、シミュレーターを有することで、簡単なアルゴリズムで精度の高い生産計画を組むことができる。演算部が、強化学習を行う学習部を有することによって、演算のスピードを速くすることができる。 The calculation unit has a simulator that predicts production quantities based on information from the input unit and the operation status analysis unit, and the calculation unit allocates intermediate products to be processed based on the results of the simulator. By having the calculation unit have a simulator, it is possible to create highly accurate production plans using simple algorithms. By having the calculation unit have a learning unit that performs reinforcement learning, it is possible to increase the speed of calculations.

演算部が、加工数量の完了に要する時間を報酬とするQ学習を用いて強化学習を行い、Q学習で加工数量の完了に要する時間を報酬とすることにより、加工の完了時間をより早くするよう効率よく割り付けすることができる。 The calculation unit performs reinforcement learning using Q-learning, which uses the time required to complete a processing quantity as a reward, and by using the time required to complete a processing quantity as a reward in Q-learning, it is possible to efficiently allocate tasks to complete the processing time more quickly.

設備が、加工機、ロボット、PLC、搬送機、計測器、試験装置、プレス機、圧入器、印刷機、ダイカストマシン、射出成型機、食品機械、包装機、溶接機、洗浄機、塗装機、組立装置、実装機、木工機械、シーリング装置、および切断機からなる群から選択される一または複数の装置を含む場合、これらの装置に生産計画システムを適用させることにより、設備を用いた工程の生産計画を効率よく適切に組むことができる。 When the equipment includes one or more devices selected from the group consisting of processing machines, robots, PLCs, conveyors, measuring instruments, test equipment, presses, presses, printing machines, die-casting machines, injection molding machines, food machinery, packaging machines, welding machines, cleaning machines, painting machines, assembly equipment, mounting machines, woodworking machines, sealing equipment, and cutting machines, by applying a production planning system to these devices, it is possible to efficiently and appropriately create production plans for processes using the equipment.

図1は、本発明に係る実施の形態1の生産計画システムの構成を模式的に示す図である。FIG. 1 is a diagram illustrating a schematic configuration of a production planning system according to a first embodiment of the present invention. 図2は、実施の形態1における稼働状況分析部とシミュレーターが実行する処理を、タイムチャートとして説明する図である。FIG. 2 is a diagram illustrating, in the form of a time chart, the processes executed by the operation status analyzer and the simulator in the first embodiment. 図3は、実施の形態1において作業者がどの機械の操作を優先するか判断するアルゴリズムを示す。FIG. 3 shows an algorithm for determining which machine operation the worker should give priority to in the first embodiment. 図4は、中間製品を各加工機に割り付ける組み合わせの数を算出する考え方を示す模式図である。FIG. 4 is a schematic diagram showing a method for calculating the number of combinations for allocating intermediate products to each processing machine. 図5は、本発明に係る実施の形態2において学習の進め方を示す説明図である。FIG. 5 is an explanatory diagram showing how learning proceeds in the second embodiment according to the present invention.

以下、本発明の実施の形態について説明する。
本発明の生産計画システムは、作業者によって運転される複数の設備が複数の品種の中間製品を1単位ずつ加工する工程の生産計画を組む生産計画システムであって、
中間製品の品種ごとの加工情報および加工数量を入力する入力部と、
複数の設備の停止時間と動作時間とを判断する、設備に備えられた運転検出センサーと、複数の設備において中間製品の入れ替えを検出する入替検出センサーと、複数の設備において作業者が作業中であるか作業待ちであるかを検出する作業検出センサーと、を有する稼働状況分析部と、
同一の中間製品の加工を繰り返すときに、稼働状況分析部の信号に基づいて、停止時間を、前段取り時間、後段取り時間、および作業待ち時間に分割し、品種ごとに、前段取り時間、動作時間、および後段取り時間を1単位とした、中間製品の加工時間を示す標準加工時間を得るとともに、前記複数の設備間で調整し前記加工数量を割り付ける演算部と、
前記演算部の割り付け結果に基づいて、各設備に加工指示を出す出力部と、
を有する。
Hereinafter, an embodiment of the present invention will be described.
The production planning system of the present invention is a production planning system that makes a production plan for a process in which a plurality of pieces of intermediate products are processed one unit at a time by a plurality of pieces of equipment operated by workers,
an input section for inputting processing information and processing quantity for each type of intermediate product;
an operating status analysis unit having an operation detection sensor provided in the equipment for determining the stop time and operation time of the plurality of pieces of equipment, a replacement detection sensor for detecting replacement of intermediate products in the plurality of pieces of equipment, and an operation detection sensor for detecting whether an operator is working or waiting for work in the plurality of pieces of equipment;
a calculation unit which divides downtime into pre-setup time, post-setup time, and work waiting time based on a signal from the operation status analysis unit when the processing of the same intermediate product is repeated, obtains a standard processing time indicating the processing time of the intermediate product for each type, with the pre-setup time, operation time, and post-setup time being taken as one unit, and adjusts between the plurality of facilities to allocate the processing quantities;
an output unit that issues processing instructions to each piece of equipment based on the allocation result of the calculation unit;
has.

本発明において、「作業者によって運転される複数の設備が中間製品を1単位ずつ加工する工程」とは、前段取り作業と、装置が自動で動作する中間製品の加工作業と、後段取り作業とを1単位の標準作業とする工程のことである。そして、1単位の標準作業を完了するために要する時間を標準加工時間と称する。ここで、前段取り作業とは、設備が停止した状態で、中間製品である対象物を作業者が手作業で設備にセットする作業である。また、後段取り作業とは、設備が停止した状態で、作業者が設備から中間製品を手作業で取り外す作業のことである。そして、1回の前段取り作業を行う時間が前段取り時間であり、1回の後段取り作業を行う時間が後段取り時間である。 In the present invention, "a process in which multiple pieces of equipment operated by workers process intermediate products one unit at a time" refers to a process in which one unit of standard work is made up of pre-setup work, automatic processing of the intermediate products by equipment, and post-setup work. The time required to complete one unit of standard work is called the standard processing time. Here, pre-setup work is work in which an operator manually sets an object, which is an intermediate product, in the equipment while the equipment is stopped. Also, post-setup work is work in which an operator manually removes the intermediate product from the equipment while the equipment is stopped. The time it takes to perform one pre-setup work is the pre-setup time, and the time it takes to perform one post-setup work is the post-setup time.

本発明の生産計画システムの実施形態をより具体的に説明することを目的として、図面及び以下の説明では、複数の設備Mのそれぞれに、符号M、M、M・・・Mを付して識別している。また、複数の種類の中間製品Pに対して品種ごとに符号P、P、P・・・Pを付して識別し、中間製品Pの品種ごとに定められた加工数量を符号Q、Q、Q,・・Qで表している。つまり、品種ごとの加工数量は、表1に示すように、同一の添字を付して対応させている。 For the purpose of more specifically explaining the embodiment of the production planning system of the present invention, in the drawings and the following description, each of the multiple facilities M is identified by the reference characters M1 , M2 , M3 , ... Mm . Furthermore, the multiple types of intermediate products P are identified by the reference characters P1 , P2 , P3 , ... Pn for each type, and the processing quantities determined for each type of intermediate product P are represented by the reference characters Q1 , Q2 , Q3 , ... Qn . In other words, the processing quantities for each type are associated with each other by being given the same subscript, as shown in Table 1.

Figure 0007474152000001
Figure 0007474152000001

生産計画の作成のプロセスは、複数の設備(M,M,M・・・M)を用い、複数の品種(P,P,P・・・P)をそれぞれ所定の個数ずつ(Q,Q,Q,・・Q)製造するために要する合計時間が最も短くなるように、設備ごとに最適な加工順序を生産計画システムが設定する。具体的には、設備ごとに、例えばMではP、P、P、P、P・・・、Mでは、P、P、P、P、P・・・などのような順序で生産する生産計画を立てる。 In the process of creating a production plan, the production planning system sets an optimal processing sequence for each piece of equipment ( M1 , M2 , M3 , ... Mm ) so that the total time required to manufacture a predetermined number of pieces (Q1, Q2 , Q3 , ... Qn ) of each of a plurality of varieties ( P1 , P2 , P3 ... Pn ) using a plurality of pieces of equipment ( M1 , M2 , M3 ... Mm ) is minimized. Specifically, a production plan is created for each piece of equipment, for example, in the order P1 , P1 , P1, P2 , P2 ... for M1 , and P3 , P3 , P2 , P2 , P2 ... for M2.

なお、以下に於いては、中間製品の加工数量の総和を、Qtotal(=Q+Q+Q・・・+Q)で表す。 In the following, the total amount of processed intermediate products is represented as Q total (=Q 1 +Q 2 +Q 3 . . . +Q n ).

稼働状況分析部が算出する前段取り時間、動作時間、後段取り時間は、品種ごとの実際の1単位の作業工程をセンサーによって検出し、それぞれの作業に要する時間を測定して得られる時間である。本明細書では、表2のように品種ごとのそれぞれの作業に対応した時間に、変数を設定して説明する。なお、品種切替時間の前の添字と後の添字は、それぞれが切替前の品種と切替後の品種に対応する。また、動作時間のことを、設備が自動で動作して実際に中間製品を加工している正味時間との意味で、特に「正味加工時間」と特定して記載することもある。 The pre-setup time, operation time, and post-setup time calculated by the operation status analysis unit are obtained by detecting one actual unit of work process for each product type using a sensor and measuring the time required for each task. In this specification, variables are set for the time corresponding to each task for each product type, as shown in Table 2. Note that the subscripts before and after the product type changeover time correspond to the product type before and after the changeover, respectively. Also, the operation time is sometimes specifically described as "net processing time," meaning the net time during which the equipment is automatically operating and actually processing the intermediate product.

Figure 0007474152000002
Figure 0007474152000002

品種Pkの前段取り時間はTprek、正味加工時間はTnetk、後段取り時間はTpostkで示され、品種iから品種jへの切り替えに要する品種切替時間はTswijで示される。なおi=jの時(品種切替が生じない時)は、Tswij=0である。 The pre-setup time for product type Pk is indicated by Tprek, the net processing time by Tnetk, and the post-setup time by Tpostk, and the product switching time required to switch from product type i to product type j is indicated by Tswij. Note that when i=j (when product switching does not occur), Tswij=0.

本発明において、前段取り時間、動作時間、および後段取り時間の和である標準加工時間の正確な値を得るために、複数のデータを蓄積し平均をとることが好ましい。同様に、標準品種切替時間の正確な値を得るために、切替のデータを蓄積し、精度を高めることが好ましい。 In the present invention, in order to obtain an accurate value of the standard processing time, which is the sum of pre-setup time, operation time, and post-setup time, it is preferable to accumulate multiple data and take an average. Similarly, in order to obtain an accurate value of the standard product type switching time, it is preferable to accumulate switching data and improve accuracy.

前段取り時間と後段取り時間は、いずれも作業者が当該設備に関する作業を行っている時間のみをカウントし、他の装置の作業を行っている時間はカウントしない。設備の停止時間の中の前段取り時間と後段取り時間の検出は、作業者が作業している設備を検出する作業検出センサーによって実施することができる。 For both pre-setup and post-setup time, only the time the worker is working on the equipment in question is counted, and the time spent working on other equipment is not counted. Pre-setup and post-setup time during equipment downtime can be detected by a work detection sensor that detects the equipment the worker is working on.

品種切替時間は、1単位の標準作業が完了した後、作業者が設備に対して異なる品種の加工を行うために新たに必要となった作業時間のことである。品種切替時間は、設備が停止していて、且つ作業者が停止している設備に対して作業を行っている時間から、通常の後段取り時間と、前段取時間とを減じることで特定することができる。標準品種切替時間は、品種切替時間は、品種切り替え時間を複数測定し、平均値をとって得ることができる。あるいは、設備を停止した状態で、品種の切替作業のみを模擬的に行って、標準時間を正確に測定することができる。
なお、品種切替時間が生じない中間製品を加工する場合には、品種切替時間を考慮することなく適用することができる。
The product type changeover time is the new work time required for an operator to process a different product type on equipment after one unit of standard work is completed. The product type changeover time can be determined by subtracting the normal post-setup time and pre-setup time from the time when the equipment is stopped and the operator is working on the stopped equipment. The standard product type changeover time can be obtained by measuring the product type changeover time multiple times and taking the average value. Alternatively, the standard time can be accurately measured by simulating only the product type changeover work while the equipment is stopped.
In addition, when processing intermediate products that do not require a product type changeover time, the present invention can be applied without taking the product type changeover time into consideration.

作業待ち時間とは、設備が休止していることが運転検出センサーによって検出されており、且つ、作業検出センサーによってその装置で作業している作業者がいない時間のことである。すなわち、設備が動作可能であるにも拘わらず、休止している時間を指す。 Work waiting time is the time during which the operation detection sensor detects that the equipment is idle, and the work detection sensor detects that no worker is working on the equipment. In other words, it refers to the time during which the equipment is idle, even though it is operational.

品種ごとの前段取り時間、動作時間、後段取り時間は、設備ごとに中間製品の品種と加工数量を割り当てる生産計画を作成する都度、取得してもよい。あるいは、長期間にわたって取得し、その値を内部記憶装置または外部記憶装置に保存しておいてもよい。長期のデータを使用することによりデータの信頼性を高めることができる。 The pre-setup time, operation time, and post-setup time for each type may be obtained each time a production plan is created that assigns the type and processing quantity of intermediate products to each piece of equipment. Alternatively, the data may be obtained over a long period of time and the values may be stored in an internal or external storage device. Using long-term data can increase the reliability of the data.

また、標準加工時間は、作業者を識別して取得してもよいし、識別しなくてもよい。作業者によって習熟度の差が標準加工時間に影響を及ぼす場合は、誤差要因となるので識別すること望ましいが、影響が少ない場合作業者ごとにデータを取得しない方が、生産計画の作成が容易になる。 The standard processing time may be obtained by identifying the worker, or it may not be necessary to identify the worker. If differences in proficiency between workers affect the standard processing time, it is desirable to identify them as this will become a source of error, but if the effect is small, it will be easier to create a production plan if data is not obtained for each worker.

以下、標準加工時間及び標準品種切替時間のデータを用いて生産計画を組む本発明の生産計画システムの実施の形態1と実施の形態2について、図面を参照しつつ、より詳細に説明する。 Below, we will explain in more detail, with reference to the drawings, embodiments 1 and 2 of the production planning system of the present invention, which creates production plans using data on standard processing times and standard product type changeover times.

<実施の形態1>
図1は、本実施の形態1の生産計画システムの構成を模式的に示す図である。図1に基づいて実施の形態1の生産計画システム1を説明する。
<First embodiment>
Fig. 1 is a diagram showing a schematic configuration of a production planning system according to the present embodiment 1. The production planning system 1 according to the present embodiment 1 will be described with reference to Fig. 1.

実施の形態1の生産計画システム1は、1人の作業者100が、3台の設備M、M、Mを操作して、複数の種類の中間製品を加工する場合について、最適な中間製品の加工順序の割り付けを行う生産計画システムの一例である。本実施の形態における設備M、M、Mは、一度に1つの中間製品を加工することのできる、同一の性能を有する加工機である。 The production planning system 1 of the first embodiment is an example of a production planning system that allocates an optimal processing sequence for intermediate products when one worker 100 processes multiple types of intermediate products by operating three pieces of equipment M1 , M2 , and M3 . The equipment M1 , M2 , and M3 in this embodiment are processing machines having the same performance and capable of processing one intermediate product at a time.

本実施の形態では、加工前の中間製品51はそれぞれ1個ずつ加工指示書41とともにトレー61に載せられてストックされている。加工前の中間製品51は1日分の加工数量が準備されている。また、加工後の中間製品は、加工前と同様に、それぞれ1個ずつ加工指示書とともにトレーに載せられてストックされる。加工後の中間製品は、1日分の加工数量が集まった段階で1ロットにまとめられ、次のバッチプロセスに送られる。このため、中間製品の加工順序に特に制限はなく、どのような順でも加工することができる。 In this embodiment, the unprocessed intermediate products 51 are stored one by one on a tray 61 together with a processing instruction sheet 41. A day's worth of processing quantity of unprocessed intermediate products 51 is prepared. Similarly to the unprocessed intermediate products, the processed intermediate products are stored one by one on a tray together with a processing instruction sheet. When a day's worth of processing quantity of processed intermediate products has been collected, they are combined into one lot and sent to the next batch process. For this reason, there are no particular restrictions on the processing order of the intermediate products, and they can be processed in any order.

本実施の形態では、中間製品51を加工する際は、中間製品51をトレー61ごと各設備に備えられた専用台に載置する。専用台は入替検出センサー3を備えており、どの中間製品51の加工を行っているかを検出している。入替検出センサー3には、たとえば、加工指示書41のバーコード、2次元コード等の読み取り機や、またトレー61の無線タグとの通信が可能な通信機などを適用することができる。なお、加工が終わった中間製品51はトレー61に戻され、トレー61ごと交換されるので、トレー61の交換の時をもって中間製品51の入れ替えが行われたと判断することができる。 In this embodiment, when the intermediate products 51 are processed, the intermediate products 51 are placed on a dedicated table provided for each piece of equipment together with the tray 61. The dedicated table is equipped with a replacement detection sensor 3, which detects which intermediate product 51 is being processed. The replacement detection sensor 3 can be, for example, a reader for the barcode or two-dimensional code on the processing instruction sheet 41, or a communication device capable of communicating with the wireless tag on the tray 61. After processing, the intermediate products 51 are returned to the tray 61 and replaced together with the tray 61, so that it can be determined that the intermediate products 51 have been replaced when the tray 61 is replaced.

なお、入替検出センサー3の構成は特に限定されない。コードの読み取り装置や無線タグとの通信装置に限らず、設備にセットされた中間製品51の画像認識装置などであってもよく、その他どのような装置を適用してもよい。 The configuration of the replacement detection sensor 3 is not particularly limited. It is not limited to a code reading device or a device for communicating with a wireless tag, but may be an image recognition device for the intermediate product 51 set in the equipment, or any other device may be applied.

3台の設備M,M,Mの前には、それぞれ、作業検出センサー4としての感圧センサーが敷かれている。感圧センサーは、設備M,M,Mの停止中に作業者100が上に載ったときだけ信号を出力し、作業者100がどの設備に関する作業を行っているか判別する。また、作業者100が一時的に短時間載った場合、作業検出センサー4は、フィルター処理によって信号を出力しない。作業検出センサー4としては、感圧センサーに限らず、赤外線センサー、レーダー、距離計など作業者100の存在や動きを感知するセンサーが適用可能である。そのほかにも、カメラで常時撮影し、画像認識によって作業者100がどの設備の作業をしているかを把握するカメラと画像処理装置を、作業検出センサー4として用いることもできる。 In front of each of the three pieces of equipment M1 , M2 , and M3 , a pressure sensor is laid as a work detection sensor 4. The pressure sensor outputs a signal only when the worker 100 stands on the equipment M1 , M2, and M3 while the equipment M1, M2 , and M3 are stopped, and determines which piece of equipment the worker 100 is working on. If the worker 100 stands on the equipment for a short time, the work detection sensor 4 does not output a signal by filtering. The work detection sensor 4 is not limited to a pressure sensor, and any sensor that detects the presence or movement of the worker 100, such as an infrared sensor, a radar, or a range finder, can be used. In addition, a camera and an image processing device that constantly takes pictures with a camera and uses image recognition to determine which piece of equipment the worker 100 is working on, can also be used as the work detection sensor 4.

3台の設備M、M、Mは、それぞれが、運転と停止を表示する表示灯22を備えている。それぞれの表示灯22と対となるように、表示灯22の横に光センサーからなる運転検出センサー21が配置されており、設備の運転状態を検出している。運転検出センサー21の形態は、光センサーに限定されない。たとえば、表示灯の電源を適切な電圧となるよう分圧し、直接、それぞれの装置の稼働状況分析部11、12、13に接続して電圧値を入力することにより運転検出センサー21として機能させてもよい。 Each of the three pieces of equipment M1 , M2 , and M3 is equipped with an indicator light 22 that indicates whether the equipment is running or stopped. An operation detection sensor 21 consisting of an optical sensor is arranged next to each indicator light 22 so as to be paired with the indicator light 22, and detects the operation state of the equipment. The form of the operation detection sensor 21 is not limited to an optical sensor. For example, the power supply of the indicator light may be divided to provide an appropriate voltage, and the voltage value may be input directly to the operation status analysis units 11, 12, and 13 of the respective devices to function as the operation detection sensor 21.

本実施の形態においては、それぞれの設備M、M、Mに接続されているPLC(Programmable Logic Controller)が、各設備のセンサーの信号を集約する稼働状況分析部11,12,13として機能する。稼働状況分析部11、12、13は、無線を通して、演算部となるコンピューター2に設備M、M、Mの稼働状態を示す信号を送っている。 In this embodiment, PLCs (Programmable Logic Controllers) connected to the equipment M1 , M2 , and M3 function as operation status analysis units 11, 12, and 13 that aggregate signals from sensors of each equipment. The operation status analysis units 11, 12, and 13 wirelessly send signals indicating the operation status of the equipment M1 , M2 , and M3 to a computer 2 that serves as a calculation unit.

コンピューター2とPLCは一体的に運用されるため、コンピューター2とPLCの両方が、稼働状況分析部の機能を分散して受け持つ構成とすることができる。また、コンピューター2が演算部と稼働状況分析部の両方を兼ねており、各センサーがコンピューター2に直接接続されて、必要とされる処理を行っても良い。 Because the computer 2 and the PLC are operated as an integrated unit, both the computer 2 and the PLC can be configured to handle distributed functions of the operation status analysis unit. Also, the computer 2 may function as both the calculation unit and the operation status analysis unit, and each sensor may be directly connected to the computer 2 to perform the required processing.

コンピューター2には、出力部と入力部を兼ねるタッチパネル5がつながっている。タッチパネル5からは、その日の加工予定の中間製品の種類、数量が入力される。なお、入力部は、手作業による入力を受け付けるものに限定されず、信号を入力する通信ケーブル、無線を経由したデジタル情報を演算部に送るインターフェースボードであってもよい。 A touch panel 5 that serves as both an output unit and an input unit is connected to the computer 2. The type and quantity of intermediate products to be processed that day are input from the touch panel 5. Note that the input unit is not limited to one that accepts manual input, but may be a communication cable that inputs signals, or an interface board that sends digital information wirelessly to the calculation unit.

また、タッチパネル5は、コンピューター2の演算部による演算処理で得られた、各設備の中間製品51の加工順序を順に表示する。それぞれの設備が加工する直近の中間製品51については、各設備M、M、MのPLCにつながるモニター42に表示されるようになっており、作業者100は、次に加工する中間製品51の指示を的確に受け取ることができる。また、各設備M、M、Mは、PLCからの命令に従って、次の作業に必要なトレー61を順次送り出す機構を備えていてもよい。 The touch panel 5 also sequentially displays the processing order of the intermediate products 51 in each piece of equipment, which is obtained by the calculation process performed by the calculation unit of the computer 2. The intermediate products 51 that will be processed in the nearest step by each piece of equipment are displayed on the monitors 42 connected to the PLC of each piece of equipment M1 , M2 , M3 , so that the worker 100 can accurately receive instructions on the intermediate products 51 to be processed next. Each piece of equipment M1 , M2 , M3 may also be provided with a mechanism for sequentially sending out trays 61 required for the next job according to a command from the PLC.

次に、本実施の形態の生産計画システムのシミュレーターが実行する、中間製品51を各設備M、M、Mに割り付けてPLCに命令する処理について説明する。 Next, a process executed by the simulator of the production planning system of this embodiment to allocate the intermediate product 51 to each of the facilities M 1 , M 2 , and M 3 and issue a command to the PLC will be described.

本実施の形態では、機械学習によって生産計画が指示されるのではなく、一定のルールに従って、演算部のシミュレーターですべての組み合わせについてシミュレーションを行い、最も加工時間が短くなる加工順序を選定し、指示を送る。 In this embodiment, the production plan is not instructed by machine learning, but rather, the simulator in the calculation unit runs simulations for all combinations according to certain rules, selects the processing order that will minimize the processing time, and sends instructions.

本実施形態のシミュレーターによるシミュレーションの処理について説明する。図3は、作業者の行動を指示するためにシミュレーターが実行するアルゴリズムの一例を示すフローチャートである。 The simulation process performed by the simulator of this embodiment will now be described. Figure 3 is a flowchart showing an example of an algorithm executed by the simulator to instruct the actions of a worker.

このアルゴリズムでは、作業者100の手が空いた時点で、できるだけ早く次の設備を動作させるように作業を割り付ける。作業者の手が空いたとき、ステップS1が開始となる。次のステップS2では、作業待ちとなっている設備が1台であるか否かが判断される。作業待ちの設備が1台であれば、ステップS2がNOとなり、処理はステップS5に移り、該当する設備にセットされている中間製品51の後段取り、品種の切替作業、次の中間製品51の前段取り、加工スタートの一連の作業を続けて行う。作業待ちとなっている設備が複数であれば、ステップS2がYESとなり、処理はステップS3に移る。ここで、作業待ち設備のスタートに必要な時間が算出される。次にステップS4で、最も短時間で加工を開始できる設備が選定される。そして、ステップS5で、該当する設備にセットされている中間製品51の後段取り、品種の切替作業、次の中間製品51の前段取り、加工スタートの一連の作業を続けて行う。 In this algorithm, when the worker 100 is free, the work is assigned so that the next equipment is operated as soon as possible. When the worker is free, step S1 is started. In the next step S2, it is determined whether there is one equipment waiting for work. If there is one equipment waiting for work, step S2 becomes NO, and the process moves to step S5, where a series of work is continuously performed, including post-setup of the intermediate product 51 set in the corresponding equipment, product type switching work, pre-setup of the next intermediate product 51, and start of processing. If there are multiple pieces of equipment waiting for work, step S2 becomes YES, and the process moves to step S3. Here, the time required to start the equipment waiting for work is calculated. Next, in step S4, the equipment that can start processing in the shortest time is selected. Then, in step S5, a series of work is continuously performed, including post-setup of the intermediate product 51 set in the corresponding equipment, product type switching work, pre-setup of the next intermediate product 51, and start of processing.

以上のアルゴリズムに従って、すべての中間製品51の加工が完了するまで、シミュレーションを繰り返し、すべてのパターンの中から最も早く加工予定数量の加工を完了できるパターンを見出すことにより、中間製品51の加工順序を各設備M、M、Mに適切に割り付けることができる。 According to the above algorithm, the simulation is repeated until the processing of all the intermediate products 51 is completed, and the pattern that can complete the processing of the planned processing quantity in the shortest time is found from among all the patterns, so that the processing sequence of the intermediate products 51 can be appropriately allocated to each of the facilities M1 , M2 , and M3 .

中間製品51を設備に割り付けて加工するためにシミュレーターが繰り返し行う演算の概要を、図4を用いて説明する。図4においては、加工前の中間製品51のうち、品種Pを図形の丸印で示し、品種Pを正方形で示し、品種Pを三角形で示している(図4(A))。 The outline of the calculations that the simulator repeatedly performs to allocate intermediate products 51 to equipment for processing will be described with reference to Fig. 4. In Fig. 4, among the intermediate products 51 before processing, product type P1 is shown by a circle, product type P2 is shown by a square, and product type P3 is shown by a triangle (Fig. 4(A)).

以下においては、より簡潔に説明するための例示として、計10個の中間製品51の加工を、同一仕様の3台の設備M,M,Mに割り付けて行う場合について説明する。ここで、10個の中間製品51の内訳は、品種Pが3個(Q=3)、品種Pが4個(Q=4)、品種Pが3個(Q=3)となっている。 In the following, as an example for a simpler explanation, a case will be described in which a total of ten intermediate products 51 are assigned to three machines M1 , M2 , and M3 of the same specifications for processing. Here, the ten intermediate products 51 are broken down into three products of type P1 ( Q1 =3), four products of type P2 ( Q2 =4), and three products of type P3 ( Q3 =3).

3台の設備M、M、Mに、品種P、P、Pからなる計10個の中間製品51を割り振る場合、全ての組み合わせの数は、図4(B)に示すように、10個のP、P、Pを1列に並べて、列の途中の2カ所をカットして3つの集合に分けた時の組み合わせの数に等しい。 When a total of 10 intermediate products 51 consisting of types P1 , P2 , and P3 are allocated to three pieces of equipment M1 , M2 , and M3 , the number of all combinations is equal to the number of combinations when 10 pieces P1 , P2 , and P3 are lined up in a row and cut at two points in the middle of the row to divide it into three groups, as shown in FIG. 4(B).

すなわち、3品種10個の中間製品51を1列に並べるときの組み合わせの数は、
(3+4+3)!/(3!×4!×3!)=4200通りである。この列を2か所カットして3つの集合に分けると考えることによって、中間製品51を3台の設備M、M、Mに割り付けることができる。
In other words, when 10 intermediate products 51 of three kinds are arranged in a row, the number of combinations is as follows:
(3+4+3)!/(3!×4!×3!)=4200 possibilities. By considering this string as being cut in two places and divided into three sets, the intermediate products 51 can be allocated to the three pieces of equipment M 1 , M 2 , and M 3 .

10個の中間製品の列を2か所カットする場合の数は11+10+9+8+7+6+5+4+3+2+1=66通りである。ここには、列の末端をカットする場合の、0個の集合を形成して、中間製品51を2つまたは1つのグループに分ける場合も含まれる。4200×66=277,200通りが、Q=3、Q=4、Q=3からなる中間製品51を3台の設備M,M,Mで加工する場合のパターンの総数となる(図4(C))。 The number of ways to cut a row of 10 intermediate products in two places is 11+10+9+8+7+6+5+4+3+2+1=66. This includes the case where the end of the row is cut to form a set of 0 products and divide the intermediate products 51 into two or one group. 4200×66=277,200 ways is the total number of patterns when an intermediate product 51 consisting of Q1 =3, Q2 =4, and Q3 =3 is processed by three pieces of equipment M1 , M2 , and M3 (FIG. 4C).

すべての組み合わせによるパターンに対して、前段取り時間、賞味加工時間、後段取り時間、および切替前と切替後の品種ごとによって異なる品種切替時間を用い、作業者100の作業が重なる時間帯は作業待ち時間を設定したシミュレーターによる計算で、最も早い加工順序を割り付けることができる。 For all combinations of patterns, the earliest possible processing order can be assigned using pre-setup time, pre-processing time, post-setup time, and variety switching time that differs depending on the variety before and after the switchover, and calculations using a simulator that sets the work waiting time for times when the work of workers 100 overlaps.

本実施の形態の277,200通りのシミュレーションの中の1つの例として、以下の加工順序を採用した場合の各設備の生産計画を決定する方法について、図2のタイムチャートと図3のアルゴリズムを用いて説明する。
・ 設備Mによる中間製品の加工順序を、P→P→Pとする。
・ 設備Mによる中間製品の加工順序を、P→P→P→Pとする。
・ 設備Mによる中間製品の加工順序を、P→P→Pとする。
As an example of one of the 277,200 simulations of this embodiment, a method for determining a production plan for each piece of equipment when the following processing sequence is adopted will be described with reference to the time chart of FIG. 2 and the algorithm of FIG. 3.
The processing sequence of the intermediate products by the equipment M1 is P1P1P3 .
The processing sequence of the intermediate products by the equipment M2 is P2P2P1P2 .
The processing sequence of the intermediate products by the equipment M3 is P3P3P2 .

設備が稼働を開始した時刻(t)では、作業者100の手が空いており、ステップS1の状態となっている。このとき、3台の設備M、M、Mが加工待ちの状態になっており、ステップS2がYESとなる。シミュレーターは、それぞれの設備の動作開始までの時間を計算し(ステップS3)、最も前段取りの短い品種Pを加工する設備Mを選定して(ステップS4)、作業者100が前段取り作業を開始することを決定する(ステップS5)。
設備Mの前段取りが完了した時刻(t)で再び作業者100の手が空き、ステップS1の状態となる。このとき設備Mと設備Mが加工待ちになっており、ステップS2がYESとなる。シミュレーターは、設備Mと設備Mの動作開始までの時間を計算し(ステップS3)、前段取り時間のより短いPを加工するMを選定して(ステップS4)、作業者100が前段取り作業を行うことを決定する。
設備Mの前段取りが完了した時刻(t)で再び作業者100の手が空くが、このときは設備Mのみが加工待ちになっているためステップS2がNOとなり、シミュレーターの処理がステップS5に移り、作業者100が設備Mの前段取り作業を行うことを決定する。
このあと、3台の設備M、M、Mが全て稼働する時間では、作業者100は手の空いた状態で待機している。その後、設備Mの動作時間が最も早く終了するので(t)ステップS2がNOとなり、シミュレーターは作業者100が設備Mの後段取り作業と、それに続く品種Pの前段取り作業を開始することを決定する。
At the time ( t0 ) when the equipment starts operating, the worker 100 is free and the status is step S1. At this time, the three pieces of equipment M1 , M2 , and M3 are waiting for processing, and step S2 is YES. The simulator calculates the time until each piece of equipment starts operating (step S3), selects the equipment M3 that processes the product type P3 that requires the shortest pre-setup (step S4), and determines that the worker 100 should start pre-setup work (step S5).
At the time ( t1 ) when the pre-setup of equipment M3 is completed, the worker 100 is free again and the state of step S1 is entered. At this time, equipment M1 and equipment M2 are waiting for processing, and step S2 is YES. The simulator calculates the time until equipment M1 and equipment M2 start operating (step S3), selects equipment M2 to process P2 , which has a shorter pre-setup time (step S4), and determines that the worker 100 will perform the pre-setup work.
At the time ( t2 ) when the pre-setup of equipment M2 is completed, the worker 100 becomes available again. However, at this time, only equipment M1 is waiting for processing, so step S2 becomes NO, the simulator process moves to step S5, and it is determined that the worker 100 will perform the pre-setup work of equipment M1 .
After that, when all three pieces of equipment M1 , M2 , and M3 are in operation, the worker 100 waits with his hands free. After that, the operation time of equipment M2 ends earliest ( t4 ), so step S2 becomes NO and the simulator determines that the worker 100 should start post-setup work for equipment M2 and the subsequent pre-setup work for product P2 .

このように、シミュレーターは、図3に示したアルゴリズムに従って、3台の設備M、M、Mに対して、作業者100による1単位の標準作業と、品種切り替え作業を割り付ける。そして、設備の稼働開始時から、規定数の中間製品51の加工が完了するまでの時間を算出することができる。 In this way, the simulator allocates one unit of standard work and product type changeover work to the three pieces of equipment M1 , M2 , and M3 by the worker 100 according to the algorithm shown in Fig. 3. Then, it is possible to calculate the time from the start of operation of the equipment until the processing of a specified number of intermediate products 51 is completed.

以上のシミュレーションをすべてのパターンについて行うことで、最も加工時間の短くなる加工順序を決定し、生産計画を作成することができる。また、実際の加工作業の途中においても、随時残りの個数と、設備の稼働状態を用いてシミュレーションを行い、生産計画を適宜変更することができる。 By performing the above simulations for all patterns, it is possible to determine the processing sequence that will result in the shortest processing time and create a production plan. In addition, even during actual processing work, simulations can be performed at any time using the remaining number of items and the operating status of the equipment, and the production plan can be changed as appropriate.

なお、本実施の形態のシミュレーションの方法では、加工する中間製品51の個数が増えると加速度的にパターンの数が増え、演算部の負荷が増大する。たとえば、中間製品51の数をそれぞれ2倍の計20個とした、Q=6、Q=8、Q=6で割り付けを行う場合のパターンの総数は、7,682,154,480通りとなる。中間製品51の数を、それぞれ10倍の計100個とした、Q=30、Q=40、Q=30で割り付けを行う場合のパターンの総数は、約1.07×1047通りとなる。本実施の形態の生産計画システムは、品種と加工する中間製品51の個数に上限がある場合の生産計画の作成に、特に適している。 In the simulation method of this embodiment, the number of patterns increases exponentially as the number of intermediate products 51 to be processed increases, and the load on the calculation unit increases. For example, when the number of intermediate products 51 is doubled to a total of 20, and allocation is performed with Q1 = 6, Q2 = 8, and Q3 = 6, the total number of patterns is 7,682,154,480. When the number of intermediate products 51 is doubled to a total of 100, and allocation is performed with Q1 = 30, Q2 = 40, and Q3 = 30, the total number of patterns is approximately 1.07 x 1047. The production planning system of this embodiment is particularly suitable for creating a production plan when there is an upper limit on the variety and the number of intermediate products 51 to be processed.

<実施の形態2>
本実施の形態では、品種と加工する中間製品51の個数が多い場合であっても、効率的に加工順序を割り付けて生産計画を作成するシステムについて説明する。
<Embodiment 2>
In this embodiment, a system for efficiently allocating a processing sequence and creating a production plan will be described even when there are a large number of types and intermediate products 51 to be processed.

本実施の形態では、実施の形態1と同じ設備に対して、同じ種類の中間製品を割り付ける。実施の形態1と異なる点は、演算部のシミュレーターが、Q学習の手法を用いた機械学習によって、最適な加工順序を割り付けている点にある。実施の形態1と同一の構成を有するものについては、同一符号を付与して説明を割愛する。 In this embodiment, the same types of intermediate products are assigned to the same equipment as in embodiment 1. The difference from embodiment 1 is that the simulator of the calculation unit assigns the optimal processing order by machine learning using the Q-learning method. Components that have the same configuration as embodiment 1 are given the same reference numerals and their explanations are omitted.

Q学習とは、特定の環境状態sの下で、状況sに対応するための行動aを選択し、行動aの価値を示す価値関数Q(s,a)を求めて、価値関数Q(s,a)が最大値となる行動aを最適な行動として選択することを繰り返しながら、より望ましい結論を導き出す学習方法である。 Q-learning is a learning method that selects an action a to respond to a situation s in a specific environmental state s, calculates a value function Q(s, a) that indicates the value of action a, and selects the action a that maximizes the value function Q(s, a) as the optimal action, repeatedly deriving a more desirable conclusion.

以下、Q学習の進め方について説明する。価値関数Qは、以下の式(1)に従って求められ、得られた値はQ値と呼ばれる。
Q(s,a)←Q(s,a)+αr ・・・(1)
ここで、r:報酬
s:状態
a:状態sで選択した行動
α:学習係数
The method of Q-learning will be described below. The value function Q is calculated according to the following formula (1), and the obtained value is called the Q value.
Q(s, a) ← Q(s, a) + αr (1)
Here, r is the reward.
s: Status
a: Action selected in state s
α: learning coefficient

式(1)に示されている報酬rとは、行動aによって状態sが変化したことに対して、行動aを評価する指標である。報酬rは、あらかじめ設定することができる。通常、報酬rには、行動aによって状態sが好ましい変化をすればQ値が増加するように正の値を設定し、行動aの結果が好ましくない変化をすればQ値が減少するように負の値を設定する。本実施の形態では、繰り返しの試行によって前回よりも加工に要するトータルの時間が短くなった場合には報酬rを1と設定し、同じ値である場合には報酬rを0と設定し、長くなった場合には報酬rを-1と設定して学習を進めることができる。 The reward r shown in formula (1) is an index for evaluating action a in response to a change in state s caused by action a. The reward r can be set in advance. Typically, reward r is set to a positive value so that the Q value increases if action a causes a favorable change in state s, and a negative value so that the Q value decreases if action a results in an unfavorable change. In this embodiment, learning can be progressed by setting reward r to 1 if the total time required for processing becomes shorter after repeated trials than the previous time, setting reward r to 0 if the value remains the same, and setting reward r to -1 if the time becomes longer.

本実施の形態において、状態sは、
:Pの未加工の個数、
:Pの未加工の個数、
:Pの未加工の個数、
:Mが直前まで加工していた品種、
:Mが直前まで加工していた品種、
:Mが直前まで加工していた品種、
:作業待ちの設備、
との7次の配列変数となる。
状態sで選択した行動aは、
:次の加工を開始する設備、
:次の加工を開始する品種、
の2次の配列変数となる。
なお、sの作業待ちの設備に関して、設備Mが動作中であれば「1」、作業待ちであれば「0」として表し、例えば、M:動作中、M:作業待ち、M:作業待ちであれば、
=4(0b100)
として3ビットの2進数をもとに表記することができる。
In this embodiment, the state s is defined as:
s 1 : raw number of P 1 ;
s2 : raw number of P2 ;
s3 : raw number of P3 ;
s4 : The variety that M1 had been processing until just before,
s5 : The variety that M2 had been processing until just before,
s6 : The variety that M3 had been processing until just before;
s 7 : Equipment waiting for work,
This results in a seventh-order array variable.
The action a selected in state s is
a 1 : Equipment for starting the next processing;
a2 : the variety to start the next processing;
It becomes a second-order array variable.
Regarding the equipment waiting for work in s7 , if the equipment M i is in operation, it is represented as "1", and if it is waiting for work, it is represented as "0". For example, if M 3 is in operation, M 2 is waiting for work, and M 1 is waiting for work,
s7 =4(0b100)
It can be expressed as a 3-bit binary number.

簡略化のため上記s、s、sのみ抽出し、3次元の図を用いた加工の進行を学習する様子を、図5に模式的に示す。つまり、図5では、3×4×3(s,s,s)の配列を示しているが、実際の学習では、図5では隠されている状態(s,s,s,s)を加え3×4×3×3×3×3×3の状態の配列に基づいて学習を行っている。 For simplification, only s1 , s2 , and s3 are extracted, and the state of learning the progress of machining using a three-dimensional diagram is shown diagrammatically in Fig. 5. That is, Fig. 5 shows an array of 3x4x3 ( s1 , s2 , s3 ), but in actual learning, learning is performed based on an array of 3x4x3x3x3x3x3 states by adding the state ( s4 , s5 , s6 , s7 ) hidden in Fig. 5.

図5は、原点をスタートし、所定の中間製品の加工数量である(s,s,s)=(3,4,3)までに至る複数の道筋を、設備ごとに線種を変えた矢印で示している。Mによる加工は実線、Mによる加工は破線、Mによる加工は二重線で示している。 5 shows multiple routes starting from the origin and leading to the processing quantity of a predetermined intermediate product, ( s1 , s2 , s3 ) = (3, 4, 3), with arrows of different line types for each piece of equipment. Processing by M1 is shown with a solid line, processing by M2 with a dashed line, and processing by M3 with a double line.

Q学習では、機械学習がランダムに割り付けたQ値に従って選択し中間製品を割り付け繰り返し試行し収束させていく。
以下具体的にn回目の学習の方法について説明するが、式(1)の適用の方法はこれに限定されない。
In Q-learning, machine learning randomly assigns a Q value, and intermediate products are selected and assigned, and then repeated trials are performed until convergence occurs.
A specific method for the n-th learning will be described below, but the method for applying formula (1) is not limited to this.

開始時刻tでは、
、P、Pの加工数が0(0,0,0)であるので、未加工数は(s,s,s)=(3,4,3)である。スタートであるので、仮に、MはP,MはP、MはPと初期設定し、(s,s,s6)=(1,2,3)と初期設定する。
各設備は、作業待ち状態で開始するので、(M,M,M)=(0,0,0)すなわちs=0(0b000)となり、(s,s,s,s,s,s,s)=(3、4,3,1,2,3,0)と状態を表記できる。
また、行動aは3台の設備に3つの品種が可能であり、あらかじめ割り付けられている9(3×3)個のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=3、a=3)
At the start time t0 ,
Since the processed numbers of P1 , P2 , and P3 are 0 (0,0,0), the unprocessed numbers are ( s1 , s2 , s3 ) = (3,4,3). Since this is the start, M1 is initially set to P1 , M2 to P2 , and M3 to P3 , and ( s4 , s5 , s6) = (1,2,3).
Since each piece of equipment starts in a waiting state for work, ( M3 , M2 , M1 ) = (0, 0, 0), i.e., s7 = 0 ( 0b000 ), the state can be expressed as ( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (3, 4, 3, 1, 2, 3, 0).
In addition, action a can be performed for three types of products on three pieces of equipment, and the action with the highest value is selected from the nine (3 x 3) Q values that are assigned in advance. (Here, M3 starts processing P3 , and a1 = 3, a2 = 3)

最初の前段取り作業が完了したtでは、
の残り個数が減り、P、P、Pの加工数は(0,0,1)、未加工数は(s,s,s)=(3,4,2)となる。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはM、Mであり、(M,M,M)=(1,0,0)すなわち
=4(0b100)となり、
(s,s,s,s,s,s,s)=(3,4,2,1,2,3,4)
と状態を表記できる。
また、行動aは2台の設備に3つの品種が可能であり、あらかじめ割り付けられている6(2×3)個のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=2、a=2を選択)
At t1 when the first pre-setup work is completed,
The remaining number of P3 decreases, the processed numbers of P1 , P2 , and P3 become (0, 0, 1), and the unprocessed numbers become ( s1 , s2 , s3 ) = (3, 4, 2).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting tasks are M1 and M2 , and ( M3 , M2 , M1 ) = (1, 0, 0), i.e., s7 = 4 ( 0b100 ).
( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (3, 4, 2, 1, 2, 3, 4)
The state can be expressed as:
In addition, action a can be performed for three varieties on two machines, and the action with the highest Q value is selected from the six (2 x 3) Q values that are assigned in advance. (Here, M2 starts processing P2 , and a1 = 2 and a2 = 2 are selected.)

次に時刻tでは、
の残り個数が減り、加工数は(P,P,P)=(0,1,1)であるので、未加工数は(s,s,s)=(3,3,2)である。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはMであり、(M,M,M)=(1,1,0)すなわち
=6(0b110)となり、
(s,s,s,s,s,s,s)=(3,3,2,1,2,3,6)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3(1×3)個のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=1、a=1を選択)
Next, at time t2 ,
The remaining number of P2 decreases, and the processed number is ( P1 , P2 , P3 ) = (0, 1, 1), so the unprocessed number is ( s1 , s2 , s3 ) = (3, 3, 2).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting work is M1 , and ( M3 , M2 , M1 ) = (1, 1, 0), that is, s7 = 6 ( 0b110 ),
( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (3, 3, 2, 1, 2, 3, 6)
The state can be expressed as:
In addition, action a can be performed on one piece of equipment for three different types of products, and the action with the highest Q value is selected from the three (1 x 3) Q values that are assigned in advance. (Here, M1 starts processing P1 , and selects a1 = 1 and a2 = 1.)

時刻tでは、
の残り個数が減り、加工数は(P,P,P)=(1,1,1)、未加工数は(s,s,s)=(2,3,2)となる。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはMであり、(M,M,M)=(1,0,1)すなわち
=5(0b101)となり、
(s,s,s,s,s,s,s)=(2,3,2,1,2,3,5)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3(1×3)個のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=2、a=2を選択)
At time t4 ,
The remaining number of P1 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (1, 1, 1), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (2, 3, 2).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting work is M2 , and ( M3 , M2 , M1 ) = (1, 0, 1), i.e., s7 = 5 ( 0b101 ),
( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (2, 3, 2, 1, 2, 3, 5)
The state can be expressed as:
In addition, action a can handle three varieties per machine, and the action with the highest Q value is selected from the three (1 x 3) Q values that are assigned in advance. (Here, M2 starts processing P2 , and selects a1 = 2 and a2 = 2.)

時刻tでは、
の残り個数が減り、加工数は(P,P,P)=(1,2,1)、未加工数は(s,s,s)=(2,2,2)となる。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはMであり、(M,M,M)=(1,1,0)すなわち
=6(0b110)となり、
(s,s,s,s,s,s,s)=(2,2,2,1,2,3,6)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=1、a=1を選択)
At time t7 ,
The remaining number of P2 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (1, 2, 1), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (2, 2, 2).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting work is M1 , and ( M3 , M2 , M1 ) = (1, 1, 0), that is, s7 = 6 ( 0b110 ),
( s1 , s2 , s3 , s4 , s5 , s6 , s7) = (2, 2, 2, 1, 2, 3, 6 )
The state can be expressed as:
In addition, action a can be performed on one piece of equipment for three different types, and the action with the highest Q value is selected from the three (1 x 3) pre-allocated Q values. (Here, M1 starts processing P1 , and selects a1 = 1 and a2 = 1.)

時刻t10では、
の残り個数が減り、加工数は(P,P,P)=(2,2,1)、未加工数は(s,s,s)=(1,2,2)となる。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはMであり、(M,M,M)=(0,1,1)すなわち
=3(0b011)となり、
(s,s,s,s,s,s,s)=(1,2,2,1,2,3,3)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=3、a=3を選択)
At time t10 ,
The remaining number of P1 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (2, 2, 1), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (1, 2, 2).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting work is M3 , ( M3 , M2 , M1 ) = (0, 1, 1), that is, s7 = 3 ( 0b011 ),
(s1, s2 , s3 , s4 , s5 , s6 , s7 ) = ( 1 , 2, 2, 1, 2, 3, 3)
The state can be expressed as:
In addition, action a can handle three different types of products per machine, and the action with the highest Q value is selected from the three (1 x 3) Q values that are assigned in advance. (Here, M3 starts processing P3 , and selects a1 = 3, a2 = 3.)

時刻t13では、
の残り個数が減り、加工数は(P,P,P)=(2,2,2)、未加工数は(s,s,s)=(1,2,1)となる。
~sは変化なく(s,s,s)=(1,2,3)である。
に関し、作業待ちはMであり、(M,M,M)=(1,0,1)すなわち
=5(0b101)となり、
(s,s,s,s,s,s,s)=(1,2,1,1,2,3,5)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=2、a=1を選択)
At time t13 ,
The remaining number of P3 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (2, 2, 2), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (1, 2, 1).
There is no change in s 4 to s 6 , so (s 4 , s 5 , s 6 )=(1, 2, 3).
For s7 , the waiting work is M2 , and ( M3 , M2 , M1 ) = (1, 0, 1), i.e., s7 = 5 ( 0b101 ),
(s1, s2 , s3 , s4 , s5 , s6 , s7) = ( 1 , 2, 1, 1, 2, 3, 5 )
The state can be expressed as:
In addition, action a can handle three different types of products per machine, and the action with the highest Q value is selected from the three (1 x 3) Q values that are assigned in advance. (Here, M2 starts processing P1 , and selects a1 = 2 and a2 = 1.)

時刻t17では、
の残り個数が減り、加工数は(P,P,P)=(3,2,2)、未加工数は(s,s,s)=(0,2,1)となる。
の加工する品種がPに変わったので(s,s,s)=(1,1,3)である。
に関し、作業待ちはMであり、(M,M,M)=(1,1,0)すなわち
=6(0b110)となり、
(s,s,s,s,s,s,s)=(0,2,1,1,1,3,6)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=1、a=3を選択)
At time t17 ,
The remaining number of P1 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (3, 2, 2), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (0, 2, 1).
Since the variety processed by M2 has changed to P1 , ( s4 , s5 , s6 ) = (1, 1, 3).
For s7 , the waiting work is M1 , and ( M3 , M2 , M1 ) = (1, 1, 0), that is, s7 = 6 ( 0b110 ),
( s1 , s2 , s3 , s4 , s5, s6 , s7) = (0, 2, 1, 1 , 1, 3, 6 )
The state can be expressed as:
In addition, action a can handle three different types of products per machine, and the action with the highest Q value is selected from the three (1 x 3) Q values that are assigned in advance. (Here, M1 starts processing P3 , and selects a1 = 1 and a2 = 3.)

時刻t21では、
の残り個数が減り、加工数は(P,P,P)=(3,2,3)、未加工数は(s,s,s)=(0,2,0)となる。
の加工する品種がPに変わったので(s,s,s)=(3,1,3)である。
に関し、作業待ちはMであり、(M,M,M)=(0,1,1)すなわち
=3(0b011)となり、
(s,s,s,s,s,s,s)=(0,2,0,3,1,3,3)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=3、a=2を選択)
At time t21 ,
The remaining number of P3 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (3, 2, 3), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (0, 2, 0).
Since the variety of product processed by M1 has changed to P3 , ( s4 , s5 , s6 ) = (3, 1, 3).
For s7 , the waiting work is M3 , ( M3 , M2 , M1 ) = (0, 1, 1), that is, s7 = 3 ( 0b011 ),
( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (0, 2, 0, 3, 1, 3, 3)
The state can be expressed as:
In addition, action a can handle three different types of products per machine, and the action with the highest Q value is selected from the three (1 x 3) pre-allocated Q values. (Here, M3 starts processing P2 , and selects a1 = 3 and a2 = 2.)

時刻t25では、
の残り個数が減り、加工数は(P,P,P)=(3,3,3)、未加工数は(s,s,s)=(0,1,0)となる。
の加工する品種がPに変わったので(s,s,s)=(3,1,2)
に関し、作業待ちはMであり、(M,M,M)=(1,0,1)すなわち
=5(0b101)となり、
(s,s,s,s,s,s,s)=(0,1,0,3,1,2,5)
と状態を表記できる。
また、行動aは1台の設備に3つの品種が可能であり、あらかじめ割り付けられている3個(1×3)のQ値の中から最も数値の高い行動を選択する。(ここではMがPの加工を開始し、a=2,a=2を選択)
At time t25 ,
The remaining number of P2 decreases, the number of processed pieces becomes ( P1 , P2 , P3 ) = (3, 3, 3), and the number of unprocessed pieces becomes ( s1 , s2 , s3 ) = (0, 1, 0).
Since the product type processed by M3 has changed to P2 , ( s4 , s5 , s6 ) = (3, 1, 2)
For s7 , the waiting work is M2 , and ( M3 , M2 , M1 ) = (1, 0, 1), i.e., s7 = 5 ( 0b101 ),
( s1 , s2 , s3 , s4 , s5 , s6 , s7 ) = (0, 1, 0, 3, 1, 2, 5)
The state can be expressed as:
In addition, action a can handle three different types of products per machine, and the action with the highest Q value is selected from the three (1 x 3) pre-allocated Q values. (Here, M2 starts processing P2 , and a1 = 2, a2 = 2 are selected.)

34ですべての加工が完了し、未加工数は(s,s,s)=(0,0,0)
となり、すべての中間製品を加工するために必要な総加工時間がt34として得られる。
At time t34 , all processing is completed, and the number of unprocessed pieces is ( s1 , s2 , s3 ) = (0, 0, 0).
Thus, the total processing time required to process all the intermediate products is obtained as t 34 .

それぞれの前段取り作業の開始時刻で、どの設備でどの品種を加工するかの選択は、その時刻における「状態s」に基づいたそれぞれの「行動a」の結果となるQ値が最も大きくなる行動を選択しn回目の試行の総加工時間が得られる。 At the start time of each pre-setup task, the selection of which equipment to process which product is made by selecting the action that results in the largest Q value for each "action a" based on the "state s" at that time, and the total processing time for the nth trial is obtained.

得られた総加工時間が、n-1回目の試行よりも小さいときには通過したポイントのQ値をそれぞれαずつ減じ、大きいときにはαずつ加え、なお同じ場合には数値を変えない。
なお、各状態におけるQ値は、最初ランダムに割り付けられ、試行を繰り返しながら最適化されている。
If the obtained total machining time is smaller than that of the (n-1)th trial, the Q value of each passed point is decreased by α, and if it is larger, α is added to it. If they are the same, the value is not changed.
The Q value in each state is initially randomly assigned and then optimized through repeated trials.

初回の試行で、演算部は、7次の各状態(s~s)に対して、ランダムにQ値を割り付け、機械学習から与えられた指示に従ってシミュレーターが時間を計算しながら図3に示したアルゴリズムに従って、計画されたすべての中間製品の割り付けを完了する。初回(n=1)の試行では、総加工時間の初期値を得る。初回の試行での報酬は0であるので、通過した中間製品を1個割り付けた行動aごとのQ値に変更はない。 In the first trial, the calculation unit randomly assigns a Q value to each of the seven states (s 1 to s 7 ), and the simulator calculates the time according to the instructions given by the machine learning while completing the allocation of all planned intermediate products according to the algorithm shown in Figure 3. In the first trial (n=1), the initial value of the total processing time is obtained. Since the reward in the first trial is 0, there is no change in the Q value for each action a that assigns one intermediate product that has passed through.

2回目の試行では、一部Q値の大きさに関わらず意図的に初回とルートを変更する箇所を設け、それ以外は選択した設備と品種による1単位の標準作業という行動aに与えられるQ値の大きい側を選択し、生産計画の完成を目指す。このため、総加工時間は初回(n=1)と同一にならず、2回目の試行の適否を判断できる。 In the second trial, some parts are intentionally set aside to change the route from the first time regardless of the size of the Q value, and for the rest, the larger Q value given to action a, which is one unit of standard work for the selected equipment and product type, is selected, aiming to complete the production plan. For this reason, the total processing time will not be the same as the first time (n=1), and it is possible to judge whether the second trial is appropriate or not.

3回目以降は、選択した設備と品種による1単位の標準作業という行動aに与えられるQ値の大きい側を選択し、生産計画の完成を目指す。 From the third time onwards, the aim is to complete the production plan by selecting the larger Q value given to action a, which is one unit of standard work for the selected equipment and product type.

繰り返し試行を行うことにより、加工時間の短くなる加工順序の割り付けは収束するようになってくる。試行ごとの加工時間の減少分をモニターしながら試行の適正回数を判断し、機械学習のアウトプットとすることが好ましい。 By performing repeated trials, the allocation of the machining order that shortens the machining time will converge. It is preferable to determine the appropriate number of trials while monitoring the reduction in machining time for each trial, and use this as the output of machine learning.

ここで、Q値の大きさのみで判断する2回目の試行の場合など報酬が0の場合、同じ経路を繰り返したどり収束しなくなるので、行動選択において、ある確率でランダムな選択を行うε greedy法を用いることが望ましい。ε greedy法では、単純にQ値の大きさだけで判断するのではなく、一定の割合でランダムに判断する要素を持っているので2回目の試行に限らず報酬0の場合が生じても、総加工時間を短くするよう作用させることができる。 Here, if the reward is 0, such as in the second trial where the decision is based solely on the magnitude of the Q value, the same path will be repeatedly followed and convergence will not occur, so it is desirable to use the ε greedy method, which makes random choices with a certain probability, when selecting an action. The ε greedy method does not simply make decisions based solely on the magnitude of the Q value, but has an element of random decision making with a certain rate, so it can act to shorten the total processing time even in cases where the reward is 0, not just in the second trial.

Q値の算出方法は、式(1)のほか、学習係数、割引率を考慮した下記の式(2)を用いてもよい。下記式は、Q値の発散を防止する効果があり、適正に機械学習を進めることができる。
Q(s,a)←Q(s,a)+α(r+γmaxQ(snext、anext
-Q(s,a)) ・・・(2)
ここで、 r:報酬
s:状態
a:状態sで選択した行動
α:学習係数
γ:割引率
maxQ(snext、anext)次の状態で取りうるQ値のうちの最大値。
In addition to formula (1), the Q value may be calculated using the following formula (2) that takes into account the learning coefficient and discount rate. The following formula has the effect of preventing the Q value from diverging, and allows machine learning to proceed appropriately.
Q(s, a)←Q(s, a)+α(r+γmaxQ( snext , anext )
−Q(s, a)) ... (2)
Here, r: reward, s: state, a: action selected in state s, α: learning coefficient, γ: discount rate, and maxQ(s next , a next ): the maximum value of the Q value that can be taken in the next state.

また、本発明の生産計画システムは、機械学習に加えて、ニューラルネットワークを用いた深層学習を同時に行ってもよい。 The production planning system of the present invention may also simultaneously perform deep learning using neural networks in addition to machine learning.

以上説明したように、本実施の形態によれば、設備が休止している時間を、前段取り時間、作業待ち時間、後段取り時間に分けることにより、前段取り時間、作業時間、後段取り時間
を1単位とする標準加工時間を得ることができるので、人が介在するセル生産方式、設備を複数操作する並列的工程において、稼働状況を的確に把握し、精度よく生産計画を組む生産計画システムを提供することができる。
As described above, according to this embodiment, by dividing the time that equipment is down into pre-setup time, work wait time, and post-setup time, it is possible to obtain a standard processing time with pre-setup time, work time, and post-setup time as one unit. Therefore, it is possible to provide a production planning system that accurately grasps the operating status and creates accurate production plans in a cell production method in which humans are involved and in a parallel process in which multiple pieces of equipment are operated.

1 生産計画システム
2 コンピューター
3 入替検出センサー
4 作業検出センサー
5 タッチパネル
11,12,13 稼働状況分析部
21 運転検出センサー
22 表示灯
41 加工指示書
42 モニター
51 中間製品
61 トレー
100 作業者
,M,M 設備
REFERENCE SIGNS LIST 1 Production planning system 2 Computer 3 Replacement detection sensor 4 Work detection sensor 5 Touch panel 11, 12, 13 Operation status analysis section 21 Operation detection sensor 22 Indicator light 41 Processing instruction sheet 42 Monitor 51 Intermediate product 61 Tray 100 Worker M1 , M2 , M3 Equipment

Claims (12)

作業者が介在するセル生産方式または設備を複数操作する並列的工程における、作業者によって運転される複数の設備が複数の品種の中間製品を一単位ずつ加工する工程の、生産計画を組む生産計画システムであって、
前記中間製品の品種ごとの加工情報および加工数量を入力する入力部と、
複数の前記設備の停止時間と動作時間とを判断する、前記設備に備えられた運転検出センサーと、複数の前記設備において前記中間製品の入れ替えを検出する入替検出センサーと、複数の前記設備において前記作業者が作業中であるか作業待ちであるかを検出する作業検出センサーと、を有する稼働状況分析部と、
同一の前記中間製品の加工を繰り返すときに、前記稼働状況分析部の信号に基づいて、前記停止時間を、前段取り時間、後段取り時間、および作業待ち時間に分割し、品種ごとに、前記前段取り時間、前記動作時間、および前記後段取り時間を1単位として前記中間製品の加工時間を示す標準加工時間を得るとともに、前記複数の設備間で調整し前記加工数量を割り付ける演算部と、
前記演算部の割り付け結果に基づいて、各設備に加工指示を出す出力部と、
を有することを特徴とする生産計画システム。
A production planning system for creating a production plan for a process in which a plurality of pieces of equipment operated by workers process a plurality of intermediate products one unit at a time in a cell production system in which workers are involved or a parallel process in which a plurality of pieces of equipment are operated, comprising:
an input unit for inputting processing information and processing quantity for each type of the intermediate product;
an operating status analysis unit including: an operation detection sensor provided in each of the plurality of pieces of equipment, which determines a stop time and an operating time of the plurality of pieces of equipment; a replacement detection sensor which detects a replacement of the intermediate products in the plurality of pieces of equipment; and an operation detection sensor which detects whether the worker is working or waiting for work in the plurality of pieces of equipment;
a calculation unit which divides the downtime into pre-setup time, post-setup time, and work waiting time based on a signal from the operation status analysis unit when the processing of the same intermediate product is repeated, obtains a standard processing time indicating the processing time of the intermediate product for each type of product by using the pre-setup time, the operation time, and the post-setup time as one unit, and adjusts between the plurality of facilities to allocate the processing quantity;
an output unit that issues processing instructions to each piece of equipment based on the allocation result of the calculation unit;
A production planning system comprising:
前記演算部は、さらに、加工する前記中間製品の品種が切り替わるときに、前記停止時間の中から品種切替時間を抽出して標準品種切替時間を得るとともに、前記標準加工時間および前記標準品種切替時間に基づいて、前記複数の設備間で調整し前記加工数量を割り付けることを特徴とする請求項1に記載の生産計画システム。 The production planning system according to claim 1, further comprising: a calculation unit that, when the type of the intermediate product being processed is changed, extracts a type changeover time from the stop time to obtain a standard type changeover time, and adjusts and allocates the processing quantity between the multiple pieces of equipment based on the standard processing time and the standard type changeover time. 前記運転検出センサーは、前記設備に備えられた表示灯の点灯を検出するセンサーであることを特徴とする請求項1または2に記載の生産計画システム。 The production planning system according to claim 1 or 2, characterized in that the operation detection sensor is a sensor that detects the illumination of an indicator light provided on the equipment. 前記作業検出センサーは、前記設備の前に備えられており、前記作業者が作業しているか否かを判断する人感センサーであることを特徴とする請求項1~3のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 3, characterized in that the work detection sensor is a human presence sensor that is provided in front of the equipment and determines whether the worker is working. 前記作業検出センサーは、前記設備に備えられており、前記作業者が作業しているか否かを判断する安全装置のセンサーであることを判断することを特徴とする請求項1~3のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 3, characterized in that the work detection sensor is a safety device sensor provided in the equipment and determines whether the worker is working. 前記入替検出センサーは、中間製品とともに工程に流される識別データ若しくは前記設備に送られる加工データの入れ替えタイミングを読み取る読み取り機であることを特徴とする請求項1~5のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 5, characterized in that the replacement detection sensor is a reader that reads the replacement timing of identification data sent to the process together with intermediate products or processing data sent to the equipment. 前記稼働状況分析部は、作業者を識別する作業者識別部を有し、前記演算部は、作業者ごとに標準加工時間を算出することを特徴とする請求項1~6のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 6, characterized in that the operation status analysis unit has a worker identification unit that identifies a worker, and the calculation unit calculates a standard processing time for each worker. 前記生産計画システムは、生産実績に基づいて、残りの加工する中間製品の再割り付けを繰り返すことを特徴とする請求項1~7のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 7, characterized in that the production planning system repeatedly reallocates the remaining intermediate products to be processed based on production results. 前記演算部は、前記入力部および前記稼働状況分析部の情報に基づいて生産数量を予測するシミュレーターを有し、前記演算部では、前記シミュレーターの結果をもとに加工する中間製品の割り付けを行うことを特徴とする請求項1~8のいずれか1項に記載の生産計画システム。 The production planning system according to any one of claims 1 to 8, characterized in that the calculation unit has a simulator that predicts production quantities based on information from the input unit and the operation status analysis unit, and the calculation unit allocates intermediate products to be processed based on the results of the simulator. 前記演算部は、強化学習を行う学習部を有することを特徴とする請求項9に記載の生産計画システム。 The production planning system according to claim 9, characterized in that the calculation unit has a learning unit that performs reinforcement learning. 前記演算部は、前記加工数量の完了に要する時間を報酬とするQ学習を用いて強化学習を行うことを特徴とする請求項10に記載の生産計画システム。 The production planning system according to claim 10, characterized in that the calculation unit performs reinforcement learning using Q-learning in which the reward is the time required to complete the processing quantity. 前記設備は、加工機、ロボット、PLC、搬送機、計測器、試験装置、プレス機、圧入器、印刷機、ダイカストマシン、射出成型機、食品機械、包装機、溶接機、洗浄機、塗装機、組立装置、実装機、木工機械、シーリング装置、および切断機からなる群から選択される一または複数の装置を含むことを特徴とする請求項1~11のいずれか1項に記載の生産計画システム。
The production planning system according to any one of claims 1 to 11, characterized in that the equipment includes one or more devices selected from the group consisting of processing machines, robots, PLCs, conveying machines, measuring instruments, testing equipment, presses, presses, printing machines, die-casting machines, injection molding machines, food machinery, packaging machines, welding machines, cleaning machines, painting machines, assembly machines, mounting machines, woodworking machines, sealing devices, and cutting machines.
JP2020144034A 2020-08-28 2020-08-28 Production Planning System Active JP7474152B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020144034A JP7474152B2 (en) 2020-08-28 2020-08-28 Production Planning System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020144034A JP7474152B2 (en) 2020-08-28 2020-08-28 Production Planning System

Publications (3)

Publication Number Publication Date
JP2022039158A JP2022039158A (en) 2022-03-10
JP2022039158A5 JP2022039158A5 (en) 2023-03-01
JP7474152B2 true JP7474152B2 (en) 2024-04-24

Family

ID=80498306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020144034A Active JP7474152B2 (en) 2020-08-28 2020-08-28 Production Planning System

Country Status (1)

Country Link
JP (1) JP7474152B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000214905A (en) 1999-01-25 2000-08-04 Mitsubishi Electric Corp Work management supporting device
JP2002132324A (en) 2000-10-23 2002-05-10 Mitsubishi Electric Corp Device and method for confirming operation state
JP2009140380A (en) 2007-12-10 2009-06-25 Honda Motor Co Ltd Scheduling device and operation management method and program
JP2010257296A (en) 2009-04-27 2010-11-11 Mitsubishi Electric Corp Production improvement support system
JP2015125644A (en) 2013-12-26 2015-07-06 川崎重工業株式会社 Work plan creation method, program, and device
JP2020129287A (en) 2019-02-08 2020-08-27 コニカミノルタ株式会社 Process information acquisition system, process information acquisition method, and process information acquisition program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000214905A (en) 1999-01-25 2000-08-04 Mitsubishi Electric Corp Work management supporting device
JP2002132324A (en) 2000-10-23 2002-05-10 Mitsubishi Electric Corp Device and method for confirming operation state
JP2009140380A (en) 2007-12-10 2009-06-25 Honda Motor Co Ltd Scheduling device and operation management method and program
JP2010257296A (en) 2009-04-27 2010-11-11 Mitsubishi Electric Corp Production improvement support system
JP2015125644A (en) 2013-12-26 2015-07-06 川崎重工業株式会社 Work plan creation method, program, and device
JP2020129287A (en) 2019-02-08 2020-08-27 コニカミノルタ株式会社 Process information acquisition system, process information acquisition method, and process information acquisition program

Also Published As

Publication number Publication date
JP2022039158A (en) 2022-03-10

Similar Documents

Publication Publication Date Title
US11599080B2 (en) Automation management interface
CN111680893B (en) Digital twin system of multi-self-addressing robot picking system and scheduling method
US20090112350A1 (en) Process for generating control sequence of operations
US7809457B2 (en) Framework for automatic generation of sequence of operations
US11314238B2 (en) Plant operational plan optimization discrete event simulator device and method
US20150026107A1 (en) System and apparatus that identifies, captures, classifies and deploys tribal knowledge unique to each operator in a semi-automated manufacturing set-up to execute automatic technical superintending operations to improve manufacturing system performance and the methods therefor
JP6348138B2 (en) Manufacturing management system that improves the operating rate of manufacturing cells
Singholi et al. Impact of manufacturing flexibility on FMS performance: a simulation study
CN111258280B (en) Production planning device
CN108629476A (en) Non-transitory computer-readable storage media, procedure planning method and apparatus
CN110244676B (en) Unmanned warehouse logistics optimization system and method based on virtual production
JP7474152B2 (en) Production Planning System
CN107544443B (en) The cellular manufacture system that manufacturing cell is independently manufactured
US20180059655A1 (en) Production system having function of indicating inspection time for production machine
CN112654943A (en) Manufacturing system design assistance device
JPH09138820A (en) Process designing system
KR101371006B1 (en) Manufacturing simulated apparatus for Operating of Fabrication Line
JPH09260231A (en) Production control system and its equipment
JP6797331B1 (en) Numerical control device and numerical control method
Vinod et al. Development and analysis of scheduling decision rules for a dynamic flexible job shop production system: a simulation study
Khalafi et al. Industrial valves production line bottleneck analysis: a computer based simulation approach
Verma et al. Role Of Industry 4.0 In Supplier Selection
KR20140058716A (en) Steel bias cutter allocating plan system and method in cutting process
RU2796205C2 (en) Automated process control system for the production of a system of elements for the construction of residential or public buildings and its part
Singh et al. A Simulation Study for Investigation of Routing Flexibility on Performance in Flexible Manufacturing System Environment

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230220

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240412

R150 Certificate of patent or registration of utility model

Ref document number: 7474152

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150