Numerical control device

By acquiring time series data from the sensor in the numerical control device, performing sorting and frequency counting, and extracting feature quantities that meet the threshold, the problem of time-consuming setting of the spindle load target value in the existing technology is solved, and a fast and simple feature is achieved Improved extraction and control efficiency.

CN110196574BActive Publication Date: 2024-08-23FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910145933.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-02-27
Filing Date
2019-02-27
Publication Date
2024-08-23
Estimated Expiration
2039-02-27

AI Technical Summary

Technical Problem

When existing numerical control devices implement adaptive control, they need to set the target value of the spindle load based on experience and charts, which results in a large time consumption and difficulty in quickly and easily obtaining data characteristics related to processing.

Method used

Design a numerical control device that acquires time series data from sensors, uses a feature calculation unit to sort and frequency count the data, extracts a data set that meets a predetermined threshold, and calculates and outputs feature values ​​for use in controlling the feed speed.

Benefits of technology

It realizes the quick and simple extraction of feature quantities from processing-related data, simplifies the setting of target values, improves control efficiency, and is suitable for shortening the processing cycle and extending tool life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110196574B_ABST
    Figure CN110196574B_ABST
Patent Text Reader

Abstract

The present invention provides a numerical control device, which outputs a feature value of time series data generated in association with processing. The numerical control device comprises: a data acquisition unit, which acquires time series data from a sensor; a feature value calculation unit, which sorts the time series data according to the value of the time series data, extracts a set of time series data whose value change is below a predetermined threshold, and calculates a feature value representing the set; and a feature value output unit, which outputs the feature value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a numerical control device, and in particular to a numerical control device for obtaining a feature value from data associated with processing. Background Art

[0002] The numerical control device can obtain data generated in association with machining from a motor or sensor, and perform various controls based on the obtained data. For example, there is a numerical control device that detects the spindle load and controls the feed speed so that the spindle load becomes constant, mainly for the purpose of shortening the cycle time of rough machining and extending the tool life. This type of control is called adaptive control. As one of the feedback control methods for implementing adaptive control, there is PID control ( Figure 1 ).

[0003] Japanese Patent Application Laid-Open No. 2017-097701 describes a numerical control device that performs PID control, which is used to control the movement speed of a spindle so that the spindle load value becomes constant.

[0004] In order to perform such control, it is necessary to determine the value of the spindle load or the like as a target according to the processing conditions. For example, an experienced technician reads the load of the portion where processing is performed stably by observing the following chart, which depicts the change in the spindle load caused by processing, and sets the target value. In this way, it has been time-consuming to determine the target value based on experience and technical know-how. Therefore, a method is required to simply and appropriately obtain the characteristics of data (such as spindle load) generated in association with processing. Summary of the invention

[0005] The present invention has been made to solve such a problem, and an object of the present invention is to provide a numerical control device that acquires a feature value from data related to machining.

[0006] In one embodiment of the numerical control device of the present invention, the numerical control device outputs a feature value of time series data generated in association with processing, and the numerical control device comprises: a data acquisition unit, which acquires the above-mentioned time series data from a sensor; a feature value calculation unit, which sorts the above-mentioned time series data according to the value of the time series data, extracts a set of the above-mentioned time series data whose change in the above-mentioned value is below a predetermined threshold value, and calculates the above-mentioned feature value representing the above-mentioned set; and a feature value output unit, which outputs the above-mentioned feature value.

[0007] In another embodiment of the numerical control device of the present invention, the numerical control device outputs a feature value of time series data generated in association with processing, and the numerical control device comprises: a data acquisition unit, which acquires the above-mentioned time series data from a sensor; a feature value calculation unit, which counts the occurrence frequency of the value of the above-mentioned time series data, extracts a set of the above-mentioned time series data whose occurrence frequency is above a predetermined threshold value, and calculates the above-mentioned feature value representing the above-mentioned set; and a feature value output unit, which outputs the above-mentioned feature value.

[0008] The numerical control device may further include a spindle control unit configured to control a feed speed according to a spindle load, and the spindle control unit may control the feed speed using the feature value output by the feature value output unit as a target value.

[0009] According to the present invention, it is possible to provide a numerical control device that acquires a feature value from data related to machining. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 Indicates various types of control that can be performed by the numerical controller.

