Controller
11347200 · 2022-05-31
Assignee
Inventors
Cpc classification
G05B19/40937
PHYSICS
G05B19/408
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G05B19/19
PHYSICS
International classification
G05B19/408
PHYSICS
G05B19/19
PHYSICS
Abstract
A controller includes a storage unit storing a plurality of sets of recommended setting values or recommended setting ranges regarding parameters for controlling an axis of a machine tool or an industrial machine or for controlling a motor, wherein set contents of the plurality of sets of recommended setting values or recommended setting ranges vary depending on a property of the machine tool, the industrial machine, or the motor; a comparing unit configured to compare input parameters with the recommended setting values or the recommended setting ranges corresponding to the property of a control target; and a comparison result presenting unit configured to present a warning when the input parameters differ from the recommended setting values or deviate from the recommended setting ranges corresponding to the property of the control target.
Claims
1. A controller, comprising: a storage unit storing a plurality of sets of recommended setting values or recommended setting ranges regarding parameters for controlling an axis of a machine tool or an industrial machine or for controlling a motor, wherein contents or values of the plurality of sets of recommended setting values or recommended setting ranges vary depending on a property of the machine tool, the industrial machine, or the motor; a comparing unit configured to compare input parameters with the recommended setting values or the recommended setting ranges corresponding to the property of a control target being one of the machine tool, the industrial machine, and the motor, among the plurality of sets of the recommended setting values or the recommended setting ranges; and a comparison result presenting unit configured to present, as a comparison result by the comparing unit, a warning when the input parameters differ from the recommended setting values or deviate from the recommended setting ranges corresponding to the property of the control target, and wherein the input parameters include a first input parameter and a second input parameter both of which relate to a physical quantity of a single axis of the machine tool or the industrial robot, or a single motor, and the comparing unit is configured to calculate the physical quantity from a combination of the first and the second input parameters, and compare the calculated physical quantity with the recommended setting values or the recommended setting ranges corresponding to the property of the control target.
2. The controller according to claim 1, wherein the plurality of sets of the recommended setting values or the recommended setting ranges are set such that numerical values or numerical ranges vary stepwise depending on the property of the machine tool, the industrial machine, or the motor.
3. The controller according to claim 1, wherein the plurality of sets of the recommended setting values or the recommended setting ranges are set such that the numerical values or the numerical ranges vary stepwise depending on a size or a type of the machine tool, the industrial machine, or the motor.
4. The controller according to claim 1, wherein the plurality of sets of the recommended setting values or the recommended setting ranges are set to take stepwise numerical values or numerical ranges according to inertia of the machine tool, the industrial machine, or the motor, and the comparing unit is configured to compare the input parameters with the recommended setting values or the recommended setting ranges corresponding to the inertia of the control target among the plurality of sets of the recommended setting values or the recommended setting ranges.
5. The controller according to claim 1, wherein the plurality of sets of the recommended setting values or the recommended setting ranges are set to take stepwise numerical values or numerical ranges according to a stroke of the machine tool, the industrial machine, or the motor, and the comparing unit is configured to compare the input parameters with the recommended setting values or the recommended setting ranges corresponding to the stroke of the control target among the plurality of sets of the recommended setting values or the recommended setting ranges.
6. The controller according to claim 1, wherein the plurality of sets of the recommended setting values or the recommended setting ranges are set stepwise according to a size of a tool used in the machine tool, the industrial machine, or the motor, and the comparing unit is configured to compare the input parameters with the recommended setting values or the recommended setting ranges corresponding to the size of the tool of the control target among the plurality of sets of the recommended setting values or the recommended setting ranges.
7. The controller according to claim 1, further comprising a parameter input unit configured to accept specifying of the property of the control target and input of the parameters.
8. The controller according to claim 1, wherein the parameters include at least two of a servo loop gain, presence or absence of a speed feedforward coefficient function, a speed feedforward coefficient, acceleration, and jerk.
9. A controller, comprising: a storage unit storing a plurality of sets of recommended setting values or recommended setting ranges regarding parameters for controlling an axis of a machine tool or an industrial machine or for controlling a motor, wherein set contents of the plurality of sets of recommended setting values or recommended setting ranges vary depending on a property of the machine tool, the industrial machine, or the motor; a comparing unit configured to compare input parameters with the recommended setting values or the recommended setting ranges corresponding to the property of a control target being one of the machine tool, the industrial machine, and the motor, among the plurality of sets of the recommended setting values or the recommended setting ranges; and a comparison result presenting unit configured to present, as a comparison result by the comparing unit, a warning when the input parameters differ from the recommended setting values or deviate from the recommended setting ranges corresponding to the property of the control target, wherein the input parameters include a first input parameter relating to a physical quantity, and a second input parameter relating to the physical quantity, the comparing unit is configured to calculate the physical quantity from a combination of the first and the second input parameters, and compare the calculated physical quantity with the recommended setting values or the recommended setting ranges corresponding to the property of the control target, the plurality of sets of the recommended setting values or the recommended setting ranges are set to take stepwise numerical values or numerical ranges according to a stroke of the machine tool, the industrial machine, or the motor, the comparing unit is further configured to compare the input parameters with the recommended setting values or the recommended setting ranges corresponding to the estimated stroke of the control target among the plurality of sets of the recommended setting values or the recommended setting ranges, and the controller is configured to estimate the stroke based on position information of an axis of the control target detected by a sensor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The objects, features and advantages of the present invention will become more apparent from the description of the following embodiment in connection with the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) An embodiment of the present disclosure will be described below with reference to the accompanying drawings. Corresponding components are denoted by common reference numerals throughout the drawings. In order to facilitate understanding, the scale of these drawings is appropriately changed. In addition, the forms shown in the drawings are examples for carrying out the present invention, and the present invention is not limited to the illustrated forms.
(9)
(10) In
(11) The storage unit 5 stores, as the recommended setting values or the recommended setting ranges relating to parameters for controlling an axis of a machine tool or an industrial machine or for controlling a motor, a plurality of sets of the recommended setting values or the recommended setting ranges (hereinafter also referred to as a recommended parameter set) of which the set contents vary depending on a property of a machine tool, an industrial machine, or a motor. In this case, the plurality of sets of the recommended setting values or the recommended setting ranges may be set so that numerical values or numerical ranges vary stepwise depending on the property of the machine tool, industrial machine, or motor (a size, a type, etc., of the machine tool, etc.). Hereinafter, an example of a case where, as a classification item representing the property of the machine tool, inertia (e.g., inertia of a control target such as a spindle axis or a motor), a stroke (e.g., a stroke of a control target such as a spindle axis), or a size of a tool can be specified will be described.
(12) For example, regarding the inertia, the controller 50 can accept, from the user, specifying of a magnitude of the inertia as the mechanical property of the machine tool, and can apply the recommended parameter set corresponding to the designated property (e.g., large inertia) from among a plurality of recommended parameter sets.
(13) Table 1 below shows an example of the plurality of recommended parameter sets set in a stepped manner in terms of inertia as an aspect of a mechanical property of a machine tool. Here, as an example, a case where the recommended parameter set is created by dividing the inertia into three stages of small, medium, and large sizes is shown.
(14) TABLE-US-00001 TABLE 1 Small Medium large Inertia [kgm.sup.2] 0.0023-0.0035 0.011-0.016 0.84-1.3 Servo loop gain Recommended Recommended Recommended setting range setting range setting range 1 1-α.sub.1 1-β.sub.1 Speed Effective Effective Effective feedforward (Recommended) (Recommended) (Recommended) coefficient function Speed Recommended Recommended Recommended feedforward setting range setting range setting range coefficient 2 2-α.sub.2 2-β.sub.2 Acceleration Recommended Recommended Recommended setting range setting range setting range 3 3-α.sub.3 3-β.sub.3 Jerk Recommended Recommended Recommended setting range setting range setting range 4 4-α.sub.4 4-β.sub.4 0 < α.sub.1 < β.sub.1 i = 1-4
(15) In the example in Table 1, machine tools are classified into three stages: small, medium, and large sizes in terms of inertia. Small, medium and large sizes correspond to inertia ranges of 0.0023-0.0035 kgm.sup.2, 0.011-0.016 kgm.sup.2, and 0.84-1.3 kgm.sup.2, respectively. In this example, the parameters include the servo loop gain, presence or absence of the speed feedforward coefficient function, the speed feedforward coefficient, acceleration, and jerk. As shown in Table 1, the servo loop gain is set to “recommended setting range 1”, “recommended setting range 1-α.sub.1”, and “recommended setting range 1-β.sub.1” for small, medium, and large sizes, respectively, and since 0<α.sub.i<β.sub.i (i=1-4), when the recommended setting range for the small size is used as a reference, the numerical range of the servo loop gain for the medium size is set smaller than that for the small size and the numerical range of the servo loop gain for the large size is set smaller than that for the medium size. Similarly, regarding the speed feedforward coefficient, the acceleration, and the jerk, when the recommended setting range for a small machine tool is used as a reference, the numerical range for the medium size is set smaller than that for the small size and the numerical range for the larger size is set smaller than that for the medium size. In Table 1, an example is described in which numerical ranges are specified as recommended settings for the servo loop gain, the speed feedforward coefficient, the acceleration, and the jerk; however, recommended values may be specified instead.
(16) Table 2 below shows an example of a plurality of recommended parameter sets prepared in a stepped manner in terms of a stroke as an aspect of the mechanical property of the machine tool. Here, as an example, a case where the recommended parameter set is created by dividing the stroke into three stages of “short”, “medium” (middling), and “long” is shown.
(17) TABLE-US-00002 TABLE 2 Short Medium Long Stroke [m] 1.5-2 4 8 Servo loop gain Recommended Recommended Recommended setting range setting range setting range 5 5-α.sub.5 5-β.sub.5 Speed Effective Effective Effective feedforward (Recommended) (Recommended) (Recommended) coefficient function Speed Recommended Recommended Recommended feedforward setting range setting range setting range coefficient 6 6-α.sub.6 6-β.sub.6 Acceleration Recommended Recommended Recommended setting range setting range setting range 7 7-α.sub.7 7-β.sub.7 Jerk Recommended Recommended Recommended setting range setting range setting range 8 8-α.sub.8 8-β.sub.8 0 < α.sub.1 < β.sub.1 i = 5-8
(18) In the classifications of Table 2 above, “short,” “medium”, and “long” correspond to 1.5-2 m, 4 m, and 8 m, respectively, as ranges or values of the stroke. In this example, the parameters include the servo loop gain, the presence or absence of the speed feedforward coefficient function, the speed feedforward coefficient, the acceleration, and the jerk. As shown in Table 2, the servo loop gain is set to “recommended setting range 5”, “recommended setting range 5-α.sub.5”, and “recommended setting range 5-β.sub.5”, for “short”, “medium”, and “long”, respectively, and since 0<α.sub.i<β.sub.i (i=5-8), when the recommended setting range for “short” is used as a reference, the numerical range of the servo loop gain for “medium” is set to be smaller than that for “short” and the numerical range of the servo loop gain for “long” is set to be smaller than that for “medium”. Similarly, regarding the speed feedforward coefficient, the acceleration, and the jerk, when the recommended setting range for the machine tool of “short” is used as a reference, the numerical range for “medium” is set smaller than that for “short” and the numerical range for “long” is set to be smaller than that for “medium”.
(19) According to the above-described classification of the recommended parameter set, a user can apply, to a machine tool to be controlled, a set of optimum recommended setting values or recommended setting ranges according to the specified mechanical property of the machine tool by specifying the mechanical property of the machine tool. Such scheme of setting the recommended setting value (setting range) on the basis of the property of a control target is easily understandable for the user and makes it possible to accurately verify the input parameters.
(20) The controller 50 compares the parameter value set by the user with the recommended setting value or the recommended setting range corresponding to the mechanical property specified as described above, and displays a warning when the parameter set by the user is different from the recommended setting value or deviates from the recommended setting range to prompt the user to re-input the parameter.
(21)
(22) As shown in
(23) When the medium size is specified for the inertia (step S204a), the controller 50 acquires the recommended setting values and the recommended setting ranges for the medium size of the parameter set A from the storage unit 5 (step S205a).
(24) When the large size is specified for the inertia (step S206a), the controller 50 acquires the recommended setting values and recommended setting ranges for the large size of the parameter set A from the storage unit 5 (step S207a).
(25) As shown in
(26) When “medium” is specified for the stroke (step S204b), the controller 50 acquires the recommended setting values and the recommended setting ranges for “medium” of the parameter set B from the storage unit 5 (step S205b).
(27) When “long” is specified for the stroke (step S206b), the controller 50 acquires the recommended setting values and the recommended setting ranges for “long” of the parameter set B from the storage unit 5 (step S207b).
(28) As shown in
(29) When “BT40” is specified for the type of the tool (step S204c), the controller 50 acquires the recommended setting values and the recommended setting ranges of the parameter set C stored in the storage unit 5 as the recommended setting values and the recommended setting ranges for the type of the tool “BT40” (step S205c).
(30) When “BT50” is specified for the type of the tool (step S206c), the controller 50 acquires the recommended setting values and the recommended setting ranges of the parameter set C stored in the storage unit 5 as the recommended setting values and the recommended setting ranges for the type of the tool “BT50” (step S207c). Note that the parameter set C also includes the types of parameters similar to those of the parameter set A, and therefore, in the parameter set C, the recommended numerical range of the parameter such as servo loop gain may be set to decrease, as the size of the tool increase.
(31) Next, the user inputs the parameters (step S3). The parameters are input via the parameter input unit 20. Next, the controller 50 compares the parameters input by the user with the recommended setting values and the recommended setting ranges read out from the storage unit 5 by the processes of
(32) Conversely, when the parameters set by the user are different from the recommended setting values or deviate from the recommended setting ranges (S5: NO), the comparison result presenting unit 12 presents a warning (step S6). The warning in this case may take various types of presenting forms that informs the user that there is a problem in the set parameters. For example, the presenting form may be displaying, on the display 13, a warning message informing that the set parameters are different from the recommended setting values (or deviate from the recommended setting ranges), or highlighting problematic parameters on the display 13. The comparison result presenting unit 12 may present, together with the warning message, information indicating how much the set parameters deviate from the recommended setting values (recommended setting ranges), or the recommended setting values (recommended setting ranges) themselves.
(33) According to such a parameter setting and verification process, the user can cause the controller 50 to read out the optimum recommended parameter set and can apply the optimum recommended parameter set to the verification of the parameters by specifying the property of a control target such as the magnitude of the inertia. Therefore, it is possible to ease the parameter setting by the user and to enable the user to perform appropriate parameter setting.
(34)
(35) Conversely, when the calculated physical quantity does not match the recommended setting value or deviates from the recommended setting range (S12: NO), the comparison result presenting unit 12 may present a warning in the same manner as in step S6 to indicate that there is a problem in the parameters a.sub.1-a.sub.n defining the physical quantity (step S13). For example, the physical quantity calculated as a combination of parameters may include the acceleration and a maximum jerk as described below.
(36) Example 1 of physical quantities: Acceleration
(37) Parameter a.sub.1: Feed rate
(38) Parameter a.sub.2: Time constant
(39) Acceleration: Feed rate/time constant
(40) Example 2 of physical quantities: Maximum jerk
(41) Parameter a.sub.1: Maximum acceleration
(42) Parameter a.sub.2: Time constant
(43) Maximum jerk: Maximum acceleration/time constant
(44) As described above, when the physical quantity is the acceleration, the comparing unit 11 calculates the acceleration (feed rate/time constant) from the two input parameters, the parameter a.sub.1 (feed rate) and the parameter a.sub.2 (time constant), and compares the calculated acceleration with the value of the acceleration set as the recommended setting value or the recommended setting range. When the physical quantity is the maximum jerk, the comparing unit 11 calculates the maximum jerk (maximum acceleration/time constant) from the two input parameters, the parameter a.sub.1 (maximum acceleration) and the parameter a.sub.2 (time constant), and compares the calculated maximum jerk with the value of the maximum jerk set as the recommended setting value or the recommended setting range.
(45) By calculating the predetermined physical quantity as a combination of parameters input by the user on the controller 50 and comparing the calculated predetermined physical quantity with the recommended setting value or the recommended setting range in this manner, it is possible to perform more efficient parameter verification while reducing a burden of parameter input by the user.
(46) As described above, according to the present embodiment, it is possible to further ease the parameter setting by the user and to enable the user to perform appropriate parameter setting.
(47) While the embodiment of the present disclosure has been described above, it will be understood by those skilled in the art that various modifications and changes may be made without departing from the scope of the disclosure of the following claims.
(48) In the embodiment described above, an example has been described in which the input of the parameters and the specifying of the property of a control target are performed by the user via the parameter input unit 20, but the parameters and the property of a control target may be input to the controller from an external device via a network, for example.
(49) In the embodiment described above, an example has been described in which the user specifies the inertia and the stroke as the property of a control target, but values estimated as the inertia and the stroke by the controller 50 may be used. As an example, the controller 50 may estimate the inertia of a spindle axis based on a load torque of a spindle axis motor and rotational angular acceleration of the spindle axis detected by sensors. Further, the controller 50 may estimate the stroke based on position information of a control target axis detected by a position sensor.
(50) In the above-described embodiment, an example of the recommended parameter set (e.g., small size, medium size, and large size for the inertia) that can be switched between the three stages depending on the property of the machine tool or the like has been described. However, for example, the inertia may be classified in finer levels, and a larger number of recommended parameter sets may be prepared accordingly.
(51) A program for executing the parameter setting and verification process described in the above-described embodiment can be recorded on a variety of recording media readable by a computer (for example, a semiconductor memory such as ROM, a EEPROM, a flash memory, or the like, a magnetic recording medium, an optical disk such as a CD-ROM, a DVD-ROM, or the like).