Adjustment assistance method and adjustment assistance system
The adjustment support method and system efficiently adjust motor control parameters by calculating evaluation values and adjusting based on representative values, addressing the challenge of determining optimal operations, thereby ensuring efficient and optimal performance.
Patent Information
- Application Number
- PCT/JP2024/006386
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2024-02-21
- Publication Date
- 2024-09-26
AI Technical Summary
Conventional systems for adjusting motor control parameters face challenges in determining the optimal number of evaluation operations required to achieve the best solution, making it difficult to efficiently adjust control parameters.
An adjustment support method and system that calculates evaluation values under various operating conditions, determines a representative evaluation value, and adjusts control parameters based on this value, terminating the process when the target performance is reached or predetermined time and change limits are met.
This approach allows for efficient adjustment of control parameters by clearly defining when to stop or suspend adjustments, ensuring optimal performance is achieved within set criteria.
Smart Images

Figure JP2024006386_26092024_PF_FP
Abstract
Description
Adjustment support method and adjustment support system
[0001] The present disclosure relates to an adjustment assistance method and an adjustment assistance system.
[0002] A system for adjusting motor control parameters is known (see, for example, Patent Document 1). In this system, an evaluation operation is repeatedly performed to calculate an evaluation value related to motor performance by operating the motor using the control parameters. The control parameters are changed each time the evaluation operation is repeated, and the evaluation operation is terminated when a predetermined termination condition is met. Then, of the multiple evaluation values obtained during the repeated evaluation operation, the control parameters that provide the best solution are determined to be the optimized control parameters.
[0003] Japanese Patent No. 7105882
[0004] However, in the conventional systems described above, it is difficult to define the best solution, which leads to the problem of it being difficult to determine how many times the evaluation operation should be repeated until the best solution is obtained.
[0005] Therefore, the present disclosure provides an adjustment support method and an adjustment support system that can efficiently adjust control parameters.
[0006] An adjustment support method according to one aspect of the present disclosure is an adjustment support method that supports adjustment of control parameters for controlling a driven object included in a target device including a servo motor, the adjustment support method including: (a) a step of driving the driven object under a plurality of operating conditions using the control parameters; (b) a step of calculating a plurality of evaluation values related to performance of the target device when the driven object is driven under each of the plurality of operating conditions; (c) a step of determining a representative evaluation value from the plurality of evaluation values; (d) a step of changing the control parameters based on the representative evaluation value; (e) a step of repeating steps (a) to (d) using the control parameters changed in step (d); (f) a step of terminating the adjustment of the control parameters on condition that the representative evaluation value has reached a target performance value; and (g) a step of interrupting the adjustment of the control parameters if the representative evaluation value has not reached the target performance value, on condition that (i) a time for adjusting the control parameters has reached a predetermined set time, or (ii) the number of times the control parameters have been changed has reached a predetermined set number of times.
[0007] These comprehensive or specific aspects may be realized by a system, a method, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM (Compact Disc-Read Only Memory), or may be realized by any combination of a system, a method, an integrated circuit, a computer program, and a recording medium.
[0008] According to the adjustment support method and the like according to one aspect of the present disclosure, it is possible to efficiently adjust control parameters.
[0009] FIG. 1 is a diagram showing an overview of an adjustment support system according to an embodiment. FIG. 2 is a block diagram showing a functional configuration of the adjustment support system according to an embodiment. FIG. 3 is a sequence diagram showing a flow of the entire operation of the adjustment support system according to an embodiment. FIG. 4 is a flowchart showing a flow of adjustment of control parameters in the adjustment support system according to an embodiment. FIG. 5 is a diagram showing an example of a plurality of groups of operations to be adjusted that are set in the adjustment support system according to an embodiment. FIG. 6 is a diagram for explaining evaluation values calculated in the adjustment support system according to an embodiment. FIG. 7 is a diagram showing an example of an adjustment condition setting screen according to a modified example of an embodiment.
[0010] Hereinafter, the embodiments will be specifically described with reference to the drawings.
[0011] The embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in the independent claims that represent the highest concepts are described as optional components.
[0012] (Embodiment) [1. Overview of Adjustment Support System] First, an overview of an adjustment support system 2 according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an overview of an adjustment support system 2 according to an embodiment.
[0013] 1, the adjustment support system 2 includes a production device 4 (an example of a target device), a sensor information collection device 6, and a terminal device 8. The production device 4, the sensor information collection device 6, and the terminal device 8 are communicably connected to each other via a communication line. The communication realized by the communication line may be wired communication or wireless communication.
[0014] The production device 4 is, for example, an industrial device such as a mounting device, a processing device, or a machining device installed in a factory, etc. The production device 4 includes a driven object 9, a servo motor 10, a servo control device 12, an encoder 14, and a sensor 16.
[0015] The driven object 9 is driven by a servo motor 10. For example, if the production device 4 is a mounting device, the driven object 9 is a moving part that moves relative to a board to mount electronic components on the board.
[0016] The servo motor 10 drives the driven object 9. For example, if the production device 4 is a mounting device, the servo motor 10 moves the driven object 9 relative to the board.
[0017] The servo control device 12 is, for example, a servo amplifier. The servo control device 12 controls the driving of the driven object 9 by driving (controlling) the servo motor 10 based on servo information transmitted from the terminal device 8. The servo information is information including control parameters and an operation pattern. The control parameters are used by the servo control device 12 to control the driven object 9. The control parameters are a parameter set consisting of a plurality of parameters, and include, for example, a position gain, a torque gain, and an integral gain. The operation pattern is the operation pattern of the driven object 9, and includes, for example, a moving distance, a maximum speed, an acceleration time, and a deceleration time of the driven object 9.
[0018] The encoder 14 detects the amount of displacement of the servo motor 10 and generates encoder information indicating the detected amount of displacement of the servo motor 10. The encoder 14 transmits the generated encoder information to the terminal device 8.
[0019] The sensor 16 detects the position of the driven object 9 and generates sensor information indicating the detected position of the driven object 9. The sensor 16 transmits the generated sensor information to the sensor information collecting device 6.
[0020] The sensor information collecting device 6 collects sensor information generated by the sensor 16. The sensor information collecting device 6 transmits the collected sensor information to the terminal device 8.
[0021] The terminal device 8 is, for example, a personal computer installed in a factory or the like, and is operated by a user. The terminal device 8 is used to adjust the above-mentioned control parameters. The terminal device 8 receives the encoder information transmitted from the encoder 14 and the sensor information transmitted from the sensor information collection device 6. The terminal device 8 also adjusts the control parameters based on the received encoder information and sensor information, and transmits servo information including the adjusted control parameters to the production device 4.
[0022] 2. Functional Configuration of Adjustment Support System Next, the functional configuration of the adjustment support system 2 according to the embodiment will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the functional configuration of the adjustment support system 2 according to the embodiment.
[0023] As shown in FIG. 2, the servo control device 12 of the production device 4 includes, as functional components, a servo information acquisition unit 18, a servo information output unit 20, a storage unit 22, and a control unit 24.
[0024] The servo information acquisition unit 18 acquires (receives) the servo information transmitted from the terminal device 8. The servo information acquisition unit 18 is realized by, for example, a communication module or the like.
[0025] The servo information output unit 20 outputs the servo information acquired by the servo information acquisition unit 18 to the control unit 24. The servo information output unit 20 is realized by, for example, a communication module or the like.
[0026] The storage unit 22 stores various types of information, programs, etc. The storage unit 22 is realized by, for example, a memory.
[0027] The control unit 24 drives the servo motor 10 based on the servo information output from the servo information output unit 20, thereby controlling the driving of the driven object 9. The control unit 24 is realized by, for example, a processor. That is, the processor executes programs stored in a memory, thereby performing various functions of the servo control device 12.
[0028] As shown in FIG. 2, the terminal device 8 has, as its functional configuration, an operation unit 26, a display unit 28, a memory unit 30, a control unit 32, a setting unit 34, an operation result acquisition unit 36, an adjustment unit 38, an adjustment result output unit 40, and a servo information output unit 42.
[0029] The operation unit 26 accepts input from the user. Specifically, the operation unit 26 accepts input of a target performance value, a set time, and a set count by the user. The target performance value is a target numerical value of an index related to the performance of the production device 4 (for example, the settling time and vibration of the driven object 9). The settling time is the time required for the driven object 9 to reach an allowable position from the drive start position, at which it can be evaluated that the driven object 9 has reached the target position. The set time is the adjustment time of the control parameters input in advance by the user when adjusting the control parameters as described below. The set count is the number of changes to the control parameters input in advance by the user when adjusting the control parameters as described below. The operation unit 26 is realized by, for example, a keyboard and a mouse.
[0030] The display unit 28 displays various information and is realized by, for example, a liquid crystal display.
[0031] The storage unit 30 stores various types of information, programs, etc. The storage unit 30 is realized by, for example, a memory, etc. The storage unit 30 may also store a trained model.
[0032] The control unit 32 controls the entire terminal device 8. The control unit 32 is realized by, for example, a processor. That is, the processor executes programs stored in a memory, thereby executing various functions of the terminal device 8.
[0033] The setting unit 34 sets the target performance value, the set time, and the set number of times based on the user's input received by the operation unit 26. The setting unit 34 is realized by, for example, a processor.
[0034] The operation result acquisition unit 36 acquires the encoder information from the encoder 14 and the sensor information from the sensor information collection device 6. Then, the operation result acquisition unit 36 acquires the operation result of the driven object 9 (i.e., the operation result of the production device 4) based on at least one of the acquired encoder information and sensor information. The operation result acquisition unit 36 is realized by, for example, a communication module or the like.
[0035] The adjustment unit 38 sets one or more groups of actions to be adjusted as action patterns of the object to be driven 9 when adjusting the control parameters as described below. Each group of actions to be adjusted includes a plurality of action conditions. The plurality of action conditions include, for example, (a) an action condition for moving the object to be driven 9 by 1 mm from the drive start position, (b) an action condition for moving the object to be driven 9 by 5 mm from the drive start position, and (c) an action condition for moving the object to be driven 9 by 10 mm from the drive start position.
[0036] Furthermore, the adjustment unit 38 adjusts the control parameters based on the operation results of the object to be driven 9 acquired by the operation result acquisition unit 36 when the object to be driven 9 is operated in the above-described operation pattern (i.e., based on the worst value of the evaluation value, which will be described later). Next, when the object to be driven 9 is operated again with the adjusted control parameters, the adjustment unit 38 adjusts the control parameters again based on the operation results of the object to be driven 9 acquired by the operation result acquisition unit 36. Then, the adjustment unit 38 sequentially searches for optimal control parameters by repeatedly executing the above process. That is, the adjustment unit 38 executes an algorithm that solves so-called "combinatorial optimization," which searches for control parameters that can achieve a desired target performance value from among a large number of control parameters.
[0037] Instead of the above process, the adjustment unit 38 may adjust the control parameters based on the operation results of the driven object 9 acquired by the operation result acquisition unit 36, using the trained model stored in the storage unit 30 when the driven object 9 is operated according to the above operation pattern. The trained model is constructed, for example, by performing machine learning using the performance of the production device 4, the encoder information generated by the encoder 14, and the sensor information generated by the sensor 16 as training data. A neural network, for example, is used to construct the logical model in machine learning.
[0038] The adjustment result output unit 40 outputs the operation pattern set by the adjustment unit 38 and the control parameters adjusted by the adjustment unit 38 .
[0039] The servo information output unit 42 outputs (transmits) the servo information including the operation pattern and control parameters output from the adjustment result output unit 40 to the production device 4 .
[0040] 3. Overall Operation of Adjustment Support System Next, the overall operation of the adjustment support system 2 according to the embodiment will be described with reference to Fig. 3. Fig. 3 is a sequence diagram showing the flow of the overall operation of the adjustment support system 2 according to the embodiment.
[0041] 3 , first, the adjustment unit 38 of the terminal device 8 sets initial control parameters and sets a first group of operations to be adjusted as initial operation patterns of the driven object 9 (S101). Next, the servo information output unit 42 of the terminal device 8 outputs servo information including the initial control parameters and operation patterns (first group of operations to be adjusted) set by the adjustment unit 38 to the production device 4 (S102).
[0042] Next, the servo information acquisition unit 18 of the servo control device 12 of the production device 4 acquires the servo information from the terminal device 8. The servo information output unit 20 of the servo control device 12 outputs the servo information acquired by the servo information acquisition unit 18 to the control unit 24. The control unit 24 drives (controls) the servo motor 10 based on the servo information output from the servo information output unit 20, thereby controlling the driving of the driven object 9 (S103). As a result, the driven object 9 is operated by the servo motor 10 based on the servo information.
[0043] Next, the operation result acquisition unit 36 of the terminal device 8 acquires the encoder information transmitted from the encoder 14 and the sensor information transmitted from the sensor 16 (i.e., the sensor information collection device 6) (S104). As a result, the operation result acquisition unit 36 acquires the operation result of the driven object 9 based on at least one of the acquired encoder information and sensor information (S105).
[0044] Next, the adjustment unit 38 of the terminal device 8 adjusts the control parameters to sequentially search for optimal control parameters based on the operation results of the driven object 9 acquired by the operation result acquisition unit 36. Furthermore, the adjustment unit 38 sets a second group of operations to be adjusted, which is different from the first group of operations to be adjusted, as the operation pattern of the driven object 9. Note that, instead of the above process, the adjustment unit 38 may adjust the control parameters based on the operation results of the driven object 9 acquired by the operation result acquisition unit 36, using a trained model stored in the storage unit 30.
[0045] Next, the servo information output unit 42 of the terminal device 8 outputs servo information including the control parameters adjusted by the adjustment unit 38 and the operation patterns (second operation group to be adjusted) set by the adjustment unit 38 to the production device 4 (S102). Thereafter, steps S102 to S105 are repeatedly executed in the same manner as described above.
[0046] 4 to 6, a method for adjusting control parameters in the adjustment support system 2 according to the embodiment will be described. FIG. 4 is a flowchart showing the flow of control parameter adjustment in the adjustment support system 2 according to the embodiment. FIG. 5 is a diagram showing an example of a plurality of groups of actions to be adjusted that are set in the adjustment support system 2 according to the embodiment. FIG. 6 is a diagram for explaining evaluation values calculated in the adjustment support system 2 according to the embodiment.
[0047] The user arbitrarily inputs the target performance value, the set time, and the set number of times in advance using the operation unit 26 of the terminal device 8. At this time, the user may arbitrarily input the target performance value, the set time, and the set number of times according to, for example, the type of the production device 4. As a result, the setting unit 34 of the terminal device 8 sets the target performance value, the set time, and the set number of times based on the user's input received by the operation unit 26.
[0048] As shown in Fig. 4, the adjustment unit 38 of the terminal device 8 sets initial control parameters (S201). Next, the adjustment unit 38 sets a plurality of different operation groups to be adjusted (S202). For example, as shown in Fig. 5, the setting unit 34 sets a total of six operation groups to be adjusted, A, B, C, D, E, and F. Note that when adjusting the control parameters, the performance of the production apparatus 4 is evaluated each time the drive target object 9 is driven in the order of the operation groups to be adjusted A, B, C, D, E, and F.
[0049] Next, the servo information output unit 42 of the terminal device 8 outputs (transmits) servo information including the initial control parameters set by the adjustment unit 38 and the operation group A to be adjusted to the production device 4. Note that the operation group A to be adjusted includes a plurality of operation conditions, for example, a total of three operation conditions A1, A2, and A3.
[0050] Next, the servo information acquisition unit 18 of the servo control device 12 of the production device 4 acquires the servo information from the terminal device 8. The servo information output unit 20 of the servo control device 12 outputs the servo information acquired by the servo information acquisition unit 18 to the control unit 24. The control unit 24 of the servo control device 12 controls the driving of the driven object 9 by driving the servo motor 10 based on the initial control parameters included in the servo information output from the servo information output unit 20 and the operating conditions A1 of the adjustment-target operation group A (S203). As a result, the driven object 9 performs an operation based on the initial control parameters and the operating conditions A1 of the adjustment-target operation group A by the servo motor 10. Note that the operating conditions A1 are operating conditions for moving the driven object 9 by 1 mm from the drive start position.
[0051] Next, the operation result acquisition unit 36 of the terminal device 8 acquires the encoder information transmitted from the encoder 14 and the sensor information transmitted from the sensor 16, and acquires the operation result of the driven object 9 based on at least one of the acquired encoder information and sensor information.
[0052] Next, the adjustment unit 38 of the terminal device 8 calculates an evaluation value based on the operation result of the driven object 9 acquired by the operation result acquisition unit 36 (S204). That is, the adjustment unit 38 calculates an evaluation value (hereinafter referred to as "evaluation value A") when the driven object 9 is driven based on the initial control parameters and the operation condition A1 of the adjustment-target operation group A. This evaluation value A is an index related to the performance of the production device 4 when the driven object 9 is driven under the initial control parameters and the operation condition A1 of the adjustment-target operation group A. Specifically, for example, when the change over time in the position deviation of the driven object 9 has a waveform as shown in FIG. 6, the adjustment unit 38 calculates the evaluation value A based on a product-sum operation shown in the following equation 1.
[0053] Evaluation value A = α × settling time + β × waveform area (Equation 1) In the above equation 1, α and β are weighting factors by which the settling time and waveform area (examples of multiple evaluation indexes) are multiplied, respectively. The waveform area is the total area of the region enclosed by the waveform and the horizontal axis shown in FIG. 6 (the region shaded in FIG. 6). The user may arbitrarily input the weighting factors α and β using the operation unit 26 of the terminal device 8. For example, if the user wishes to shorten the settling time of the driven object 9, the user may set the weighting factors α > β, and if the user wishes to reduce the vibration of the driven object 9, the user may set the weighting factor β > α. Alternatively, the weighting factors α and β may be automatically set by the setting unit 34 according to the type of the production device 4, etc.
[0054] If all of the operation conditions A1, A2, and A3 of the adjustment target operation group A have not been completed (NO in S205), the process returns to step S203 described above. In this case, the control unit 24 of the servo control device 12 controls the driving of the servo motor 10 based on the initial control parameters included in the servo information output from the servo information output unit 20 and the operation condition A2 of the adjustment target operation group A (S203). As a result, the driven object 9 is caused to perform an operation based on the initial control parameters and the operation condition A2 of the adjustment target operation group A by the servo motor 10. Note that the operation condition A2 is an operation condition for moving the driven object 9 5 mm from the drive start position.
[0055] Next, the operation result acquisition unit 36 of the terminal device 8 acquires the encoder information transmitted from the encoder 14 and the sensor information transmitted from the sensor 16, and acquires the operation result of the driven object 9 based on at least one of the acquired encoder information and sensor information.
[0056] Next, the adjustment unit 38 of the terminal device 8 calculates an evaluation value based on the operation result of the driving object 9 acquired by the operation result acquisition unit 36 (S204). That is, the adjustment unit 38 calculates an evaluation value (hereinafter referred to as "evaluation value B") when the driving object 9 is driven based on the initial control parameters and the operation condition A2 of the adjustment-target operation group A. This evaluation value B is an index related to the performance of the production apparatus 4 when the driving object 9 is driven under the initial control parameters and the operation condition A2 of the adjustment-target operation group A. The calculation method of the evaluation value B is the same as that of the above formula 1, and therefore a description thereof will be omitted.
[0057] If all of the operation conditions A1, A2, and A3 of the adjustment target operation group A have not been completed (NO in S205), the process returns to step S203 described above. In this case, the control unit 24 of the servo control device 12 controls the driving of the driven object 9 by driving the servo motor 10 based on the initial control parameters included in the servo information output from the servo information output unit 20 and the operation condition A3 of the adjustment target operation group A (S203). As a result, the driven object 9 performs an operation based on the initial control parameters and the operation condition A3 of the adjustment target operation group A by the servo motor 10. Note that the operation condition A3 is an operation condition for moving the driven object 9 10 mm from the drive start position.
[0058] Next, the operation result acquisition unit 36 of the terminal device 8 acquires the encoder information transmitted from the encoder 14 and the sensor information transmitted from the sensor 16, and acquires the operation result of the driven object 9 based on at least one of the acquired encoder information and sensor information.
[0059] Next, the adjustment unit 38 of the terminal device 8 calculates an evaluation value based on the operation result of the driving object 9 acquired by the operation result acquisition unit 36 (S204). That is, the adjustment unit 38 calculates an evaluation value (hereinafter referred to as "evaluation value C") when the driving object 9 is driven based on the initial control parameters and the operation condition A3 of the adjustment-target operation group A. This evaluation value C is an index related to the performance of the production device 4 when the driving object 9 is driven under the initial control parameters and the operation condition A3 of the adjustment-target operation group A. The calculation method of the evaluation value C is the same as that of the above formula 1, and therefore a description thereof will be omitted.
[0060] When all of the operating conditions A1, A2, and A3 of the operation group A to be adjusted have been completed (YES in S205), the adjustment unit 38 of the terminal device 8 determines the worst value (an example of a representative evaluation value) that has the largest difference from the target performance value from the multiple evaluation values A, B, and C calculated as described above (S206). Note that the worst value is, for example, the evaluation value with the largest numerical value among the evaluation values A, B, and C (i.e., the evaluation value with the longest settling time and the largest waveform area in the above formula 1).
[0061] Next, the adjustment unit 38 of the terminal device 8 changes (adjusts) the initial control parameters based on the worst-case values described above in order to sequentially search for optimal control parameters (S207). Here, the storage unit 30 stores the number of times the control parameters have been changed, and the adjustment unit 38 increments the number of times the control parameters have been changed stored in the storage unit 30 by "1." Note that in step S207, instead of the above-described process, the adjustment unit 38 may change the initial control parameters based on the worst-case values described above using a trained model stored in the storage unit 30.
[0062] Next, if the performance of the production device 4 has not been evaluated based on all of the operation groups A to F to be adjusted (NO in S208), the process proceeds to step S209. If the performance of the production device 4 is to be evaluated continuously using the same operation group A to be adjusted (YES in S209), the process returns to step S203, and the above-described steps S203 to S208 are executed again.
[0063] On the other hand, if the performance of the production device 4 is not to be evaluated continuously using the same group of operations to be adjusted A (NO in S209), the adjustment unit 38 of the terminal device 8 sets the next group of operations to be adjusted B (S210) and returns to step S203. Then, the above-described steps S203 to S210 are repeatedly executed until the performance of the production device 4 is evaluated based on all of the groups of operations to be adjusted A to F.
[0064] In step S208, when the performance of the production device 4 has been evaluated based on all of the operation groups A to F to be adjusted (YES in S208), the adjustment unit 38 of the terminal device 8 determines whether the worst value corresponding to the operation group F to be adjusted has reached the target performance value (i.e., whether it has become equal to or less than the numerical value indicated by the target performance value) (S211).
[0065] If the worst value reaches the target performance value (YES in S211), the adjustment unit 38 of the terminal device 8 ends the adjustment of the control parameters and outputs an adjustment log (S212). Note that "ending the adjustment of the control parameters" means that the adjustment of the control parameters is completely ended, assuming that the adjustment of the control parameters will not be resumed. Thereafter, the processing of the flowchart in FIG. 4 ends.
[0066] In step S211, if the worst value does not reach the target performance value (NO in S211), the setting unit 34 of the terminal device 8 determines whether the adjustment time of the control parameter has reached the set time and whether the number of times the control parameter has been changed has reached the set number of times (S213).
[0067] If the control parameter adjustment time has not reached the set time, and if the number of times the control parameter has been changed has not reached the set number of times (NO in S213), the process proceeds to step S209 described above.
[0068] On the other hand, when the adjustment time of the control parameter reaches the set time, or when the number of changes of the control parameter reaches the set number (YES in S213), the adjustment unit 38 of the terminal device 8 suspends the adjustment of the control parameter and outputs an interruption log (S214). Note that "suspending the adjustment of the control parameter" means temporarily terminating the adjustment of the control parameter, with the assumption that the adjustment of the control parameter will be resumed.
[0069] After step S214, if the user inputs an instruction to resume the adjustment of the control parameters using the operation unit 26 of the terminal device 8 (YES in S215), the adjustment unit 38 of the terminal device 8 reads the interruption log and resumes the adjustment of the control parameters (S216).Then, the process proceeds to step S202 described above.
[0070] On the other hand, if the user does not input an instruction to resume the adjustment of the control parameters after step S214 (NO in S215), the process proceeds to step S212 described above.
[0071] [5. Effects] As described above, in this embodiment, when the worst value reaches the target performance value, the adjustment unit 38 of the terminal device 8 ends the adjustment of the control parameter. Furthermore, when the worst value does not reach the target performance value, the adjustment unit 38 of the terminal device 8 interrupts the adjustment of the control parameter when (i) the adjustment time of the control parameter reaches a set time, or (ii) the number of changes of the control parameter reaches a set number.
[0072] This clarifies how many times the operation for evaluating the performance of the production device 4 should be repeated, and allows for efficient adjustment of the control parameters.
[0073] [6. Modification] In the present embodiment, the user inputs the target performance value, the setting time, and the number of settings in advance using the operation unit 26 of the terminal device 8, but it may also be possible to do so as follows, for example: Fig. 7 is a diagram showing an example of an adjustment condition setting screen 44 according to a modification of the embodiment.
[0074] 7, an adjustment condition setting screen 44 for selecting a production device whose control parameters are to be adjusted is displayed on the display unit 28 of the terminal device 8. A plurality of icons 46, 48, and 50 are displayed on this adjustment condition setting screen 44. The icons 46, 48, and 50 are used to select production device A, production device B, and production device C, respectively, as the devices whose control parameters are to be adjusted.
[0075] For example, when the user wishes to adjust the control parameters of production device A, the user selects icon 46 with cursor 52 on adjustment condition setting screen 44. This causes setting unit 34 of terminal device 8 to set the target performance value, setting time, and number of settings corresponding to production device A. In other words, the target performance value, setting time, and number of settings are set in conjunction with the user's operation to select the type of production device 4.
[0076] (Other Modifications) While the adjustment support system according to one or more aspects has been described above based on the above embodiment, the present disclosure is not limited to the above embodiment. As long as it does not deviate from the spirit of the present disclosure, various modifications conceivable by a person skilled in the art to the above embodiment or forms constructed by combining components of different embodiments may also be included within the scope of one or more aspects.
[0077] In the above-described embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.
[0078] Furthermore, some or all of the functions of the adjustment support system according to the above-described embodiment may be realized by a processor such as a CPU executing a program.
[0079] Some or all of the components constituting each of the above devices may be configured as an IC card or a standalone module that can be attached to each device. The IC card or module is a computer system composed of a microprocessor, ROM, RAM, etc. The IC card or module may include the above-mentioned ultra-multifunctional LSI. The IC card or module achieves its functions when the microprocessor operates according to a computer program. The IC card or module may be tamper-resistant.
[0080] (Aspects) The above-described embodiment discloses the following aspects.
[0081] An adjustment support method according to a first aspect of the present disclosure is an adjustment support method for supporting adjustment of control parameters for controlling a driven object included in a target device including a servo motor, the adjustment support method including: (a) a step (S203) of driving the driven object under a plurality of operating conditions using the control parameters; (b) a step (S204) of calculating a plurality of evaluation values related to performance of the target device when the driven object is driven under each of the plurality of operating conditions; (c) a step (S206) of determining a representative evaluation value from among the plurality of evaluation values; and (d) a step of changing the control parameters based on the representative evaluation value. (e) repeating steps (a) to (d) using the control parameters changed in step (d); (f) terminating the adjustment of the control parameters on condition that the representative evaluation value has reached a target performance value (S212); and (g) interrupting the adjustment of the control parameters if the representative evaluation value has not reached the target performance value (S214) on condition that (i) the adjustment time of the control parameters has reached a predetermined set time, or (ii) the number of times the control parameters have been changed has reached a predetermined set number of times.
[0082] According to this aspect, the adjustment of the control parameters is terminated on the condition that the representative evaluation value has reached the target performance value. Furthermore, if the representative evaluation value has not reached the target performance value, the adjustment of the control parameters is interrupted on the condition that (i) the adjustment time for the control parameters has reached a predetermined set time, or (ii) the number of changes of the control parameters has reached a predetermined set number. This clarifies how many times the operation for evaluating the performance of the target device should be repeated, enabling efficient adjustment of the control parameters.
[0083] In addition, in the adjustment support method according to the second aspect of the present disclosure, in the first aspect, the representative evaluation value may be configured to be the worst value among the multiple evaluation values that has the largest difference from the target performance value.
[0084] According to this aspect, since the representative evaluation value is the worst value, it is easy to define the worst value, and as a result, it is possible to easily determine the worst value from among a plurality of evaluation values.
[0085] In addition, in the adjustment support method according to the third aspect of the present disclosure, in the first or second aspect, the target performance value, the setting time, and the setting count may be configured to be arbitrarily set by the user.
[0086] According to this aspect, the target performance value, the set time, and the set number of times can be set arbitrarily depending on, for example, the type of the target device.
[0087] Furthermore, in the adjustment support method according to the fourth aspect of the present disclosure, in the first or second aspect, the target performance value, the setting time, and the number of settings may be configured to be set in conjunction with a user's operation of selecting the type of the target device.
[0088] According to this aspect, the target performance value, the set time, and the set count can be easily set in conjunction with the user's operation to select the type of target device.
[0089] Furthermore, in the adjustment support method according to the fifth aspect of the present disclosure, in any one of the first to fourth aspects, in (b), each of the plurality of evaluation values may be calculated by a product-sum operation in which a plurality of evaluation indexes are multiplied by a plurality of weighting coefficients, respectively.
[0090] According to this aspect, a plurality of evaluation values can be easily calculated.
[0091] Furthermore, in the adjustment support method according to a sixth aspect of the present disclosure, in the fifth aspect, the plurality of weighting coefficients may be configured to be arbitrarily set by a user.
[0092] According to this aspect, a plurality of weighting factors can be arbitrarily set depending on, for example, the type of the target device.
[0093] Also, an adjustment support system (2) according to a seventh aspect of the present disclosure is an adjustment support system (2) that supports adjustment of control parameters for controlling a driven object (9) included in a target device (4) including a servo motor (10), and includes a processor and a memory, wherein the processor (a) drives the driven object (9) under a plurality of operating conditions using the control parameters, (b) calculates a plurality of evaluation values related to the performance of the target device (4) when the driven object (9) is driven under each of the plurality of operating conditions, and (c) determines a representative evaluation value from the plurality of evaluation values. (d) changing the control parameter based on the representative evaluation value; (e) repeating (a) to (d) using the control parameter changed in (d); (f) terminating the adjustment of the control parameter on condition that the representative evaluation value has reached a target performance value; (g) if the representative evaluation value has not reached the target performance value, interrupting the adjustment of the control parameter on condition that (i) the adjustment time of the control parameter has reached a predetermined set time, or (ii) the number of times the control parameter has been changed has reached a predetermined set number of times.
[0094] According to this aspect, similar to the above, the control parameters can be adjusted efficiently.
[0095] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a non-transitory recording medium such as a computer-readable CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, or a recording medium.
[0096] The adjustment support system according to the present disclosure is useful as a system for supporting the adjustment of control parameters for controlling the driving of a driven object included in a production device that includes, for example, a servo motor.
[0097] 2 Adjustment support system 4 Production device 6 Sensor information collection device 8 Terminal device 9 Drive object 10 Servo motor 12 Servo control device 14 Encoder 16 Sensor 18 Servo information acquisition unit 20, 42 Servo information output unit 22, 30 Storage unit 24, 32 Control unit 26 Operation unit 28 Display unit 34 Setting unit 36 Operation result acquisition unit 38 Adjustment unit 40 Adjustment result output unit 44 Adjustment condition setting screen 46, 48, 50 Icon 52 Cursor
Claims
1. An adjustment support method for supporting adjustment of control parameters for controlling a driven object included in a target device including a servo motor, comprising: (a) a step of driving the driven object under a plurality of operating conditions using the control parameters; (b) a step of calculating a plurality of evaluation values related to the performance of the target device when the driven object is driven under each of the plurality of operating conditions; (c) a step of determining a representative evaluation value from the plurality of evaluation values; (d) a step of changing the control parameters based on the representative evaluation value; (e) a step of repeating steps (a) to (d) using the control parameters changed in (d); (f) a step of terminating the adjustment of the control parameters on condition that the representative evaluation value has reached a target performance value; and (g) a step of interrupting the adjustment of the control parameters on condition that, if the representative evaluation value has not reached the target performance value, (i) a time period for adjusting the control parameters has reached a predetermined set time, or (ii) the number of times the control parameters have been changed has reached a predetermined set number.
2. The adjustment support method according to claim 1, wherein the representative evaluation value is the worst value among the plurality of evaluation values that has the largest difference from the target performance value.
3. The adjustment support method according to claim 1 or 2, wherein the target performance value, the set time, and the set number of times can be arbitrarily set by a user.
4. The adjustment support method according to claim 1 or 2, wherein the target performance value, the set time, and the set number of times are set in conjunction with a user's operation of selecting the type of the target device.
5. The adjustment support method according to claim 1 or 2, wherein in (b), each of the plurality of evaluation values is calculated by a product-sum operation of multiplying a plurality of evaluation indexes by a plurality of weighting coefficients, respectively.
6. The adjustment support method according to claim 5, wherein the plurality of weighting coefficients can be arbitrarily set by a user.
7. An adjustment support system for supporting adjustment of control parameters for controlling a driven object included in a target device including a servo motor, comprising a processor and a memory, wherein the processor: (a) drives the driven object under a plurality of operating conditions using the control parameters; (b) calculates a plurality of evaluation values relating to the performance of the target device when the driven object is driven under each of the plurality of operating conditions; (c) determines a representative evaluation value from among the plurality of evaluation values; (d) changes the control parameters based on the representative evaluation value; (e) repeats (a) to (d) using the control parameters changed in (d); (f) terminates the adjustment of the control parameters on condition that the representative evaluation value reaches a target performance value; and (g) if the representative evaluation value does not reach the target performance value, the adjustment support system: (i) interrupts the adjustment of the control parameters on condition that a predetermined set time has been reached, or (ii) the number of times the control parameters have been changed has reached a predetermined set number.
Citation Information
Patent Citations
Control parameter adjustment system and control parameter adjustment method
JP7105882B2
Output device, control device, and method of outputting evaluation function value
JP2020004080A
Output device, control device, and output method for evaluation function and mechanical learning result
JP2020077310A
Control parameter adjustment system and control parameter adjustment method
WO2019244296A1
Motor control device and motor control method
WO2021053784A1