[0011] Figure 2 This is a hardware configuration diagram of a numerical control device according to one embodiment of the present invention.

[0012] Figure 3 Yes means Figure 2 A block diagram of the functional structure of a numerical control device.

[0013] Figure 4 This shows an example of time series data.

[0014] Figure 5 It is a diagram showing the processing performed by the feature quantity calculation unit.

[0015] Figure 6 This shows the processing performed by the feature quantity calculation unit.

[0016] Figure 7 Indicates the processing performed by the feature quantity calculation unit.

[0017] Figure 8 Indicates the processing performed by the feature quantity calculation unit.

[0018] Fig. 9 This shows the processing performed by the feature quantity calculation unit. DETAILED DESCRIPTION

[0019] The configuration of a numerical control device 1 according to an embodiment of the present invention will be described.

[0020] Figure 2 This is a schematic hardware configuration diagram of a main part of a numerical control device 1 according to an embodiment of the present invention.

[0021] The CPU 11 included in the numerical controller 1 is a processor that controls the entire numerical controller 1 , reads a program stored in the nonvolatile memory 14 via the bus 20 , and controls the entire numerical controller 1 according to the program.

[0022] The nonvolatile memory 14 is backed up by, for example, a battery (not shown), and is configured to maintain a storage state even when the power supply of the numerical controller 1 is turned off. The programs and data stored in the nonvolatile memory 14 can be expanded in the volatile memory 13 when in use. In addition to storing the programs and data expanded from the nonvolatile memory 14, the volatile memory 13 also stores temporary calculation data, display data, data input via an input device, and the like.

[0023] The display / MDI unit 70 is a data input / output device having a display, a keyboard, etc. Commands and data input from the keyboard of the display / MDI unit 70 are transmitted to the CPU 11 via the interface 15. In addition, display data output from the CPU 11 is displayed on the display of the display / MDI unit 70 via the interface 15.

[0024] The sensor 80 is a device for outputting various time series data generated by machining. For example, in addition to temperature sensors and speed sensors installed outside the machine tool, it also includes a motor that can output values ​​of load, temperature, etc. The data output from the sensor 80 is transmitted to the CPU 11 via the interface 16.

[0025] <First Embodiment>

[0026] Hereinafter, a configuration example of a numerical control device 1 will be described as a first embodiment of the present invention.

[0027] Figure 3 This is a block diagram showing a schematic functional configuration of a numerical control device 1 according to the first embodiment of the present invention.

[0028] The numerical control device 1 includes a data acquisition unit 101 , a feature quantity calculation unit 102 , and a feature quantity output unit 103 .

[0029] The data acquisition unit 101 acquires time series data output by the sensor 80. Figure 4 , as an example of time series data, the waveform of the spindle load obtained by the data acquisition unit 101 is shown. Figure 4 The portion surrounded by an ellipse in the figure is a portion that is processed stably. In the past, skilled technicians found such a stable portion from time series data and extracted a representative value (such as an average value, a median value, etc.) of the stable portion to use as a target value for various controls.

[0030] The feature calculation unit 102 sorts the time series data obtained by the data acquisition unit 101 according to the size of their values, calculates the differential values ​​between the sorted data, and extracts the data whose calculated differential values ​​converge to a certain condition (typically below a predetermined threshold, etc.). In this way, the value of the stable part of the time series data (hereinafter referred to as the feature value) can be extracted. Therefore, the following uses Figure 5 , Figure 6 The processing performed by the feature amount calculation unit 102 will be described.

[0031] Figure 5 : is a graph showing time series data before the feature amount calculation unit 102 performs the sorting process. The vertical axis represents the spindle load, and the horizontal axis represents time.

[0032] Figure 6 The upper middle part is a graph showing time series data sorted by the feature calculation unit 102. The vertical axis represents the spindle load, and the horizontal axis represents the cumulative value of the number of data. The data sorted in ascending order of the spindle load is arranged in the positive direction of the horizontal axis.

[0033] Figure 6 The lower part is based on the sorted time series data ( Figure 6 The upper middle part) plots the differential values ​​between the data.

[0034] Will Figure 6 The upper part of Figure 6 By comparing the lower part of Figure 6 When the differential value in the lower half of Figure 6 The intervals between data in the upper half of become dense. This dense portion is a stable portion, and therefore the feature amount calculation unit 102 extracts the characteristics of the data belonging to this portion as a feature amount.

