WO2022162740A1 - 数値制御装置 - Google Patents
数値制御装置 Download PDFInfo
- Publication number
- WO2022162740A1 WO2022162740A1 PCT/JP2021/002683 JP2021002683W WO2022162740A1 WO 2022162740 A1 WO2022162740 A1 WO 2022162740A1 JP 2021002683 W JP2021002683 W JP 2021002683W WO 2022162740 A1 WO2022162740 A1 WO 2022162740A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- torque
- machine learning
- estimated
- motor
- cutting
- Prior art date
Links
- 238000010801 machine learning Methods 0.000 claims abstract description 175
- 238000005520 cutting process Methods 0.000 claims abstract description 110
- 238000012937 correction Methods 0.000 claims abstract description 42
- 238000012821 model calculation Methods 0.000 claims abstract description 30
- 238000013459 approach Methods 0.000 claims abstract description 5
- 238000003860 storage Methods 0.000 claims description 56
- 238000000034 method Methods 0.000 claims description 42
- 230000033001 locomotion Effects 0.000 claims description 29
- 230000005856 abnormality Effects 0.000 claims description 24
- 238000013528 artificial neural network Methods 0.000 claims description 20
- 238000003754 machining Methods 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 31
- 238000012545 processing Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 22
- 230000006870 function Effects 0.000 description 21
- 230000015654 memory Effects 0.000 description 13
- 239000011159 matrix material Substances 0.000 description 11
- 238000004364 calculation method Methods 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 8
- 230000005484 gravity Effects 0.000 description 8
- 239000013598 vector Substances 0.000 description 8
- 238000009826 distribution Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000011478 gradient descent method Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000000704 physical effect Effects 0.000 description 3
- 230000000306 recurrent effect Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000011960 computer-aided design Methods 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 2
- 238000007637 random forest analysis Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000007477 logistic regression Methods 0.000 description 1
- 238000005461 lubrication Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 238000002945 steepest descent method Methods 0.000 description 1
- 238000003756 stirring Methods 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 238000009827 uniform distribution Methods 0.000 description 1
- 238000003466 welding Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4155—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0265—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion
- G05B13/027—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion using neural networks only
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33034—Online learning, training
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/37—Measurements
- G05B2219/37355—Cutting, milling, machining force
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/40—Robotics, robotics mapping to robotics vision
- G05B2219/40293—Gantry, portal
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/45—Nc applications
- G05B2219/45094—Milling robot
Definitions
- the present disclosure relates to a numerical controller that generates a model imitating a controlled object.
- Patent Document 1 an electric motor control device acquires an M-sequence or sinusoidal command, and corrects the inertia tensor, friction coefficient, and spring constant for each sampling period so that the torque estimation error is minimized.
- a technique is disclosed for correcting the error contained in the initial values of the physical model parameters during operation by doing so.
- the present disclosure has been made in view of the above, and aims to obtain a numerical controller that enables highly accurate torque estimation for phenomena with strong nonlinearity.
- the numerical control device is a numerical control device that controls a motor of a machine tool that cuts a workpiece.
- the numerical control device according to the present disclosure includes a motor state observation unit that outputs a motor state signal indicating the result of observing the state of the motor, and a cutting state signal that indicates whether the machine tool is cutting. and an observation unit that outputs a first estimated torque that is an estimated value of the torque of the motor and a physical state variable that is a component of the first estimated torque based on the motor state signal and the physical model parameters of the machine tool.
- a torque estimator a feature quantity generator that generates and outputs a feature quantity from at least one of a first estimated torque, a physical state variable, and a motor state signal; and a cutting state signal; calculating a machine learning correction amount, learning a machine learning model parameter so that the calculated machine learning correction amount approaches the difference between the actual torque included in the motor state signal and the first estimated torque, and learning the learned machine learning model parameter and a machine learning model calculator that stores the
- the numerical control device has the effect of enabling highly accurate torque estimation for phenomena with strong nonlinearity.
- FIG. 1 is a block diagram showing a configuration example of a numerical controller according to Embodiment 1;
- FIG. Schematic diagram showing a target machine to be controlled by the numerical controller according to the first embodiment.
- FIG. 4 is a diagram showing an example of a nonlinear friction model, which is a physical model parameter estimated by a physical model storage unit according to Embodiment 1;
- FIG. 2 is a block diagram showing a configuration example of a feature generation unit and a machine learning model calculation unit according to Embodiment 1;
- FIG. 4 is a diagram showing an autoregression term in the configurations of the feature amount generation unit and the machine learning model calculation unit according to Embodiment 1; 4 is a flow chart showing the flow of learning of physical model parameters and machine learning model parameters in the numerical controller according to Embodiment 1;
- the motor speed representing the operation of the target machine that is the control target of the numerical controller according to Embodiment 1, the first estimated torque estimated by the numerical controller, and the second estimated torque estimated by the numerical controller are diagram showing FIG. 4 is a diagram for explaining abnormality detection by the numerical controller according to Embodiment 1;
- FIG. 7 is a diagram for explaining detection of cutting load by a numerical controller according to Embodiment 2; FIG.
- FIG. 11 is a diagram for explaining detection of tool wear or damage by a numerical control device according to Embodiment 3;
- FIG. 4 is a diagram showing an example of a case where a processing circuit included in the numerical controllers according to Embodiments 1 to 3 is configured with a processor and a memory;
- FIG. 4 is a diagram showing an example of a case where a processing circuit included in the numerical controllers according to Embodiments 1 to 3 is configured with dedicated hardware;
- FIG. 1 is a block diagram showing a configuration example of a numerical control device 100 according to Embodiment 1.
- a numerical controller 100 controls a motor of a target machine 10, which is a machine tool.
- the numerical controller 100 includes a motor state observing section 1 , a physical model calculating section 2 , a feature value generating section 3 , a machine learning model calculating section 4 and a cutting state observing section 5 .
- the physical model calculator 2 includes a first torque estimator 21 and a physical model storage 22 .
- the machine learning model calculator 4 includes a second torque estimator 41 and a machine learning model storage 42 .
- FIG. 2 is a schematic diagram showing the target machine 10 to be controlled by the numerical controller 100 according to the first embodiment.
- the target machine 10 is a machine tool that cuts a workpiece 15 by moving a tool 14 relative to the workpiece 15 .
- a machining center will be described as an example.
- the target machine 10 is composed of a column 11, a spindle head 12, a table 13, and a tool 14.
- the tool 14 rotates by receiving the driving force generated by the spindle motor.
- a column 11 and a spindle head 12 or a table 13 receive a driving force generated by a servomotor and are linearly driven. Illustration of the spindle motor and the servomotor is omitted.
- Numerical controller 100 controls the position and orientation of tool 14 relative to workpiece 15 .
- the target machine 10 is a machining center with three moving axes, but the machine tool that is the target machine 10 is not limited to a three-axis machining center.
- the numerical controller 100 can be widely applied to machine tools driven by motors. Examples of machine tools that are the target machine 10 further include machine tools such as 5-axis machining centers, tapping centers, lathes, compound lathes, mounting machines, and the like.
- the motor state observation unit 1 observes the state of the motor of the target machine 10 and outputs a motor state signal indicating the observation result. Specifically, the motor state observation unit 1 detects at least one of the position, velocity, and acceleration of each actuator corresponding to the first, second, and third axes, which are movement axes, and the main axis, and the main axis motor and the servo. An actual torque, which is each torque of the motor, is output as a motor state signal.
- the motor status signals are not limited to only position, velocity, acceleration, and actual torque signals for each actuator.
- the motor status signal is obtained from sensing data of an internal sensor or an external sensor provided at each axis of the target machine 10 or at a specified location, such as temperature data of the actuator of each axis, infrared sensor, ultrasonic sensor, or other sensor. Values such as obtained distance data, moving image data obtained from a vision sensor, and feature amount data obtained by image processing thereof may be included.
- the first torque estimating unit 21 receives the motor state signal output from the motor state observing unit 1 and the physical model parameters output from the physical model storage unit 22, which will be described later.
- One estimated torque is calculated from the equation of motion. That is, the first torque estimator 21 estimates the first estimated torque, which is the estimated torque of the motor, using the equation of motion based on the motor state signal and the physical model parameters of the target machine 10 .
- the first torque estimator 21 outputs a first estimated torque and physical state variables that are components of the first estimated torque.
- the physical state variables include not only inertia terms, centrifugal force terms, Coriolis force terms, and gravitational terms, but also Coulomb friction terms, viscous friction terms, arm vibration terms, and elastic deflection terms.
- a term of a function introduced by simulating some physical phenomenon in calculating the first estimated torque, such as a non-linear friction model, may be included.
- the numerical control device 100 allows the machine learning model calculation unit 4 to correct the uncertainty of the friction model and the error of the estimated friction value with respect to the friction component of the actual torque. do.
- the motor state signals and physical model parameters used in the equation of motion correspond to the position, velocity, and acceleration of each actuator, and the mass, center of gravity position, and inertia tensor of each link, respectively.
- the physical model parameters include the mass of the link mechanism of the target machine 10 , the center of gravity position of the link mechanism of the target machine 10 , and the inertia tensor of the link mechanism of the target machine 10 .
- the numerical controller 100 learns the mass of the coefficients, the position of the center of gravity, and the inertia tensor as the physical model parameters in the inverse dynamics using the information about the known mechanism of the target machine 10 to obtain the first estimated torque for the actual torque.
- the correction value in the machine learning model calculator 4 becomes relatively small, and the generalization performance of the second estimated torque can be improved.
- the equation of motion for example, the Newton-Euler method, the Lagrangian equation of motion, or the like can be used.
- the first torque estimator 21 uses an equation of motion including a continuous and smooth friction model that outputs an estimated value of the torque friction component with the speed of the motor obtained from the motor state signal as input.
- the machine learning model calculation unit 4 uses a neural network, but since the neural network can calculate continuous functions with respect to the input, the feature amount and the input to the feature amount generation unit 3 are continuous. is desirable. Therefore, the numerical control device 100 defines a friction model that is continuous including near zero speed, so that even the friction components that cannot be learned in the physical model storage unit 22 can be learned and corrected using a neural network. becomes possible.
- the physical model storage unit 22 uses the motor state signal obtained when the target machine 10 is operated for a certain period of time when the target machine 10 is in the non-cutting state as teacher data, and uses the actual torque and the first torque included in the motor state signal as teacher data. learn the physical model parameters to reduce the difference from the estimated torque of
- the physical model storage unit 22 stores learned physical model parameters.
- the numerical controller 100 can correct changes in physical properties due to attachment of sensors and wiring, processing errors, assembly errors, etc., and can improve the accuracy of estimating the actual torque.
- physical model parameters can be roughly calculated from specification tables, CAD (Computer Aided Design) data, etc., so by giving these values as initial values at the time of learning, the speed of learning , convergence, etc. can be improved. However, if these values are unknown or difficult to calculate, they may be initialized with arbitrary constants.
- Equation (1) the equation of motion for each axis consists of the physical model parameter w consisting of the mass, the position of the center of gravity, and the inertia tensor, and the coefficient matrix A (v , a) can be used to describe in a variable-separated form as shown in Equation (1).
- the physical model storage unit 22 can calculate the physical model parameters of each axis by solving equation (1) for w for each axis by the least squares method.
- the physical model storage unit 22 combines the equations (1) regarding w of each axis into one linear equation and simultaneously solves it for a drive machine that may cause inter-axis interference, such as a five-axis machine tool.
- the physical model calculation unit 2 as a whole can obtain a more plausible solution.
- the physical model storage unit 22 may use, in addition to the least squares method, the regularized least squares method, the Kalman filter, Bayesian estimation, a genetic algorithm, a neural network, etc., for the identification method of the physical model parameter w.
- the physical model storage unit 22 stores a linear combination of a function of velocity and a friction coefficient, such as a linear friction model, which is a friction model consisting of Coulomb friction and viscous friction shown below.
- a linear friction model which is a friction model consisting of Coulomb friction and viscous friction shown below.
- the friction coefficient can be simultaneously estimated as a physical model parameter in the same manner as the equation (1).
- the coefficient of friction estimated by the physical model storage unit 22 is expressed by Equation (2).
- equation (2) which is captured as an image
- equation (3) which will be described later, a dot is added above q i , but this cannot be expressed in the description. Therefore, in the explanation part, q i with a dot above it is simply written as q i .
- r FC,i is the Coulomb friction coefficient
- r FV,i is the viscous friction coefficient for a friction model F i of axis i operating at velocity q i .
- the friction is estimated using a friction model with a higher degree of freedom that considers the nonlinearity with respect to speed, and after removing the friction component in the difference between the actual torque and the first estimated torque, other physical It is desirable to estimate the model parameters.
- An example of such a non-linear friction model is the following function represented by Equation (3).
- FIG. 3 is a diagram showing an example of a nonlinear friction model, which is physical model parameters estimated by the physical model storage unit 22 according to the first embodiment.
- the horizontal axis indicates motor speed and the vertical axis indicates friction.
- the nonlinear friction model has a total of four parameters in addition to the Coulomb friction coefficient rFC ,i and the viscous friction coefficient rFV,i . is obtained using the Levenberg-Marquardt method, which is a nonlinear least-squares method, from the difference from the estimated torque. Since the Levenberg-Marquardt method has initial value dependence, once linearity is assumed for friction, the Coulomb friction coefficient r FC,i and the viscous friction coefficient r FV,i are added to the physical model parameter w, and the above equation ( After calculating each friction coefficient by 1), by using them as initial values, it is possible to prevent estimation failure due to initial value dependency.
- the physical model storage unit 22 can use the least-squares method, the regularized least-squares method, the nonlinear least-squares method, the Kalman filter, or the like in learning the physical model parameters.
- Numerical controller 100 can estimate unknown coefficients in the motion equation and state equation of target machine 10 from operation data by using the least-squares method, the non-linear least-squares method, the non-linear least-squares method, or the Kalman filter. Become. Operational data is, for example, data contained in a motor status signal.
- the physical model storage unit 22 stores the coefficients of the nonlinear friction model obtained here as physical model parameters, and adds the output of the nonlinear friction model at each time to the physical state variables.
- Numerical controller 100 can detect changes in viscous friction and Coulomb friction due to aged deterioration and abnormalities by storing coefficients of the friction model as physical model parameters in physical model storage unit 22.
- Numerical controller 100 alternately estimates the coefficients of the friction model and other physical model parameters, thereby designing the friction model more complicatedly and in detail. Further, since the numerical controller 100 can also estimate other physical model parameters in a state in which the influence of friction is almost eliminated, it is possible to learn the physical model parameters with higher accuracy.
- the nonlinear friction model is not limited to a function of velocity, and may be a multivariable function that depends on position, acceleration, motor temperature, etc.
- Each coefficient of the nonlinear friction model is Gauss-Newton method, steepest descent method , an extended Kalman filter, an unscented Kalman filter, or the like.
- a support vector regression model, regression tree, random forest, multivariate adaptive regression spline model, neural network, or other model generation method based on machine learning algorithms may be used.
- the first estimated torque is corrected by the machine learning unit 411 including the neural network. It suffices to consider it as a function of only the velocity given to .
- the cutting state observation unit 5 observes the cutting state of the target machine 10 and outputs a cutting state signal indicating the observation result.
- the cutting state signal is a signal indicating whether or not the target machine 10 is cutting.
- the cutting state observation unit 5 acquires the machining program from the target machine 10 and observes the cutting state based on the content of the machining program.
- the feature quantity generating unit 3 includes the motor state signal output from the motor state observing unit 1, the first estimated torque and physical state variables output from the first torque estimating unit 21, and the cutting state observing unit 5.
- a cutting state signal which is an output, is input.
- the feature amount generation unit 3 receives the first estimated torque, the physical state variable, the motor state signal, and the cutting state signal, and outputs the feature amount that is the input to the machine learning unit 411 .
- Tool information is information about the type and shape of the tool 14 .
- the tool information includes tool diameter, tool length, tool shape, information on the number of teeth of the tool 14 or information on the protrusion length of the tool 14 . Further, when the tool 14 is used for turning, the tool information may include tip shape information of the tool 14 or clearance angle information of the tool 14 .
- the machining information is information about machining conditions in the target machine 10 .
- the machining information includes information on machining conditions such as feed rate or feed width.
- the application judgment is judgment for each of detection of abnormality in cutting, detection of load in cutting, and detection of wear or chipping of the tool 14 .
- the application determination information indicates which one of abnormality detection, cutting load detection, and wear or chipping detection is to be performed. That is, the application determination information is information indicating which of the plurality of events that can occur in processing is to be determined.
- the application determination information is input to the feature quantity generation unit 3 by the user of the target machine 10 .
- the user selects an application determination target from “abnormality detection,” “cutting load detection,” and “tool wear or chipping detection,” and sets application determination information indicating the selected target as a feature value. Input to the generation unit 3 .
- the target of application judgment also includes functions that use “abnormality detection", “cutting load detection”, or “tool wear or chipping detection” for internal processing. Examples of such functions include a function in which the user directly specifies the cutting load amount by a parameter, such as cutting load control, and a function in which the user does not specify the load amount, but the load amount is specified by the machining conditions, such as FSW (Friction Stir Welding). functions to control.
- cutting load detection is performed by internal processing.
- the application determination information may be a fixed value. Alternatively, the application determination information does not have to be input to the feature amount generator 3 .
- the feature value generation unit 3 determines which application to perform among "abnormality detection", "cutting load detection”, and "tool wear or defect detection” from the input application determination information. .
- the feature quantity generation unit 3 estimates the second estimated torque using either the machine learning model parameters obtained by learning when cutting is performed or the machine learning model parameters obtained by learning when cutting is not performed. based on the results of such determination.
- the feature amount generation unit 3 calculates the actual torque obtained when cutting is performed and the actual torque obtained when cutting is not performed. and which to use is determined based on the result of such determination.
- the feature quantity generator 3 outputs a feature quantity including information about the determined items.
- the actual torque which is the input and estimation target of these feature value generation units 3, is a value that changes in time series. Since the machine learning model storage unit 42 also needs to consider the correlation in the direction of the time axis, it is given as a vector containing both the feature amount and the value for a certain past period. In a multi-axis mechanism such as a machine tool, which is the object of the first embodiment, the influence of mutual interference between axes is not small, so the input values corresponding to the respective axes are also included as vectors. is desirable. However, the torque component in the feature quantity is given as the difference between the actual torque and the first estimated torque, and only past values are used for the actual torque to be estimated.
- FIG. 4 is a block diagram showing a configuration example of the feature amount generation unit 3 and the machine learning model calculation unit 4 according to Embodiment 1.
- z is a unit delay operator
- Nd is an integer greater than or equal to 0 indicating the number of unit times of delay.
- the unit delay operator shown in FIG. 4 can also be said to be a storage device provided in the feature generator 3 . That is, the feature quantity generator 3 has a storage device that stores the first estimated torque, physical state variables, motor state signals, cutting state signals, tool information, machining information, and application determination information. .
- the feature amount generation unit 3 extracts information as feature amounts from the information stored in the storage device.
- the numerical control device 100 includes information on time-series changes related to physical state variables and motor state signals as input in the feature amount, so that the machine learning model calculation unit 4 can predict the operation of the target machine 10 in more detail. Thereby, the numerical controller 100 can improve the estimation accuracy of the second estimated torque with respect to the actual torque.
- the feature amount generator 3 does not necessarily have to use all of the first estimated torque, physical state variables, motor state signals, cutting state signals, tool information, machining information, and application determination information in generating feature amounts. .
- the feature amount generator 3 uses only a part of the first estimated torque, the physical state variable, the motor state signal, the cutting state signal, the tool information, the machining information, and the application determination information to generate the feature amount. Also good.
- the feature quantity generator 3 may generate and output a feature quantity from at least one of the first estimated torque, the physical state variable, and the motor state signal, and the cutting state signal.
- the second torque estimation unit 41 includes a machine learning unit 411.
- the second torque estimating unit 41 is the feature quantity generated by the feature quantity generating unit 3, the first estimated torque output from the first torque estimating unit 21, and the output of the machine learning model storage unit 42.
- Machine learning model parameters are input, and a machine learning correction amount is calculated based on machine learning of the machine learning unit 411 using the feature amount and the machine learning model parameters.
- the second torque estimator 41 outputs the result obtained by adding the machine learning correction amount to the first estimated torque as the second estimated torque.
- the machine learning unit 411 receives the feature quantity generated by the feature quantity generation unit 3 and the machine learning model parameters output from the machine learning model storage unit 42, and determines that the error of the second estimated torque with respect to the actual torque is the minimum. It is composed of a neural network that outputs the machine learning correction amount so that That is, the ideal value of the machine learning correction amount for the output matches the difference between the actual torque and the first estimated torque, and the difference between the past actual torque delayed by the input feature value and the first estimated torque , the machine learning unit 411 has an autoregressive term in the input/output relationship as shown in FIG.
- FIG. 5 is a diagram showing autoregression terms in the configurations of the feature quantity generation unit 3 and the machine learning model calculation unit 4 according to the first embodiment.
- FIG. 5 shows a portion related to the autoregressive term extracted from FIG.
- machine learning model parameters refer to the weight matrix and bias vector in the neural network.
- a recurrent type such as a recurrent neural network, LSTM (Long Short Term Memory), GRU (Gated Recurrent Unit), which has a recursive structure in the input/output relationship of the intermediate layer. is also an effective means for improving the prediction accuracy for such time-series data.
- polynomial models in order to reduce the learning load and the amount of calculation, polynomial models, multiple regression models, support vector regression models, regression trees, random forests, multivariate adaptive regression spline models, etc. may be used instead of neural networks, In cases such as when mutual interference between axes can be ignored, the machine learning unit 411 may be applied independently for each axis.
- the machine learning unit 411 can also learn factors of estimation errors that change depending on the immediately preceding state, such as the hysteresis characteristics of friction, and correct them as machine learning correction amounts.
- the second torque estimator 41 uses machine learning that includes an autoregressive term in the input/output relationship to calculate the machine learning correction amount from the feature amount and the machine learning model parameters.
- the second torque estimator 41 adds the calculated machine learning correction amount to the first estimated torque and outputs the second estimated torque.
- the second torque estimator 41 may use machine learning using a neural network as machine learning including an autoregressive term in the input/output relationship.
- Numerical controller 100 uses a neural network as a machine learning method, so that it becomes possible to learn and store a torque component, which is difficult to express on the equation of motion, as a nonlinear multi-degree-of-freedom model.
- the second torque estimator 41 may use the difference between the actual torque and the first estimated torque as an autoregressive term included in the input/output relationship in machine learning for calculating the machine learning correction amount.
- a difference between the actual torque and the first estimated torque is the target value of the correction amount for the first estimated torque.
- the target value of the correction amount changes in time series with the operation of the motor of the target machine 10 . Therefore, when estimating the optimum correction amount for the next time, the numerical control apparatus 100 is provided with an autoregressive term that includes the target value of the past correction amount as an input, so that the estimation can be performed with higher accuracy. becomes.
- the machine learning model storage unit 42 inputs the feature amount and the difference between the actual torque and the first estimated torque when the target machine 10 is operated for a certain period after the physical model parameters are learned in the physical model storage unit 22 . As training data for the output, machine learning model parameters are learned so as to reduce the error of the machine learning correction amount with respect to the difference between the actual torque and the first estimated torque. That is, the machine learning model storage unit 42 learns machine learning model parameters by supervised learning such that the machine learning correction amount approaches the difference between the actual torque and the first estimated torque. The machine learning model storage unit 42 stores learned machine learning model parameters.
- the machine learning model parameters at the start of learning may be initialized with arbitrary constants. have. Therefore, in the machine learning unit 411, in addition to the uniform distribution and the normal normal distribution, the weight matrix is initialized with a probability distribution derived from the normal distribution such as the truncated normal distribution, the He normal distribution, and the Grorot normal distribution. is common.
- the machine learning model storage unit 42 uses the mini-batch gradient descent method and the error backpropagation method as learning methods, and updates the machine learning model parameters represented by the weight matrix and bias vector for each batch. That is, the machine learning model storage unit 42 may use the error backpropagation method as a supervised learning method used when learning the machine learning model parameters. However, if a sufficient amount of teacher data cannot be prepared, the machine learning model storage unit 42 may use a normal gradient descent method, a stochastic gradient descent method, or the like instead of the mini-batch gradient descent method.
- the machine learning model storage unit 42 has a dropout that randomly excludes neurons during learning, and monitors errors for each epoch to quickly terminate learning. It is also effective to use a technique such as early stopping.
- the machine learning model storage unit 42 needs to apply the dropout probability to the weight matrix during inference of the machine learning correction amount. Therefore, such hyperparameters are also added as machine learning model parameters. and save.
- FIG. 6 is a flow chart showing the flow of learning of physical model parameters and machine learning model parameters in numerical control device 100 according to the first embodiment.
- the physical model storage unit 22 sets the initial values of the physical model parameters of each link, namely mass, center of gravity position, and inertia tensor, from the values in the specification table (step S1).
- the motor state observation unit 1 outputs time-series data of actual torque, position, speed, and acceleration, which are motor state signals of the target machine 10, as teacher data (step S2).
- the first torque estimator 21 calculates the first estimated torque by dynamic calculation with respect to the position, velocity, and acceleration (step S3).
- the first torque estimator 21 adds a linear friction model term to the dynamics equation (step S4).
- the physical model storage unit 22 adds the Coulomb friction coefficient and the viscous friction coefficient to the physical model parameters (step S5).
- the physical model storage unit 22 identifies physical model parameters from the difference between the actual torque and the first estimated torque, using the dynamic equation transformed into a linear equation and the least-squares method (step S6).
- the physical model storage unit 22 uses the Coulomb friction coefficient and the viscous friction coefficient in the identified physical model parameters as initial values, identifies the nonlinear friction model by the Levenberg-Marquardt method, and adds each obtained coefficient to the physical model parameters (step S7).
- the physical model storage unit 22 subtracts the first estimated torque and the value of the nonlinear friction model from the actual torque, and uses the dynamics equation transformed into a linear equation by removing the terms of the friction model and the least squares method. , the physical model parameters other than the friction coefficient are identified again (step S8).
- the first torque estimator 21 adds a nonlinear friction model term to the dynamics equation, and uses the learned physical model parameters to calculate the first estimated torque again (step S9).
- the feature value generator 3 receives the first estimated torque, physical state variables, motor state signals, cutting state information, machining information, tool information, and application determination information, and generates a vector , and output as a feature amount (step S10).
- the machine learning model storage unit 42 initializes the weight matrix and the bias, which are machine learning model parameters, with a normal distribution and the bias with a constant (step S11).
- the machine learning model storage unit 42 sets hyperparameters such as early stopping and dropout as learning conditions, and adds these values to the machine learning model parameters (step S12).
- the second torque estimating unit 41 uses the input as a feature value and the output as an ideal value of the machine learning correction amount that is the difference between the actual torque and the first estimated torque, and the error is calculated according to the conditions at the time of learning in the machine learning model parameters.
- the weight matrix and bias of the machine learning model parameters are learned by the backpropagation method (step S13).
- the physical model parameters are learned in advance in the physical model storage unit 22, and the machine learning correction amount for the first estimated torque is autoregressed.
- learning of the machine learning model parameters in the machine learning model storage unit 42 greatly contributes. This is because the numerical control device 100 distinguishes between the physical model parameters and the machine learning model parameters, so that the torque estimation error component caused by a known physical phenomenon that can be easily modeled in the equation of motion and the component modeled in the equation of motion This is because the absolute value of the machine learning correction amount, which is the output of the machine learning unit 411, becomes smaller.
- the numerical controller 100 can also reduce the number of parameters included in the machine learning model parameters. It is possible to prevent over-learning and increase the speed of learning in the unit 42, and to reduce teacher data used for learning.
- the autoregression term related to the machine learning correction amount the difference between the actual torque and the calculation result by the equation of motion using the initial values for the physical model parameters is learned by the machine learning model calculation unit 4 and used as the machine learning correction amount.
- the machine learning correction amount becomes smaller, and the torque estimation error range by a neural network can be suppressed.
- an advantage of using an autoregressive term there are effects of cogging torque, torque ripple, and backlash in torque transmission between gears that depend on the motor characteristics.
- One of the advantages is that it is easy to learn estimation error factors that change over time.
- FIG. 7 shows the first estimated torque after learning the physical model parameters and the second estimated torque obtained by learning the machine learning model parameters from the difference between the actual torque and the first estimated torque.
- FIG. 7 shows the motor speed, the first estimated torque estimated by the numerical controller 100, and the torque estimated by the numerical controller 100, which represents the operation of the target machine 10, which is the control target of the numerical controller 100 according to the first embodiment.
- FIG. 10 is a diagram showing a second estimated torque that is calculated; In each item, the horizontal axis indicates time. As shown in FIG. 7, the second estimated torque is closer to the actual torque than the first estimated torque.
- the numerical controller 100 learns by distinguishing between the physical model parameters and the machine learning model parameters. It can be said that it is a configuration.
- a method of mainly monitoring the difference between the actual torque and the second estimated torque can be considered. This is because the numerical controller 100 monitors the difference between the actual torque and the second estimated torque, so that the observed values are concentrated near zero, and the absolute value can be regarded as the degree of abnormality of the actual torque.
- a specific abnormality detection method a simple method of detecting whether or not the absolute value of the difference between the actual torque and the second estimated torque exceeds a preset threshold value may be used.
- a two-class classification problem of normal and abnormal with the difference between the feature value and the actual torque and the second estimated torque as input we prepared labeled teacher data, logistic regression, support vector machine, decision tree , a neural network, or the like.
- Numerical control device 100 performs oversampling of operation data during anomalies acquired using SMOTE (Synthetic Minority Over-sampling Technique), ADASYN (ADAactive SYNthetic), etc., when it is difficult to collect operation data during anomalies, which is training data. may be performed, or by unsupervised learning such as the K-means method and self-organizing map, the data may be classified into two clusters, normal and abnormal. Further, in the numerical controller 100, the number of classes and the number of clusters are not limited to normal and abnormal. Any degree of abnormality other than the absolute value of the difference from the estimated torque may be set.
- SMOTE Synthetic Minority Over-sampling Technique
- ADASYN ADAactive SYNthetic
- the numerical control device 100 be executed in an ideal state for comparison of the degree of deterioration, such as during test operation.
- the machine tool since the machine tool has a spindle and a tool 14 attached to its tip and cuts a workpiece 15 placed on a table 13, the physical properties of each link, such as the mass, the position of the center of gravity, and the inertia tensor, change. Therefore, the numerical controller 100 needs to consider the mass of the workpiece 15, such as re-learning both the physical model parameters and the machine learning model parameters in each state.
- the physical model storage unit 22 learns the motor state signals when the target machine 10 is operated for a certain period of time, thereby automating the setting process. It has become.
- the cycle time, trajectory deviation, pressing force at the time of collision, etc. are reduced. This technology can also be applied to increase the speed and accuracy of control, and the application of the above method is not limited to abnormality detection.
- the machine learning model storage unit 42 separately performs supervised learning when the target machine 10 is cutting and supervised learning when the target machine 10 is not cutting.
- the machine learning model storage unit 42 stores machine learning model parameters by learning based on input/output when cutting is performed and machine learning model parameters by learning based on input/output when cutting is not performed.
- the machine learning model calculator 4 can switch between learning during cutting and learning during non-cutting by inputting a feature amount including a cutting state signal and application determination information.
- FIG. 8 is a diagram for explaining abnormality detection by the numerical control device 100 according to the first embodiment.
- FIG. 8 shows the actual torque and the second estimated torque estimated by the numerical controller 100. As shown in FIG. The horizontal axis indicates time.
- the processing described here is executed when the application determination information indicates a determination for detecting an abnormality.
- the machine learning model calculation unit 4 calculates the difference between the actual torque and the second estimated torque calculated by the machine learning model calculation unit 4 when application determination information indicating abnormality detection is input as a feature amount.
- the difference is monitored by the second torque estimator 41 .
- the second torque estimating unit 41 calculates a second estimated torque from machine learning model parameters by learning based on input and output when cutting is not performed, and calculates the actual torque and the calculated second estimated torque. monitor the diff.
- the second torque estimator 41 detects occurrence of an abnormality when the difference exceeds a certain value. Abnormalities are motor torque abnormalities.
- the numerical controller 100 can detect torque anomalies by having the machine learning model calculation unit 4 perform calculations using the learning model for non-cutting.
- the numerical controller 100 adjusts the parameters of the machining conditions so that the difference between the actual torque and the second estimated torque is equal to or less than the constant value. For example, the numerical controller 100 makes adjustments to lower the feed rate.
- the numerical control device 100 may output an alarm indicating that an abnormality has been detected.
- Embodiment 2 a case where the numerical controller 100 detects the cutting load will be described.
- the same reference numerals are given to the same constituent elements as in the first embodiment, and the explanation overlapping with the first embodiment is omitted.
- FIG. 9 is a diagram for explaining how the numerical controller 100 according to the second embodiment detects the cutting load.
- FIG. 9 shows the actual torque and the second estimated torque estimated by the numerical controller 100. As shown in FIG. The horizontal axis indicates time.
- the processing in Embodiment 2 is executed when the application determination information indicates determination for detecting cutting load.
- the first torque estimator 21 adds a nonlinear friction model term to the power equation and calculates the first estimated torque using the learned physical model parameters.
- the feature amount generation unit 3 receives the first estimated torque, the physical state variable, the motor state signal, the cutting state signal, the tool information, the machining information, and the application determination information, and transmits the information to the machine learning unit 411. Outputs the feature value that is the input of .
- the machine learning model storage unit 42 stores the weight matrix of the machine learning model parameters in the machine learning model storage unit 42 when the application determination information indicating cutting load detection and the cutting state signal indicating non-cutting are input as feature amounts.
- the second torque estimating unit 41 uses the input as a feature value and the output as an ideal value of the machine learning correction amount that is the difference between the actual torque and the first estimated torque, and the error is calculated according to the conditions at the time of learning in the machine learning model parameters. Learn the weight matrix and bias of the machine learning model parameters by backpropagation.
- the second estimated torque calculated by the second torque estimator 41 approximates the actual torque that operates the target machine 10.
- the actual torque when the target machine 10 actually cuts the workpiece 15 is the sum of the torque for operating the target machine 10 and the torque for cutting the workpiece 15. is measured. Therefore, by subtracting the second estimated torque from the measured actual torque, the numerical controller 100 can obtain the cutting load torque, which is the torque required when the target machine 10 cuts the workpiece 15.
- Cutting load detection refers to obtaining the cutting load torque.
- the machine learning model calculation unit 4 calculates the actual torque and the number calculated by the machine learning model calculation unit 4.
- the second torque estimator 41 obtains the cutting load torque, which is the difference between the two estimated torques.
- the second torque estimating unit 41 calculates a second estimated torque from machine learning model parameters by learning based on input and output when cutting is not performed, and calculates the actual torque and the calculated second estimated torque. Calculate the cutting load torque, which is the difference between When the cutting state signal indicates non-cutting, the numerical controller 100 can detect the cutting load by having the machine learning model calculator 4 perform calculations using the learning model for non-cutting.
- Embodiment 3 In the third embodiment, a case where the numerical controller 100 detects wear or damage of the tool 14 will be described.
- the same components as those in Embodiment 1 or 2 above are denoted by the same reference numerals, and description overlapping with Embodiment 1 or 2 is omitted.
- FIG. 10 is a diagram for explaining detection of wear or damage to the tool 14 by the numerical controller 100 according to the third embodiment.
- FIG. 10 shows the actual torque and the second estimated torque estimated by the numerical controller 100. As shown in FIG. The horizontal axis indicates time.
- the processing in Embodiment 3 is executed when the application determination information indicates determination for detecting wear or damage of the tool 14 .
- the first torque estimator 21 adds a nonlinear friction model term to the power equation and calculates the first estimated torque using the learned physical model parameters.
- the feature amount generation unit 3 receives the first estimated torque, the physical state variable, the motor state signal, the cutting state signal, the tool information, the machining information, and the application determination information, and transmits the information to the machine learning unit 411. Outputs the feature value that is the input of .
- the machine learning model storage unit 42 stores a weight matrix of machine learning model parameters when application determination information indicating determination for detecting wear or chipping of the tool 14 and a cutting state signal indicating cutting are input as feature amounts. is stored in the machine learning model storage unit 42 .
- the second torque estimating unit 41 uses the input as a feature value and the output as an ideal value of the machine learning correction amount that is the difference between the actual torque and the first estimated torque, and the error is calculated according to the conditions at the time of learning in the machine learning model parameters. Learn the weight matrix and bias of the machine learning model parameters by backpropagation.
- the second estimated torque calculated by the second torque estimator 41 is the actual torque for operating the target machine 10 and the cutting load torque. can be estimated as the actual torque, which is the sum of
- the numerical controller 100 subtracts the measured actual torque from the second estimated torque to determine whether the tool 14 has increased due to wear. Cutting load torque can be obtained. Therefore, the numerical controller 100 can detect the degree of wear of the tool 14 from the cutting load torque, which is the difference between the second estimated torque and the measured actual torque. Further, when the application determination information indicates a determination for detecting wear or damage of the tool 14, the numerical controller 100 determines that the second estimated torque to be measured is only the actual torque for operating the target machine 10. In this case, chipping of the tool 14 can be detected.
- the machine learning model calculation unit 4 calculates the actual torque and the machine learning model calculation unit 4
- the second torque estimator 41 monitors the difference from the calculated second estimated torque.
- the second torque estimating unit 41 calculates a second estimated torque from machine learning model parameters by learning based on input and output when cutting is performed, and calculates the actual torque and the calculated second estimated torque. monitor the diff.
- the second torque estimator 41 calculates the increase in the difference between the second estimated torque and the measured actual torque as cutting due to wear of the tool 14. Presumed to be the increase in load torque.
- the second torque estimator 41 detects the degree of wear of the tool 14 based on the increased cutting load torque.
- the second torque estimator 41 determines that the tool 14 is damaged when the measured actual torque is smaller than the second estimated torque or when the measured actual torque is extremely smaller than the second estimated torque. detect what has happened.
- the numerical controller 100 can detect wear or chipping of the tool 14 by having the machine learning model calculator 4 perform calculations using the learning model for cutting. .
- Numerical controller 100 decelerates and stops target machine 10 when wear or chipping of tool 14 is detected.
- Numerical controller 100 may output an alarm indicating that wear or damage to tool 14 has been detected when wear or damage to tool 14 has been detected.
- the motor state observing section 1, the physical model calculating section 2, the feature value generating section 3, the machine learning model calculating section 4, and the cutting state observing section 5 are implemented by processing circuits.
- the processing circuit may be a processor and memory that executes a program stored in the memory, or may be dedicated hardware.
- FIG. 11 is a diagram showing an example in which a processing circuit included in the numerical control device 100 according to Embodiments 1 to 3 is configured with a processor 91 and a memory 92.
- the processing circuit is composed of processor 91 and memory 92
- each function of the processing circuit of numerical controller 100 is implemented by software, firmware, or a combination of software and firmware.
- Software or firmware is written as a program and stored in memory 92 .
- each function is realized by the processor 91 reading and executing the program stored in the memory 92 . That is, the processing circuit includes a memory 92 for storing a program that results in the processing of the numerical controller 100 being executed. It can also be said that these programs cause a computer to execute the procedures and methods of the numerical controller 100 .
- the processor 91 may be a CPU (Central Processing Unit), a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor).
- the memory 92 includes non-volatile or volatile memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable ROM), EEPROM (Registered Trademark) (Electrically EPROM), etc. semiconductor memory, magnetic disk, flexible disk, optical disk, compact disk, mini disk, or DVD (Digital Versatile Disc).
- FIG. 12 is a diagram showing an example in which the processing circuit included in the numerical controller 100 according to Embodiments 1 to 3 is configured with dedicated hardware.
- the processing circuit is composed of dedicated hardware, the processing circuit 93 shown in FIG. An FPGA (Field Programmable Gate Array) or a combination thereof is applicable.
- Each function of the numerical controller 100 may be realized by the processing circuit 93 for each function, or may be realized by the processing circuit 93 collectively.
- each function of the numerical control device 100 may be partly realized by dedicated hardware and partly realized by software or firmware.
- the processing circuitry may implement each of the functions described above through dedicated hardware, software, firmware, or a combination thereof.
- the model of the numerical controller 100 is used to estimate the torque using the information of the physical phenomena explicitly given on the mechanical properties of the target machine 10 and the equation of motion. and a machine learning model calculator 4 that includes a correction amount for the estimated torque of the physical model calculator 2 as an autoregressive term and estimates a highly nonlinear torque component that is difficult to express on the equation of motion. expressed as a combination of Numerical controller 100 learns these in order, so that the model of target machine 10 with high torque estimation accuracy and generalization performance with respect to actual torque can be learned at high speed from a small amount of operation data. Further, the numerical control device 100 can detect even minor abnormalities by comparing the actual torque and the estimated torque value, that is, by comparing the actual machine and the learned model.
- the numerical control device 100 sequentially learns the physical model parameters and the machine learning model parameters to obtain the mechanical properties of the target machine 10, the torque component due to the physical phenomenon explicitly given in the equation of motion, and the equation of motion. It can be learned and estimated by distinguishing it from the highly nonlinear torque component, which is difficult to express above. As a result, the numerical control device 100 shortens the time required for the entire learning, and since the absolute value of the machine learning correction amount becomes smaller due to the learning of the physical model parameters, the generalization performance of the second estimated torque with respect to the actual torque is improved.
- the numerical control device 100 efficiently learns the correlation between the feature values in the time axis direction by the autoregressive term of the input/output relationship in the second torque estimating unit 41, thereby estimating the second estimated torque. Accuracy can be improved. As described above, the numerical controller 100 has the effect of enabling highly accurate torque estimation even for complex phenomena with strong nonlinearity.
- the target machine 10 which is a machine tool, is controlled by the numerical controller 100.
- the numerical controller 100 can also be applied to cutting control by a robot or the like, a mounting machine, or the like.
- each embodiment is an example of the content of the present disclosure.
- the configuration of each embodiment can be combined with another known technique. Configurations of respective embodiments may be combined as appropriate. A part of the configuration of each embodiment can be omitted or changed without departing from the gist of the present disclosure.
- Motor state observation unit 2 Physical model calculation unit 3 Feature value generation unit 4 Machine learning model calculation unit 5 Cutting state observation unit 10 Target machine 11 Column 12 Spindle head 13 Table 14 Tool 15 Work , 21 first torque estimation unit, 22 physical model storage unit, 41 second torque estimation unit, 42 machine learning model storage unit, 91 processor, 92 memory, 93 processing circuit, 100 numerical controller, 411 machine learning unit.
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Evolutionary Computation (AREA)
- Manufacturing & Machinery (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Numerical Control (AREA)
Abstract
Description
図1は、実施の形態1に係る数値制御装置100の構成例を示すブロック図である。数値制御装置100は、工作機械である対象機械10のモータを制御する。数値制御装置100は、モータ状態観測部1と、物理モデル計算部2と、特徴量生成部3と、機械学習モデル計算部4と、切削状態観測部5と、を備える。物理モデル計算部2は、第一のトルク推定部21と、物理モデル記憶部22と、を備える。機械学習モデル計算部4は、第二のトルク推定部41と、機械学習モデル記憶部42と、を備える。
実施の形態2では、数値制御装置100において切削負荷を検知する場合について説明する。実施の形態2では、上記の実施の形態1と同一の構成要素には同一の符号を付し、実施の形態1と重複する説明を省略する。図9は、実施の形態2における数値制御装置100による切削負荷の検知について説明するための図である。図9には、実トルクと、数値制御装置100で推定される第二の推定トルクとを示す。横軸は時間を示す。
実施の形態3では、数値制御装置100において工具14の摩耗または欠損を検知する場合について説明する。実施の形態3では、上記の実施の形態1または2と同一の構成要素には同一の符号を付し、実施の形態1または2と重複する説明を省略する。図10は、実施の形態3における数値制御装置100による工具14の摩耗または欠損の検知について説明するための図である。図10には、実トルクと、数値制御装置100で推定される第二の推定トルクとを示す。横軸は時間を示す。
Claims (19)
- ワークを切削する工作機械のモータを制御する数値制御装置であって、
前記モータの状態を観測した結果を示すモータ状態信号を出力するモータ状態観測部と、
前記工作機械が切削を行っているか否かを示す切削状態信号を出力する切削状態観測部と、
前記モータ状態信号および前記工作機械の物理モデルパラメータに基づき、前記モータのトルクの推定値である第一の推定トルクと前記第一の推定トルクの成分である物理状態変数とを出力する第一のトルク推定部と、
前記第一の推定トルクと前記物理状態変数と前記モータ状態信号との少なくとも一つ、および前記切削状態信号から特徴量を生成し出力する特徴量生成部と、
前記特徴量および機械学習モデルパラメータから機械学習補正量を算出し、算出した前記機械学習補正量が前記モータ状態信号に含まれる実トルクと前記第一の推定トルクとの差分に近づくように前記機械学習モデルパラメータを学習し、学習した前記機械学習モデルパラメータを記憶する機械学習モデル計算部と、
を備えることを特徴とする数値制御装置。 - 前記特徴量生成部は、前記第一の推定トルクと、前記物理状態変数と、前記モータ状態信号と、前記切削状態信号と、前記工作機械に使用される工具についての情報である工具情報と、前記工作機械における加工条件についての情報である加工情報とを記憶する記憶装置を有し、前記記憶装置に記憶された情報の中から前記特徴量とする情報を抽出する、
ことを特徴とする請求項1に記載の数値制御装置。 - 前記機械学習モデル計算部は、前記切削が行われているときにおける入出力に基づいた学習による前記機械学習モデルパラメータと、前記切削が行われていないときにおける入出力に基づいた学習による前記機械学習モデルパラメータとを記憶する、
ことを特徴とする請求項2に記載の数値制御装置。 - 前記機械学習モデル計算部は、前記切削が行われていないときにおける入出力に基づいた学習による前記機械学習モデルパラメータから算出した前記機械学習補正量を前記第一の推定トルクに加算することによって第二の推定トルクを算出し、前記実トルクと算出された前記第二の推定トルクとの差分を監視し、前記差分に基づいて異常を検知する、
ことを特徴とする請求項3に記載の数値制御装置。 - 前記機械学習モデル計算部は、前記切削が行われていないときにおける入出力に基づいた学習による前記機械学習モデルパラメータから算出した前記機械学習補正量を前記第一の推定トルクに加算することによって第二の推定トルクを算出し、前記実トルクと算出された前記第二の推定トルクとの差分である切削負荷トルクを求める、
ことを特徴とする請求項3に記載の数値制御装置。 - 前記機械学習モデル計算部は、前記切削が行われているときにおける入出力に基づいた学習による前記機械学習モデルパラメータから算出した前記機械学習補正量を前記第一の推定トルクに加算することによって第二の推定トルクを算出し、前記実トルクと算出された前記第二の推定トルクとの差分を監視し、前記差分に基づいて前記工具の摩耗または欠損を検知する、
ことを特徴とする請求項3に記載の数値制御装置。 - 前記記憶装置は、加工における複数の事象の各々を検知するための判定のいずれを行うかを示す判定情報をさらに記憶する、
ことを特徴とする請求項2から6のいずれか一つに記載の数値制御装置。 - 前記工具情報は、前記工具の刃数の情報または前記工具の突き出し長さの情報を含むことを特徴とする請求項2から7のいずれか一つに記載の数値制御装置。
- 前記工具は、旋削加工に使用される工具であって、
前記工具情報は、前記工具のチップ形状の情報または前記工具の逃げ角の情報を含むことを特徴とする請求項2から7のいずれか一つに記載の数値制御装置。 - 前記機械学習モデル計算部は、入出力関係に自己回帰項を含む機械学習としてニューラルネットワークを用いて前記機械学習補正量を算出し、かつ、前記機械学習モデルパラメータの学習時に誤差逆伝搬法を用いる、
ことを特徴とする請求項1から9のいずれか一つに記載の数値制御装置。 - 前記機械学習モデル計算部は、前記自己回帰項として前記実トルクと前記第一の推定トルクとの差分を用いる、
ことを特徴とする請求項10に記載の数値制御装置。 - 前記第一のトルク推定部は、前記モータ状態信号および前記物理モデルパラメータに基づき、運動方程式を用いて前記第一の推定トルクと前記物理状態変数とを出力する、
ことを特徴とする請求項1から11のいずれか一つに記載の数値制御装置。 - 前記運動方程式は、前記モータ状態信号により求まる前記モータの速度を入力としてトルクの摩擦成分の推定値を出力する連続かつ滑らかな摩擦モデルを含む、
ことを特徴とする請求項12に記載の数値制御装置。 - 前記実トルクと前記第一の推定トルクとの差分を低減するよう前記物理モデルパラメータを学習し記憶する物理モデル計算部
をさらに備えることを特徴とする請求項1から11のいずれか一つに記載の数値制御装置。 - 前記第一のトルク推定部は、前記モータ状態信号および前記物理モデルパラメータに基づき、運動方程式を用いて前記第一の推定トルクと前記物理状態変数とを出力し、
前記運動方程式は、前記モータ状態信号により求まる前記モータの速度を入力としてトルクの摩擦成分の推定値を出力する連続かつ滑らかな摩擦モデルを含み、
前記物理モデル計算部は、前記摩擦モデルの係数を前記物理モデルパラメータとして学習し記憶する、
ことを特徴とする請求項14に記載の数値制御装置。 - 前記物理状態変数に、前記摩擦モデルが含まれる、
ことを特徴とする請求項15に記載の数値制御装置。 - 前記物理モデル計算部は、前記物理モデルパラメータの学習において、前記摩擦モデルの係数および他の前記物理モデルパラメータを交互に推定する、
ことを特徴とする請求項16に記載の数値制御装置。 - 前記物理モデル計算部は、前記物理モデルパラメータの学習において、最小二乗法、正則化最小二乗法、非線形最小二乗法、またはカルマンフィルタを用いる、
ことを特徴とする請求項16または17に記載の数値制御装置。 - ワークを切削する工作機械のモータを制御する数値制御装置であって、
前記モータの状態を観測した結果を示すモータ状態信号を出力するモータ状態観測部と、
前記工作機械が切削を行っているか否かを示す切削状態信号を出力する切削状態観測部と、
前記モータ状態信号および前記工作機械の物理モデルパラメータに基づき、前記モータのトルクの推定値である第一の推定トルクと前記第一の推定トルクの成分である物理状態変数とを出力する第一のトルク推定部と、
前記第一の推定トルクと前記物理状態変数と前記モータ状態信号との少なくとも一つ、および前記切削状態信号から特徴量を生成し出力する特徴量生成部と、
前記特徴量および機械学習モデルパラメータから前記モータ状態信号に含まれる実トルクと前記第一の推定トルクとの差分に近づくように算出された機械学習補正量を前記第一の推定トルクに加算して第二の推定トルクを出力する第二のトルク推定部と、
を備えることを特徴とする数値制御装置。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE112021006961.6T DE112021006961T5 (de) | 2021-01-26 | 2021-01-26 | Numerische Steuervorrichtung |
PCT/JP2021/002683 WO2022162740A1 (ja) | 2021-01-26 | 2021-01-26 | 数値制御装置 |
CN202180086302.3A CN116635802A (zh) | 2021-01-26 | 2021-01-26 | 数控装置 |
JP2021531611A JP6949284B1 (ja) | 2021-01-26 | 2021-01-26 | 数値制御装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2021/002683 WO2022162740A1 (ja) | 2021-01-26 | 2021-01-26 | 数値制御装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022162740A1 true WO2022162740A1 (ja) | 2022-08-04 |
Family
ID=78001457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2021/002683 WO2022162740A1 (ja) | 2021-01-26 | 2021-01-26 | 数値制御装置 |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6949284B1 (ja) |
CN (1) | CN116635802A (ja) |
DE (1) | DE112021006961T5 (ja) |
WO (1) | WO2022162740A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7343735B1 (ja) * | 2023-04-07 | 2023-09-12 | ファナック株式会社 | 加工シミュレーション装置及び加工シミュレーション方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014002461A (ja) * | 2012-06-15 | 2014-01-09 | Mitsubishi Electric Corp | 数値制御装置 |
JP2017177255A (ja) * | 2016-03-29 | 2017-10-05 | ソニー株式会社 | 制御装置及び制御方法 |
JP2019000942A (ja) * | 2017-06-15 | 2019-01-10 | ファナック株式会社 | 学習装置、制御装置及び制御システム |
WO2020213062A1 (ja) * | 2019-04-16 | 2020-10-22 | 三菱電機株式会社 | モータ制御装置 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5209810B1 (ja) | 2011-07-27 | 2013-06-12 | ファナック株式会社 | イナーシャと摩擦係数とばね定数を同時に推定する機能を備える電動機の制御装置 |
-
2021
- 2021-01-26 WO PCT/JP2021/002683 patent/WO2022162740A1/ja active Application Filing
- 2021-01-26 CN CN202180086302.3A patent/CN116635802A/zh active Pending
- 2021-01-26 DE DE112021006961.6T patent/DE112021006961T5/de active Pending
- 2021-01-26 JP JP2021531611A patent/JP6949284B1/ja active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014002461A (ja) * | 2012-06-15 | 2014-01-09 | Mitsubishi Electric Corp | 数値制御装置 |
JP2017177255A (ja) * | 2016-03-29 | 2017-10-05 | ソニー株式会社 | 制御装置及び制御方法 |
JP2019000942A (ja) * | 2017-06-15 | 2019-01-10 | ファナック株式会社 | 学習装置、制御装置及び制御システム |
WO2020213062A1 (ja) * | 2019-04-16 | 2020-10-22 | 三菱電機株式会社 | モータ制御装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7343735B1 (ja) * | 2023-04-07 | 2023-09-12 | ファナック株式会社 | 加工シミュレーション装置及び加工シミュレーション方法 |
WO2024209686A1 (ja) * | 2023-04-07 | 2024-10-10 | ファナック株式会社 | 加工シミュレーション装置及び加工シミュレーション方法 |
Also Published As
Publication number | Publication date |
---|---|
JP6949284B1 (ja) | 2021-10-13 |
DE112021006961T5 (de) | 2023-11-30 |
JPWO2022162740A1 (ja) | 2022-08-04 |
CN116635802A (zh) | 2023-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7118249B2 (ja) | モータ制御装置 | |
Bona et al. | Friction compensation in robotics: an overview | |
JP6411380B2 (ja) | ロボットとその環境との衝突の検出を改善する方法、同方法を実施するシステムおよびコンピュータプログラム製品 | |
US8442685B2 (en) | Robot control apparatus | |
JP6567205B1 (ja) | 機械学習装置、補正パラメータ調整装置および機械学習方法 | |
JP6324641B1 (ja) | 異常診断装置及び異常診断方法 | |
US11822308B2 (en) | Polishing tool wear amount prediction device, machine learning device, and system | |
JP6469065B2 (ja) | 機械学習装置及び加工時間予測装置 | |
JP6443311B2 (ja) | 制御装置、制御プログラムおよび記録媒体 | |
US10444731B2 (en) | Controller and machine learning device | |
RU2682195C1 (ru) | Устройство диагностики неисправностей и способ диагностики неисправностей | |
JP5591400B2 (ja) | 駆動機械の負荷特性推定装置 | |
Makarov et al. | Adaptive filtering for robust proprioceptive robot impact detection under model uncertainties | |
CN113365788B (zh) | 作业判别装置及作业判别方法 | |
CN111347421A (zh) | 用于扭矩估计的方法和装置 | |
US10962957B2 (en) | Collision position estimation device and machine learning device | |
JP4453526B2 (ja) | サーボ制御装置 | |
Sotoudehnejad et al. | Counteracting modeling errors for sensitive observer-based manipulator collision detection | |
Kappler et al. | A new data source for inverse dynamics learning | |
WO2022162740A1 (ja) | 数値制御装置 | |
US11579000B2 (en) | Measurement operation parameter adjustment apparatus, machine learning device, and system | |
Liu et al. | Velocity estimation of robot manipulators: An experimental comparison | |
CN113711138B (zh) | 伺服控制装置 | |
CN115847420A (zh) | 一种针对运动目标的机械臂视觉跟踪控制方法及系统 | |
CN116313036A (zh) | 基于运动测量和机器学习的手部动作预测算法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2021531611 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21922764 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180086302.3 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 112021006961 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21922764 Country of ref document: EP Kind code of ref document: A1 |