Acquisition device and acquisition method
The acquisition device and method address the challenge of unclear data correlations by integrating CNC parameters and machining programs with waveform data, enhancing troubleshooting and analysis capabilities.
Patent Information
- Application Number
- PCT/JP2023/041640
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2025-05-30
AI Technical Summary
Conventional methods for storing CNC parameters and machining programs with waveform data from machine tools lack clarity in correlating the additional information with the measured data, making it difficult to identify the specific conditions under which the data was measured.
An acquisition device and method that integrate the setting, acquisition, and storage of additional information such as CNC parameters, machining programs, CNC identification information, and servo/spindle information with waveform data from a numerical control device, ensuring clear correspondence and storage in a single file.
The solution clarifies the correspondence between additional information and waveform data, facilitating troubleshooting and reproducing issues by allowing users to easily analyze and identify the cause of problems from the integrated file.
Smart Images

Figure JP2023041640_30052025_PF_FP_ABST
Abstract
Description
Acquisition device and acquisition method
[0001] The present disclosure relates to an acquisition device and an acquisition method for acquiring and storing supplementary information on a numerical control device.
[0002] Conventionally, there has been known a technique for measuring waveform data such as actual axis position information when adjusting or monitoring the operation of a motor of a machine tool. For example, see Patent Document 1.
[0003] Japanese Patent Application Laid-Open No. 2019-185338
[0004] In the conventional technology disclosed in Patent Document 1, the measured CNC parameters and data on the machining program being executed are also saved, and may be used for troubleshooting or as evidence of the results of checking the operation of the machine. However, in Patent Document 1, if the CNC parameters, machining program, etc. are saved separately, the correspondence with the waveform data becomes unclear, and it may become difficult to know what settings and what operation were used to measure the data.
[0005] Therefore, it is desirable to clarify the correspondence between the measured waveform data and the additional information such as the CNC parameters set at the time of measurement and the machining program being executed.
[0006] One aspect of the acquisition device of the present disclosure includes a setting unit that sets additional information to be acquired and saved together with waveform data from a numerical control device, an acquisition unit that acquires the additional information set by the setting unit together with the waveform data when, before, or after measuring the waveform data, and a storage unit that integrates and saves the additional information acquired by the acquisition unit together with the waveform data in a single file.
[0007] One aspect of the acquisition method of the present disclosure includes a setting step of setting additional information to be acquired and saved together with waveform data from a numerical control device, an acquisition step of acquiring the additional information set in the setting step together with the waveform data at the time of, before, or after measuring the waveform data, and a saving step of integrating the additional information acquired in the acquisition step together with the waveform data into a single file and saving the file.
[0008] 7 is a diagram showing an example of a functional block configuration of an acquisition system according to an embodiment. FIG. 8 is a diagram showing an example of a setting screen. FIG. 9 is a diagram showing an example of a CNC parameter screen displayed on a display device of a numerical control device. FIG. 10 is a diagram showing an example of a machining program. FIG. 11 is a diagram showing an example of the operation of a machine tool when the machining program of FIG. 4 is executed. FIG. 12 is a diagram showing an example of waveform data of the actual positions of the X-axis and Y-axis of the machine tool when the machining program of FIG. 4 is executed. FIG. 13 is a diagram showing an example of a machining program. FIG. 14 is a diagram showing an example of the operation of a machine tool when the machining program of FIG. 7 is executed. FIG. 15 is a diagram showing an example of waveform data of the actual positions of the X-axis and Y-axis of the machine tool when the machining program of FIG. 7 is executed. FIG. 16 is a diagram showing an example of a CNC identification information screen displayed on a display device of a numerical control device. FIG. 17 is a diagram showing an example of a servo / spindle information screen displayed on a display device of a numerical control device. FIG. 18 is a diagram showing an example of a shape error when the position gain is "3000". FIG. 19 is a diagram showing an example of a shape error when the position gain is "8000". FIG. 19 is a diagram showing an example of a shape error when the allowable speed difference is "1000.000 mm / min". FIG. 19 is a diagram showing an example of a shape error when the allowable speed difference is "400.000 mm / min". FIG. 19 is a flowchart illustrating acquisition processing of the acquisition system. 15A is a diagram showing an example of a main program of a machining program, FIG. 15B is a diagram showing an example of a subprogram of a machining program called by the main program of FIG. 15A, and FIG. 15C is a diagram showing an example of an acquired machining program.
[0009] An acquisition system according to an embodiment will be described in detail below with reference to the drawings. FIG. 1 is a diagram illustrating an example of a functional block configuration of the acquisition system according to an embodiment. Here, a numerical control device (NCD) for controlling a machine tool (not shown) is illustrated. The present invention can also be applied to a robot control device for controlling a robot. As shown in FIG. 1 , the acquisition system 1 includes an acquisition device 10 and a numerical control device 20. The acquisition device 10 and the numerical control device 20 are directly connected to each other via a connection interface (not shown). The acquisition device 10 and the numerical control device 20 may be connected to each other and communicate via a network (not shown), such as a local area network (LAN) or the Internet. In this case, the acquisition device 10 and the numerical control device 20 include a communication unit (not shown) for communicating with each other via such a connection. Although the acquisition device 10 and the numerical control device 20 are described as separate devices, the acquisition device 10 may be included in the numerical control device 20, as described below.
[0010] <Numerical control device 20> The numerical control device 20 is a numerical control device known to those skilled in the art that controls the operation of a machine tool (not shown) based on, for example, CNC parameters, a machining program, etc. Note that if the machine tool (not shown) is a robot or the like, the numerical control device 20 may be a robot control device or the like.
[0011] <Acquisition Device 10> The acquisition device 10 is, for example, a known information processing device (computer) or the like, and is configured to include a setting unit 110, an acquisition unit 120, and a storage unit 130 as shown in Fig. 1. The acquisition device 10 is equipped with a processing unit (not shown) such as a CPU in order to realize the operations of the functional blocks in Fig. 1. The acquisition device 10 also is equipped with auxiliary storage devices (not shown) such as a ROM (Read Only Memory) or HDD (Hard Disk Drive) that store various control programs, and a main storage device (not shown) such as a RAM for storing data temporarily required for the processing unit to execute programs.
[0012] In the acquisition device 10, the arithmetic processing unit reads the OS and application software from the auxiliary storage device, and executes arithmetic processing based on the OS and application software while loading the read OS and application software into the main storage device. Based on the results of this calculation, the acquisition device 10 controls each piece of hardware. This realizes the processing by the functional blocks in Figure 1. In other words, the acquisition device 10 can be realized by the cooperation of hardware and software.
[0013] The setting unit 110 sets the additional information to be acquired and stored together with the waveform data from the numerical control device 20. Specifically, when the setting unit 110 receives a setting instruction from a user via, for example, a keyword or an input device (not shown) such as a touch panel of the acquisition device 10, the setting unit 110 displays a setting screen for the additional information to be acquired from the numerical control device 20 during, before, or after waveform data measurement on a display device (not shown) such as a liquid crystal display of the acquisition device 10. FIG. 2 is a diagram showing an example of the setting screen. In FIG. 2, the setting screen shows CNC parameters, machining programs, CNC identification information, and servo / spindle information as additional information to be acquired from the numerical control device 20 during, before, or after waveform data measurement. Note that the setting screen may also be configured to allow additional information other than CNC parameters, machining programs, CNC identification information, and servo / spindle information to be set. The setting unit 110 sets the additional information to be acquired on the setting screen in accordance with the user's setting operation.
[0014] Here, the CNC parameters are parameters set for controlling a machine tool (not shown), such as gain. FIG. 3 is a diagram showing an example of a screen showing CNC parameters displayed on a display device (not shown), such as a liquid crystal display (LCD) of the numerical control device 20. In FIG. 3, some of the servo motor control parameters are shown in a display area of the screen indicated by a dashed rectangular line. The machining program, as shown in FIGS. 4 and 7, is a program executed by the numerical control device 20 to cause the machine tool (not shown) to perform machining operations. When the numerical control device 20 executes the machining program of FIG. 4, the spindle of the machine tool (not shown) draws an arc on the XY plane as shown in FIG. 5, and time-axis waveforms of the actual positions of the X and Y axes are shown as shown in FIG. 6. When the numerical control device 20 executes the machining program of FIG. 7, the spindle of the machine tool (not shown) draws a square on the XY plane as shown in FIG. 8, and time-axis waveforms of the actual positions of the X and Y axes are shown as shown in FIG. 9.
[0015] The CNC identification information is an ID or the like that is uniquely assigned to the numerical control device 20. FIG. 10 is a diagram showing an example of a CNC identification information screen displayed on a display device (not shown) of the numerical control device 20. In FIG. 10, the CNC identification information is shown in a rectangular display area of the screen indicated by a dashed line. The servo / spindle information is motor information such as the model number (drawing number) of the motor connected to the numerical control device 20 and the version of the software used to control the motor. FIG. 11 is a diagram showing an example of a servo / spindle information screen displayed on a display device (not shown) of the numerical control device 20. In FIG. 11, part of the information about the servo motor and amplifier is shown in a rectangular display area of the screen indicated by a dashed line.
[0016] The acquiring unit 120 acquires the incidental information set by the setting unit 110 from the numerical control device 20 together with the waveform data when, before, or after measuring the waveform data. Specifically, when the numerical control device 20 executes the machining program of Fig. 4 or 7 to measure the waveform data of Fig. 6 or 9, the acquiring unit 120 acquires, for example, the CNC parameters, machining program, CNC identification information, and servo / spindle information set on the setting screen of Fig. 2 from the numerical control device 20 together with the waveform data of Fig. 6 or 9 including time information.
[0017] The saving unit 130 has a storage device (not shown) such as an SSD (Solid State Drive) or HDD, and integrates the additional information acquired by the acquiring unit 120 together with the waveform data into a single file and saves the integrated file. Note that the saving unit 130 saves the integrated file in the storage device (not shown) of the acquiring device 10, but it may also save the integrated file in an external storage device such as a data server.
[0018] By doing so, the acquisition device 10 can clearly identify the correspondence between the waveform data and additional information such as CNC parameters and machining programs. Furthermore, when a problem occurs with a machine tool (not shown) and troubleshooting is required, the user can easily identify the cause of the problem by analyzing the integrated file. Alternatively, when a user attempts to reproduce the problem using the CNC parameters and machining programs in the integrated file, the integrated file can be used to identify the cause of the failure. For example, if the version of software (control software for the motor and numerical control device 20) changes and the control mechanism is changed, the measurement results of the waveform data may change, allowing the user to identify the cause of the failure from the integrated file. Furthermore, if the machining program is changed, the measurement results of the waveform data may change, allowing the user to identify the cause of the failure from the integrated file. Furthermore, if the motor / amplifier is changed, the performance of the changed motor / amplifier may change the machine operation, which may change the measurement results of the waveform data. Therefore, the user can identify the cause of the failure from the integrated file.
[0019] Furthermore, if the CNC parameters are changed, the measurement results of the waveform data may change, allowing the user to identify the cause of the non-reproducibility from the integrated file. For example, in the circular arc operation according to the machining program of FIG. 4, if the CNC parameter position gain (PG) is changed from "3000" to "8000," the shape error changes (decreases), as shown in FIGS. 12A and 12B. FIG. 12A is a diagram showing an example of the shape error when the position gain (PG) is "3000." FIG. 12B is a diagram showing an example of the shape error when the position gain (PG) is "8000." FIGS. 12A and 12B show waveforms with the shape error of the circular arc highlighted. Because the shape error is reduced as shown in FIGS. 12A and 12B, the user can identify the cause of the reduction (non-reproducibility) from the integrated file as a change in the CNC parameter position gain (PG). Furthermore, in the rectangular operation according to the machining program of FIG. 7 , if the allowable speed difference in the CNC parameters is changed from "1000,000 mm / min" to "400,000 mm / min," the shape error of the corner changes (decreases), as shown in FIGS. 13A and 13B . FIG. 13A is a diagram showing an example of the shape error when the allowable speed difference is "1000,000 mm / min." FIG. 13B is a diagram showing an example of the shape error when the allowable speed difference is "400,000 mm / min." FIGS. 13A and 13B show waveforms in which the shape error of the rectangular corner is highlighted. Because the shape error is reduced as shown in FIGS. 13A and 13B , the user can identify the cause of the reduction (not being reproduced) from the integrated file as the change in the allowable speed difference in the CNC parameters.
[0020] <Acquisition Process of Acquisition System 1> Next, the flow of the acquisition process of the acquisition system 1 will be described with reference to Fig. 14. Fig. 14 is a flowchart illustrating the acquisition process of the acquisition system 1.
[0021] In step S11, the setting unit 110 sets the additional information to be acquired and saved on the setting screen of FIG. 2 in response to a setting operation by the user.
[0022] In step S12, the acquisition unit 120 acquires the additional information set in step S11 from the numerical control device 20 together with the waveform data when, before, or after measuring the waveform data.
[0023] In step S13, the additional information acquired in step S12 is integrated with the waveform data into one file and saved.
[0024] As described above, the acquisition device 10 according to one embodiment integrates the measured waveform data with additional information such as the CNC parameters set at the time of measurement and the machining program being executed into a single file, thereby clarifying the correspondence between the additional information and the waveform data.
[0025] <Modification 1> In the one embodiment, the acquisition device 10 is a device separate from the numerical control device 20, but this is not limiting. For example, the acquisition device 10 may be included in the numerical control device 20. Furthermore, although the storage unit 130 of the acquisition device 10 stores the integrated file in a storage device (not shown) of the acquisition device 10, the integrated file may be stored in an external storage device such as a data server.
[0026] <Modification 2> In the above-described embodiment, the acquisition unit 120 acquires from the numerical control device 20 the entire machining program executed by the numerical control device 20. However, this is not limiting. For example, the acquisition unit 120 may acquire the machining program for the range executed by the numerical control device 20 from the start to the end of waveform data measurement. FIG. 15A is a diagram illustrating an example of a main program of a machining program. FIG. 15B is a diagram illustrating an example of a subprogram of a machining program called by the main program of FIG. 15A. For example, in order to measure waveform data, the numerical control device 20 executes the main program of FIG. 15A from sequence number "N1" to sequence number "N2" between the start and end of waveform data measurement, and also executes the entire subprogram of FIG. 15B called by "M98 P1000" of the main program. In this case, the acquisition unit 120 may acquire the main program for the range executed by the numerical control device 20 from the start to the end of waveform data measurement, and the entire subprogram of FIG. 15B, as shown in FIG. 16. By doing so, the acquisition device 10 can more clearly determine the correspondence between the waveform data and information such as CNC parameters and machining programs.
[0027] In one embodiment, each function included in the acquisition device 10 can be realized by hardware, software, or a combination of these. Here, "realized by software" means that the function is realized by a computer reading and executing a program.
[0028] The program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may be provided to the computer by various types of transient computer-readable media. Examples of transient computer-readable media include electrical signals, optical signals, and electromagnetic waves. The transient computer-readable media can provide the program to the computer via a wired communication path such as an electrical wire or optical fiber, or via a wireless communication path.
[0029] The step of executing the program recorded on the recording medium includes not only processes that are performed in chronological order, but also processes that are not necessarily performed in chronological order but are performed in parallel or individually. Also, the step of writing the program may be performed by cloud computing.
[0030] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values or mathematical expressions are used in the description of the above-described embodiments.
[0031] The following supplementary notes are further disclosed regarding the above-described embodiments and modifications. (Supplementary Note 1) The acquisition device (10) includes a setting unit (110) that sets incidental information to be acquired and stored together with waveform data from a numerical control device (20), an acquisition unit (120) that acquires the incidental information set by the setting unit (110) together with the waveform data during, before, or after measurement of the waveform data, and a storage unit (130) that integrates and stores the incidental information acquired by the acquisition unit (120) together with the waveform data into a single file. (Supplementary Note 2) In the acquisition device (10) of Supplementary Note 1, the incidental information is a machining program executed by the numerical control device (20) or set CNC parameters. (Supplementary Note 3) In the acquisition device (10) of Supplementary Note 2, the incidental information further includes at least one of CNC identification information and servo / spindle information. (Supplementary Note 4) In the acquisition device (10) of Supplementary Note 2 or Supplementary Note 3, the acquisition unit (120) acquires a machining program within a range executed by the numerical control device (20) from the start to the end of waveform data measurement. (Supplementary Note 5) The acquisition method includes a setting step of setting incidental information to be acquired and saved together with waveform data from the numerical control device (20), an acquisition step of acquiring the incidental information set in the setting step together with the waveform data during, before, or after waveform data measurement, and a saving step of integrating and saving the incidental information acquired in the acquisition step together with the waveform data into a single file. (Supplementary Note 6) In the acquisition method of Supplementary Note 5, the incidental information is a machining program executed by the numerical control device (20) or set CNC parameters. (Supplementary Note 7) In the acquisition method of Supplementary Note 6, the incidental information further includes at least one of CNC identification information and servo / spindle information. (Supplementary Note 8) In the acquisition method of Supplementary Note 6 or Supplementary Note 7, the acquisition step acquires the machining program in the range executed by the numerical control device (20) from the start to the end of measurement of the waveform data.
[0032] REFERENCE SIGNS LIST 1 Acquisition system 10 Acquisition device 110 Setting unit 120 Acquisition unit 130 Storage unit 20 Numerical control device
Claims
1. An acquisition device comprising: a setting unit that sets additional information acquired and stored together with waveform data from a numerical control device; an acquisition unit that acquires the additional information set by the setting unit together with the waveform data at the time of, before, or after waveform data measurement; and a storage unit that integrates and stores the additional information acquired by the acquisition unit together with the waveform data in one file.
2. The acquisition device according to claim 1, wherein the additional information is a machining program executed by the numerical control device or set CNC parameters.
3. The acquisition device according to claim 2, wherein the additional information further includes at least one of CNC identification information and servo / spindle information.
4. The acquisition device according to claim 2 or 3, wherein the acquisition unit acquires the machining program in the range executed by the numerical control device from the start to the end of waveform data measurement.
5. An acquisition method comprising: a setting step of setting additional information acquired and stored together with waveform data from a numerical control device; an acquisition step of acquiring the additional information set in the setting step together with the waveform data at the time of, before, or after waveform data measurement; and a storage step of integrating and storing the additional information acquired in the acquisition step together with the waveform data in one file.
6. The acquisition method according to claim 5, wherein the additional information is a machining program executed by the numerical control device or set CNC parameters.
7. The acquisition method according to claim 6, wherein the additional information further includes at least one of CNC identification information and servo / spindle information.
8. The acquisition method according to claim 6 or 7, wherein the acquisition step acquires the machining program in the range executed by the numerical control device from the start to the end of waveform data measurement.
Citation Information
Patent Citations
Waveform display device provided with data management function
JP2013175073A
State monitoring apparatus and program
JP2020187488A
Method for saving fault wave data
US20160110245A1