[0035] The feature quantity calculation unit 102 may calculate, for example, an average value or a median value of data whose differential values ​​are lower than a predetermined threshold value as a feature quantity. Figure 7 As shown, the upper limit value and / or lower limit value of the data below the predetermined threshold value or the value within the predetermined range from the upper limit value and / or the lower limit value can also be calculated as the feature value. The feature value in this case, for example, represents the upper limit and / or lower limit of the recommended range of the spindle load that can perform stable machining. The lower limit value (or the value within the predetermined range from the lower limit value) can be said to be the recommended value of the spindle load when the tool life is given priority. On the other hand, the upper limit value (or the value within the predetermined range from the upper limit value) can be said to be the recommended value of the spindle load when the cycle time is given priority.

[0036] When the feature quantity calculation unit 102 sorts the time series data, information related to the temporal order relationship is lost. Instead, it is possible to extract the stable part of the time series data, that is, a set of data whose differential value is less than a certain level and changes slowly. For example, the adaptive control of the spindle load is a control that suppresses the load when the load is high and increases the load when the load is low, so it is important to properly determine the stable part of the load to set it as the target value of the control. The feature quantity calculation unit 102 can calculate the feature quantity that can be used as the target value by properly extracting the stable part of the spindle load, etc. through the above processing.

[0037] The threshold used by the feature quantity calculation unit 102 to identify a stable portion may be given in advance as a fixed value, or may be obtained by calculation using an arbitrary method, etc. For example, the average value of the differentiation result may be used as the threshold.

[0038] In addition, if Figure 8 As shown in , sometimes there are multiple ranges where the differential values ​​are less than the threshold. Figure 8 In the figure, the differential values ​​of the group (1) distributed near the spindle load 0 and the group (2) distributed in the stable part of the spindle load are both less than the threshold. Obviously, (2) is useful as a feature quantity, and (1) needs to be excluded from the extraction result. Therefore, for example, when the feature quantity calculation unit 102 extracts multiple groups, it can exclude from the extraction result the group whose representative value (minimum value, maximum value, average value, etc.) of the data contained in the two is small. Alternatively, when the feature quantity calculation unit 102 extracts multiple groups, it can exclude from the extraction result the group whose representative value (minimum value, maximum value, average value, etc.) of the data (spindle load, etc.) contained in the two is less than a predetermined second threshold. Alternatively, the data acquisition unit 101 can also acquire timing data only when the tool is actually in contact with the workpiece, that is, only during the machining process. In this way, it is possible to avoid acquiring data that should have been excluded. Regarding whether the tool is actually in contact with the workpiece, for example, it can be detected based on whether the differential value of the spindle load becomes above a certain level.

[0039] The feature quantity output unit 103 outputs the feature quantity calculated by the feature quantity calculation unit 102. For example, the feature quantity output unit 103 can display on the screen the feature quantity such as the average value or the median value, the upper limit value or the lower limit value of the data of the stable part calculated by the feature quantity calculation unit 102, or the value existing in a predetermined range from the upper limit value or the lower limit value. Alternatively, the feature quantity can be directly output to other functions of the numerical control device 1, such as a processing unit that performs application control or PID control.

[0040] For example, the feed speed is controlled so that the spindle load approaches the target value, thereby realizing feedback control of the spindle load. When the numerical control device 1 has a spindle control unit that performs such feedback control of the spindle load, the spindle control unit can control the feed speed by using the feature value output by the feature value output unit 103 as the target value of the spindle load. That is, the feature value of the present invention can be used as a target value for controlling a numerical value related to an instruction that may change due to interference.

[0041] According to the present embodiment, the numerical control device 1 can simply and appropriately extract feature quantities from the following stable portion obtained by excluding extremely high values ​​and extremely low values ​​in the time series data obtained in association with actual processing, thereby enabling a technician to easily set a target value suitable for the desired control.

[0042] In addition, in the present embodiment, the numerical control device 1 extracts the feature quantity after sorting the time series data according to the size of the value, so that the feature quantity including the upper and lower limits of the stable part can be output. That is, the feature quantity with a width can be output. This is a feature quantity that is particularly suitable for the control of industrial machinery, etc. As a result, the technician can set any target value according to the purpose within the range of the upper and lower limits of the stable part. For example, according to the requirements of shortening the cycle time, extending the tool life, etc., a high or low spindle load can be selected within the range of the upper and lower limits of the stable part.

