Control device and computer-readable storage medium
The control device addresses accuracy issues in non-contact machining by synchronizing energy application through program analysis and command value correction, enhancing processing accuracy and speed in laser and water jet machines.
Patent Information
- Application Number
- PCT/JP2023/015390
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-24
AI Technical Summary
Non-contact machining technologies, such as laser and water jet processing, face accuracy issues due to discrepancies between the control cycle of machine tools and the command cycle of control devices, leading to delays and inefficiencies in energy application.
A control device with a program analysis unit, interpolation unit, command value correction unit, and command output unit that analyzes machining programs, calculates command values, identifies control cycles with changes, and corrects command values to synchronize energy input with machining head operations, ensuring accurate energy application by dividing energy across command cycles.
This solution eliminates discrepancies between commanded and output energy, improving machining accuracy and speed by ensuring precise energy application during non-contact processing.
Smart Images

Figure JP2023015390_24102024_PF_FP_ABST
Abstract
Description
Control device and computer-readable storage medium
[0001] The present disclosure relates to a control device and a computer-readable storage medium.
[0002] Conventionally, there are machine tools such as laser processing machines, water jet processing machines, and plasma processing machines that perform non-contact processing by applying energy such as light or water pressure to the surface of a workpiece.
[0003] Laser processing machines and water jet processing machines have the advantage of producing beautifully finished cut surfaces and high processing accuracy. However, generally, processing accuracy decreases as the processing speed increases. There are also technologies for control devices that improve the accuracy and speed of laser processing machines. For example, see Patent Document 1.
[0004] Japanese Patent Application Laid-Open No. 2004-167549
[0005] One factor that affects the machining accuracy of non-contact machining is the difference between the control cycle of the machine tool and the command cycle of the control device. If the control cycle of the machine tool is longer than the command cycle of the control device, a delay may occur between the time the control device outputs a command and the time the command is actually executed. This delay affects the machining accuracy.
[0006] In the field of control systems, there is a desire to improve the speed and accuracy of non-contact machines.
[0007] A control device according to one aspect of the present disclosure includes a program analysis unit that analyzes a machining program, an interpolation unit that calculates a command value for each command cycle of the output of the machining head of a machine tool based on the analysis results of the machining program, a command value correction unit that identifies a control cycle of the machine tool in which a change in the command value of the output of the machining head occurs, calculates the energy to be commanded during the control cycle, and calculates a correction value for the command value so that the energy output from the machining head during the control cycle is equal to the calculated energy, and a command correction unit that corrects the command based on the correction value.
[0008] It is a block diagram of a control device. It is a graph showing the relationship between a command and an output in a conventional control device. It is a graph showing the relationship between a command and an output in the control device of this embodiment. It is a graph showing the relationship between a command and an output in the control device of this embodiment. It is a flowchart explaining the operation of the control device. It is a hardware configuration diagram of the control device.
[0009] This embodiment can be applied to a control device 100 that controls a machine tool that processes the surface of a workpiece in a non-contact manner, such as a laser processing machine, a water jet processing machine, a plasma processing machine, etc. In this embodiment, as an example, an example will be described in which the control device 100 controls the laser output of a laser processing machine.
[0010] 1 is a block diagram showing the configuration of a control device 100. The control device 100 includes a program analysis unit 11, an interpolation unit 12, a command value correction unit 13, a command correction unit 14, and a command output unit 15.
[0011] The program analysis unit 11 analyzes the machining program and calculates the path of the machining head, the speed of the machining head, the ON / OFF timing of the laser relative to the position of the machining head, etc. The program analysis unit 11 may also calculate the path of the table and the speed of the table.
[0012] The interpolation unit 12 calculates a command value per command cycle. In position control, the path of the machining head is divided into movement amounts in minute time units. The interpolation unit 12 calculates, as a command value, the movement amount per command cycle of the machining head and / or the table on which the workpiece is placed. In power control, a command value (here, laser ON / OFF) per command cycle is calculated.
[0013] The command value correction unit 13 corrects excess or deficiency of energy input to the workpiece, which occurs due to a discrepancy between the command period of the control device 100 and the control period of the machining head. The relationship between the command period of the control device 100 and the control period of the machining head will be explained with reference to Figure 2. In Figure 2, the upper graph shows changes in the command value of the control device 100, and the lower graph shows changes in output. The horizontal axis of the upper graph indicates time, and the open scale on the horizontal axis indicates the command period of the control device 100. The horizontal axis of the lower graph also indicates time, and the scale shared by the upper and lower graphs indicates the control period of the machining head.
[0014] The command period of the control device 100 is shorter than the control period of the machining head. Therefore, a discrepancy occurs between the command period of the control device 100 and the control period of the machining head. For example, even if the control device 100 issues a command to turn off the laser output at the position indicated by arrow A in FIG. 2 (between the third and fourth control periods), the power of the machining head does not change, and the same state continues until the next control period. Because there is a discrepancy between the timing at which the control device 100 issues a command and the timing at which the machining head of the machine tool begins executing the command, excessive energy may be applied to the workpiece. Similarly, even if the control device 100 issues a command to turn on the laser output at the position indicated by arrow B in FIG. 2 (between the first and second control periods), the output of the machining head does not change, resulting in a lack of energy.
[0015] The command value correction unit 13 calculates a command correction value so that the energy commanded by the control device 100 does not deviate. To calculate the correction value, first, a control cycle in which a change in the command value occurs is identified. Then, the energy commanded for the identified control cycle is calculated and divided by the number of command cycles included in the control cycle. For example, in the first control cycle in FIG. 3 , a command switch occurs at the time indicated by arrow B. The energy commanded in the first control cycle corresponds to the area "S1" from when the machining head is turned "ON" at the time indicated by arrow B to the second control cycle. Furthermore, the first control cycle includes "8" command cycles. The command value correction unit 13 divides the energy commanded in the first control cycle by the number of command cycles included in the first control cycle, "8," to calculate a command value correction value. The command value correction unit 13 outputs this value to the command correction unit 14.
[0016] The command correction unit 14 corrects the command so that the corrected value calculated by the command value correction unit 13 becomes the command value. The command output unit 15 issues a command to the machine tool just before the first control cycle. The machine tool executes the command in the first control cycle.
[0017] The machining head outputs a laser beam with the corrected power during the first control cycle. The energy corresponds to the command area "S1" during the first control cycle. This eliminates the discrepancy between the command energy based on the machining program and the energy output from the machining head.
[0018] Next, an example of switching the machining head from "ON" to "OFF" will be described. In FIG. 3 , the machining head command switches from "ON" to "OFF" at the time indicated by arrow A (between the third and fourth control cycles). The command energy in the third control cycle corresponds to the area "S2" from the beginning of the third control cycle to the time indicated by arrow A when the machining head is commanded to be "OFF." The command value corrector 13 divides the energy commanded in the third control cycle by the number of command cycles included in the third control cycle, "8." The command value corrector 13 outputs this value to the command corrector 14 as the power correction value for the third control cycle. The command output unit 15 commands the correction value to the machine tool just before the third control cycle. The machine tool executes the command in the third control cycle.
[0019] The machining head outputs a laser beam with the corrected power during the third control cycle. The energy output during the third control cycle corresponds to the commanded area "S2" during the third control cycle. This eliminates the discrepancy between the commanded energy based on the machining program and the energy output from the machining head.
[0020] Next, a case where the command value is a quantity (discrete value or continuous value) will be described. The command in FIG. 4 is a command where the command value is "Q 1 " to "Q 2 " and in the fourth and fifth control periods, the command is switched to "Q 2 ", and at time D between the fifth and sixth control periods, the command value becomes "Q 2 " to "0". 1 ", "Q 2 " is a quantity.
[0021] When a command is switched during a control cycle, the command value corrector 13 calculates the energy of the control cycle in which the command is switched, averages the energy over the number of commands included in the control cycle, and calculates a correction value for the command value. In the third control cycle in Fig. 4, a command is switched. The command value corrector 13 divides the area "S3" of the third control cycle by the number of commands included in the control cycle to calculate a correction value for the command value of the third control cycle.
[0022] In the fourth control cycle in Fig. 4, there is no command switching. Because there is no command switching, there is no discrepancy between the command of the control device 100 and the energy input from the machining head to the workpiece. The command value correction unit 13 does not correct the command value.
[0023] 4, a command change occurs in the fifth control cycle. The command value corrector 13 divides the area "S4" of the fifth control cycle by the number of commands included in the control cycle to calculate a corrected value for the command value of the fifth control cycle.
[0024] The operation of the control device 100 will be described with reference to the flowchart of Fig. 5. The program analysis unit 11 analyzes the machining program (step S1). The analysis results of the program analysis unit 11 include the path of the machining head, the speed of the machining head, and output command values for the coordinates of the machining head.
[0025] The interpolation unit 12 divides the path of the machining head into minute movement amounts of the machining head, and calculates command values for the output of the machining head at the divided coordinates (step S2).
[0026] The command value corrector 13 identifies a control cycle in which a change in the command value for the output of the machining head occurs (step S3).The command value corrector 13 calculates the energy to be commanded during the control cycle in which the command value is switched (step S4).
[0027] The command value corrector 13 divides the amount of energy calculated in step S4 by the number of command cycles included in the control cycle to calculate a command correction value (step S5).
[0028] The command value corrector 13 converts the command value of the control cycle into a correction value. The command corrector 14 corrects the command value of the command to the correction value. The command output unit 15 issues the correction value in the control cycle immediately before the change in the command value (step S6).
[0029] The machining head of the machine tool outputs a power of a correction value during a control cycle. The energy output during the control cycle corresponds to a command value of the machining program.
[0030] As described above, when a command value changes during a control cycle of a machining head of a machine tool, the control device 100 of this embodiment calculates the command energy for that control cycle and calculates a command correction value by dividing the calculated energy by the number of command cycles included in the control cycle. The control device commands the machine tool a correction value in the control cycle immediately preceding the control cycle in which the command value changes. By correcting the command, the energy output from the machining head is corrected so that it is equal to the energy commanded according to the machining program. This improves machining accuracy.
[0031] In the above example, the command period is set to one-eighth of the control period, but in reality, there may be a difference between the rising or falling edges of the command period and the control period. Even if there is a difference between the rising or falling edges, the difference between the command and the output energy can be eliminated by correcting the command value.
[0032] The hardware configuration of the control device 100 to which the present disclosure is applied will be described below. Fig. 6 is a hardware configuration diagram of the control device 100. As shown in Fig. 6, the control device 100 includes a CPU 111 that controls the entire control device 100, a ROM 112 that records programs and data, and a RAM 113 for temporarily expanding data. The CPU 111 reads out a system program recorded in the ROM 112 via a bus and executes avoidance in accordance with the system program.
[0033] The nonvolatile memory 114 is backed up by, for example, a battery (not shown), and retains its stored state even when the power to the control device 100 is turned off. The nonvolatile memory 114 stores various data, such as programs read from the external device 120 via the interfaces 115, 118, and 119, and operation inputs entered via the input unit 30. The nonvolatile memory 114 may also store programs and data for executing the control device 100 of this embodiment. The display unit 70 also displays various data, measurement results, causes of invalid data, and the like.
[0034] The interface 115 is an interface for connecting the control device 100 to an external device 120 such as an adapter. Programs, various parameters, etc. are loaded from the external device 120. The interface 118 is an interface for connecting the control device 100 to a display unit 70 such as a liquid crystal display. The display unit 70 displays various data loaded into memory, data obtained as a result of executing programs, etc. The interface 119 is an interface for connecting the control device 100 to an input unit 30 such as a keyboard or pointing device. The input unit 30 passes commands, data, etc. based on operations by an operator to the CPU 111 via the interface 119.
[0035] 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 gist of the present disclosure derived from the claims and their equivalents. Furthermore, 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.
[0036] The following supplementary notes are further disclosed regarding the above-described embodiment and modified examples. (Supplementary Note 1) The control device (100) includes a program analysis unit (11) that analyzes a machining program, an interpolation unit (12) that calculates a command value for each command cycle of the output of a machining head of a machine tool based on the analysis results of the machining program, a command value correction unit (13) that identifies a control cycle of the machine tool in which a change in the command value of the output of the machining head occurs, calculates energy to be commanded during the control cycle, and calculates a correction value of the command value so that the energy output from the machining head during the control cycle is equal to the calculated energy, and a command correction unit (14) that corrects the command based on the correction value. (Supplementary Note 2) The command value correction unit (13) divides the calculated energy by the number of command cycles included in the control cycle to calculate the correction value of the command value. (Supplementary Note 3) The control device (100) includes a command output unit (15) that outputs a command before the control cycle so that the output of the control cycle becomes the correction value. (Supplementary Note 4) A computer-readable storage medium (112, 113, 114) stores instructions that cause one or more processors (111) to execute the following processes: analyze a machining program, calculate a command value for each command cycle of the output of a machining head of a machine tool based on the analysis result of the machining program, identify a control cycle of the machine tool at which switching of a command for the output of the machining head occurs, calculate energy to be commanded during the control cycle, calculate a correction value for the command so that the calculated energy is equal to the energy output from the machining head during the control cycle, and correct the command based on the correction value.
[0037] REFERENCE SIGNS LIST 100 Control device 11 Program analysis unit 12 Interpolation unit 13 Command value correction unit 14 Command correction unit 15 Command output unit 111 CPU 112 ROM 113 RAM 114 Non-volatile memory
Claims
1. A control device comprising: a program analysis unit which analyzes a machining program; an interpolation unit which calculates a command value for each command period of the output of a machining head of a machine tool based on the analysis results of the machining program; a command value correction unit which identifies a control period of the machine tool in which a change in the command value of the output of the machining head occurs, calculates the energy to be commanded during the control period, and calculates a correction value of the command value so that the energy output from the machining head during the control period is equal to the calculated energy; and a command correction unit which corrects the command based on the correction value.
2. The control device according to claim 1, wherein the command value correction unit calculates a correction value for the command value by dividing the calculated energy by the number of command cycles included in the control cycle.
3. The control device according to claim 2, further comprising a command output section that outputs a command before the control cycle so that the output of the control cycle becomes the correction value.
4. A computer-readable storage medium storing instructions to cause one or more processors to execute the following processes: analyze a machining program; calculate a command value for each command period of the output of the machining head of the machine tool based on the analysis results of the machining program; identify a control period of the machine tool in which switching of commands for the output of the machining head occurs; calculate an energy to be commanded during the control period; calculate a correction value for the command so that the calculated energy is equal to the energy output from the machining head during the control period; and correct the command based on the correction value.
Citation Information
Patent Citations
Laser beam machining apparatus
JP2004167549A
Laser machining system
JP2006247745A
Laser beam welding method and equipment
JP2007237202A
Control device and control system for machine tool
JP2021018613A
Numerical control device and machine learning device
JP6647477B1
