Processing graphic data generation method, processing graphic data generation device, laser processing system, processing graphic data generation program, and recording medium
By rearranging drawing information to optimize the movement path, the method improves laser processing efficiency and reduces processing time in laser processing machines.
Patent Information
- Application Number
- JP2023029760
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
AI Technical Summary
Laser processing machines inefficiently irradiate workpieces due to engineers not being aware of the optimal drawing order, leading to poor movement efficiency of the stage or galvano scanner and extended takt time.
A method and device for generating processed figure data that rearranges the drawing information to optimize the movement path of the laser processing machine, reducing the relative distance traveled between the machine and the workpiece, thereby improving efficiency and shortening processing time.
The method enhances the movement efficiency of the stage or galvano scanner, reducing the time required for laser processing without altering the drawing order awareness of engineers.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a laser processing technique for performing laser processing such as drilling and cutting by irradiating a workpiece with a laser beam, and more particularly to a technique for improving the efficiency of the order of laser irradiation. [Background technology]
[0002] In laser processing machines that use laser light to perform processes such as drilling holes in workpieces, the processing pattern may be drawn using computer-aided design (CAD). First, an engineer draws the processing pattern on a computer and inputs it into the laser processing machine as processing pattern data. The laser processing machine controls the stage and galvano scanner based on the processing pattern data, making it possible to irradiate the laser light onto the workpiece as drawn by the engineer in the computer-aided design, and process the workpiece. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2004-157618 A Summary of the Invention [Problem to be solved by the invention]
[0004] Meanwhile, the machining figure data generated by computer-aided design is composed of one or more objects (drawing information), such as circles, lines, polygons, etc., drawn according to a vector description. When processing the machining figure data with a laser processing machine, the drawing information contained in the machining figure data is extracted and processed in order from the top, so that the laser light is irradiated onto the workpiece in the order that the engineer drew it using computer-aided design. Therefore, the irradiation of the laser light is not necessarily efficient. This is because engineers are usually not conscious of an efficient drawing order when drawing the processing figures. Therefore, if the laser light is irradiated onto the workpiece in the order drawn using computer-aided design as described above, the movement efficiency of the stage or galvano scanner may be poor, and the takt time may be extended. [Means for solving the problem]
[0005] In order to solve the above-mentioned problems, the present invention aims to provide a processing pattern data generation method, a processing pattern data generation device, a laser processing system, a processing pattern data generation program, and a recording medium that improve the efficiency of stage or galvano scanner movement and reduce takt time without the engineer who draws the processing image having to be aware of the processing order, etc. In order to achieve the above-mentioned object, the processing figure data generation method of the present invention is a processing figure data generation method for generating processing figure data to be used in a laser processing machine that irradiates a workpiece with laser light to perform laser processing, and includes an acquisition step of acquiring first processing figure data including a plurality of drawing information representing figures and positions, a processing order conversion step of rearranging the drawing information included in the first processing figure data to generate second processing figure data, and an output step of outputting the second processing figure data, wherein the processing order conversion step generates the second processing figure data so that the relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the plurality of drawing information included in the second processing figure data in order from the beginning is shorter than the relative movement distance between the laser processing machine and the workpiece when the laser processing is performed using the drawing information included in the first processing figure data in order from the beginning. Effect of the Invention
[0006] According to the above configuration, the efficiency of movement of the stage or galvano scanner is improved and the tact time can be reduced without the engineer who draws the processing image having to be aware of the processing order, etc. [Brief description of the drawings]
[0007] [Figure 1] 1 is a diagram showing a configuration of a laser processing machine 1. FIG. [Diagram 2] FIG. 2 is a diagram showing a configuration of a terminal device 2. [Diagram 3] 4 is a flowchart showing the overall operation of a laser processing process. [Figure 4] 11A to 11C are diagrams for explaining a drawing procedure for a machining figure in the first embodiment (circle machining). [Diagram 5] FIG. 13 is a diagram showing a processing figure in the first embodiment (circle processing). [Figure 6] FIG. 13 is a diagram showing a data structure of machining figure data (dxf file) before order conversion generated in the first embodiment. [Figure 7] FIG. 13 is a schematic diagram for explaining a laser scanning trajectory before order change in the first embodiment (circle processing). [Figure 8] 11 is a flowchart of a machining order efficiency improvement process in the first embodiment (circle machining). [Figure 9] FIG. 13 is a diagram showing the data structure of the processed figure data (dxf file) after conversion in Example 1 (circle processing). [Figure 10] FIG. 13 is a schematic diagram for explaining a laser scanning trajectory after order conversion in Example 1 (circle processing). [Figure 11] 2 is a diagram showing a UI screen 200, which is an example of a screen displayed on the display unit 23. FIG. [Figure 12] 13A to 13C are diagrams for explaining a drawing procedure of a machining figure in the second embodiment (straight line machining). [Figure 13] FIG. 11 is a diagram showing a data structure of machining figure data (dxf file) before order conversion generated in the second embodiment. [Figure 14] FIG. 11 is a schematic diagram for explaining a laser scanning trajectory before order conversion in Example 2 (straight line processing). [Figure 15] 13 is a flowchart of a machining sequence efficiency improvement process in the second embodiment (straight line machining). [Figure 16] FIG. 13 is a diagram for explaining machining figure data after conversion in the second embodiment (straight line machining). [Figure 17] FIG. 11 is a schematic diagram for explaining a laser scanning trajectory after order conversion in Example 2 (straight line processing). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] <Summary> A processing figure data generation method according to one aspect of the present embodiment is a processing figure data generation method for generating processing figure data to be used in a laser processing machine that irradiates a workpiece with laser light to perform laser processing, and includes an acquisition step of acquiring first processing figure data including a plurality of drawing information representing figures and positions, a processing order conversion step of rearranging the drawing information included in the first processing figure data to generate second processing figure data, and an output step of outputting the second processing figure data, wherein the processing order conversion step generates the second processing figure data so that the relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the plurality of drawing information included in the second processing figure data in order from the beginning is shorter than the relative movement distance between the laser processing machine and the workpiece when the laser processing is performed using the drawing information included in the first processing figure data in order from the beginning.
[0009] Here, we will provide a supplementary explanation on the relative movement distance between the laser processing machine and the workpiece. When the laser processing machine controls the processing position by the processing stage, the position of the laser processing machine does not change, and the processing stage moves in the X and Y directions to perform the desired processing on the workpiece placed on the processing stage. Therefore, when the processing stage is used, the "relative movement distance between the laser processing machine and the workpiece" indicates the movement distance of the processing stage. On the other hand, when the laser processing machine controls the processing position using a galvanometer scanner, the direction of the optical axis of the laser light is changed using two galvanometer mirrors. In this case, the "relative movement distance between the laser processing machine and the workpiece" is the amount of change in the direction of the optical axis, and indicates the distance that the laser light moves on the workpiece when the laser light is irradiated.
[0010] In a processing figure data generation method according to another aspect of this embodiment, the processing order conversion step includes a first selection step of selecting one drawing information representing a position closest to a predetermined reference point from the multiple drawing information included in the first processing figure data, a deletion step of deleting the drawing information selected in the first selection step from the selection targets, and a second selection step of selecting one drawing information representing a position closest to the position represented by the drawing information selected in the first selection step, and is characterized in that the deletion step and the second selection step are repeated until all drawing information included in the first processing figure data has been selected, and the drawing information is rearranged in the selected order to generate the second processing figure data.
[0011] In the method for generating processing figure data according to another aspect of the present embodiment, the drawing information includes center coordinates representing a circle and information representing a radius or a diameter, and the first selection step and the second selection step select one piece of drawing information representing the closest position using the center coordinates of the circle. In a processing graphic data generation method according to another aspect of the present embodiment, the drawing information includes at least coordinates of a start point and an end point representing a line segment or a curve, and the first selection step and the second selection step select the closest one of the drawing information using the coordinates of the start point or the end point of the line segment or the curve.
[0012] In a processing graphic data generating method according to another aspect of the present embodiment, when a start point is selected in the first selection step, the second selection step selects the one piece of drawing information that is closest to the end point corresponding to the start point, and when an end point is selected in the first selection step, the second selection step selects the one piece of drawing information that is closest to the start point corresponding to the end point. The processing graphic data generating method according to another aspect of the present embodiment is characterized in that it further includes a generating step of generating the first processing graphic data. The machining graphic data generating method according to another aspect of the present embodiment further includes a conversion step of converting the second machining graphic data into an NC (Numerical control) program.
[0013] In the processing graphic data generating method according to another aspect of the present embodiment, the first processing graphic data is a dxf file generated using computer-aided design. A processing figure data generating device according to one aspect of the present embodiment is a processing figure data generating device that generates processing figure data to be used in a laser processing machine, and is equipped with an acquisition means for acquiring first processing figure data including a plurality of drawing information representing figures and positions, a processing order conversion means for rearranging the drawing information included in the first processing figure data to generate second processing figure data, and an output means for outputting the second processing figure data, wherein the processing order conversion means generates the second processing figure data so that the relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the plurality of drawing information included in the second processing figure data in order from the beginning is shorter than the relative movement distance between the laser processing machine and the workpiece when the laser processing is performed using the drawing information included in the first processing figure data in order from the beginning.
[0014] In a processing figure data generating device according to another aspect of this embodiment, the processing order conversion means includes a first selection unit which selects one drawing information representing a position closest to a predetermined reference point from the multiple drawing information included in the first processing figure data, a deletion unit which deletes the drawing information selected by the first unit from the selection targets, and a second selection unit which selects one drawing information representing a position closest to the position represented by the drawing information selected by the first selection unit, and is characterized in that the processing order conversion means repeats the processing of the deletion unit and the second selection unit until all drawing information included in the first processing figure data has been selected, and rearranges the drawing information in the order of selection to generate the second processing figure data. In a processing graphic data generating device according to another aspect of the present embodiment, the drawing information includes center coordinates representing a circle and information representing a radius or diameter, and the first selection unit and the second selection unit select one piece of drawing information representing the closest position using the center coordinates of the circle.
[0015] In a processing graphic data generating device according to another aspect of the present embodiment, the drawing information includes at least coordinates of a start point and an end point representing a line segment or a curve, and the first selection unit and the second selection unit select the closest one of the drawing information using the coordinates of the start point or the end point of the line segment or the curve. In a processing graphic data generating device according to another aspect of the present embodiment, when the first selection unit selects a start point, the second selection unit selects the one piece of drawing information that is closest to the end point corresponding to the start point, and when the first selection unit selects an end point, the second selection unit selects the one piece of drawing information that is closest to the start point corresponding to the end point. The processing figure data generating device according to another aspect of the present embodiment is characterized in that it further comprises a generating means for generating the first processing figure data.
[0016] The machining graphic data generating device according to another aspect of the present embodiment further comprises a conversion means for converting the second machining graphic data into an NC (Numerical control) program. In the processing graphic data generating device according to another aspect of the present embodiment, the first processing graphic data is a dxf file generated using computer-aided design. A laser processing system according to one aspect of the present embodiment is a laser processing system including a laser processing machine that processes a workpiece by irradiating the workpiece with a laser beam, and a processing figure data generating device that generates processing figure data used in the laser processing machine, the processing figure data generating device including: an acquisition means for acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a processing order conversion means for rearranging the drawing information included in the first processing figure data to generate second processing figure data; and an output means for outputting the second processing figure data, and the processing order conversion means generates the second processing figure data so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the beginning is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the beginning, and the laser processing machine is characterized in that it comprises a laser oscillator that emits the laser light, a focusing optical system that focuses the laser light to a desired focusing diameter, a processing stage or a galvano scanner that relatively displaces the workpiece and the irradiation position of the laser light, an acquisition unit that acquires the second processing figure data from the processing figure data generating device, and a control unit that controls the processing stage or the galvano scanner based on the processing figure data.
[0017] A computer program according to one aspect of this embodiment is a processing figure data generation program used in a processing figure data generation device, the processing figure data generation device having a memory unit and a processor, and the processor executes the processing order conversion program stored in the memory to perform an acquisition step of acquiring first processing figure data including a plurality of drawing information representing figures and positions, a processing order conversion step of rearranging the drawing information included in the first processing figure data to generate second processing figure data, and an output step of outputting the second processing figure data, the processing order conversion step generating the second processing figure data such that the relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the plurality of drawing information included in the second processing figure data in order from the beginning is shorter than the relative movement distance between the laser processing machine and the workpiece when the laser processing is performed using the drawing information included in the first processing figure data in order from the beginning.
[0018] A recording medium according to one aspect of this embodiment is a non-temporary recording medium storing a processing graphic data generation program, the processing graphic data generation program including an acquisition step of acquiring first processing graphic data including a plurality of drawing information representing figures and positions, a processing order conversion step of rearranging the drawing information included in the first processing graphic data to generate second processing graphic data, and an output step of outputting the second processing graphic data, the processing order conversion step generating the second processing graphic data such that the relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the plurality of drawing information included in the second processing graphic data in order from the beginning is shorter than the relative movement distance between the laser processing machine and the workpiece when the laser processing is performed using the drawing information included in the first processing graphic data in order from the beginning.
[0019] <Embodiment> Here, a processing sequence conversion method according to an embodiment of the present invention will be described with reference to the drawings. (1) Configuration of laser processing machine 1 1 shows an example of a laser processing machine 1. As shown in the figure, the laser processing machine 1 is composed of a laser oscillator 11, a beam shaping optical system 12, a mirror 13 (the mirror 13 may be a galvanometer scanner capable of scanning with a galvanometer mechanism), a focusing lens 14 which is a focusing optical system, a processing stage (XY stage) 15, a control unit 16, and a communication unit 17. The laser oscillator 11 is a solid-state laser or fiber laser light source, preferably a pulsed laser. The laser light L emitted from the laser oscillator 11 passes through a beam shaping optical system 12, a reflecting mirror 13, and a condenser lens 14, and is irradiated onto a workpiece W mounted on a processing stage 17.
[0020] The control unit 16 is composed of a microprocessor, a ROM, a RAM, etc., and the ROM stores a control program for controlling the laser processing machine 1. The microprocessor executes the control program stored in the ROM using the RAM, which is a working memory, to control each part of the laser processing machine 1, such as the laser oscillator 11, the mirror (galvano scanner) 13, and the processing stage 15. The control unit 16 also receives processing figure data from the terminal device 2 via the communication unit 17, which will be described later, and controls at least one of the galvano scanner 13 and the processing stage 15 according to the received processing figure data to control the scanning trajectory of the laser light L on the workpiece W. The communication unit 17 is a communication interface that communicates wirelessly or wired with the terminal device 2. The communication unit 17 receives processing diagram data from the control terminal 2 and transfers the received processing diagram data to the control unit 16. The laser processing machine 1 may obtain the processing diagram data generated by the terminal device 2 using a portable recording medium such as a USB memory or an SD card.
[0021] In addition to these components, the laser processing machine 1 may further include other optical systems, optical fibers, and the like. (2) Configuration of Terminal Device 2 The terminal device 2 is a processing pattern data generating device according to the present invention, and has a function of generating processing pattern data to be used by an engineer (user) in the laser processing machine 1 using computer-aided design, and a function of converting this processing pattern data (first processing pattern data) to generate efficient processing pattern data (second processing pattern data). 2 is a block diagram showing the functional configuration of the terminal device 2. As shown in the figure, the terminal device 2 is composed of a storage unit 21, a control unit 22, a display unit 23, an input unit 24, and a communication unit 25. Specifically, the terminal device 2 is a computer system equipped with hardware resources such as a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), an SSD (Solid State Drive), a display unit, a communication interface, and input devices such as a keyboard and a mouse.
[0022] The storage unit 21 is a so-called auxiliary storage device, and is composed of non-volatile memory such as an HDD, SSD, ROM (Read Only Memory), and flash memory. The storage unit 21 stores computer programs and various data for controlling the terminal device 2. The CAD program 201 is a support tool for an engineer (user) to create a processing figure (drawing data) to be used in the laser processing machine 2. The processing order conversion program 202 is a program for converting processing figure data created by the user using the CAD program 201, and optimizing the processing order. The control unit 22 is composed of a CPU, a RAM serving as a working memory, etc. The control unit 22 executes a CAD program 201 and a machining sequence conversion program 202 stored in the storage unit 21 to realize a machining figure data generation process described later.
[0023] The display unit 23 includes a display unit, a video codec, a GPU (Graphics Processing Unit), a memory for screen data, etc., and generates a UI screen for drawing the processing graphic data, etc., and displays it on the display unit. The input unit 24 includes input devices such as a keyboard, a mouse, and various switches that accept user operations, as well as devices for inputting data by connecting removable recording media such as a USB memory and an SD memory card. The communication unit 25 communicates information with an external device connected wirelessly or by wire. Specifically, the processing figure data generated by the terminal device 2 may be transmitted to the laser processing machine 1 via the communication unit 25, or may be transferred by a portable recording medium such as a USB memory or an SD card.
[0024] (3) Laser processing operation FIG. 3 is a flowchart showing the operation of the laser processing performed by the laser processing machine 1 and the terminal device 2. First, a user of the terminal device 2 uses a CAD program to draw a processing figure (step S1). The control unit 11 of the terminal device 2 generates first processing figure data corresponding to the processing figure (step S2). Next, the control unit 11 of the terminal device 2 performs order conversion processing to improve the efficiency of the first processing figure data, and generates second processing figure data (step S3). The terminal device 2 outputs the generated second processing figure data (step S4). The laser processing machine 1 acquires the second processing figure data from the terminal device 2 (step S5), and performs laser processing using the second processing figure data (step S6). Here, the second processing figure data transmitted from the terminal device 2 to the laser processing machine 1 may be a data file in DXF format used for controlling a galvano scanner, or a data file in NC (Numerically Controlled) program format used for controlling the processing stage 15.
[0025] (4) Example 1 (Circle Processing) Here, the order conversion method for making the processing order more efficient will be described in detail using examples. In Example 1, circular processing in which the laser processing machine 1 irradiates the laser beam in a circular shape will be described as an example. 4 is a diagram showing a drawing procedure of a processing figure drawn by the terminal device 2. A user draws a desired processing figure by operating the input unit 24 such as a mouse and a keyboard while looking at the screen displayed on the display unit 23. This process is realized by the control unit 22 executing the CAD program 201 stored in the storage unit 21 of the terminal device 2. In the first embodiment, the user draws five circles (c1, c2, c3, c4, c5) in the order shown in Fig. 4(a) to Fig. 4(e). Then, the figure shown in Fig. 4(e) is treated as one set, and three more sets of copies are made to generate the processing figure 211 shown in Fig. 5. The laser processing machine 1 performs laser processing along the scanning trajectory indicated by the processing figure 211 included in the drawing area 210 in Fig. 5.
[0026] When the processing figure 211 shown in FIG. 5 is drawn, the control unit 22 of the terminal device 2 generates processing figure data corresponding to the processing figure 211. FIG. 6 is a diagram showing a data configuration of the first processing figure data 212 generated when a circle is drawn according to the procedure shown in FIG. 4 and FIG. 5. The first processing figure data 212 includes 20 pieces of drawing information 213, from No. 1 to No. 20. Each piece of drawing information is generated for each drawn figure (object), and includes a No. column 214, a Type column 215, and a Data column 216. The No. column 214 describes the order in which the figure was drawn. The Type column 215 describes the shape of the figure. The Data column 215 describes information representing the position of the figure. As an example, the Data column 215 describes the center coordinates and radius of the circle. In this embodiment, the first processing figure data 212 is described in a dxf file format, and the drawing information is generated for each object.
[0027] The laser processing machine 1 reads out the processing figure data in order starting from No. 1 and performs laser processing. Therefore, when the laser processing machine 1 performs laser processing using the first processing figure data 212 shown in FIG. 6, the laser beam is scanned in the order shown in the schematic diagram of FIG. 7. In the drawing area 210 in FIG. 7, the solid line represents the scanning trajectory of the laser beam L, and the broken line represents the movement of the processing stage 15 or the movement of the optical axis by the galvano scanner when the irradiation of the laser beam L is stopped. In this way, when the first processing figure data 212 is used, the distance represented by the broken line is long, and it takes time to move the processing stage 15 or the optical axis by the galvano scanner. The terminal device 2 of this embodiment performs processing order efficiency processing to shorten the time required for the movement of the processing stage 15 or the movement of the optical axis by the galvano scanner (step S3 in FIG. 3).
[0028] The machining order efficiency improvement process will be described in detail with reference to Fig. 8 to Fig. 11. Fig. 8 is a flowchart showing the machining order efficiency improvement process (step S3 in Fig. 3) in detail. This process is realized by the control unit 22 of the terminal device 2 executing the machining order conversion program 202 stored in the storage unit 21. At this time, for example, a UI screen as shown in Fig. 11 is displayed on the display unit 23 of the terminal device 2, and the user operates the input unit 24 while looking at the UI screen. First, the terminal device 2 sets a reference point (step S11). This is to determine the starting position of processing by the laser light L, and any position can be set as the reference point by a user operation. Here, as an example, the origin O at the upper left of the drawing area 210 shown in FIG. 7 is set as the reference point. Next, the terminal device 2 accepts the order conversion process (step S12). As an example, when the UI screen 200 shown in FIG. 11 is displayed on the display unit 23, the user selects the order optimization button 230, and the terminal device 2 accepts the order conversion process.
[0029] The control unit 22 refers to all drawing information 213 included in the first processing figure data 212 and calculates the distance from the reference point to the center point of all circles (step S13). The circle closest to the reference point is selected as No. 1 (step S14). Next, the distance between the last selected circle and all other selection target circles is calculated (step S15). In step S15, the distance from the center point of the last selected circle to the center points of the other circles is calculated. The circle closest to the last selected circle is selected as No. n (n=2, 3, . . . , 20) (step S16). Then, the circles selected in steps S14 and S16 are excluded from the selection targets (step S17), and the drawing information 213 is rearranged in the selection order. If there is an unselected circle (unselected drawing information 213) in the first machining figure data 212 (YES in step S18), the process returns to step S15 and continues. If there is no unselected circle (unselected drawing information 213) in the first machining figure data 212 (NO in step S18), the terminal device 2 ends the machining order efficiency improvement process.
[0030] When rearrangement of all the drawing information 213 from No. 1 to No. 20 included in the first processing figure data 212 is completed, the second processing figure data 217 shown on the right side of Fig. 9 is generated. As shown in Fig. 9, the order of the drawing information No. 1 and No. 2 in the first processing figure data 212 remains unchanged, and they are also positioned as No. 1 and No. 2 in the second processing figure data 217. The order of the drawing information No. 3 in the first processing figure data 212 is changed to No. 20 in the second processing figure data 217. Similarly, the drawing information No.3, No.4, No.5, No.6, No.7, No.8, No.9, No.10, No.11, No.12, No.13, No.14, No.15, No.16, No.17, No.18, No.19, and No.20 in the first machining shape data 212 are changed in order to No.20, No.19, No.18, No.3, No.4, No.17, No.16, No.15, No.5, No.6, No.14, No.13, No.12, No.7, No.8, No.11, No.10, and No.9 in the second machining shape data 217, respectively.
[0031] When the laser processing machine 1 performs laser processing using the second processing figure data 217 shown in Fig. 9, the laser beam is scanned in the sequence shown in the schematic diagram of Fig. 10. In the drawing area 210 in Fig. 10, the solid line represents the scanning trajectory of the laser beam L, and the dashed line represents the movement of the processing stage 15 or the movement of the optical axis by the galvano scanner when the irradiation of the laser beam L is stopped. As shown in the figure, the laser processing starts from the circle closest to the origin O, which is the reference point, and the laser processing is performed while moving to the nearest circle in order. Comparing Figures 6 and 9, when the order-converted second processing graphic data 217 is used, the distance represented by the dashed line is short, making it possible to shorten the time required to move the processing stage 15 or move the optical axis by the galvanometer scanner.
[0032] Next, an example of a UI screen displayed on the display unit 23 of the terminal device 2 will be described with reference to Fig. 11. As shown in the figure, the UI screen 200 includes a drawing area 210 and a data area 220. The drawing area 210 displays a machining figure and a machining order drawn using a CAD program 201. The data area 220 displays machining figure data corresponding to the machining figure displayed in the drawing area 210. In this example, the machining figure in which the machining order after order conversion is displayed and the second machining figure data are displayed. The UI screen 200 further includes a button 230 , a button 231 , a button 232 , and a button 234 . When the button 230 is selected, the control unit 22 performs a sequence conversion process to generate the second machining graphic data 217 from the first machining graphic data 212 . When button 231 is selected, the control unit 22 reads out the CAD data (machining shape) drawn using the CAD program 201, and the display unit 23 displays the machining shape with the machining order before the order conversion displayed on the UI screen 200 and the first machining shape data 212.
[0033] When the button 232 is selected, the display unit 23 displays on the UI screen 200 the machining geometry in which the machining order after the order conversion is displayed and the second machining geometry data 217. When the button 234 is selected, the control unit 22 generates an NC program based on the first machining figure data 212 or the second machining figure data 217 displayed on the UI screen 200. The NC program is used when the laser processing machine 1 controls the scanning trajectory of the laser light L on the workpiece W by the machining stage 15. In this embodiment, the machining sequence conversion program 202 is assumed to have a function of conversion to an NC program. As described above, the data area 220 displays the machining figure data, but it may also display machining figure data in DXF file format, or machining figure data written in NC program. As shown in Fig. 11, the data area 220 includes tabs 235 and 236, and if the user selects tab 235, the machining figure data in DXF file format is displayed, and if the user selects tab 236, the machining figure data converted into NC program is displayed.
[0034] (5) Example 2 (Straight line processing) Next, a second embodiment in which the laser processing machine 1 performs straight line processing will be described. Fig. 12 is a diagram showing a drawing procedure of a processing figure drawn by the terminal device 2. The user draws nine straight lines l1 to l9 in the order shown in Fig. 12(a) to Fig. 12(i) by operating the input unit 24 while looking at the screen displayed on the display unit 23. This process is realized by the control unit 22 executing the CAD program 201 stored in the storage unit 21 of the terminal device 2. When the processing figure shown in FIG. 12(i) is drawn, the control unit 22 of the terminal device 2 generates processing figure data corresponding to the processing figure. FIG. 13 is a diagram showing the data configuration of the first processing figure data 241 generated when a straight line is drawn in the procedure shown in FIG. 12. The first processing figure data 241 includes nine pieces of drawing information 242, from No. 1 to No. 9. Each piece of drawing information is generated for each drawn figure, and includes a No. column 243, a Type column 2445, and a Data column 245. The No. column 243 describes the order in which the figure was drawn. The Type column 244 describes the shape of the figure. The Data column 255 describes information representing the position of the figure. As an example, the Data column 245 describes the coordinates of the start point of the line and the coordinates of the end point of the line.
[0035] Fig. 14 shows the scanning trajectory of the laser light L when the laser processing machine 1 performs laser processing using the first processing figure data 241. In the drawing area 210 of Fig. 14, the solid line shows the scanning trajectory of the laser light L, and the broken line shows the movement of the processing stage 15 or the movement of the optical axis by the galvano scanner when the irradiation of the laser light L is stopped. In this way, when the laser processing is performed using the first processing figure data 241, there are unnecessary operations of the processing stage 15 and the galvano scanner, and it is not necessarily efficient. Therefore, as in the first embodiment, the terminal device 2 performs the processing order conversion process. Fig. 15 is a flowchart showing details of the machining order efficiency improvement process (step S3 in Fig. 3) in the second embodiment. This process is realized by the control unit 22 of the terminal device 2 executing the machining order conversion program 202 stored in the storage unit 21. At this time, for example, a UI screen as shown in Fig. 11 is displayed on the display unit 23 of the terminal device 2, and the user operates the input unit 24 while looking at the UI screen.
[0036] First, the terminal device 2 sets a reference point (step S21). This is to determine the starting position of processing by the laser light L, and any position can be set as the reference point by a user operation. In the first embodiment, the origin O of the xy coordinate set in the drawing area 210 is set as the reference point, but in the second embodiment, O' shown in FIG. 17 is set as the reference point as an example. Next, the terminal device 2 accepts the order conversion process (step S22). The control unit 22 refers to all drawing information 242 included in the first processing figure data 241, and calculates the distance from the reference point O' to the start point and end point of all straight lines (step S23). The straight line having the start point or end point closest to the reference point O' is selected as No. 1 (step S24). Then, the distances from the last selected straight line to the start point and end point of all other selection target straight lines are calculated (step S25).
[0037] At this time, the system focuses on the last selected straight line, and if the last selected straight line was selected based on the coordinates of its start point, step S25 calculates the distance from the end point of the last selected straight line to the start points and end points of all other straight lines to be selected. On the other hand, if the last selected straight line was selected based on the coordinates of its end point, step S25 calculates the distance from the start point of the last selected straight line to the start points and end points of all other straight lines to be selected. The straight line including the closest start point or end point in step S25 is selected as No. n (n=2, 3, . . . , 9) (step S26). Then, the straight lines selected in steps S24 and S26 are excluded from the selection targets (step S27), and the drawing information 242 is rearranged in the selected order.
[0038] If there is an unselected straight line (unselected drawing information 242) in the first machining figure data 241 (YES in step S28), the process returns to step S25 and continues. If there is no unselected straight line (unselected drawing information 242) in the first machining figure data 241 (NO in step S28), the terminal device 2 ends the machining order efficiency improvement process. When the rearrangement of all the drawing information 242 from No. 1 to No. 9 included in the first processing figure data 242 is completed, the second processing figure data 251 shown on the right side of Fig. 16 is generated. As shown in Fig. 16, the drawing information No. 1 to No. 4 of the first processing figure data 241 express a rectangle with continuous straight lines, and these four drawing information are combined into one object in the second processing figure data 251 and converted into the drawing information No. 6 252. At this time, the detailed information 253 of the drawing information 252 may be displayed on the UI screen. It is not essential to combine the continuous straight lines into one object as described above.
[0039] The drawing information No. 4 in the first machining graphic data 241 remains in the same order as No. 4 in the second machining graphic data 251. The drawing information No. 6, No. 7, No. 8, and No. 9 in the first machining graphic data 241 are rearranged to No. 4, No. 3, No. 2, and No. 1 in the second machining graphic data 251, respectively. When the laser processing machine 1 performs laser processing using the second processing figure data 251 shown in Fig. 16, the laser beam is scanned in the sequence shown in the schematic diagram of Fig. 17. In the drawing area 210 in Fig. 17, the solid lines represent the scanning trajectory of the laser beam L, and the dashed lines represent the movement of the processing stage 15 or the movement of the optical axis by the galvano scanner when the irradiation of the laser beam L is stopped. As shown in the figure, the laser processing starts from the straight line closest to the reference point O', and the laser processing is performed while moving to the straight lines that are closest to the reference point O'.
[0040] Comparing Figures 14 and 17, when the order-converted second processing graphic data 251 is used, the distance represented by the dashed line is short, making it possible to shorten the time required to move the processing stage 15 or move the optical axis by the galvanometer scanner. In addition, since the user can set any position as the reference point, it is possible to set the reference point O' while checking the processing figure 250 on the UI screen, predicting that the operation of the processing stage 15 or the galvano scanner will be shortened. (4) Other modifications The present invention has been described based on the above embodiment, but the present invention is not limited to the above embodiment, and the following modifications of the embodiment are also included in the present invention.
[0041] In the first embodiment, the processing order change method when the laser processing machine 1 performs circular processing is described, and in the second embodiment, the processing order change method when the laser processing machine 1 performs linear processing is described, but the laser processing performed by the laser processing machine 1 is not limited to these two specific examples. The present invention also includes cases where the laser processing machine 1 performs hole drilling at a point (POINT), performs laser processing in an arc shape (ARC), and performs laser processing by combining an arc and a straight line (LINE).
[0042] In the above embodiment, the DXF file is used as an example of the file format of the processing figure data, but the file format of the processing figure data in the present invention is not limited. The processing figure data (first processing figure data and second processing figure data) of the present invention is sufficient as long as it contains information (type of figure, radius or diameter of circle, length of line, drawing position, coordinate value, etc.) necessary for the laser processing machine 1 to draw the processing figure.
[0043] In the above embodiment, the machining sequence conversion program has been described as having a function of converting a DXF file into an NC program. This is just an example, and the function of converting a DXF file into an NC program may be realized by the CAD program 201 or another program.
[0044] In the above embodiment, each component may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. Furthermore, each component may be realized by hardware. For example, each component may be a circuit (or an integrated circuit). These circuits may form a single circuit as a whole, or each may be a separate circuit. Furthermore, each of these circuits may be a general-purpose circuit, or a dedicated circuit. Furthermore, the general or specific aspects of the present invention may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium. For example, the present invention may be realized as a control terminal or a server device. The present invention may be realized as a control method executed by a computer such as a control system. The present invention may be realized as a program for causing a computer to execute such a control method. Furthermore, the present invention may be realized as a computer-readable non-transitory recording medium on which such a program is recorded.
[0045] In addition, as long as they do not deviate from the spirit of the present disclosure, various modifications that would come to mind by a person skilled in the art to the present embodiment, and forms constructed by combining components in different embodiments, may also be included within the scope of one or more aspects of the present disclosure. [Explanation of symbols]
[0046] 1 Laser processing machine 11 Laser Oscillator 12 Beam shaping optical system 1 13 Mirror or Galvanometer Scanner 14 Condenser lens 15 Processing stage (XY stage) 16 Control section 17 Communications Department 2. Terminal device (machining pattern data generation device) 21 Memory section 22 Control section 23 Display section 24 Input section 25 Communications Department
Claims
1. A method for generating processing figure data for use in a laser processing machine that performs laser processing by irradiating a workpiece with laser light, comprising: An acquisition step of acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a machining order conversion step of rearranging the drawing information included in the first machining figure data to generate second machining figure data; and an output step of outputting the second processing figure data, The processing sequence conversion step includes: The second processing figure data is generated so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the top is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the top. A method for generating processing pattern data comprising the steps of:
2. The processing sequence conversion step includes: a first selection step of selecting one piece of drawing information representing a position closest to a predetermined reference point from among the plurality of drawing information included in the first processing figure data; a deletion step of deleting the drawing information selected in the first selection step from selection targets; a second selection step of selecting one piece of drawing information representing a position closest to the position represented by the drawing information selected in the first selection step; repeating the deleting step and the second selecting step until all drawing information included in the first processing figure data is selected; The drawing information is rearranged in the selected order to generate the second processing figure data.
2. The method for generating processing pattern data according to claim 1.
3. the drawing information includes center coordinates representing a circle and information representing a radius or diameter, The first and second selection steps select one piece of drawing information representing the closest position using the center coordinates of the circle.
3. The method for generating processing pattern data according to claim 2.
4. the drawing information includes at least coordinates of a start point and an end point representing a line segment or a curve; The first and second selection steps select the closest piece of drawing information using coordinates of a start point or an end point of a line segment or a curve.
3. The method for generating processing pattern data according to claim 2.
5. When a start point is selected in the first selection step, a piece of drawing information that is closest to an end point corresponding to the start point is selected in the second selection step; When an end point is selected in the first selection step, the drawing information closest to the start point corresponding to the end point is selected in the second selection step.
5. The method for generating processing pattern data according to claim 4.
6. The processing figure data generating method includes: The method further includes a generating step of generating the first processing figure data.
2. The method for generating processing pattern data according to claim 1.
7. The processing figure data generating method includes: The method further includes a conversion step of converting the second processing figure data into an NC (Numerical control) program.
2. The processing pattern data generating method according to claim 1,
8. The first processing graphic data is a dxf file generated using computer-aided design.
2. The method for generating processing pattern data according to claim 1.
9. A processing figure data generating device for generating processing figure data for use in a laser processing machine, comprising: An acquisition means for acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a machining order conversion means for rearranging the drawing information included in the first machining figure data to generate second machining figure data; an output means for outputting the second processing figure data; The processing sequence conversion means The second processing figure data is generated so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the top is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the top.
2. A processing pattern data generating device comprising:
10. The processing sequence conversion means a first selection unit that selects one piece of drawing information that represents a position closest to a predetermined reference point from among the plurality of pieces of drawing information included in the first processing figure data; a deletion unit that deletes the drawing information selected by the first unit from selection targets; a second selection unit that selects one piece of drawing information that represents a position closest to the position represented by the drawing information selected by the first selection unit; repeating the processes of the deleting unit and the second selecting unit until all drawing information included in the first processing figure data is selected; The drawing information is rearranged in the selected order to generate the second processing figure data.
10. The processing pattern data generating device according to claim 9.
11. the drawing information includes center coordinates representing a circle and information representing a radius or diameter, The first selection unit and the second selection unit select one piece of drawing information representing the closest position using a center coordinate of a circle.
11. The processing pattern data generating device according to claim 10.
12. the drawing information includes at least coordinates of a start point and an end point representing a line segment or a curve; The first selection unit and the second selection unit select the closest piece of drawing information using coordinates of a start point or an end point of a line segment or a curve.
11. The processing pattern data generating device according to claim 10.
13. When the first selection unit selects a start point, the second selection unit selects the one piece of drawing information that is closest to the end point corresponding to the start point, When the first selection unit selects an end point, the second selection unit selects the one piece of drawing information that is closest to the start point corresponding to the end point.
13. The processing pattern data generating device according to claim 12.
14. The processing pattern data generating device includes: The processing device further includes a generating unit for generating the first processing figure data.
10. The processing pattern data generating device according to claim 9.
15. The processing pattern data generating device includes: The system further includes a conversion means for converting the second processing figure data into an NC (Numerical control) program.
10. The processing pattern data generating device according to claim 9.
16. The first processing graphic data is a dxf file generated using computer-aided design.
10. The processing pattern data generating device according to claim 9,
17. A laser processing system including a laser processing machine that processes a workpiece by irradiating the workpiece with a laser beam, and a processing figure data generating device that generates processing figure data used in the laser processing machine, The processing pattern data generating device includes: An acquisition means for acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a machining order conversion means for rearranging the drawing information included in the first machining figure data to generate second machining figure data; an output means for outputting the second processing figure data; The processing sequence conversion means The second processing figure data is generated so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the top is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the top; The laser processing machine includes: a laser oscillator that emits the laser light; a focusing optical system that focuses the laser light to a desired focusing diameter; a processing stage or a galvano scanner for relatively displacing the workpiece and the irradiation position of the laser light; an acquisition unit that acquires the second processing figure data from the processing figure data generating device; a control unit that controls the processing stage or the galvano scanner based on processing figure data. A laser processing system comprising:
18. A processing figure data generating program for use in a processing figure data generating device, comprising: The machining pattern data generating device includes a storage unit and a processor, and the processor executes the machining sequence conversion program stored in the memory, thereby An acquisition step of acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a machining order conversion step of rearranging the drawing information included in the first machining figure data to generate second machining figure data; and an output step of outputting the second processing figure data. The processing sequence conversion step includes: The second processing figure data is generated so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the top is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the top.
4. A processing pattern data generating program comprising:
19. A non-transitory recording medium storing a processing figure data generating program, The processing figure data generating program includes: An acquisition step of acquiring first processing figure data including a plurality of pieces of drawing information representing figures and positions; a machining order conversion step of rearranging the drawing information included in the first machining figure data to generate second machining figure data; and an output step of outputting the second processing figure data, The processing sequence conversion step includes: The second processing figure data is generated so that a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using a plurality of drawing information included in the second processing figure data in order from the top is shorter than a relative movement distance between the laser processing machine and the workpiece when the laser processing machine performs laser processing using the drawing information included in the first processing figure data in order from the top. A recording medium comprising:
Citation Information
Patent Citations
Graphic machining device
JP1994242814A
Print data generation method for laser marker, and computer program
JP2004157618A
Numerical control data creation device
JP2010262442A