[0043] <Second Embodiment>

[0044] As the second embodiment, another implementation example of the numerical control device 1 will be described.

[0045] like Figure 3 As shown, the numerical control device 1 of the second embodiment also includes a data acquisition unit 101, a feature quantity calculation unit 102, and a feature quantity output unit 103. The processing of the feature quantity calculation unit 102 is different from that of the first embodiment.

[0046] The feature quantity calculation unit 102 of the second embodiment counts the number of occurrences of each value or each value range, in other words, the frequency of occurrence, for the time series data obtained by the data acquisition unit 101. Then, data whose number of occurrences converges to a certain condition (typically, above a predetermined threshold, etc.) is extracted. Thus, processing is performed to extract the stable part of the time series data, namely the feature quantity. Fig. 9 The processing performed by the feature amount calculation unit 102 will be described.

[0047] Fig. 9 The left side of is a graph showing time series data acquired by the data acquisition unit 101. The vertical axis represents the spindle load, and the horizontal axis represents time. Fig. 9The right side of is a graph showing the time series data after the feature calculation unit 102 has performed counting processing. The vertical axis represents the spindle load, and the horizontal axis represents the count number, that is, the number of occurrences of the spindle load in the time series data. Here, the feature calculation unit 102 can divide the value of the time series data into each certain range for counting. For example, the spindle load value obtained by sampling can be grouped into 1% stages, and the number of data belonging to each group can be counted. It can be seen that in Fig. 9 When the count number exceeds a predetermined threshold in the right part of Fig. 9 The data intervals become dense in the left part of . This dense part is a stable part, so the feature calculation unit 102 extracts the characteristics of the data belonging to this part as a feature. The method of extracting the feature from the stable part is the same as the extraction method of the first embodiment described above.

[0048] According to the present embodiment, the numerical control device 1 can calculate feature quantities having the same features as those of the first embodiment with a smaller amount of calculation and using a smaller amount of memory.

[0049] In addition, the present invention is not limited to the above-mentioned embodiment, and can be implemented in various ways by applying appropriate changes. For example, in the above-mentioned embodiment, the numerical control device 1 is shown to have a structure including a data acquisition unit 101, a feature quantity calculation unit 102, and a feature quantity output unit 103, but the present invention is not limited to this. For example, a host device connected to one or more numerical control devices may also have a data acquisition unit 101, a feature quantity calculation unit 102, and a feature quantity output unit 103. That is, the data acquisition unit 101 of the host device acquires the sensor value output from one or more numerical control devices, and the feature quantity calculation unit 102 and the feature quantity output unit 103 use the sensor value output from one or more numerical control devices to calculate and output the feature quantity. The host device can be a computer such as a server configured on a network, or it can be one of a plurality of numerical control devices connected to each other via a network.

[0050] In addition, in the above-mentioned embodiment, as an application example of the present invention, the calculation process of the characteristic quantity of the spindle load is shown, but the present invention can be applied to extract characteristic quantities from various other time series data. In addition, the characteristic quantities calculated in this way can be used for various controls other than adaptive control and PID control. Two application examples are shown below.

[0051] <First Application Example>

[0052] Before starting workpiece processing, sometimes idling is performed to warm up the machine tool. For example, the end of idling can be determined on the condition that the temperature of the cutting fluid becomes stable. By applying the present invention, it is possible to achieve the determination of achieving this condition.

[0053] The data acquisition unit 101 acquires the time series data of the cutting fluid temperature output by the sensor 80 as a temperature sensor. The feature quantity calculation unit 102 determines the stable part of the time series data acquired by the data acquisition unit 101 by the method of the first or second embodiment. Then, the feature quantity calculation unit 102 extracts the average value of the temperature data contained in the stable part as the feature quantity, for example. The feature quantity output unit 103 outputs the feature quantity to the determination unit (not shown). The numerical control device 1 repeatedly performs this series of processing at regular intervals and outputs the feature quantity at regular intervals.

