Calculation device, work plan creation method, calculation system
Patent Information
- Application Number
- JP2021180048
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-11-04
AI Technical Summary
【0006】 本発明によれば、簡易な計算の精度を向上できる。
Smart Images

Figure 0007645771000001 
Figure 0007645771000002 
Figure 0007645771000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a computing device, a method for creating a work plan, and a computing system. [Background technology]
[0002] In order to efficiently carry out work, it is common to prepare a work plan in advance. However, when the conditions of the work environment change over time, it is not easy to prepare an optimal work plan. Patent Document 1 discloses a machine learning device that learns control commands for a machine by machine learning, the machine learning device being characterized by comprising: a machine learning device that performs the machine learning and outputs the control commands; a simulator that executes a simulation of the work operation of the machine based on the control commands; and a first determiner that determines the control command based on the execution result of the simulation by the simulator. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-185577 A Summary of the Invention [Problem to be solved by the invention]
[0004] The invention described in Patent Document 1 leaves room for improvement in terms of calculation accuracy. [Means for solving the problem]
[0005] A computing device according to a first aspect of the present invention is a computing device that creates a task plan for a predetermined task in an environment in which information about a changing environment can be expressed as an environmental parameter, the computing device comprising: By using a rigorous model to perform highly accurate evaluations that are computationally expensive, A strict evaluation unit that calculates a required time for the predetermined task, and was randomly varied within a given range.an evaluation scenario generating unit that generates an evaluation scenario from the plurality of environmental parameters; The input includes a plurality of combinations of the environmental parameters and the work plan, and the output includes a plurality of combinations of the required time. Using training data, the strict evaluation unit can more easily place a proxy model generation unit that creates a proxy model for calculating a required time; a plan proposal generation unit that calculates the required time using the proxy model and calculates a tentative work plan that is the work plan suitable for all of the plurality of environmental parameters; place The exact required time, which is the required time, and the time calculated using the proxy model, which is the time in the tentative work plan place When the difference between the required time and the substitute required time is equal to or greater than a predetermined threshold, , the evaluation scenario, and the exact required time are added to the learning data to obtain added learning data, and the added learning data and a proxy model update unit that updates the proxy model using the proxy model. A method for creating a work plan according to a second aspect of the present invention is a method for creating a work plan, in which a calculation device creates a work plan for a predetermined work for an environment in which information about a changing environment can be expressed as an environmental parameter, the method comprising the steps of: By using a rigorous model to perform highly accurate evaluations that are computationally expensive, A rigorous evaluation process for calculating a required time for the predetermined task, and the latest environmental parameters was randomly varied within a given range. an evaluation scenario generation process for generating an evaluation scenario from the plurality of environmental parameters; The input includes a plurality of combinations of the environmental parameters and the work plan, and the output includes a plurality of combinations of the required time. a proxy model generation process that uses learning data to create a proxy model for performing calculations related to the predetermined work more easily than the rigorous evaluation process; a plan generation process that uses the proxy model to perform calculations related to the predetermined work and calculates a tentative work plan, which is the work plan suitable for all of the multiple environmental parameters; and place The exact required time, which is the required time, and the time calculated using the proxy model, which is the time in the tentative work plan place When the difference between the required time and the substitute required time is equal to or greater than a predetermined threshold, , the evaluation scenario, and the exact required time are added to the learning data to obtain added learning data, and the added learning data and updating the surrogate model using the above-mentioned. A computing system according to a third aspect of the present invention is a computing system that creates a task plan for a predetermined task in an environment in which information about a changing environment can be expressed as an environmental parameter, the computing system comprising: By using a rigorous model to perform highly accurate evaluations that are computationally expensive, A strict evaluation unit that calculates a required time for the predetermined task, and was randomly varied within a given range. an evaluation scenario generating unit that generates an evaluation scenario from the plurality of environmental parameters; The input includes a plurality of combinations of the environmental parameters and the work plan, and the output includes a plurality of combinations of the required time. a surrogate model generation unit that uses learning data to create a surrogate model for performing calculations related to the predetermined work more easily than the strict evaluation unit; a plan proposal generation unit that uses the surrogate model to perform calculations related to the predetermined work and calculates a tentative work plan, which is the work plan suitable for all of the multiple environmental parameters; place The exact required time, which is the required time, and the time calculated using the proxy model, which is the time in the tentative work plan place When the difference between the required time and the substitute required time is equal to or greater than a predetermined threshold, , the evaluation scenario, and the exact required time are added to the learning data to obtain added learning data, and the added learning data and a proxy model update unit for updating the proxy model using the proxy model update function. Effect of the Invention
[0006] According to the present invention, the accuracy of simple calculations can be improved. [Brief description of the drawings]
[0007] [Figure 1] A table showing examples of applications to which the computing device can be applied. [Diagram 2] 1 is a block diagram of a computing device according to a first embodiment. [Diagram 3] A diagram showing an example of a work instruction [Figure 4] A diagram showing an example of environmental parameters. [Diagram 5] A diagram showing an example of the expected fluctuation range [Figure 6] FIG. 13 is a diagram showing an example of allowable prediction error information. [Figure 7] A diagram showing an example of training data [Figure 8] FIG. 13 is a diagram showing an example of representative model information. [Figure 9] 1 is a flowchart showing an overview of processing by a computing device according to a first embodiment. [Figure 10] Flowchart showing surrogate model generation processing [Figure 11] Flowchart showing evaluation scenario generation processing [Figure 12] Flowchart showing the plan calculation process [Figure 13] FIG. 1 is a block diagram of a computing device according to a second embodiment. [Figure 14] 11 is a flowchart showing an outline of processing performed by a computing device according to a second embodiment. [Figure 15] FIG. 13 is a block diagram of a computing device according to a third embodiment. [Figure 16] A diagram showing an example of parameter division [Figure 17] A diagram showing an example of training data [Figure 18] FIG. 13 is a diagram showing an example of representative model information. [Figure 19] 11 is a flowchart showing an outline of processing performed by a computing device according to a third embodiment. [Figure 20] 13 is a flowchart showing an outline of processing performed by a calculation device according to a modification of the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] (Target Applications) The computing device according to the present invention creates a work plan in a changing environment. The computing device can be applied to various applications in which various environments change.
[0009] FIG. 1 is a table showing examples of applications to which the arithmetic device can be applied. FIG. 1 shows, for each application, the contents of instructions given to the arithmetic device, the calculation results of the arithmetic device, and the variable environmental parameters. The environmental parameters are parameters that affect the application and can vary in a short time. Here, "short time" means short compared to the time required for the arithmetic device to perform the calculation. The environmental parameters tend to change more as time passes. Therefore, the longer the calculation takes, the larger the fluctuation range of the environmental parameters between the start and end of the calculation. The "calculation results" shown in FIG. 1 can be rephrased as the "work plan" calculated by the arithmetic device.
[0010] In the "product picking" application shown in the first record in Figure 1, an AGV (Automatic Guided Vehicle) picks up a countless number of products stored in a warehouse. A list of product names and the time when picking of the products should be completed is input to the calculation device. The location of each product in the warehouse is known to the AGV and the calculation device.
[0011] The warehouse is large, and it takes time for the AGVs to move to the location where the products to be picked are stored. Therefore, the computing device calculates and outputs which products each AGV will pick and in what order. However, the following environmental parameters can change in a short time. As shown in Figure 1, the environmental parameters in the "product picking" application are, for example, the picking speed, the number of AGVs, and the AGV speed.
[0012] For example, the picking speed, which is the speed at which an AGV picks up products, fluctuates due to various factors. Also, the number of AGVs that can operate is not constant due to breakdowns and charging. Furthermore, the maximum speed at which an AGV can travel varies depending on factors such as the condition of the floor. These environmental parameters change only slightly over a relatively short period of time, but as the period becomes longer, the changes can accumulate and become larger.
[0013] In the "Home Delivery" application shown in the second record in Figure 1, delivery personnel deliver packages to homes. A list of addresses and deadline times is input to the calculation device. The association between addresses and packages to be delivered is managed separately. The calculation device outputs the order in which each worker will visit the delivery destinations. In this application, environmental parameters include road conditions such as traffic jams and road closures, and the moving speed of workers, which changes depending on the weather.
[0014] In the "multi-product production" application shown in the third record in Fig. 1, products are produced using multiple production devices. A list of product names and shipping times is input to the calculation device. The calculation device outputs the order in which products are processed for each production device. In this application, for example, the number and type of production devices and the operating speed of the production devices are environmental parameters. The present invention is not limited to the example shown in Fig. 1 and can be applied to various applications, but the first embodiment will be described using "product picking" as an example.
[0015] --First embodiment-- Hereinafter, a first embodiment of the arithmetic device will be described with reference to FIGS.
[0016] 2 is a configuration diagram of the arithmetic device 1 in the first embodiment. The arithmetic device 1 includes a CPU 11 which is a central processing unit, a ROM 12 which is a read-only storage device, a storage unit 13 which is a non-volatile storage device, and a memory 14 which is a storage device capable of high-speed reading and writing. The CPU 11 loads a program stored in the ROM 12 into the memory 14 and executes it to perform calculations, which will be described later.
[0017] The arithmetic device 1 may realize the functions described below by a field programmable gate array (FPGA) that is a rewritable logic circuit or an application specific integrated circuit (ASIC) that is an integrated circuit for a specific application, instead of the combination of the CPU 11, the ROM 12, and the memory 14. Moreover, the arithmetic device 1 may be realized by a combination of different configurations, for example, a combination of the CPU 11, the ROM 12, the RAM 13, and an FPGA, instead of the combination of the CPU 11, the ROM 12, and the memory 14.
[0018] The computing device 1 includes, as its functions, a proxy model generating unit 41, a proxy model updating unit 42, an evaluation scenario generating unit 43, a plan generating unit 44, a disturbance evaluating unit 45, a strict evaluating unit 51, and a simplified evaluating unit 52. As described above, these functions are realized by, for example, the CPU 11 expanding a program stored in the ROM 12 into the memory 14 and executing it, and therefore, for the sake of convenience, these functions are illustrated inside the memory 14 in FIG.
[0019] The storage unit 13 of the computing device 1 stores work instructions 21, environmental parameters 22, an assumed variation range 23, an allowable prediction error 24, learning data 25, surrogate model information 26, and a surrogate model 27. Note that the surrogate model 27 is illustrated in Fig. 2 for the sake of convenience, and the main component of the surrogate model 27 is the surrogate model information 26. Details will be described later.
[0020] The proxy model generation unit 41 generates one or more proxy models 27. The proxy model update unit 42 updates the proxy model 27 generated by the proxy model generation unit 41. The evaluation scenario generation unit 43 acquires the environmental parameters 22 at the current time, and generates multiple evaluation scenarios by randomly varying them within a predetermined range. The plan proposal generation unit 44 uses the multiple evaluation scenarios generated by the evaluation scenario generation unit 43 and the simplified evaluation unit 52 to calculate a tentative plan proposal, which is a provisional work plan, and an approximate evaluation value of the tentative plan proposal.
[0021] The strict evaluation unit 51 performs a highly accurate evaluation with a high computational cost using a strict model (not shown). The strict evaluation unit 51 is, for example, a simulator, and calculates the required work time by simulating the picking operation of each product in the picking work and the movement for picking. The simplified evaluation unit 52 performs a simplified evaluation with a low computational cost using a surrogate model 27. The surrogate model 27 may be realized by machine learning, such as a neural network that approximates a simulation evaluation, or may be a simulation model that is more abstract than the strict evaluation unit 51, or may be a simple mathematical formula.
[0022] The evaluation by the strict evaluation unit 51 is more accurate than that by the simple evaluation unit 52. The evaluation by the simple evaluation unit 52 is less accurate than that by the strict evaluation unit 51. The calculation cost means, for example, the amount of calculation, the calculation time, and the amount of calculation resources required for calculation. For example, if the strict evaluation unit 51 and the simple evaluation unit 52 use the same calculation hardware, the strict evaluation unit 51 takes a longer time to complete the evaluation than the simple evaluation unit 52. Also, if the strict evaluation unit 51 and the simple evaluation unit 52 complete the evaluation in the same time, the strict evaluation unit 51 requires more calculation resources than the simple evaluation unit 52. Specifically, in order for the strict evaluation unit 51 and the simple evaluation unit 52 to complete the evaluation in the same time, the strict evaluation unit 51 needs to use more calculation cores than the simple evaluation unit 52, or the strict evaluation unit 51 needs to use a calculation core with a larger amount of calculation per unit time than the simple evaluation unit 52.
[0023] If there were no restrictions on the computational cost, there would be no advantage to using the simplified evaluation unit 52, and it would be desirable to always use the strict evaluation unit 51. However, since there are restrictions on the computational cost in practice, in this embodiment, the strict evaluation unit 51 and the simplified evaluation unit 52 are used in an efficient combination. Furthermore, in this embodiment, the low accuracy of the strict evaluation unit 51 is compensated for by appropriately improving and selecting the simplified evaluation unit 52.
[0024] FIG. 3 is a diagram showing an example of a work instruction 21. In this example, the work instruction 21 includes multiple combinations of a work instruction ID, a product, a deadline time, and an output quantity. The first record in FIG. 3 instructs that "six" units of product "A" be prepared by "17:00". Note that the work instruction ID is an identifier that identifies an individual work instruction, and does not need to be included in the work instruction 21. Also, instead of the output quantity, a similar instruction may be repeated; for example, product "A" and the deadline time "17:00" may be recorded in six consecutive records.
[0025] 4 is a diagram showing an example of the environmental parameters 22. The environmental parameters 22 include a plurality of combinations of detailed parameters and values. Specifically, parameters such as the number of AGVs and the picking speed are stored in the environmental parameters 22. As described above, the environmental parameters 22 change in a short time, so the environmental parameters 22 shown here are merely values at a certain timing. The arithmetic device 1 may acquire the environmental parameters 22 from another device (not shown), or may acquire the individual values constituting the environmental parameters 22 from a sensor (not shown) connected to the arithmetic device 1.
[0026] FIG. 5 is a diagram showing an example of the expected variation range 23. In the expected variation range 23, an expected variation range is described for each detailed parameter of the environmental parameter 22. The variation width of the expected variation range 23 may be set based on statistical information of past detailed parameters, or may be set arbitrarily by an operator. Since the value of the expected variation range 23 is merely a statistical value or an arbitrarily set value, the environmental parameter 22 may actually vary beyond the range described in the expected variation range 23. However, in this embodiment, no active measures are taken against the environmental parameter 22 varying beyond the expected variation range 23. In the example shown in FIG. 5, it is shown that the number of AGVs is ±2, the picking speed is ±20 pieces / hour, and so on.
[0027] FIG. 6 is a diagram showing an example of the allowable prediction error information G4. The allowable prediction error information G4 defines the allowable range of prediction errors between the strict evaluation unit 51 and the simple evaluation unit 52. For example, the value of the allowable prediction error information G4 is arbitrarily set by the operator. The first record in FIG. 6 states that the time required to complete all work is allowable if it is within ±30 minutes. This "required time" can also be called "work time" or "processing time." The second record in FIG. 6 states that the time margin until the delivery date is allowable if it is ±15%.
[0028] 7 is a diagram showing an example of the training data 25. The training data 25 stores data used for generating the surrogate model 27. The training data 25 may store data in advance, or may be empty, i.e., no data is stored, at the time when the surrogate model generation process described later is started. Data is added to the training data 25 by the surrogate model generation process and the update process described later.
[0029] The training data 25 includes a plurality of samples. Each sample includes an input to the strict evaluation unit 51 and an output from the strict evaluation unit 51. In the example shown in Fig. 7, each record of the training data 25 includes a sample ID for identifying the sample, a data attribute indicating the distinction between input and output to the strict evaluation unit 51, a data name, and a data value. Records of the training data 25 having the same sample ID and whose data attribute is "input" are input to the strict evaluation unit 51 at the same time.
[0030] A combination of a data name and a data value in the learning data 25 corresponds to a certain record of the work instruction 21. A difference in the sample ID indicates a difference in the value of the environmental parameter. Although not shown in FIG. 7, the specific values of the environmental parameters corresponding to each sample ID are also recorded separately.
[0031] Fig. 8 is a diagram showing an example of the surrogate model information 26. The surrogate model information 26 stores the names and values of internal parameters, which are information on the surrogate model 27 generated using the learning data 25. In the example shown in Fig. 8, the surrogate model information 26 stores information on the parameter values for each internal parameter ID that identifies the internal parameter.
[0032] The proxy model 27 is configured by combining information about the proxy model 27 (not shown) with the proxy model information 26. The proxy model 27 is, for example, a neural network, and a calculation using the proxy model 27 is possible by combining information about the configuration of the proxy model 27 (not shown) with parameters stored in the proxy model information 26. Furthermore, for example, the proxy model 27 is a polynomial, and a calculation using the proxy model 27 is possible by combining a mathematical expression of the polynomial (not shown) with coefficient values in the polynomial stored in the proxy model information 26. This concludes the description of the information stored in the storage unit 13.
[0033] (Overview of the processing of the computing device) 9 is a flowchart showing an outline of the processing by the computing device 1. First, in step S31, the proxy model generation unit 41 generates the proxy model 27. This processing is executed in advance before receiving the work instruction 21. Next, in step S32, the computing device 1 acquires the work instruction 21 from outside, for example, a list of product names and deadline times. Next, in step S33, the evaluation scenario generation unit 43 acquires the value of the environmental parameter 22 at that time t, and generates a plurality of virtual environmental parameters (hereinafter referred to as "evaluation scenarios") that are randomly changed based on this value.
[0034] In the next step S34, the plan proposal generating unit 44 calculates an optimal work plan (hereinafter referred to as a "provisional work plan") using the surrogate model 27, and further calculates the average required time when the provisional work plan is applied to the evaluation scenario using the surrogate model 27. "Optimal" here means that the required time is short on average for the multiple environmental parameters generated in step S33. Note that the average required time calculated in this step is also called the "surrogate required time" because it is calculated using the surrogate model 27.
[0035] In the next step S35, the strict evaluation unit 51 calculates the average required time when the tentative work plan calculated in step S34 is applied to the evaluation scenario. That is, the strict evaluation unit 51 performs calculations the same number of times as the number of environmental parameters 22 included in the evaluation scenario to calculate each required time, and calculates their average value. Note that the average required time calculated in this step is also called the "strict required time" because it is calculated using the strict evaluation unit 51.
[0036] In the next step S36, the plan generation unit 44 judges whether or not the difference between the average required time of the tentative work plan calculated in step S34 and the average required time of the tentative work plan calculated in step S35 is within a threshold value. In other words, in this step, the plan generation unit 44 judges whether or not the difference between the proxy required time and the strict required time is within a threshold value.
[0037] If the plan generation unit 44 determines that the difference between the two average required times is within the threshold, the process proceeds to step S37, where the plan generation unit 44 outputs a tentative work plan and ends the process in Fig. 9. If the plan generation unit 44 determines that the difference between the two average required times is equal to or greater than the threshold, the process proceeds to step S38.
[0038] In step S38, the proxy model update unit 42 adds the input to the strict evaluation unit 51 in step S35 and the output of the strict evaluation unit 51 in the same step to the learning data 25, updates the proxy model 27 using this learning data 25, and returns to step S34. The update of the proxy model 27 means updating the parameter values in the proxy model information 26. In step S34, which is executed by transition from step S38, an updated proxy model 27 different from that in the initial step S34 is used. Since the learning data 25 of the updated proxy model 27 includes the same data as the environmental parameters 22 and the work instructions 21 to be used in the calculation to be performed, there is a high probability that the accuracy will be higher than that of the learning data 25 before the update. This concludes the explanation of FIG. 9.
[0039] FIG. 10 is a flowchart showing the proxy model generation process by the proxy model generation unit 41. FIG. 10 shows the details of step S31 shown in FIG. 9. In step S311, the proxy model generation unit 41 determines the reference value and the variation range of the environmental parameter 22. The proxy model generation unit 41 may adopt the variation range described in the assumed variation range 23, or may randomly determine the value of any of the detailed parameters included in the environmental parameter 22. For example, the proxy model generation unit 41 sets the picking speed to 150 pieces per hour, the number of AGVs to 20, and the AGV speed to 10 km per hour as the reference values of the environmental parameter 22. In addition, the picking speed is set to ±50 pieces / hour, the number of AGVs to ±5, and the AGV speed to ±2 km per hour as the variation ranges of the environmental parameter 22.
[0040] In the next step S312, the proxy model generation unit 41 randomly generates the environmental parameters 22 within the variation range determined in step S301. For example, in step S302, if 10 picking speeds, 10 number of AGVs, and 10 speeds of AGVs are randomly calculated, the environmental parameters 22 are calculated in 10 to the power of 3, that is, 1000 ways.
[0041] In the next step S313, the proxy model generation unit 41 randomly generates a plurality of execution plans, i.e., work instructions and work sequences. In the next step S314, the proxy model generation unit 41 combines the plurality of environmental parameters 22 generated in step S302 with the plurality of execution plans generated in step S303, inputs them to the strict evaluation unit 51, and calculates the required time for each. For example, if there are 1,000 environmental parameters 22 generated in step S302 and 100 execution plans generated in step S303, the strict evaluation unit 51 performs 10,000 calculations in step S304.
[0042] In step S315, the surrogate model generation unit 41 compiles the environmental parameters 22 and the execution plan input to the strict evaluation unit 51 in step S304, and the required time output by the strict evaluation unit 51 at that time, into one set of learning data. In the above example, 10,000 sets of learning data are obtained. In the following step S316, the surrogate model generation unit 41 generates a surrogate model 27 using the multiple learning data obtained in step S305. If the execution plan is X, the environmental parameters 22 are θ, and the required time is Y, the surrogate model 27 corresponds to the function f in the following equation 1.
[0043] Y≒f(X, θ) (Formula 1)
[0044] The surrogate model 27 may be realized by machine learning, such as a neural network that approximates a simulation evaluation, or may be a simulation model that is more abstract than the strict evaluation unit 51, or may be a simple mathematical expression. This concludes the description of the surrogate model generation process.
[0045] Fig. 11 is a flowchart showing the evaluation scenario generation process by the evaluation scenario generation unit 43. Fig. 11 shows details of step S33 shown in Fig. 9. In step S331, the evaluation scenario generation unit 43 acquires the current value of the environmental parameter 22. In the following step S332, the evaluation scenario generation unit 43 determines the variation range of the environmental parameter 22. For example, the evaluation scenario generation unit 43 adopts a value described in the expected variation range 23.
[0046] In the next step S333, the evaluation scenario generation unit 43 randomly generates values of the environmental parameters 22 within the range determined in step S332, with the value acquired in step S331 as the center. For example, if the value of the detailed parameter "picking speed" acquired in step S331 is "150" and the range of "picking speed" determined in step S332 is "±30", multiple values are randomly determined within the range of "±30" centered on "150", that is, within the range of "120" to "180".
[0047] In the next step S334, the evaluation scenario generation unit 43 compiles the multiple environmental parameters 22 determined in step S333 and stores them as an evaluation scenario in the memory unit 13. The number of environmental parameters 22 included in the evaluation scenario is not particularly limited. For example, all possible combinations of the values of each detailed parameter determined in step S333 may be used. This concludes the description of the evaluation scenario generation process.
[0048] Fig. 12 is a flowchart showing a plan proposal calculation process by the plan proposal generation unit 44. Fig. 12 shows details of step S34 shown in Fig. 9. In step S341, the plan proposal generation unit 44 randomly generates a work plan and proceeds to step S342. In step S342, the plan proposal generation unit 44 selects one unselected work plan from the work instructions randomly generated in step S341 and proceeds to step S343.
[0049] In step S343, the plan generation unit 44 selects one unselected environmental parameter 22 from the evaluation scenario. In the following step S344, the plan generation unit 44 inputs the environmental parameter 22 selected in step S342 and the work plan selected in step S342 to the surrogate model 27. Strictly speaking, the plan generation unit 44 inputs the environmental parameter 22 and the work plan to the simplified evaluation unit 52 that performs calculations using the surrogate model 27. In the following step S345, the estimated required time calculated by the surrogate model 27 in step S344 is temporarily recorded.
[0050] In the next step S346, the plan generation unit 44 judges whether or not all of the environmental parameters 22 included in the evaluation scenario have been selected in step S343. If the plan generation unit 44 judges that all of the environmental parameters 22 have been selected, the process proceeds to step S347, and if it judges that at least one unselected environmental parameter 22 remains, the process returns to step S343. In other words, if a positive judgment is made in this step, the estimated required times corresponding to all of the environmental parameters 22 included in the evaluation scenario for a certain work plan have already been calculated.
[0051] In step S347, the plan generator 44 calculates and records the average value of the estimated required time temporarily recorded in step S345. When recording of the average value is completed, all values temporarily recorded in step S345 are deleted.
[0052] In the next step S348, the plan generation unit 44 judges whether or not all of the work plans randomly generated in step S341 have been selected in step S342. If the plan generation unit 44 judges that all of the work plans have been selected, the process proceeds to step S349, and if it judges that at least one unselected work plan exists, the process returns to step S342. Note that if a negative judgment is made in this step, the selection status of the environmental parameters 22 is reset, and it is considered that no environmental parameters 22 have been selected so far.
[0053] In step S349, the plan generation unit 44 sets a tentative work plan and specifies the average time required by the proxy model of the tentative work plan. Specifically, the plan generation unit 44 first specifies the minimum value from the average values recorded in step S347, and sets the work plan corresponding to the minimum average value as the tentative work plan. This concludes the explanation of FIG. 12.
[0054] According to the above-described first embodiment, the following advantageous effects can be obtained. (1) The computing device 1 creates a task plan for a given task in an environment in which information on a changing environment can be expressed as environmental parameters 22. The computing device 1 includes a strict evaluation unit 51 that calculates a required time for the given task, an evaluation scenario generation unit 43 that generates a plurality of environmental parameters 22 as an evaluation scenario based on the latest environmental parameters 22, a surrogate model generation unit 41 that uses learning data 25 to create a surrogate model 27 for calculating a required time for the given task more easily than the strict evaluation unit 51, a plan proposal generation unit 44 that calculates a required time using the surrogate model 27 and calculates a tentative task plan that is a task plan suitable for any of the plurality of environmental parameters 22, and a surrogate model update unit 42 that updates the tentative task and the strict required time when a difference between a strict required time calculated using the strict evaluation unit 51 and being a required time for the given task in the tentative task plan and a surrogate required time calculated using the surrogate model 27 and being a required time for the given task in the tentative task plan is equal to or greater than a predetermined threshold value. Therefore, when the accuracy of the surrogate model 27 is low and there is a discrepancy between the calculation results using the surrogate model 27 and the calculation results using the strict evaluation unit 51, the calculation results of the strict evaluation unit 51 are used to update the surrogate model 27, thereby improving the accuracy of the surrogate model 27 used for the simplified calculation.
[0055] (2) The environmental parameters 22 include information on the speed at which a specific task is performed, i.e., the picking speed. The evaluation scenario generation unit 43 generates an evaluation scenario based on the assumed variation range 23 that describes the range within which the environmental parameters 22 are varied.
[0056] (Variation 1) In the above-mentioned first embodiment, the arithmetic device 1 has been described as a single hardware device. However, the arithmetic device 1 may be composed of multiple pieces of hardware, and each function may be realized by a different computer. In this case, the function of the arithmetic device 1 may be realized by multiple pieces of hardware that are connected by a network and located in physically separate places.
[0057] --Second embodiment-- A second embodiment of the arithmetic device will be described with reference to Figs. 13 and 14. In the following description, the same components as in the first embodiment are given the same reference numerals, and differences will be mainly described. Points that are not particularly described are the same as in the first embodiment. This embodiment differs from the first embodiment mainly in that the calculation is redone if the environmental parameters fluctuate significantly during the calculation.
[0058] 13 is a configuration diagram of a calculation device 1A in the second embodiment. In addition to the configuration in the first embodiment, the calculation device 1A further includes a disturbance evaluation unit 45. The disturbance evaluation unit 45 evaluates the deviation between the environmental parameters 22 at the start of operation of the plan generation unit 44 and the current environmental parameters 22.
[0059] FIG. 14 is a flowchart showing an outline of the processing of the arithmetic device 1A in the second embodiment. The difference from FIG. 9 in the first embodiment is that step S39 is added between steps S34 and S35. In step S39, the disturbance evaluation unit 45 compares the value of the environmental parameter 22 acquired at the beginning of step S33, i.e., step S331 in FIG. 11, with the latest value of the environmental parameter 22, and judges whether the value of the environmental parameter 22 has changed significantly since the execution of step S33. If the disturbance evaluation unit 45 judges that the value has changed significantly, it returns to step S33, and if it judges that the value has not changed significantly, it proceeds to step S35. The criterion for judging whether the change in the environmental parameter 22 is large may be determined separately and individually for each detailed parameter, or the value of the expected fluctuation range 23 may be used.
[0060] According to the above-described second embodiment, the following advantageous effects can be obtained. (3) The evaluation scenario generating unit 43 generates an evaluation scenario based on the start environmental parameters, which are the latest environmental parameters 22. When the difference between the completion environmental parameters, which are the environmental parameters 22 when the calculation of the tentative work plan using the evaluation scenario, and the start environmental parameters is equal to or greater than a predetermined threshold, the plan proposal generating unit 44 causes the evaluation scenario generating unit 43 to create an evaluation scenario using the latest environmental parameters 22 and calculates the tentative work plan again. Therefore, since the environmental parameters 22 fluctuate in a short time, calculation using perfectly matching values of the environmental parameters 22 is impossible, but if the environmental parameters 22 fluctuate significantly while the plan proposal generating unit 44 is generating the plan proposal, a new plan proposal is generated, so that a plan proposal using environmental parameters 22 that are less likely to deviate from reality can be generated.
[0061] (Modification of the second embodiment) If the time elapsed since the start of calculation exceeds a predetermined threshold, the calculation of the tentative work plan may be redone. For example, step S39 in Fig. 14 may be further modified so that if the time elapsed since the start of processing in step S33 exceeds a predetermined time, a positive determination is made and the process returns to step S33. Also, immediately after step S35, a branch may be added that returns to step S33 if the time elapsed since the start of processing in step S33 exceeds a predetermined time.
[0062] --Third embodiment-- A third embodiment of the arithmetic device will be described with reference to Figs. 15 to 19. In the following description, the same components as in the first embodiment are given the same reference numerals, and differences will be mainly described. Points that are not particularly described are the same as in the first embodiment. This embodiment differs from the first embodiment mainly in that a plurality of proxy models are used selectively.
[0063] 15 is a configuration diagram of a calculation device 1B in the third embodiment. In addition to the configuration in the first embodiment, the calculation device 1A further stores parameter classes 28 in the storage unit 13. Moreover, instead of the learning data 25 and the surrogate model information 26, learning data 25A and surrogate model information 26A are stored in the storage unit 13.
[0064] The surrogate model 27 has an advantage of requiring less calculations than the strict evaluation unit 51, but the accuracy of the calculations tends to decrease when the value of the environmental parameter 22 changes. Therefore, a plurality of surrogate models 27 are generated in advance, and the surrogate models 27 are used according to the value of the environmental parameter 22. In this embodiment, the value of the environmental parameter 22 is divided into a plurality of categories in advance, and a data set is formed for each category. Then, a surrogate model is generated for each data set. Information indicating the category of the environmental parameter 22 is stored as a parameter category 28 in the storage unit 13. In this embodiment, since a plurality of surrogate models 27 are generated, the learning data 25A and the surrogate model information 26A for generating the plurality of surrogate models 27 are also different from those in the first embodiment.
[0065] FIG. 16 is a diagram showing an example of the parameter category 28. The parameter category 28 shows the correspondence between the data set ID and the value range of the environmental parameter 22. For example, the value range of the environmental parameter 22 corresponding to the data set ID "DS001" is the number of AGVs "8 to 12 units" and the picking speed "80 to 120 units / hour". The value range of the environmental parameter 22 corresponding to the next data set ID "DS002" is the same as the picking speed, but is different from the first data set in that the number of AGVs is "13 to 20 units". Note that the values of the environmental parameters 22 of the data sets do not have to be completely the same, and there may be overlap in the value range.
[0066] Fig. 17 is a diagram showing an example of learning data 25A in this embodiment. The difference from learning data 25 in the first embodiment is that information on a data set ID is added. In the example shown in Fig. 17, data of two sample IDs whose environmental parameters 22 are included in the same section is shown.
[0067] 18 is a diagram showing an example of the representative model information 26A in the present embodiment. The difference from the representative model information 26 in the first embodiment is that a representative model ID, which is an identifier of the representative model, and a dataset ID, which indicates the dataset used to generate the representative model, are added.
[0068] Fig. 19 is a flowchart showing an outline of the processing of the computing device 1B in the third embodiment. The difference from Fig. 9 in the first embodiment is that step S391 is added between steps S33 and S34. In step S391, the plan generation unit 44 selects an optimal surrogate model 27, and uses the surrogate model 27 in steps S34 and after.
[0069] The specific process of the plan generation unit 44 in this step is as follows: First, the plan generation unit 44 reads the value of the current environmental parameter 22, and identifies a data set ID corresponding to a range in the parameter category 28 in which the value of the current environmental parameter 22 falls. Then, the plan generation unit 44 reads the value of an internal parameter of the surrogate model 27 corresponding to the identified data set ID by referring to the surrogate model information 26A, and uses the surrogate model 27.
[0070] According to the above-described third embodiment, the following advantageous effects can be obtained. (CL4) The evaluation scenario generating unit 43 generates a plurality of evaluation scenarios with different value ranges of the environmental parameters. The proxy model generating unit 41 generates proxy models 27 corresponding to each evaluation scenario, and the plan generating unit 44 selects one of the proxy models 27 according to the value of the environmental parameter 22. Therefore, by selecting the proxy model 27 according to the situation, it is possible to improve the accuracy of the calculation.
[0071] (Modification of the third embodiment) The configuration of the second embodiment may be combined with the configuration of the third embodiment. In this case, there are advantages that the plan generation unit 44 performs calculations using the optimal surrogate model 27, and that recalculation can be performed if the environmental parameters 22 change significantly during processing by the plan generation unit 44. In this case, the parameter classification 28 can be used for the judgment in step S39.
[0072] Fig. 20 is a flowchart showing an outline of the processing of the arithmetic device 1B in this modified example. However, in Fig. 20, for convenience of drawing, the description from the start to step S31 is omitted. Comparing this flowchart with Fig. 9 in the first embodiment, step S391 is added between step S33 and step S34, and further step S39 is added between step S34 and step S35.
[0073] In each of the above-mentioned embodiments and modifications, the configuration of the functional blocks is merely an example. Some functional configurations shown as separate functional blocks may be integrated, or a configuration shown in one functional block diagram may be divided into two or more functions. In addition, some of the functions of each functional block may be provided by other functional blocks.
[0074] In the above-described embodiments and modifications, the program is stored in the ROM 12, but the program may be stored in the storage unit 13. The arithmetic device 1 may have an input / output interface (not shown), and the program may be read from another device via the input / output interface and a medium available to the arithmetic device 1 when necessary. The medium here refers to, for example, a storage medium that is detachable from the input / output interface, or a communication medium, i.e., a network such as a wired, wireless, or optical network, or a carrier wave or digital signal that propagates through the network. Some or all of the functions realized by the program may be realized by a hardware circuit or an FPGA.
[0075] The above-mentioned embodiments and modifications may be combined with each other. Although various embodiments and modifications have been described above, the present invention is not limited to these. Other aspects that are conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. [Explanation of symbols]
[0076] 1, 1A, 1B…Arithmetic device 13...Storage section 14…Memory 21…Work instructions 22...Environmental parameters 23…Expected fluctuation range 24…Permissible prediction error 25, 25A…Learning data 26, 26A…Representative model information 27…Substitute model 28...Parameter category 41…Surrogate model generation unit 42…Representative Model Update Department 43...Evaluation scenario generation unit 44…Planning section 45…Disturbance evaluation section 51…Strict evaluation section 52...Simple evaluation section
Claims
1. A computing device that creates a task plan for a predetermined task in an environment in which information about a changing environment can be expressed as an environmental parameter, comprising: a strict evaluation unit that calculates a required time for the predetermined task by performing a highly accurate evaluation with a high computational cost using a strict model; an evaluation scenario generating unit that generates, as an evaluation scenario, a plurality of environmental parameters obtained by randomly varying the latest environmental parameters within a predetermined range; a surrogate model generation unit that uses learning data including a plurality of combinations of the environmental parameters and the work plan as inputs, and the required time as output, to create a surrogate model for calculating the required time more simply than the strict evaluation unit; a plan generation unit that calculates the required time using the representative model and calculates a tentative work plan, which is the work plan suitable for all of the plurality of environmental parameters; and a proxy model updating unit that, when a difference between an strict required time, which is the time calculated using the strict evaluation unit and is the required time in the tentative work plan, and a proxy required time, which is the time calculated using the proxy model and is the required time in the tentative work plan, is equal to or greater than a predetermined threshold, adds the tentative work plan, the evaluation scenario, and the strict required time to the learning data as added learning data, and updates the proxy model using the added learning data.
2. 2. The computing device according to claim 1, The environmental parameters include information on the speed at which the predetermined task is performed; The evaluation scenario generation unit is a computing device that generates the evaluation scenario based on environmental parameter variation information in which the predetermined range is described.
3. 2. The computing device according to claim 1, the evaluation scenario generation unit generates the evaluation scenario based on start-time environmental parameters which are the latest environmental parameters; The plan proposal generation unit, when a difference between the completion environmental parameters, which are the environmental parameters at the time when calculation of the interim work plan using the evaluation scenario is completed, and the start environmental parameters, is equal to or greater than a predetermined threshold, causes the evaluation scenario generation unit to create the evaluation scenario using the latest environmental parameters and calculates the interim work plan again.
4. 2. The computing device according to claim 1, the evaluation scenario generation unit generates a plurality of evaluation scenarios each having a different value range for the environmental parameter; the surrogate model generation unit generates the surrogate models corresponding to each of the evaluation scenarios; The plan generation unit selects one of the representative models depending on the value of the environmental parameter.
5. A method for creating a work plan, the method comprising: creating a work plan for a predetermined work in an environment in which information about a changing environment can be expressed as an environmental parameter by a computing device, the method comprising: A rigorous evaluation process that uses a rigorous model to perform a highly accurate evaluation with a high computational cost to calculate a required time for the predetermined task; an evaluation scenario generation process for generating evaluation scenarios from a plurality of environmental parameters obtained by randomly varying the latest environmental parameters within a predetermined range; a surrogate model generation process for generating a surrogate model for performing calculations related to the predetermined work more easily than the strict evaluation process, using learning data including a plurality of combinations of the environmental parameters and the work plan as inputs, and the required time as output; a plan generation process for performing a calculation related to the predetermined work using the proxy model and calculating a tentative work plan, which is the work plan suitable for all of the plurality of environmental parameters; a proxy model updating process for adding the tentative work plan, the evaluation scenario, and the strict required time to the learning data to generate added learning data, and updating the proxy model using the added learning data, when a difference between an strict required time, which is the time calculated by the strict evaluation process and is the required time in the tentative work plan, and a proxy required time, which is the time calculated using the proxy model and is the required time in the tentative work plan, is equal to or greater than a predetermined threshold.
6. A computing system for creating a task plan for a predetermined task in an environment in which information about a changing environment can be expressed as an environmental parameter, comprising: a strict evaluation unit that calculates a required time for the predetermined task by performing a highly accurate evaluation with a high computational cost using a strict model; an evaluation scenario generating unit that generates, as an evaluation scenario, a plurality of environmental parameters obtained by randomly varying the latest environmental parameters within a predetermined range; a surrogate model generation unit that uses learning data including a plurality of combinations of the environmental parameters and the task plan as inputs, and the required time as output, to generate a surrogate model for performing calculations related to the predetermined task more easily than the strict evaluation unit; a plan generation unit that performs a calculation related to the predetermined work using the representative model and calculates a tentative work plan, which is the work plan suitable for all of the plurality of environmental parameters; a proxy model updating unit that, when a difference between an strict required time, which is the time calculated using the strict evaluation unit and is the required time in the tentative work plan, and a proxy required time, which is the time calculated using the proxy model and is the required time in the tentative work plan, is equal to or greater than a predetermined threshold, adds the tentative work plan, the evaluation scenario, and the strict required time to the learning data to generate added learning data, and updates the proxy model using the added learning data.
Citation Information
Patent Citations
Plan adjustment system and plan adjustment method
JP2017116984A
Machine learning device for performing learning by use of simulation result, mechanical system, manufacturing system and machine learning method
JP2017185577A
Traffic flow prediction device and traffic flow prediction system
JP2019220048A
Shipping operation support system, method thereof, and computer program
JP2021022016A
Image analysis device, image analysis method, and computer program
JP2021105951A