[0054] The determination unit receives the characteristic value (average value of temperature data included in the stable portion) outputted from the characteristic value output unit 103 at regular intervals. For example, if the time variation of the characteristic value is sufficiently small, such as when the differential value of the characteristic value is below a predetermined threshold, it is determined that idling should be terminated.

[0055] <Second application example>

[0056] As the tool deteriorates, the stable portion of the spindle load gradually increases. By paying attention to this, the tool life can be estimated by observing the time changes of the characteristic quantity of the spindle load.

[0057] The data acquisition unit 101 acquires the time series data of the spindle load output by the sensor 80. The feature quantity calculation unit 102 determines the stable part of the time series data acquired by the data acquisition unit 101 by the method of the first or second embodiment. Then, the feature quantity calculation unit 102 extracts the average value of the spindle load included in the stable part as the feature quantity, for example. The feature quantity output unit 103 outputs the feature quantity to the determination unit (not shown). The numerical control device 1 repeatedly performs this series of processing at regular intervals and outputs the feature quantity at regular intervals.

[0058] The determination unit receives the characteristic value (average value of the spindle load included in the stable portion) outputted from the characteristic value output unit 103 at regular intervals. For example, if the characteristic value is determined to have exceeded a predetermined threshold value or has risen beyond a limit, the tool is determined to be near the end of its life.

[0059] <Third Application Example>

[0060] The method of the second application example can also be applied to life prediction other than cutting tools. For example, the stable part of the cutting fluid temperature may change as the cutting fluid heater ages. Therefore, the time change of the characteristic quantity of the cutting fluid temperature data can be used to predict the life of the cutting fluid heater.

[0061] The data acquisition unit 101 acquires the time series data of the cutting fluid temperature output by the sensor 80 as a temperature sensor. The feature quantity calculation unit 102 determines the stable part of the time series data acquired by the data acquisition unit 101 by the method of the first or second embodiment. Then, the feature quantity calculation unit 102 extracts the average value of the temperature data contained in the stable part as the feature quantity, for example. The feature quantity output unit 103 outputs the feature quantity to the determination unit (not shown). The numerical control device 1 repeatedly performs this series of processing at regular intervals and outputs the feature quantity at regular intervals. The period here is different from the first application example, for example, it can be set to a longer span such as a unit of day.

[0062] The determination unit receives the feature quantity (average value of temperature data included in the stable portion) outputted at regular intervals from the feature quantity output unit 103. For example, when it is determined that the time variation of the feature quantity is greater than a certain level, such as when it is determined that the differential value of the feature quantity is greater than a predetermined threshold, it is determined that the heater is close to reaching the end of its life.

Claims

1. A numerical control device that outputs a feature quantity of time series data generated in association with processing, characterized in that: have: a data acquisition unit that acquires, from a sensor, time-series waveform data of a spindle load generated when the machine tool actually processes a workpiece, as the time-series data; a feature quantity calculation unit, which sorts the time series data according to the size of the value of each data in the time series data, and respectively calculates the amount of change of the value between the data in the sorted time series data, extracts a portion of the time series data in which the amount of change of the value is less than a predetermined threshold value and where the data interval is dense as a stable portion, and calculates a feature quantity representing the stable portion as a target value of the spindle load; and A feature quantity output unit outputs the feature quantity.

2. The numerical control device according to claim 1, characterized in that: The numerical control device further includes a spindle control unit, which controls the feed speed according to the spindle load. The spindle control unit is configured to control the feed speed using the characteristic amount output by the characteristic amount output unit as a target value of the spindle load.

3. A numerical control device that outputs a feature quantity of time series data generated in association with processing, characterized in that: have: a data acquisition unit that acquires, from a sensor, time-series waveform data of a spindle load generated when the machine tool actually processes a workpiece, as the time-series data; a feature quantity calculation unit that counts the frequency of occurrence of each value in the time series data, extracts a portion of the time series data where the frequency of occurrence of the value is above a predetermined threshold and where data intervals are densely spaced as a stable portion, and calculates a feature quantity representing the stable portion as a target value of the spindle load; as well as A feature quantity output unit outputs the feature quantity.

4. The numerical control device according to claim 3, characterized in that: The numerical control device further includes a spindle control unit that controls the feed speed according to the spindle load. The spindle control unit is configured to control the feed speed using the characteristic amount output by the characteristic amount output unit as a target value of the spindle load.