Information processing method, information processing device, machining device, and machining method
By generating a measurement model of the workpiece's three-dimensional shape and comparing it with a designed model, the system can detect abnormalities and interference, enhancing processing accuracy and preventing damage, thus addressing the challenge of determining abnormalities in existing systems.
Patent Information
- Application Number
- PCT/JP2023/004360
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2024-08-15
AI Technical Summary
Existing processing systems face challenges in accurately determining abnormalities during the processing of workpieces, particularly in identifying interference between the processing head and the workpiece or mounting device, which can lead to inefficiencies and potential damage.
The method involves generating a measurement model of the workpiece's three-dimensional shape and comparing it with a designed model to detect any abnormalities or interference by monitoring the movement of the processing head and mounting device, using detection information to determine if interference occurs.
This approach enables real-time monitoring and detection of abnormalities, ensuring accurate processing and preventing damage to the equipment and workpieces, thereby improving processing efficiency and reliability.
Smart Images

Figure JP2023004360_15082024_PF_FP
Abstract
Description
Information processing method, information processing device, processing device and processing method
[0001] The present invention relates to the technical field of, for example, an information processing method, an information processing device, a processing device, and a processing method for processing an object to be processed.
[0002] An example of a processing device capable of processing an object is described in Patent Document 1. One of the technical challenges of such a processing device is to appropriately determine whether or not an abnormality occurs in the processing device when processing an object to be processed.
[0003] US Patent Application Publication No. 2002 / 0017509
[0004] According to a first aspect, an information processing method is provided for processing a workpiece placed on a mounting device using a processing head, the information processing method including: measuring the three-dimensional shape of a measured object including the workpiece to be processed, thereby generating a measurement model indicating the measured three-dimensional shape of the measured object to be measured; and determining whether the processing head and the measured object will interfere with each other during at least a portion of the processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and detection information regarding the movement of at least one of the processing head and the mounting device detected during at least a portion of the processing period in which the workpiece to be processed is processed.
[0005] According to a second aspect, an information processing method is provided for processing a workpiece placed on a mounting device using a processing head, the information processing method including: measuring the three-dimensional shape of a measured object including the workpiece to be processed, thereby generating a measurement model indicating the measured three-dimensional shape of the measured object to be measured; and determining whether the processing head and the measured object will interfere with each other during at least a portion of the processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and control information that controls the movement of at least one of the processing head and the mounting device during at least a portion of the processing period during which the workpiece to be processed is processed.
[0006] According to a third aspect, an information processing method is provided for processing an object to be processed placed on a mounting device within a processing apparatus using a processing head, the information processing method including: measuring the three-dimensional shape of a measured object including the mounting device, thereby generating a measurement model indicating the measured three-dimensional shape of the measured object; and determining whether or not an abnormality has occurred within the processing apparatus by comparing the measurement model with an object model indicating the designed three-dimensional shape of the measured object.
[0007] According to a fourth aspect, there is provided an information processing device that uses the information processing method provided by any one of the first to third aspects.
[0008] According to a fifth aspect, there is provided a processing apparatus including the processing head, the placement device, and the information processing device provided by the fourth aspect.
[0009] According to a sixth aspect, there is provided a processing method for processing the object to be processed using a processing device equipped with the processing head and the placement device, using the information processing method provided by any one of the first to third aspects.
[0010] According to a seventh aspect, an information processing method is provided for processing a workpiece placed on a mounting device using a processing head, the information processing method including: measuring the three-dimensional shape of a measured object including the workpiece to be processed, thereby generating a measurement model indicating the measured three-dimensional shape of the measured object, and determining whether or not the processing head and the measured object interfere with each other based on the measurement model.
[0011] The functions and other advantages of the present invention will become apparent from the following detailed description of the preferred embodiments.
[0012] FIG. 1 is a cross-sectional view schematically showing an example of the configuration of a machining system in this embodiment. FIG. 2 is a block diagram showing an example of the configuration of a machining system in this embodiment. FIG. 3 is a block diagram showing the configuration of a machining head in this embodiment. FIG. 4 is a cross-sectional view showing the configuration of a machining head in this embodiment. FIGS. 5(a) to 5(d) are cross-sectional views showing removal machining performed on a workpiece. FIGS. 6(a) and 6(b) are cross-sectional views showing a machining head interfering with at least one of the stage, the jig, and the workpiece W. FIG. 7 is a flowchart showing the flow of a first interference detection operation. FIG. 8 is a cross-sectional view showing a measurement model. FIG. 9 is a cross-sectional view showing a head model. FIG. 10 is a cross-sectional view showing a measurement model and a head model arranged in a simulation space. FIG. 11 is a cross-sectional view showing a machining head when it moves in real space and a head model moving in simulation space. FIG. 12 is a cross-sectional view showing a measured object when it moves in real space and a measurement model moving in simulation space. FIG. 13(a) is a cross-sectional view showing a measurement model and a head model, and FIG. 13(b) is a cross-sectional view showing an object model and a head model. FIG. 14(a) is a cross-sectional view showing a measurement model and a head model, and FIG. 14(b) is a cross-sectional view showing an object model and a head model. FIG. 15 is a flowchart showing the flow of a second interference detection operation. FIG. 16 is a flowchart showing the flow of a third interference detection operation. FIG. 17(a) shows a measurement model, FIG. 17(b) shows an object model, and FIG. 17(c) shows a differential model. FIG. 18(a) shows a measurement model, FIG. 18(b) shows an object model, and FIG. 18(c) shows a differential model. FIG. 19 is a flowchart showing the flow of a fourth interference detection operation. FIG. 20(a) shows a measurement model, FIG. 20(b) shows an object model, FIG. 20(c) shows a differential model, and FIG. 20(d) shows an object model with the differential model added. FIG. 21 is a flowchart showing the flow of a foreign object detection operation. Figure 22(a) shows a measurement model generated when the measured object contains a foreign object, Figure 22(b) shows a measurement model generated when the measured object does not contain a foreign object, and Figure 22(c) shows an object model.Figure 23(a) shows a measurement model generated when the object to be measured is unintentionally deformed, Figure 23(b) shows a measurement model generated when the object to be measured is not deformed, and Figure 23(c) shows an object model.
[0013] Hereinafter, with reference to the drawings, embodiments of an information processing method, an information processing device, a machining device, a machining method, a display method, an information program, and a program storage medium will be described. Hereinafter, embodiments of an information processing method, an information processing device, a machining device, a machining method, a display method, an information program, and a program storage medium will be described using a machining system SYS capable of machining a workpiece W, which is an example of an object to be machined. The machining system SYS may also be referred to as a machining device. However, the present invention is not limited to the embodiments described below.
[0014] In the following description, the positional relationships of the various components constituting the machining system SYS will be described using an XYZ Cartesian coordinate system defined by mutually orthogonal X, Y, and Z axes. For convenience of explanation, the X-axis and Y-axis directions are each assumed to be horizontal (i.e., a predetermined direction within a horizontal plane), and the Z-axis direction is assumed to be vertical (i.e., a direction perpendicular to the horizontal plane, essentially an up-down direction). Furthermore, the rotation directions around the X-axis, Y-axis, and Z-axis (in other words, tilt directions) are referred to as the θX direction, θY direction, and θZ direction, respectively. Here, the Z-axis direction may be the direction of gravity. Furthermore, the XY plane may be assumed to be horizontal.
[0015] (1) Configuration of Machining System SYS First, the configuration of the machining system SYS in this embodiment will be described.
[0016] (1-1) Overall Configuration of Machining System SYSa First, the configuration of the machining system SYS in this embodiment will be described with reference to Figures 1 and 2. Figure 1 is a cross-sectional view that schematically shows an example of the configuration of the machining system SYS in this embodiment. Figure 2 is a block diagram that shows an example of the configuration of the machining system SYS in this embodiment.
[0017] 1 and 2, the machining system SYS includes a machining unit 1, a measuring unit 2, a control unit 3, and an output unit 4. However, the machining system SYS does not necessarily have to include the output unit 4. The machining unit 1 may be called a machining device, the measuring unit 2 may be called a measuring device, the control unit 3 may be called a control device, and the output unit 4 may be called a display device.
[0018] At least a portion of the machining unit 1 and the measuring unit 2 may be accommodated in the internal space SP of the housing 5. The internal space SP of the housing 5 may be purged with a purge gas (i.e., gas) such as nitrogen gas, or may not be purged with a purge gas. The internal space SP of the housing 5 may or may not be evacuated. However, at least a portion of the machining unit 1 and the measuring unit 2 may not be accommodated in the internal space SP of the housing 5. A local space surrounding only at least a portion of the machining unit 1 and the measuring unit 2 may be purged with a purge gas, or may be evacuated.
[0019] However, the machining unit 1 and the measuring unit 2 may be arranged outside the housing 5. When the machining unit 1 is arranged outside the housing 5, at least a portion of the machining unit 1 may be accommodated in the internal space SP when the machining unit 1 processes the workpiece W. In this case, the machining unit 1 may be inserted into one or more openings formed in the housing 5. For example, when the machining unit 1 processes the workpiece W, the machining unit 1 may be inserted into one or more openings formed in the housing 5, so that at least a portion of the machining unit 1 is accommodated in the internal space SP. When the measuring unit 2 is arranged outside the housing 5, at least a portion of the measuring unit 2 may be accommodated in the internal space SP when the measuring unit 2 measures the workpiece W. For example, when the measuring unit 2 measures the workpiece W, the measuring unit 2 may be inserted into one or more openings formed in the housing 5, so that at least a portion of the measuring unit 2 is accommodated in the internal space SP.
[0020] The measuring unit 2 may be attached to the machining unit 1. The measuring unit 2 may be attachable to and detachable from the machining unit 1. The measuring unit 2 may be disposed inside the machining unit 1. That is, the measuring unit 2 may be built into the machining unit 1. When the measuring unit 2 is disposed inside the machining unit 1, the structure for inserting both the machining unit 1 and the measuring unit 2 into the housing 5 (i.e., accommodating them in the internal space SP) through one or more openings formed in the housing 5 is simplified. For example, instead of two openings into which the machining unit 1 and the measuring unit 2 are inserted, the housing 5 may have a single opening into which the machining unit 1 with the built-in measuring unit 2 is inserted. As a result, the structure of the housing 5 is simplified when a single opening is formed in the housing 5 compared to when two openings are formed in the housing 5.
[0021] Gas may be circulated in the internal space SP to collect unwanted substances (e.g., fumes) generated due to the processing of the workpiece W. For example, the processing system SYS may supply gas to the internal space from a gas supply port formed in the housing 5, and collect the gas supplied to the internal space together with the unwanted substances from a gas recovery port formed in the housing 5. Note that, when the workpiece W is processed, the processing system SYS may ensure the airtightness of the internal space SP by stopping the circulation of gas in the internal space SP. For example, when the workpiece W is processed, the processing system SYS may ensure the airtightness of the internal space SP by stopping the supply of gas to the internal space SP via the gas supply port and the recovery of gas from the internal space SP via the gas recovery port.
[0022] The machining unit 1 is capable of machining a workpiece W, which is an object to be machined (which may also be referred to as a base material), under the control of the control unit 3. The workpiece W may be, for example, a metal, an alloy (e.g., duralumin, etc.), a semiconductor (e.g., silicon), a resin, a composite material such as CFRP (Carbon Fiber Reinforced Plastic), paint (for example, a paint layer applied to a base material), glass, or an object made of any other material.
[0023] The machining unit 1 irradiates the workpiece W with processing light EL to process the workpiece W. The processing light EL may be any type of light as long as it can process the workpiece W when irradiated thereon. In this embodiment, the processing light EL is described using an example in which the processing light EL is laser light, but the processing light EL may be a type of light other than laser light. Furthermore, the wavelength of the processing light EL may be any wavelength as long as it can process the workpiece W when irradiated thereon. For example, the processing light EL may be visible light or invisible light (e.g., at least one of infrared light, ultraviolet light, and extreme ultraviolet light). The processing light EL may include pulsed light. Alternatively, the processing light EL may not include pulsed light. In other words, the processing light EL may be continuous light. Note that, because light is an example of an energy beam, the processing light EL may also be referred to as a processing beam.
[0024] The intensity distribution of the processing light EL on the surface of the workpiece W may be a desired distribution. For example, the intensity distribution of the processing light EL on the surface of the workpiece W may be a Gaussian distribution. For example, the intensity distribution of the processing light EL on the surface of the workpiece W may be a top-hat distribution.
[0025] The machining unit 1 may be capable of controlling the intensity distribution of the processing light EL on the surface of the workpiece W. The machining unit 1 may be capable of changing the intensity distribution of the processing light EL on the surface of the workpiece W. For example, the machining unit 1 may be capable of changing the intensity distribution of the processing light EL on the surface of the workpiece W from a first distribution to a second distribution. For example, the machining unit 1 may be capable of changing the intensity distribution of the processing light EL on the surface of the workpiece W from either a Gaussian distribution or a top-hat distribution to the other of a Gaussian distribution and a top-hat distribution.
[0026] The machining unit 1 performs removal processing on the workpiece W. That is, the machining unit 1 performs removal processing to remove a part of the workpiece W. However, as will be described in detail later, the machining unit 1 may perform processing on the workpiece W that is different from removal processing.
[0027] The machining unit 1 may process the workpiece W to form a desired structure on the surface of the workpiece W. However, the machining unit 1 may perform a process different from the process for forming the desired structure on the surface of the workpiece W. An example of a process different from the process for forming the desired structure on the surface of the workpiece W may be flattening of the workpiece W. The flattening of the workpiece W may include grinding the surface of the workpiece W to make it flat.
[0028] An example of a desired structure is a riblet structure. The riblet structure may include a structure that can reduce the resistance of the surface of the workpiece W to the fluid (particularly, at least one of frictional resistance and turbulent frictional resistance). For this reason, the riblet structure may be formed on a workpiece W having a component that is installed (in other words, located) in the fluid. Note that the term "fluid" here refers to a medium (e.g., at least one of gas and liquid) that flows relative to the surface of the workpiece W. For example, when the surface of the workpiece W moves relative to a medium while the medium itself is stationary, this medium may also be referred to as a fluid. Note that the state in which the medium is stationary may also refer to a state in which the medium is not moving relative to a predetermined reference object (e.g., the ground surface).
[0029] Examples of workpieces W on which riblet structures may be formed include at least one of automobiles, motorcycles, bicycles, race cars, railroad vehicles, aircraft, drones, ships, wind turbines, engine turbines, and power-generating turbines. When such riblet structures are formed on the workpieces W, the workpieces W become more easily movable relative to the fluid. This reduces the resistance that impedes the movement of the workpieces W relative to the fluid, leading to energy savings. In other words, it becomes possible to manufacture environmentally friendly workpieces W. For example, if the workpieces W are components exposed on the surface of an aircraft (e.g., at least a portion of the aircraft), the resistance that impedes the movement of the aircraft is reduced, leading to fuel savings for the aircraft. For example, if the workpieces W are wind turbines (e.g., at least a portion of the wind turbine), the resistance that impedes the movement (typically, rotation) of the wind turbine is reduced, leading to higher efficiency of the wind turbine. For example, if the workpiece W is an engine turbine (e.g., at least a part of an engine turbine), the resistance that hinders the movement (typically, rotation) of the engine turbine is reduced, leading to higher efficiency or energy savings of the engine turbine. For example, if the workpiece W is a power generation turbine (e.g., at least a part of a power generation turbine), the resistance that hinders the movement (typically, rotation) of the power generation turbine is reduced, leading to higher efficiency of the power generation turbine (i.e., improved power generation efficiency). Therefore, the processing unit 1 may be able to contribute to "13.2.2 Reduce total greenhouse gas emissions per year," which is one of the goals set out in Goal 13 of the United Nations-led Sustainable Development Goals (SDGs) "Take urgent action to combat climate change and its impact."
[0030] The machining unit 1 can further measure the workpiece W under the control of the control unit 3. In order to measure the workpiece W, the machining unit 1 irradiates the workpiece W with measurement light ML1 for measuring the workpiece W. That is, the machining unit 1 measures the workpiece W using a measurement method using the measurement light ML1. Specifically, the machining unit 1 measures the workpiece W by irradiating the workpiece W with the measurement light ML1 and detecting (i.e., receiving) at least a portion of the return light RL returning from the workpiece W irradiated with the measurement light ML1. The return light RL returning from the workpiece W irradiated with the measurement light ML1 is light from the workpiece W generated by the irradiation with the measurement light ML1. However, the machining unit 1 may measure the workpiece W using a measurement method different from the measurement method using the measurement light ML1.
[0031] The measurement light ML1 may be any type of light as long as it can measure the workpiece W by irradiating it onto the workpiece W. In this embodiment, the description will be given using an example in which the measurement light ML1 is laser light. However, the measurement light ML1 may be a type of light other than laser light. Furthermore, the wavelength of the measurement light ML1 may be any wavelength as long as it can measure the workpiece W by irradiating it onto the workpiece W. For example, the measurement light ML1 may be visible light or invisible light (e.g., at least one of infrared light, ultraviolet light, and extreme ultraviolet light). The measurement light ML1 may include pulsed light (e.g., pulsed light having an emission time of picoseconds or less). Alternatively, the measurement light ML1 may not include pulsed light. In other words, the measurement light ML1 may be continuous light. Note that, since light is an example of an energy beam, the measurement light ML1 may be referred to as a measurement beam.
[0032] The machining unit 1 may be capable of using the measurement light ML1 to measure the characteristics of the workpiece W. The characteristics of the workpiece W may include, for example, at least one of the position of the workpiece W, the shape of the workpiece W, the reflectance of the workpiece W, the transmittance of the workpiece W, the temperature of the workpiece W, and the surface roughness of the workpiece W.
[0033] In order to process and measure the workpiece W, the processing unit 1 is equipped with a processing light source 11, a measurement light source 12, a processing head 13, a head drive system 141, a head position measurement device 142, a stage 15, a stage drive system 161, and a stage position measurement device 162.
[0034] The processing light source 11 generates the processing light EL. When the processing light EL is a laser beam, the processing light source 11 may include, for example, a laser diode. Furthermore, the processing light source 11 may be a light source capable of pulse oscillation. In this case, the processing light source 11 can generate pulsed light as the processing light EL. Note that the processing light source 11 may also be a CW (continuous wave) light source that generates a CW beam.
[0035] The measurement light source 12 generates the measurement light ML1. When the measurement light ML1 is a laser beam, the measurement light source 12 may include, for example, a laser diode. Furthermore, the measurement light source 12 may be a light source capable of pulse oscillation. In this case, the measurement light source 12 can generate pulsed light as the processing light EL. Note that the measurement light source 12 may also be a CW (continuous wave) light source that generates a CW.
[0036] The machining head 13 irradiates the workpiece W with the machining light EL generated by the machining light source 11 and with the measurement light ML1 generated by the measurement light source 12. In order to irradiate the workpiece W with the machining light EL and with the measurement light ML1, the machining head 13 includes an emission optical system 130, an irradiation optical system 135, and a hood 136, as shown in Fig. 3, which is a block diagram showing the configuration of the machining head 13. However, the machining head 13 does not necessarily have to include the hood 136.
[0037] The emission optical system 130 is an optical system into which the processing light EL generated by the processing light source 11 and the measurement light ML1 generated by the measurement light source 12 are incident. The emission optical system 130 is an optical system capable of emitting each of the processing light EL and the measurement light ML1. To emit each of the processing light EL and the measurement light ML1, the emission optical system 130 may include a processing optical system 131, a measurement optical system 132, a combining optical system 133, and a deflection optical system 134, as shown in FIG. 3 . However, the emission optical system 130 does not necessarily have to include at least one of the processing optical system 131, the measurement optical system 132, the combining optical system 133, and the deflection optical system 134. The processing optical system 131, the measurement optical system 132, the combining optical system 133, and the deflection optical system 134 will be described in detail later with reference to FIG. 4 etc.
[0038] The processing light EL and measurement light ML1 emitted by the emission optical system 130 are each incident on the irradiation optical system 135. Therefore, the emission optical system 130 emits the processing light EL and measurement light ML1 toward the irradiation optical system 135. The irradiation optical system 135 is an optical system capable of irradiating the processing light EL onto the workpiece W. The irradiation optical system 135 is an optical system capable of irradiating the measurement light ML1 onto the workpiece W. The irradiation optical system 135 may also be referred to as an objective optical system.
[0039] The hood 136 may function as a protective member (in other words, a cover member) for protecting at least a portion of the processing head 13. For example, the hood 136 may function as a protective member (in other words, a cover member) for protecting the irradiation optical system 135 included in the processing head 13. In addition to or instead of functioning as a protective member, the hood 136 may function as a gas supply member for supplying gas (e.g., purge gas) to the gas supply target. Note that when the hood 136 functions as a gas supply member for supplying purge gas, at least a portion of the space around the gas supply target may be locally purged with the purge gas. In other words, the hood 136 may form a local purge space purged with the purge gas around the gas supply target.
[0040] The head drive system 141 moves the processing head 13. Therefore, the processing head 13 is movable (i.e., movable). The head drive system 141 may also be called a moving device.
[0041] The head drive system 141 may move (i.e., linearly move) the machining head 13 along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction. In other words, the head drive system 141 may move (i.e., linearly move) the machining head 13 so as to change the position of the machining head 13 along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction. In this case, the position of the machining head 13 can be changed along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction.
[0042] The head drive system 141 may move the machining head 13 along at least one of the θX direction, the θY direction, and the θZ direction. That is, the head drive system 141 may move (i.e., rotate) the machining head 13 so as to change the position of the machining head 13 along the θX direction, the θY direction, and the θZ direction. In this case, the position of the machining head 13 can be changed along at least one of the θX direction, the θY direction, and the θZ direction. The operation of moving the machining head 13 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the operation of rotating (i.e., rotationally moving) the machining head 13 around at least one of the rotation axis along the X-axis direction (i.e., the A-axis), the rotation axis along the Y-axis direction (i.e., the B-axis), and the rotation axis along the Z-axis direction (i.e., the C-axis). The operation of moving the machining head 13 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the operation of changing the attitude (in other words, the tilt) of the machining head 13.
[0043] When the head drive system 141 moves the machining head 13, the relative positional relationship between the machining head 13 and the stage 15 (and further, the workpiece W placed on the stage 15) changes. As a result, the relative positional relationship between the target irradiation area PA onto which the machining head 13 irradiates the machining light EL and the workpiece W changes. In other words, the target irradiation area PA onto which the machining head 13 irradiates the machining light EL moves relative to the workpiece W. The machining unit 1 may machine the workpiece W while moving the machining head 13. Specifically, the machining unit 1 may machine a desired position on the workpiece W by moving the machining head 13 so that the desired position on the workpiece W is irradiated with the machining light EL.
[0044] Furthermore, when the head drive system 141 moves the machining head 13, the relative positional relationship between the target irradiation area MA onto which the machining head 13 irradiates the measurement light ML1 and the workpiece W changes. In other words, the target irradiation area MA onto which the machining head 13 irradiates the measurement light ML1 moves with respect to the workpiece W. The machining unit 1 may measure the workpiece W while moving the machining head 13. Specifically, the machining unit 1 may measure the desired position of the workpiece W by moving the machining head 13 so that the measurement light ML1 is irradiated onto the desired position of the workpiece W.
[0045] The head position measuring device 142 can measure the position of the machining head 13. The head position measuring device 142 may measure the position of the machining head 13 along at least one of the X-axis direction, the Y-axis direction, the Z-axis direction, the θX direction, the θY direction, and the θZ direction. The position of the machining head 13 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the attitude (e.g., tilt) of the machining head 13 around at least one rotation axis of the A-axis, the B-axis, and the C-axis. The position of the machining head 13 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the amount of rotation of the machining head 13 around at least one rotation axis of the A-axis, the B-axis, and the C-axis (in other words, the rotation angle). The measurement result of the head position measuring device 142 may be input to the control unit 3 as head position information indicating the position of the machining head 13.
[0046] The head position measurement device 142 may include, for example, an interferometer (e.g., a laser interferometer). The head position measurement device 142 may include, for example, an encoder. Examples of the encoder include at least one of a linear encoder and a rotary encoder. The head position measurement device 142 may include, for example, a potentiometer. When the head drive system 141 uses a stepping motor as a drive source, the head position measurement device 142 may include, for example, an open-loop control position detection device. The open-loop control position detection device is a position detection device that measures the position of the machining head 13 by estimating the amount of movement of the machining head 13 from the integrated value of the number of pulses used to drive the stepping motor.
[0047] Because the machining head 13 is equipped with the irradiation optical system 135, the operation of measuring the position of the machining head 13 may be considered equivalent to the operation of measuring the position of the irradiation optical system 135 equipped in the machining head 13. In other words, the head position measuring device 142 may be considered to measure the position of the irradiation optical system 135 equipped in the machining head 13.
[0048] Because the machining head 13 can be moved by the head drive system 141, the head position measurement device 142 may be considered to be detecting the movement of the machining head 13. In other words, the head position measurement device 142 may be considered to be detecting the movement of the machining head 13. The movement of the machining head 13 may mean the movement of the machining head 13 along at least one of the X-axis direction, the Y-axis direction, the Z-axis direction, the θX direction, the θY direction, and the θZ direction. For example, the movement of the machining head 13 may include a change in the position of the machining head 13. For example, the movement of the machining head 13 may include a change in the attitude (in other words, the tilt) of the machining head 13. However, when the head drive system 141 keeps the machining head 13 stationary, the movement of the machining head 13 may include a state in which the machining head 13 is stationary (i.e., a state related to the movement of the machining head 13).
[0049] A workpiece W is placed on the stage 15. For this reason, the stage 15 may be referred to as a placement device. Specifically, the workpiece W is placed on a placement surface 151, which is at least a portion of the upper surface of the stage 15. The stage 15 is capable of supporting the workpiece W placed on the stage 15. The stage 15 may also be capable of holding the workpiece W placed on the stage 15. In this case, the stage 15 may be equipped with at least one of a mechanical chuck, a magnetic chuck, an electrostatic chuck, a vacuum chuck, or the like, to hold the workpiece W. Alternatively, a jig 152 for holding the workpiece W may hold the workpiece W, and the stage 15 may hold the jig 152 holding the workpiece W. In the following description, an example will be described in which the jig 152 holds the workpiece W, and the stage 15 holds the jig 152 holding the workpiece W. Alternatively, the stage 15 may not hold the workpiece W placed on the stage 15. In this case, the workpiece W may be placed on the stage 15 in a clampless manner.
[0050] The stage drive system 161 moves the stage 15. Therefore, the stage 15 is movable (i.e., movable). The stage drive system 161 may also be called a moving device.
[0051] The stage drive system 161 may move (i.e., linearly move) the stage 15 along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction. In other words, the stage drive system 161 may move (i.e., linearly move) the stage 15 so as to change the position of the stage 15 along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction. In this case, the position of the stage 15 can be changed along at least one of the X-axis direction, the Y-axis direction, and the Z-axis direction.
[0052] The stage drive system 161 may move the stage 15 along at least one of the θX direction, the θY direction, and the θZ direction. That is, the stage drive system 161 may move (i.e., rotate) the stage 15 so as to change the position of the stage 15 along the θX direction, the θY direction, and the θZ direction. In this case, the position of the stage 15 can be changed along at least one of the θX direction, the θY direction, and the θZ direction. Note that the operation of moving the stage 15 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the operation of rotating (i.e., rotationally moving) the stage 15 around at least one of the rotation axis along the X-axis direction (i.e., the A-axis), the rotation axis along the Y-axis direction (i.e., the B-axis), and the rotation axis along the Z-axis direction (i.e., the C-axis). The operation of moving the stage 15 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the operation of changing the attitude (in other words, the tilt) of the stage 15.
[0053] When the stage drive system 161 moves the stage 15, the relative positional relationship between the machining head 13 and the stage 15 (and further, the workpiece W placed on the stage 15) changes. As a result, the relative positional relationship between the irradiation area onto which the machining head 13 irradiates the machining light EL and the workpiece W changes. In other words, the irradiation area onto which the machining head 13 irradiates the machining light EL moves relative to the workpiece W. The machining unit 1 may machine the workpiece W while moving the stage 15. Specifically, the machining unit 1 may machine a desired position on the workpiece W by moving the stage 15 so that the desired position on the workpiece W is irradiated with the machining light EL.
[0054] Furthermore, when the stage drive system 161 moves the stage 15, the relative positional relationship between the target irradiation area MA onto which the machining head 13 irradiates the measurement light ML1 and the workpiece W changes. In other words, the target irradiation area MA onto which the machining head 13 irradiates the measurement light ML1 moves with respect to the workpiece W. The machining unit 1 may measure the workpiece W while moving the stage 15. Specifically, the machining unit 1 may measure the desired position of the workpiece W by moving the stage 15 so that the measurement light ML1 is irradiated onto the desired position of the workpiece W.
[0055] The stage position measurement device 162 can measure the position of the stage 15. The stage position measurement device 162 may measure the position of the stage 15 along at least one of the X-axis direction, the Y-axis direction, the Z-axis direction, the θX direction, the θY direction, and the θZ direction. The position of the stage 15 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the attitude (in other words, the tilt) of the stage 15 around at least one rotation axis of the A-axis, the B-axis, and the C-axis. The position of the stage 15 along at least one of the θX direction, the θY direction, and the θZ direction may be considered equivalent to the amount of rotation (in other words, the rotation angle) of the stage 15 around at least one rotation axis of the A-axis, the B-axis, and the C-axis. The measurement result of the head position measurement device 142 may be input to the control unit 3 as stage position information indicating the position of the stage 15.
[0056] The stage position measurement device 162 may include, for example, an interferometer (e.g., a laser interferometer). The stage position measurement device 162 may include, for example, an encoder. Examples of the encoder include at least one of a linear encoder and a rotary encoder. The stage position measurement device 162 may include, for example, a potentiometer. When the stage drive system 161 uses a stepping motor as a drive source, the stage position measurement device 162 may include, for example, a position detection device of an open-loop control type. The open-loop control type position detection device is a position detection device that measures the position of the stage 15 by estimating the amount of movement of the stage 15 from the integrated value of the number of pulses for driving the stepping motor.
[0057] Because the stage 15 can be moved by the stage drive system 161, the head position measurement device 142 may be considered to be detecting the movement of the stage 15. In other words, the head position measurement device 142 may be considered to be detecting the movement of the stage 15. The movement of the stage 15 may mean the movement of the stage 15 along at least one of the X-axis direction, the Y-axis direction, the Z-axis direction, the θX direction, the θY direction, and the θZ direction. For example, the movement of the stage 15 may include a change in the position of the stage 15. For example, the movement of the stage 15 may include a change in the attitude (in other words, the tilt) of the stage 15. However, when the stage drive system 161 keeps the stage 15 stationary, the movement of the stage 15 may also include a state in which the stage 15 is stationary (i.e., a state of the stage 15 related to movement).
[0058] The measurement unit 2 is capable of measuring the measurement object M under the control of the control unit 3. The measurement object M may include a workpiece W. Specifically, the measurement object M may include at least one of a workpiece W that has not yet been subjected to removal processing by the processing unit 1, a workpiece W that is in the middle of being subjected to removal processing by the processing unit 1, and a workpiece W that has been subjected to removal processing by the processing unit 1. The measurement object M may include a stage 15 on which the workpiece W can be placed. The measurement object M may include a jig 152 that holds the workpiece W. The measurement object M may include any object placed on the stage 15. The measurement object M may include the inner wall of the housing 5.
[0059] The measurement unit 2 is capable of measuring any characteristic of the measurement object M. One example of a characteristic of the measurement object M is the position of the measurement object M. Another example of a characteristic of the measurement object M is the shape (e.g., two-dimensional or three-dimensional shape) of the measurement object M. Another example of a characteristic of the measurement object M is a point cloud on the surface of the measurement object M in a Cartesian coordinate system. In other words, measuring the measurement object M may include acquiring point cloud data indicating the point cloud on the surface of the measurement object M. Another example of a characteristic of the measurement object M is a point cloud on the surface of a structure located in the periphery of the measurement object M in a Cartesian coordinate system. In other words, measuring the measurement object M may include acquiring point cloud data indicating the point cloud on the surface of a structure located in the periphery of the measurement object M. Another example of a characteristic of the measurement object M is at least one of the reflectance of the measurement object M, the transmittance of the measurement object M, and the surface roughness of the measurement object M. In the following description, an example in which the measurement unit 2 is capable of measuring the three-dimensional shape of the measurement object M will be described.
[0060] The measurement unit 2 may measure the measurement object M using any measurement method. For example, the measurement unit 2 may measure the measurement object M optically, electrically, magnetically, physically, chemically, or thermally. The measurement unit 2 may measure the measurement object M without contacting the measurement object M. The measurement unit 2 may measure the measurement object M by contacting the measurement object M.
[0061] In this embodiment, an example will be described in which the measurement unit 2 optically measures the measurement object M by irradiating the measurement light ML2 onto the measurement object M without contacting the measurement object M. For example, the measurement unit 2 may measure the measurement object M using a light-section method in which the measurement light ML2, which is a slit light, is projected onto the surface of the measurement object M and the shape of the projected slit light is measured. For example, the measurement unit 2 may measure the measurement object M using a white light interferometry in which an interference pattern between the measurement light ML2, which is a white light that has passed through the measurement object M, and the white light that has not passed through the measurement object M. For example, the measurement unit 2 may measure the measurement object M using a pattern projection method in which the measurement light ML2 that draws a light pattern on the surface of the measurement object M is projected and the shape of the projected pattern is measured. For example, the measurement unit 2 may measure the measurement object M using a time-of-flight method in which an operation of projecting measurement light ML2 onto the surface of the measurement object M and measuring the distance to the measurement object M from the time it takes for the projected measurement light ML2 to return is performed at multiple positions on the measurement object M. Note that the measurement unit 2 using the time-of-flight method may be referred to as a depth sensor. The measurement unit 2 may measure the measurement object M using at least one of a moire topography method (specifically, a grating illumination method or a grating projection method), a holographic interferometry method, an autocollimation method, a stereo method, an astigmatism method, a critical angle method, a knife-edge method, an interferometry method, and a confocal method.
[0062] The control unit 3 is an information processing device capable of controlling the operation of the machining system SYS. For example, the control unit 3 may be an information processing device capable of controlling the machining of the workpiece W by the machining system SYS (particularly, the machining of the workpiece W by the machining unit 1). For example, the control unit 3 may be an information processing device capable of controlling the measurement of the workpiece W by the machining system SYS (particularly, the measurement of the workpiece W by the machining unit 1). For example, the control unit 3 may be an information processing device capable of controlling the measurement of the measurement object M by the machining system SYS (particularly, the measurement of the measurement object M by the measurement unit 2). The control unit 3 may be considered to be a computer that is a device for instructing the operation of the machining unit 1. For example, the control unit 3 may be considered to be a computer that is a device for instructing the machining system SYS (particularly, the machining unit 1) to machine the workpiece W. For example, the control unit 3 may be considered to be a computer that is a device for instructing the machining system SYS (particularly, the machining unit 1) to measure the workpiece W. For example, the control unit 3 may be considered to be a computer, which is a device for instructing the processing system SYS (particularly the measurement unit 2) to measure the measurement object M.
[0063] For example, the control unit 3 may control the operation of the machining head 13 included in the machining unit 1. For example, the control unit 3 may control the operation of at least one of the machining optical system 131, the measurement optical system 132, the synthesis optical system 133, the deflection optical system 134, and the irradiation optical system 135 included in the machining head 13. For example, the control unit 3 may control the operation of the head drive system 141 included in the machining unit 1 (e.g., the movement of the machining head 13). For example, the control unit 3 may control the operation of the stage drive system 161 included in the machining unit 1 (e.g., the movement of the stage 15). In addition to or instead of controlling the operation of the machining unit 1, the control unit 3 may control the operation of the measurement unit 2.
[0064] As an example, the control unit 3 may control at least one of the machining unit 1 and the measurement unit 2 based on machining control information for controlling the machining system SYS to machine the workpiece W. The machining control information may include machining path information. The machining path information may indicate a relative movement trajectory of the target irradiation area PA of the machining light EL on the surface of the workpiece W relative to the surface of the workpiece W. In other words, the machining path information may indicate a relative movement trajectory (so-called machining path) of the irradiation position of the machining light EL on the surface of the workpiece W relative to the surface of the workpiece W.
[0065] As another example, the control unit 3 may control at least one of the machining unit 1 and the measurement unit 2 based on measurement control information for controlling the machining system SYS to measure the measurement object M. The measurement control information may include measurement path information. The measurement path information may indicate a relative movement trajectory of the target irradiation area MA of the measurement light ML1 on the surface of the workpiece W with respect to the surface of the workpiece W. In other words, the measurement path information may indicate a relative movement trajectory (so-called measurement path) of the irradiation position of the measurement light ML1 on the surface of the workpiece W with respect to the surface of the workpiece W.
[0066] The control unit 3 may include, for example, an arithmetic device 31 and a storage device 32. The arithmetic device 31 may include, for example, at least one of a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit). The storage device 32 may include, for example, a memory. The control unit 3 functions as a device that controls the operation of the machining unit 1 by the arithmetic device 31 executing a computer program. This computer program is a computer program for causing the arithmetic device 31 to perform (i.e., execute) the operations to be performed by the control unit 3, which will be described later. In other words, this computer program is a computer program for causing the control unit 3 to function so as to cause the machining unit 1 to perform the operations to be performed by the control unit 3, which will be described later. In other words, this computer program is a computer program for causing the arithmetic device 31 to perform (i.e., execute) an information processing method corresponding to the operations to be performed by the control unit 3, which will be described later. The computer program executed by the arithmetic device 31 may be recorded in a storage device 32 (i.e., a recording medium) provided in the control unit 3, or may be recorded in any storage medium (e.g., a hard disk or semiconductor memory) built into the control unit 3 or externally attachable to the control unit 3. Alternatively, the arithmetic device 31 may download the computer program to be executed from a device external to the control unit 3 via a network interface.
[0067] The control unit 3 does not have to be provided inside the machining unit 1. For example, the control unit 3 may be provided outside the machining unit 1 as a server or the like. In this case, the control unit 3 and the machining unit 1 may be connected via a wired and / or wireless network (or a data bus and / or communication line). As the wired network, for example, a network using a serial bus interface represented by at least one of IEEE1394, RS-232x, RS-422, RS-423, RS-485, and USB may be used. As the wired network, a network using a parallel bus interface may be used. As the wired network, a network using an interface compliant with Ethernet (registered trademark), represented by at least one of 10BASE-T, 100BASE-TX, and 1000BASE-T may be used. As the wireless network, a network using radio waves may be used. An example of a network using radio waves is a network compliant with IEEE 802.1x (for example, at least one of a wireless LAN and Bluetooth (registered trademark)). A network using infrared rays may be used as the wireless network. A network using optical communication may be used as the wireless network. In this case, the control unit 3 and the machining unit 1 may be configured to be able to send and receive various information via the network. The control unit 3 may also be able to send information such as commands and control parameters to the machining unit 1 via the network. The machining unit 1 may include a receiving device that receives information such as commands and control parameters from the control unit 3 via the network. The machining unit 1 may also include a transmitting device (i.e., an output device that outputs information to the control unit 3) that transmits information such as commands and control parameters to the control unit 3 via the network. Alternatively, a first control device that performs part of the processing performed by the control unit 3 may be provided inside the machining unit 1, while a second control device that performs another part of the processing performed by the control unit 3 may be provided outside the machining unit 1.
[0068] A computational model that can be constructed by machine learning may be implemented in the control unit 3 by the arithmetic device 31 executing a computer program. An example of a computational model that can be constructed by machine learning is a computational model including a neural network (so-called artificial intelligence (AI)). In this case, learning of the computational model may include learning of parameters of the neural network (e.g., at least one of a weight and a bias). The control unit 3 may control the operation of the machining unit 1 using the computational model. In other words, the operation of controlling the operation of the machining unit 1 may include the operation of controlling the operation of the machining unit 1 using the computational model. Note that a computational model that has been constructed by offline machine learning using training data may be implemented in the control unit 3. Furthermore, the computational model implemented in the control unit 3 may be updated on the control unit 3 by online machine learning. Alternatively, the control unit 3 may control the operation of the processing unit 1 using a computational model implemented in a device external to the control unit 3 (i.e., a device provided outside the processing unit 1) in addition to or instead of the computational model implemented in the control unit 3.
[0069] The recording medium for recording the computer program executed by the control unit 3 may be at least one of the following: a CD-ROM, CD-R, CD-RW, a flexible disk, an MO, a DVD-ROM, a DVD-RAM, a DVD-R, a DVD+R, a DVD-RW, a DVD+RW, or an optical disk such as Blu-ray (registered trademark), a magnetic medium such as a magnetic tape, a magneto-optical disk, a semiconductor memory such as a USB memory, or any other medium capable of storing a program. The recording medium may also include a device capable of recording a computer program (for example, a general-purpose device or a dedicated device in which a computer program is implemented in an executable state in at least one form such as software or firmware). Furthermore, each process or function included in the computer program may be realized by a logical processing block realized within the control unit 3 when the control unit 3 (i.e., the computer) executes the computer program, or may be realized by hardware such as a predetermined gate array (FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit)) provided in the control unit 3, or may be realized in a form that combines logical processing blocks and partial hardware modules that realize some elements of the hardware.
[0070] The output unit 4 is a device that outputs information. For example, the output unit 4 may output information as an image. That is, the output unit 4 may include a display device (a so-called display) that can display an image showing the information to be output. For example, the output unit 4 may output information as sound. That is, the output unit 4 may include an audio device (a so-called speaker) that can output sound. For example, the output unit 4 may output information on paper. That is, the output unit 4 may include a printing device (a so-called printer) that can print desired information on paper. The output unit 4 may include an output interface for outputting information to an information output device external to the machining system SYS.
[0071] (1-2) Configuration of the Processing Head 13 Next, an example of the configuration of the processing head 13 will be described with reference to Fig. 4. Fig. 4 is a cross-sectional view showing an example of the configuration of the processing head 13.
[0072] 4, the processing light EL generated by the processing light source 11 is incident on the processing head 13 via an optical transmission member 111 such as an optical fiber. However, the processing light EL may be incident on the processing head 13 by spatial transmission using a mirror. The processing light source 11 may be disposed outside the processing head 13. The processing light source 11 may also be disposed inside the processing head 13.
[0073] A plurality of processing lights EL may be incident on the processing head 13. In this case, the processing unit 1 may be provided with a plurality of processing light sources 11 capable of generating the plurality of processing lights EL, respectively. All of the plurality of processing light sources 11 may be disposed inside the processing head 13. All of the plurality of processing light sources 11 may be disposed outside the processing head 13. At least one of the plurality of processing light sources 11 may be disposed inside the processing head 13, and at least one other of the plurality of processing light sources 11 may be disposed outside the processing head 13.
[0074] As described above, the processing head 13 includes the emission optical system 130 including the processing optical system 131, the measurement optical system 132, the synthesis optical system 133, and the deflection optical system 134. Furthermore, as described above, the processing head 13 includes the irradiation optical system 135. The processing head 13 may also include a drain pan for draining water and a water leakage sensor.
[0075] The processing optical system 131 is an optical system into which the processing light EL from the processing light source 11 is incident. The processing optical system 131 is an optical system that emits the processing light EL incident on the processing optical system 131 toward the combining optical system 133. The processing light EL emitted by the processing optical system 131 is irradiated onto the workpiece W via the combining optical system 133, the deflection optical system 134, and the irradiation optical system 135.
[0076] The processing optical system 131 may include, for example, a position adjustment optical system 1311, an angle adjustment optical system 1312, and a galvanometer mirror 1313. However, the processing optical system 131 does not have to include at least one of the position adjustment optical system 1311, the angle adjustment optical system 1312, and the galvanometer mirror 1313.
[0077] The position adjustment optical system 1311 can adjust the emission position of the processing light EL from the processing optical system 131. The position adjustment optical system 1311 may include, for example, a parallel plane plate that can be tilted with respect to the traveling direction of the processing light EL, and the emission position of the processing light EL may be changed by changing the tilt angle of the parallel plane plate.
[0078] The angle adjustment optical system 1312 can adjust the emission angle (i.e., emission direction) of the processing light EL from the processing optical system 131. The angle adjustment optical system 1312 may include, for example, a mirror that can be tilted with respect to the traveling direction of the processing light EL, and the emission angle of the processing light EL may be changed by changing the tilt angle of this mirror.
[0079] The galvanometer mirror 1313 is a deflection optical system that deflects the processing light EL (i.e., changes the emission angle of the processing light EL). By deflecting the processing light EL, the galvanometer mirror 1313 changes the focusing position of the processing light EL in a plane intersecting the optical axis EX of the irradiation optical system 135 (i.e., in a plane along the XY plane). Typically, as shown in FIG. 4 , the processing head 13 irradiates the workpiece W with the processing light EL in a state where the optical axis EX intersects with the surface of the workpiece W. Therefore, when the focusing position of the processing light EL in the plane intersecting the optical axis EX is changed, the target irradiation area PA of the processing light EL on the surface of the workpiece W moves in a direction along the surface of the workpiece W. In other words, the target irradiation area PA of the processing light EL moves along at least one of the X-axis direction and the Y-axis direction.
[0080] The galvanometer mirror 1313 includes an X-scanning mirror 1313X and a Y-scanning mirror 1313Y. Each of the X-scanning mirror 1313X and the Y-scanning mirror 1313Y is a tilt-angle variable mirror whose angle with respect to the optical path of the processing light EL incident on the galvanometer mirror 1313 is changeable. The X-scanning mirror 1313X deflects the processing light EL so as to move the target irradiation area PA of the processing light EL on the workpiece W along the X-axis direction. In this case, the X-scanning mirror 1313X may be rotatable or swingable about the Y-axis. The Y-scanning mirror 1313Y deflects the processing light EL so as to move the target irradiation area PA of the processing light EL on the workpiece W along the Y-axis direction. In this case, the Y-scanning mirror 1313Y may be rotatable or swingable about the X-axis.
[0081] The processing light EL emitted from the processing optical system 131 (in this case, the processing light EL emitted from the galvanometer mirror 1313) enters the combining optical system 133. The combining optical system 133 includes a beam splitter (e.g., a polarizing beam splitter) 1331. The beam splitter 1331 emits the processing light EL incident on the beam splitter 1331 toward the deflection optical system 134. In the example shown in FIG. 4 , the processing light EL incident on the beam splitter 1331 passes through the polarization splitting surface of the beam splitter 1331 and is emitted toward the deflection optical system 134. Therefore, in the example shown in FIG. 4 , the processing light EL enters the polarization splitting surface of the beam splitter 1331 in a state having a polarization direction that can pass through the polarization splitting surface (e.g., a polarization direction that becomes p-polarized with respect to the polarization splitting surface).
[0082] The processing light EL emitted from the combining optical system 133 is incident on the deflection optical system 134. The deflection optical system 134 emits the processing light EL incident on the deflection optical system 134 toward the irradiation optical system 135.
[0083] The deflection optical system 134 includes a galvanometer mirror 1341. The processing light EL incident on the deflection optical system 134 is incident on the galvanometer mirror 1341. The galvanometer mirror 1341 deflects the processing light EL (i.e., changes the emission angle of the processing light EL). By deflecting the processing light EL, the galvanometer mirror 1341 changes the focusing position of the processing light EL in a plane intersecting the optical axis EX of the irradiation optical system 135 (i.e., in a plane along the XY plane). Typically, as shown in FIG. 4 , the machining head 13 irradiates the workpiece W with the processing light EL in a state where the optical axis EX intersects with the surface of the workpiece W. Therefore, when the focusing position of the processing light EL in the plane intersecting the optical axis EX is changed, the target irradiation area PA of the processing light EL on the surface of the workpiece W moves in a direction along the surface of the workpiece W. In other words, the target irradiation area PA of the processing light EL moves along at least one of the X-axis direction and the Y-axis direction.
[0084] The galvanometer mirror 1341 includes an X-scanning mirror 1341X and a Y-scanning mirror 1341Y. Each of the X-scanning mirror 1341X and the Y-scanning mirror 1341Y is a tilt-angle variable mirror whose angle with respect to the optical path of the processing light EL incident on the galvanometer mirror 1341 is changeable. The X-scanning mirror 1341X deflects the processing light EL so as to move the target irradiation area PA of the processing light EL on the workpiece W along the X-axis direction. In this case, the X-scanning mirror 1341X may be rotatable or swingable about the Y-axis. The Y-scanning mirror 1341Y deflects the processing light EL so as to move the target irradiation area PA of the processing light EL on the workpiece W along the Y-axis direction. In this case, the Y-scanning mirror 1341Y may be rotatable or swingable about the X-axis.
[0085] The processing light EL emitted from the deflection optical system 134 is incident on the irradiation optical system 135. The irradiation optical system 135 is an optical system capable of irradiating the workpiece W with the processing light EL. In order to irradiate the workpiece W with the processing light EL, the irradiation optical system 135 is equipped with an fθ lens 1351 that can function as an objective optical system. The processing light EL emitted from the deflection optical system 134 is incident on the fθ lens 1351. The fθ lens 1351 irradiates the workpiece W with the processing light EL emitted from the deflection optical system 134. Specifically, the fθ lens 1351 emits the processing light EL in a direction along the optical axis EX of the irradiation optical system 135. As a result, the processing light EL emitted by the fθ lens 1351 travels in a direction along the optical axis EX to be incident on the workpiece W. Note that the optical axis EX of the irradiation optical system 135 may be the optical axis of the fθ lens 1351.
[0086] The fθ lens 1351 may focus the processing light EL from the galvanometer mirror 1341 onto the workpiece W. In this case, the processing light EL emitted from the fθ lens 1351 may be irradiated onto the workpiece W without passing through another optical element (in other words, an optical member such as a lens) having power. In this case, the fθ lens 1351 may be referred to as the final optical element because it is the optical element having the final stage of power (i.e., the optical element closest to the workpiece W) among multiple optical elements arranged on the optical path of the processing light EL. The power of an optical element may be the reciprocal of the focal length of the optical element. In this case, the processing light EL from the galvanometer mirror 1341 may be a parallel beam.
[0087] The irradiation optical system 135 may include an objective optical system having a projection characteristic different from fθ. For example, the irradiation optical system 135 may include an objective optical system having a projection characteristic of f sin θ or f tan θ. For example, the irradiation optical system 135 may include an objective optical system having a projection characteristic of f tan θ.
[0088] At least one of the X scanning mirror 1341X and Y scanning mirror 1341Y constituting the galvanometer mirror 1341 and the X scanning mirror 1313X and Y scanning mirror 1313Y constituting the galvanometer mirror 1313 may be disposed at the entrance pupil position of the fθ lens 1351 serving as the irradiation optical system and / or its conjugate position. At least one of the X scanning mirror 1341X and Y scanning mirror 1341Y and the X scanning mirror 1313X and Y scanning mirror 1313Y may be disposed at a position optically conjugate with the entrance pupil position of the fθ lens 1351. When multiple scanning mirrors are present constituting the galvanometer mirrors 1341 and 1313, a relay optical system may be disposed between the scanning mirrors to make the scanning mirrors optically conjugate with each other.
[0089] The measurement light ML1 generated by the measurement light source 12 is also incident on the processing head 13 via an optical transmission member 121 such as an optical fiber. However, the measurement light ML1 may be incident on the processing head 13 by spatial transmission using a mirror. The measurement light source 12 may be arranged outside the processing head 13. The measurement light source 12 may be arranged inside the processing head 13.
[0090] The measurement light source 12 may include an optical frequency comb light source. An optical frequency comb light source is a light source that can generate light containing frequency components equally spaced on the frequency axis (hereinafter referred to as an "optical frequency comb") as pulsed light. In this case, the measurement light source 12 emits pulsed light containing frequency components equally spaced on the frequency axis as the measurement light ML1. However, the measurement light source 12 may include a light source other than the optical frequency comb light source.
[0091] In the example shown in FIG. 4 , the processing system SYS includes multiple measurement light sources 12. For example, the processing system SYS may include a measurement light source 12#1 and a measurement light source 12#2. The multiple measurement light sources 12 may each emit multiple measurement light beams ML1 that are phase-synchronized and coherent with each other. For example, the multiple measurement light sources 12 may have different oscillation frequencies. Therefore, the multiple measurement light beams ML1 emitted by the multiple measurement light sources 12 may have different pulse frequencies (e.g., the number of pulsed light beams per unit time, which is the reciprocal of the emission period of the pulsed light). However, the processing system SYS may also include a single measurement light source 12.
[0092] The measurement light ML1 emitted from the measurement light source 12 is incident on the measurement optical system 132. The measurement optical system 132 is an optical system that emits the measurement light ML1 incident on the measurement optical system 132 toward the synthesis optical system 133. The measurement light ML1 emitted from the measurement optical system 132 is irradiated onto the workpiece W via the synthesis optical system 133, the deflection optical system 134, and the irradiation optical system 135.
[0093] The measurement optical system 132 includes, for example, a mirror 1320 , a beam splitter 1321 , a beam splitter 1322 , a detector 1323 , a beam splitter 1324 , a mirror 1325 , a detector 1326 , a mirror 1327 , and a galvanometer mirror 1328 .
[0094] The measurement light ML1 emitted from the measurement light source 12 is incident on the beam splitter 1321. Specifically, the measurement light ML1 emitted from the measurement light source 12#1 (hereinafter referred to as "measurement light ML1#1") is incident on the beam splitter 1321. The measurement light ML1 emitted from the measurement light source 12#2 (hereinafter referred to as "measurement light ML1#2") is incident on the beam splitter 1321 via the mirror 1320. The beam splitter 1321 emits the measurement light ML1#1 and ML1#2 incident on the beam splitter 1321 toward the beam splitter 1322. In other words, the beam splitter 1321 emits the measurement light ML1#1 and ML1#2 incident on the beam splitter 1321 from different directions toward the same direction (i.e., the direction in which the beam splitter 1322 is disposed).
[0095] The beam splitter 1322 reflects measurement light ML1#1-1, which is a part of measurement light ML1#1 that is incident on the beam splitter 1322, toward a detector 1323. The beam splitter 1322 emits measurement light ML1#1-2, which is another part of measurement light ML1#1 that is incident on the beam splitter 1322, toward a beam splitter 1324. The beam splitter 1322 reflects measurement light ML1#2-1, which is a part of measurement light ML1#2 that is incident on the beam splitter 1322, toward a detector 1323. The beam splitter 1322 emits measurement light ML1#2-2, which is another part of measurement light ML1#2 that is incident on the beam splitter 1322, toward a beam splitter 1324.
[0096] The measurement beams ML1#1-1 and ML1#2-1 emitted from the beam splitter 1322 are incident on the detector 1323. The detector 1323 receives (i.e., detects) the measurement beams ML1#1-1 and ML1#2-1. In particular, the detector 1323 receives interference light generated by the interference between the measurement beams ML1#1-1 and ML1#2-1. Note that the operation of receiving interference light generated by the interference between the measurement beams ML1#1-1 and ML1#2-1 may be considered equivalent to the operation of receiving the measurement beams ML1#1-1 and ML1#2-1. The detection result of the detector 1323 is output to the control unit 3.
[0097] The measurement beams ML1#1-2 and ML1#2-2 emitted from the beam splitter 1322 are incident on the beam splitter 1324. The beam splitter 1324 emits at least a portion of the measurement beam ML1#1-2 incident on the beam splitter 1324 toward a mirror 1325. The beam splitter 1324 emits at least a portion of the measurement beam ML1#2-2 incident on the beam splitter 1324 toward a mirror 1327.
[0098] The measurement light ML1#1-2 emitted from the beam splitter 1324 is incident on the mirror 1325. The measurement light ML1#1-2 incident on the mirror 1325 is reflected by the reflecting surface of the mirror 1325 (the reflecting surface may also be referred to as a reference surface). Specifically, the mirror 1325 reflects the measurement light ML1#1-2 incident on the mirror 1325 toward the beam splitter 1324. That is, the mirror 1325 emits the measurement light ML1#1-2 incident on the mirror 1325 as measurement light ML1#1-3, which is its reflected light, toward the beam splitter 1324. In this case, the measurement light ML1#1-3 may also be referred to as a reference light. The measurement light ML1#1-3 emitted from the mirror 1325 is incident on the beam splitter 1324. The beam splitter 1324 emits the measurement beams ML1#1-3 incident on the beam splitter 1324 toward the beam splitter 1322. The measurement beams ML1#1-3 emitted from the beam splitter 1324 are incident on the beam splitter 1322. The beam splitter 1322 emits the measurement beams ML1#1-3 incident on the beam splitter 1322 toward the detector 1326.
[0099] On the other hand, measurement light ML1#2-2 emitted from beam splitter 1324 is incident on mirror 1327. Mirror 1327 reflects measurement light ML1#2-2 incident on mirror 1327 toward galvanometer mirror 1328. That is, mirror 1327 emits measurement light ML1#2-2 incident on mirror 1327 toward galvanometer mirror 1328.
[0100] The galvanometer mirror 1328 deflects the measurement light ML1#2-2 (i.e., changes the emission angle of the measurement light ML1#2-2). By deflecting the measurement light ML1#2-2, the galvanometer mirror 1328 changes the focusing position of the measurement light ML1#2-2 in a plane intersecting the optical axis EX of the irradiation optical system 135 (i.e., in a plane along the XY plane). Normally, as shown in FIG. 4 , the machining head 13 irradiates the workpiece W with the measurement light ML1#2-2 in a state where the optical axis EX and the surface of the workpiece W intersect. Therefore, when the focusing position of the measurement light ML1#2-2 in the plane intersecting the optical axis EX is changed, the target irradiation area MA of the measurement light ML1#2-2 on the surface of the workpiece W moves in a direction along the surface of the workpiece W. In other words, the target irradiation area MA of the measurement light ML1#2-2 moves along at least one of the X-axis direction and the Y-axis direction.
[0101] The galvanometer mirror 1328 includes an X-scanning mirror 1328X and a Y-scanning mirror 1328Y. Each of the X-scanning mirror 1328X and the Y-scanning mirror 1328Y is a tilt-angle variable mirror whose angle with respect to the optical path of the measurement light ML1#2-2 incident on the galvanometer mirror 1328 is changed. The X-scanning mirror 1328X deflects the measurement light ML1#2-2 so as to move the target irradiation area MA of the measurement light ML1#2-2 on the workpiece W along the X-axis direction. In this case, the X-scanning mirror 1328X may be rotatable or swingable around the Y-axis. The Y-scanning mirror 1328Y deflects the measurement light ML1#2-2 so as to move the target irradiation area MA of the measurement light ML1#2-2 on the workpiece W along the Y-axis direction. In this case, the Y-scanning mirror 1328Y may be rotatable or swingable around the X-axis.
[0102] Measurement light ML1#2-2 emitted from measurement optical system 132 (in this case, measurement light ML1#2-2 emitted from galvanometer mirror 1328) is incident on combining optical system 133. Beam splitter 1331 of combining optical system 133 emits measurement light ML1#2-2 incident on beam splitter 1331 toward deflection optical system 134. In the example shown in FIG. 4, measurement light ML1#2-2 incident on combining optical system 133 is reflected on the polarization separation surface and is thereby emitted toward deflection optical system 134. Therefore, in the example shown in FIG. 4, measurement light ML1#2-2 is incident on the polarization separation surface of beam splitter 1331 in a state having a polarization direction that can be reflected on the polarization separation surface (for example, a polarization direction that becomes s-polarized light with respect to the polarization separation surface).
[0103] As described above, the processing light EL is incident on the beam splitter 1331 in addition to the measurement light ML1#2-2. That is, both the measurement light ML1#2-2 and the processing light EL pass through the beam splitter 1331. The beam splitter 1331 outputs the processing light EL and the measurement light ML1#2-2, which are incident on the beam splitter 1331 from different directions, in the same direction (that is, toward the same deflection optical system 134). Therefore, the beam splitter 1331 essentially functions as a combining optical element that combines the processing light EL and the measurement light ML1#2-2.
[0104] Note that, when the wavelengths of the processing light EL and the measurement light ML1 are different, the combining optical system 133 may include a dichroic mirror as a combining optical element instead of the beam splitter 1331. Even in this case, the combining optical system 133 can combine the processing light EL and the measurement light ML1#2-2 using the dichroic mirror (that is, combine the optical path of the processing light EL and the optical path of the measurement light ML1#2-2).
[0105] The measurement light ML1#2-2 emitted from the combining optical system 133 is incident on the deflection optical system 134. The deflection optical system 134 emits the measurement light ML1#2-2 incident on the deflection optical system 134 toward the irradiation optical system 135.
[0106] The measurement light ML1#2-2 incident on the deflection optical system 134 is incident on the galvanometer mirror 1341. The galvanometer mirror 1341 deflects the measurement light ML1#2-2 in the same way as when it deflects the processing light EL. Therefore, the galvanometer mirror 1341 can move the target irradiation area MA of the measurement light ML1#2-2 on the surface of the workpiece W in a direction along the surface of the workpiece W.
[0107] As described above, the processing light EL is incident on the galvanometer mirror 1341 in addition to the measurement light ML1#2-2. That is, the processing light EL and measurement light ML1#2-2 combined by the beam splitter 1331 are incident on the galvanometer mirror 1341. Therefore, both the measurement light ML1#2-2 and the processing light EL pass through the same galvanometer mirror 1341. For this reason, the galvanometer mirror 1341 can move the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2 in synchronization with each other. That is, the galvanometer mirror 1341 can move the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2 in conjunction with each other.
[0108] On the other hand, as described above, the measurement light ML1#2-2 is irradiated onto the workpiece W via the galvanometer mirror 1328, while the processing light EL is irradiated onto the workpiece W without passing through the galvanometer mirror 1328. Therefore, the processing system SYS can use the galvanometer mirror 1328 to independently move the target irradiation area MA of the measurement light ML1#2-2 with respect to the target irradiation area PA of the processing light EL. That is, the processing system SYS can use the galvanometer mirror 1328 to change the relative positional relationship between the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2. In particular, the processing system SYS can use the galvanometer mirror 1328 to change the relative positional relationship between the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2 along a direction intersecting the irradiation direction of the measurement light ML1#2-2 (at least one of the X-axis direction and the Y-axis direction in the example shown in FIG. 4 ).
[0109] Similarly, as described above, the processing light EL is irradiated onto the workpiece W via the galvanometer mirror 1313, while the measurement light ML1#2-2 is irradiated onto the workpiece W without passing through the galvanometer mirror 1313. Therefore, the processing system SYS can use the galvanometer mirror 1313 to move the target irradiation area PA of the processing light EL independently with respect to the target irradiation area MA of the measurement light ML1#2-2. In other words, the processing system SYS can use the galvanometer mirror 1313 to change the relative positional relationship between the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2. In particular, the processing system SYS can use the galvanometer mirror 1328 to change the relative positional relationship between the target irradiation area PA of the processing light EL and the target irradiation area MA of the measurement light ML1#2-2 along a direction intersecting the irradiation direction of the processing light EL (in the example shown in FIG. 4 , at least one of the X-axis direction and the Y-axis direction).
[0110] The measurement light ML1#2-2 emitted from the deflection optical system 134 is incident on the irradiation optical system 135. The irradiation optical system 135 is an optical system that can irradiate the measurement light ML1#2-2 onto the workpiece W. Specifically, the fθ lens 1351 irradiates the measurement light ML1#2-2 emitted from the deflection optical system 134 onto the workpiece W. Specifically, the fθ lens 1351 emits the measurement light ML1#2-2 in a direction along the optical axis EX of the irradiation optical system 135. As a result, the measurement light ML1#2-2 emitted by the fθ lens 1351 travels in a direction along the optical axis EX and is incident on the workpiece W.
[0111] The fθ lens 1351 may focus the measurement light ML1#2-2 emitted from the deflection optical system 134 onto the workpiece W. In this case, the measurement light ML1#2-2 emitted from the fθ lens 1351 may be irradiated onto the workpiece W without passing through another optical element having power (in other words, an optical member such as a lens). In this case, the fθ lens 1351 may be referred to as the final optical element because it is the optical element having the final stage of power (in other words, the optical element closest to the workpiece W) among multiple optical elements arranged on the optical path of the measurement light ML1#2-2. In this case, the measurement light ML1#2-2 emitted from the deflection optical system 134 and incident on the fθ lens 1351 may be a parallel beam.
[0112] When the measurement light ML1#2-2 is irradiated onto the workpiece W, light resulting from the irradiation of the measurement light ML1#2-2 is generated from the workpiece W. In other words, when the measurement light ML1#2-2 is irradiated onto the workpiece W, light resulting from the irradiation of the measurement light ML1#2-2 is emitted from the workpiece W. The light resulting from the irradiation of the measurement light ML1#2-2 (in other words, light emitted from the workpiece W due to the irradiation of the measurement light ML1#2-2) may include at least one of the measurement light ML1#2-2 reflected by the workpiece W (i.e., reflected light), the measurement light ML1#2-2 scattered by the workpiece W (i.e., scattered light), the measurement light ML1#2-2 diffracted by the workpiece W (i.e., diffracted light), and the measurement light ML1#2-2 transmitted through the workpiece W (i.e., transmitted light).
[0113] At least a portion of the light emitted from the workpiece W due to the irradiation of the measurement light ML1#2-2 is incident on the irradiation optical system 135 as return light RL. Specifically, of the light emitted from the workpiece W due to the irradiation of the measurement light ML1#2-2, light that travels along the optical path of the measurement light ML1#2-2 incident on the workpiece W is incident on the irradiation optical system 135 as return light RL. In this case, the optical path of the measurement light ML1#2-2 emitted from the irradiation optical system 135 and incident on the workpiece W may be the same as the optical path of the return light RL emitted from the workpiece W and incident on the irradiation optical system 135. The return light RL incident on the irradiation optical system 135 is incident on the deflection optical system 134 via the fθ lens 1351. The return light RL incident on the deflection optical system 134 is incident on the synthesis optical system 133 via the galvanometer mirror 1341. The beam splitter 1331 of the combining optical system 133 emits the return light RL incident on the beam splitter 1331 toward the measurement optical system 132. In the example shown in Fig. 4, the return light RL incident on the beam splitter 1331 is reflected on the polarization separation surface and is emitted toward the measurement optical system 132. Therefore, in the example shown in Fig. 4, the return light RL is incident on the polarization separation surface of the beam splitter 1331 in a state in which it has a polarization direction that allows it to be reflected by the polarization separation surface.
[0114] The return light RL emitted from the beam splitter 1331 is incident on a galvanometer mirror 1328 of the measurement optical system 132. The galvanometer mirror 1328 emits the return light RL incident on the galvanometer mirror 1328 toward a mirror 1327. The mirror 1327 reflects the return light RL incident on the mirror 1327 toward the beam splitter 1324. The beam splitter 1324 emits at least a portion of the return light RL incident on the beam splitter 1324 toward the beam splitter 1322. The beam splitter 1322 emits at least a portion of the return light RL incident on the beam splitter 1322 toward a detector 1326.
[0115] As described above, in addition to the return light RL, the measurement light ML1#1-3 is incident on the detector 1326. That is, the return light RL that travels toward the detector 1326 via the workpiece W and the measurement light ML1#1-3 that travels toward the detector 1326 without travelling through the workpiece W are incident on the detector 1326. The detector 1326 receives (i.e., detects) the measurement light ML1#1-3 and the return light RL. In particular, the detector 1326 receives interference light generated by interference between the measurement light ML1#1-3 and the return light RL. Note that the operation of receiving interference light generated by interference between the measurement light ML1#1-3 and the return light RL may be considered equivalent to the operation of receiving the measurement light ML1#1-3 and the return light RL. The detection result of the detector 1326 is output to the control unit 3.
[0116] The control unit 3 acquires the detection results of the detector 1323 and the detector 1326. The control unit 3 may generate measurement data of the workpiece W (e.g., measurement data related to at least one of the position and shape of the workpiece W) based on the detection results of the detector 1323 and the detection results of the detector 1326.
[0117] Specifically, since the pulse frequency of measurement light ML1#1 is different from the pulse frequency of measurement light ML1#2, the pulse frequency of measurement light ML1#1-1 is different from the pulse frequency of measurement light ML1#2-1. Therefore, the interference light between measurement light ML1#1-1 and measurement light ML1#2-1 is interference light in which pulse light appears in synchronization with the timing when the pulse light constituting measurement light ML1#1-1 and the pulse light constituting measurement light ML1#2-1 simultaneously enter the detector 1323. Similarly, the pulse frequency of measurement light ML1#1-3 is different from the pulse frequency of return light RL. Therefore, the interference light between measurement light ML1#1-3 and return light RL is interference light in which pulse light appears in synchronization with the timing when the pulse light constituting measurement light ML1#1-3 and the pulse light constituting return light RL simultaneously enter the detector 1326. Here, the position (position on the time axis) of the pulsed light of interference light detected by the detector 1326 varies depending on the positional relationship between the machining head 13 and the workpiece W. This is because the interference light detected by the detector 1326 is interference light between the return light RL heading toward the detector 1326 via the workpiece W and the measurement light ML1#1-3 heading toward the detector 1326 without passing through the workpiece W. On the other hand, the position (position on the time axis) of the pulsed light of interference light detected by the detector 1323 does not vary depending on the positional relationship between the machining head 13 and the workpiece W (that is, essentially, the positional relationship between the machining head 13 and the workpiece W). For this reason, it can be said that the time difference between the pulsed light of interference light detected by the detector 1326 and the pulsed light of interference light detected by the detector 1323 indirectly indicates the positional relationship between the machining head 13 and the workpiece W. Specifically, it can be said that the time difference between the pulsed light of interference light detected by the detector 1326 and the pulsed light of interference light detected by the detector 1323 indirectly indicates the distance between the machining head 13 and the workpiece W in the direction along the optical path of the measurement light ML1 (i.e., the direction along the traveling direction of the measurement light ML1). Therefore, the control unit 3 can calculate the distance between the machining head 13 and the workpiece W in the direction along the optical path of the measurement light ML1 (for example, the Z-axis direction) based on the time difference between the pulsed light of interference light detected by the detector 1326 and the pulsed light of interference light detected by the detector 1323.In other words, the control unit 3 can calculate the position of the workpiece W in a direction along the optical path of the measurement light ML1 (e.g., the Z-axis direction). More specifically, the control unit 3 can calculate the distance between the irradiated portion of the workpiece W irradiated with the measurement light ML1#2-2 and the machining head 13. The control unit 3 can calculate the position of the irradiated portion in a direction along the optical path of the measurement light ML1 (e.g., the Z-axis direction). Furthermore, because the irradiation position of the measurement light ML1#2-2 on the workpiece W is determined by the drive states of the galvanometer mirrors 1341 and 1328, the control unit 3 can calculate the position of the irradiated portion in a direction intersecting the optical path of the measurement light ML1 (e.g., at least one of the X-axis direction and the Y-axis direction) based on the drive states of the galvanometer mirrors 1341 and 1328. As a result, the control unit 3 can generate measurement data indicating the position of the irradiated portion in a measurement coordinate system based on the machining head 13 (e.g., a position in a three-dimensional coordinate space).
[0118] The machining head 13 may irradiate multiple portions of the workpiece W with the measurement light ML1#2-2. For example, at least one of the galvanometer mirrors 1341 and 1328 may change the irradiation position of the measurement light ML1#2-2 on the workpiece W so that the machining head 13 irradiates multiple portions of the workpiece W with the measurement light ML1#2-2. For example, at least one of the machining head 13 and the stage 15 may move so that the machining head 13 irradiates multiple portions of the workpiece W with the measurement light ML1#2-2. When the measurement light ML1#2-2 is irradiated onto multiple portions of the workpiece W, the control unit 3 can generate measurement data indicating the positions of the multiple portions of the workpiece W. As a result, the control unit 3 can generate measurement data indicating the shape of the workpiece W based on the measurement data indicating the positions of the multiple portions. For example, the control unit 3 can generate measurement data indicating the shape of the workpiece W by calculating a three-dimensional shape composed of virtual planes (or curved surfaces) connecting the multiple portions whose positions have been identified as the shape of the workpiece W.
[0119] The processing head 13 may include a beam expander. The beam expander may be an optical element capable of changing the beam diameter of light. The beam diameter of light may refer to the size of light in a plane intersecting the direction of light propagation. The beam expander may be an optical element capable of changing the spot diameter of light. The spot diameter of light may refer to the size of light on the surface of an object (e.g., a workpiece W or a measurement object M). The beam expander may be an optical element capable of changing the focus position of light along the direction of light propagation. The focus position of light may refer to the convergence position where the light is most converged. As an example, the processing head 13 may include a first beam expander arranged on the optical path of the processing light EL. The first beam expander may be capable of changing at least one of the beam diameter, spot diameter, and focus position of the processing light EL. As another example, the processing head 13 may include a second beam expander arranged on the optical path of the measurement light ML. The second beam expander may be capable of changing at least one of the beam diameter, spot diameter, and focus position of the measurement light ML. When the processing head 13 includes the first and second beam expanders, the processing head 13 may change at least one of the focus position of the processing light EL and the focus position of the measurement light ML so that the focus position of the processing light EL and the focus position of the measurement light ML are different. Alternatively, the processing head 13 may include a third beam expander arranged in the optical path of the processing light EL and the optical path of the measurement light ML. The third beam expander may be capable of changing at least one of the beam diameter, spot diameter, and focus position of at least one of the processing light EL and the measurement light ML.
[0120] The control unit 3 may align a first measurement coordinate system used in measurement using the measurement light ML with a second measurement coordinate system used in measurement by the measurement unit 2. For example, the control unit 3 may control the machining unit 1 to measure a calibration plate placed on the stage 15 with the measurement light ML, and control the measurement unit 2 to measure the calibration plate placed on the stage 15, and align the first measurement coordinate system with the second measurement coordinate system based on the measurement results of the calibration plate using the measurement light ML and the measurement results of the calibration plate using the measurement unit 2.
[0121] The processing head 13 may further include a head housing 137 and a head housing 138. The emission optical system 130 may be housed in the head housing 137 of the processing head 13. On the other hand, the irradiation optical system 135 may be housed in a head housing 138 different from the head housing 137. However, the processing head 13 may include a head housing that houses both the emission optical system 130 and the irradiation optical system 135. At least one of the head housings 137 and 138 may be referred to as a lens barrel.
[0122] The head housing 138 may be attachable to the head housing 137. The head housing 138 attached to the head housing 137 may be detachable from the head housing 137. However, the head housing 138 may be fixed to the head housing 137. Furthermore, the hood 136 may be attachable to the head housing 138. The hood 136 attached to the head housing 138 may be detachable from the head housing 138. However, the hood 136 may be fixed to the head housing 138.
[0123] If the head housing 138 is detachable from the head housing 137, the machining unit 1 may replace the head housing 138 attached to the head housing 137. That is, the head housing 138 attached to the head housing 137 may be replaceable. In this case, the machining unit 1 may be provided with a housing replacement device capable of replacing the head housing 138 attached to the head housing 137. An automatic tool changer (ATC) used in machine tools may be used as the housing replacement device. The housing replacement device may replace the head housing 138 attached to the head housing 137 from a first head housing 138 accommodating a first irradiation optical system 135 to a second head housing 138 accommodating a second irradiation optical system 135 different from the first irradiation optical system 135. The control unit 3 may control at least one of the machining unit 1 and the housing replacement device to replace the selected irradiation optical system 135 with another irradiation optical system 135 attached to the machining head 13.
[0124] If the hood 136 is detachable from the head housing 138, the machining unit 1 may replace the hood 136 attached to the head housing 138. That is, the hood 136 attached to the head housing 138 may be replaceable. In this case, the machining unit 1 may be provided with a hood replacement device capable of replacing the hood 136 attached to the head housing 138. An automatic tool changer (ATC) used in machine tools may be used as the hood replacement device. The above-described housing replacement device may also be used as the hood replacement device. The hood replacement device may also be used as the above-described housing replacement device. The hood replacement device may replace the hood 136 attached to the head housing 138 from a first hood 136 to a second hood 136 different from the first hood 136. The control unit 3 may control at least one of the machining unit 1 and the hood replacement device to replace the selected hood 136 with another hood 136 attached to the machining head 13.
[0125] The head housing 137 may be formed with an exit port 137AP through which the processing light EL and measurement light ML1 emitted from the emission optical system 130 can pass. Furthermore, the head housing 138 may be formed with an entrance port 138AP1 through which the processing light EL and measurement light ML1 emitted from the emission optical system 130 can pass. The head housing 138 may be attachable to the head housing 137 so that the exit port 137AP and the entrance port 138AP1 are connected. As a result, the processing light EL and measurement light ML1 emitted from the emission optical system 130 are incident on the irradiation optical system 135 housed in the head housing 138 via the exit port 137AP and the entrance port 138AP1.
[0126] At least a portion of the internal space 136SP surrounded by the hood 136 may be used as a space through which the processing light EL and the measurement light ML1 can pass. In this case, the head housing 138 may have an exit port 138AP2 through which the processing light EL and the measurement light ML1 emitted from the irradiation optical system 135 can pass. The hood 136 may also have an entrance port 136AP1 through which the processing light EL and the measurement light ML1 emitted from the irradiation optical system 135 can pass to enter the internal space 136SP. The hood 136 may be attachable to the head housing 138 so that the exit port 138AP2 and the entrance port 136AP1 are connected. As a result, the processing light EL and the measurement light ML1 emitted from the irradiation optical system 135 enter the internal space 136SP of the hood 136 via the exit port 138AP2 and the entrance port 136AP1.
[0127] Furthermore, the hood 136 may be formed with an outlet 136AP2 through which the processing light EL and the measurement light ML1 incident on the internal space 136SP of the hood 136 can pass. The processing light EL and the measurement light ML1 incident on the internal space 136SP of the hood 136 may pass through the internal space 136SP and be emitted to the outside of the hood 136 via the outlet 136AP2. In other words, the hood 136 may emit the processing light EL and the measurement light ML1 via the outlet 136AP2. The processing light EL and the measurement light ML1 emitted from the hood 136 may be irradiated onto the workpiece W.
[0128] (2) Operation of the Machining System SYS Next, the operation performed by the machining system SYS will be described.
[0129] (2-1) Machining Operation The machining system SYS may perform a machining operation to machine the workpiece W. Specifically, as described above, the machining system SYS may perform a removal process to remove a portion of the workpiece W by irradiating the workpiece W with the processing light EL. Therefore, first, an overview of the removal process using the processing light EL will be described with reference to FIGS. 5(a) to 5(c). Each of FIGS. 5(a) to 5(c) is a cross-sectional view showing the removal process performed on the workpiece W.
[0130] As shown in FIG. 5A , the processing system SYS irradiates a target irradiation area PA set (or formed) on the surface of the workpiece W with the processing light EL. When the target irradiation area PA is irradiated with the processing light EL, the energy of the processing light EL is transmitted to an energy transmission portion including a portion of the workpiece W overlapping with the target irradiation area PA and a portion of the workpiece W adjacent to the target irradiation area PA. In this embodiment, the processing system SYS may process the workpiece W using the principle of non-thermal processing (e.g., ablation processing). That is, the processing system SYS may perform non-thermal processing (e.g., ablation processing) on the workpiece W. For example, when light with a high photon density (in other words, fluence) is used as the processing light EL, the material constituting the energy transmission portion of the workpiece W instantaneously evaporates and disperses. That is, the material constituting the energy transmission portion of the workpiece W evaporates and disperses within a time sufficiently shorter than the thermal diffusion time of the workpiece W. In this case, the material constituting the energy transmission portion of the workpiece W may be released from the workpiece W as at least one of ions, atoms, radicals, molecules, clusters, and solid pieces.
[0131] When non-thermal processing is performed, the processing light EL may include pulsed light having an emission time of picoseconds or less or femtoseconds or less. That is, the processing light EL may include pulsed light having a pulse width of picoseconds or less or femtoseconds or less. When pulsed light having an emission time of picoseconds or less or femtoseconds or less is used as the processing light EL, the material constituting the energy transmission portion of the workpiece W may sublimate without passing through a molten state.
[0132] As a result, the target irradiation area PA and a portion of the workpiece W adjacent to the target irradiation area PA are removed. That is, as shown in Fig. 5(b), a recess (in other words, a groove) having a depth corresponding to the unit processing amount Δz caused by the processing light EL is formed on the surface of the workpiece W. When the workpiece W is processed using the principle of non-thermal processing in this manner, the processing system SYS can process the workpiece W while minimizing the effect on the workpiece W of heat caused by the energy of the processing light EL.
[0133] Here, when the processing light EL is pulsed light, the unit processing amount Δz may be the depth of removal of the workpiece W when the processing light EL is irradiated onto the workpiece W by a unit number of pulses. The unit pulse number may be 1 or a number greater than 1. When the processing light EL is continuous light, the unit processing amount Δz may be the amount of processing of the workpiece W (depth of removal) when the processing light EL of a unit energy is irradiated onto the workpiece W for a unit time.
[0134] Alternatively, the processing system SYS may perform removal processing of the workpiece W using the so-called thermal processing principle in addition to or instead of the non-thermal processing principle. When removal processing of the workpiece W is performed using the thermal processing principle, the processing light EL may include pulsed light or continuous light with an emission time of milliseconds or more or nanoseconds or more. That is, the processing light EL may include pulsed light or continuous light with a pulse width of milliseconds or more or nanoseconds or more. In this case, when heat caused by the energy of the processing light EL is transmitted to the energy transmission portion, the heat caused by the energy of the processing light EL melts the material constituting the energy transmission portion of the workpiece W. The molten material scatters as droplets. Alternatively, the molten material evaporates due to the heat caused by the energy of the processing light EL. As a result, the target irradiation area PA and portions of the workpiece W adjacent to the target irradiation area PA are removed. That is, as shown in FIG. 5B, a recess (in other words, a groove) having a depth corresponding to the unit processing amount Δz caused by the processing light EL is formed on the surface of the workpiece W.
[0135] The machining system SYS uses the above-described galvanometer mirror 1212 to move the target irradiation area PA on the surface of the workpiece W along the machining path indicated by the machining path information. That is, the machining system SYS scans the surface of the workpiece W with the machining light EL. Furthermore, if necessary, the machining system SYS may move the target irradiation area PA on the surface of the workpiece W along the machining path indicated by the machining path information by moving the machining head 13 using the above-described head drive system 141 and / or moving the stage 15 using the above-described stage drive system 161. As a result, as shown in FIG. 5C , at least a portion of the surface of the workpiece W is removed along the scanning trajectory of the machining light EL (i.e., the movement trajectory of the target irradiation area PA). Therefore, the machining system SYS can appropriately remove the portion of the workpiece W to be removed by scanning the surface of the workpiece W with the machining light EL along a desired scanning trajectory corresponding to the area to be removed. The machining system SYS can appropriately remove the portion of the workpiece W that is to be removed by causing the machining light EL to scan the surface of the workpiece W along a desired scanning trajectory corresponding to the region that is to be removed (i.e., the machining path indicated by the machining path information). The machining system SYS can remove the removal layer SL, which has a thickness equivalent to the unit machining amount Δz and is the portion that is to be removed, from the workpiece W by causing the machining light EL to scan the surface of the workpiece W along the desired scanning trajectory that corresponds to the region that is to be removed.
[0136] The machining system SYS may process the workpiece W so that the shape of the workpiece W becomes a desired shape by repeating the operation of removing a removal layer SL having a thickness corresponding to the unit machining amount Δz as necessary. In other words, the machining system SYS may process the workpiece W so that the shape of the workpiece W becomes a desired shape by removing a plurality of removal layers SL. Specifically, as shown in FIG. 5( d ), under the control of the control unit 3, the machining system SYS processes the workpiece W so as to remove a target machining portion TP of the workpiece W that should be removed by the removal machining. On the other hand, under the control of the control unit 3, the machining system SYS processes the workpiece W so as not to remove a non-target machining portion NP of the workpiece W that should not be removed by the removal machining.
[0137] 5(d), the target machining portion TP is removed from the workpiece W, and a non-target machining portion NP remains in the workpiece W. In this case, the machining system SYS may machine the workpiece W under the control of the control unit 3 so that the shape (e.g., three-dimensional shape) of the remaining non-target machining portion NP becomes the target shape.
[0138] (2-2) Abnormality Determination Operation In addition to the above-described machining operation, the machining system SYS may perform an abnormality determination operation. The abnormality determination operation may include an operation of determining whether or not an abnormality occurs during at least a portion of the machining period. In particular, the abnormality determination operation may include an operation of determining whether or not an abnormality occurs in the machining system SYS during at least a portion of the machining period. The abnormality determination operation may include an operation of determining whether or not an abnormality occurs in the machining system SYS during at least a portion of the machining period. The abnormality determination operation may include an operation of determining whether or not an abnormality occurs in the machining unit 1 during at least a portion of the machining period. The abnormality determination operation may include an operation of determining whether or not an abnormality occurs in the machining unit 1 during at least a portion of the machining period.
[0139] The machining period may refer to the period during which the machining system SYS (particularly the machining unit 1) machines the workpiece W. In other words, the machining period may refer to the period during which the above-described machining operation is performed. The machining period may refer to the period from when the above-described machining operation starts to when the above-described machining operation ends. The machining period may refer to the period from when the machining system SYS starts machining the workpiece W to when the machining system SYS ends machining the workpiece W. The machining period may include at least a portion of the period during which the machining system SYS places the workpiece W to be machined on the stage 15. In other words, the machining period may include at least a portion of the period from when the machining system SYS starts transporting the workpiece W to be machined on the stage 15 and / or starts moving the stage 15 to when the machining system SYS actually starts irradiating the workpiece W placed on the stage 15 with the machining light EL to actually machine the workpiece W. If preliminary measurement of the workpiece W is performed after the workpiece W is placed on the stage 15, the machining period may include at least a portion of the period during which preliminary measurement of the workpiece W is performed. If the workpiece W is positioned (e.g., aligned) after being placed on the stage 15, the processing period may include at least a portion of the period during which the workpiece W is positioned (e.g., aligned).
[0140] Note that the period during which the workpiece W is machined, the period during which the workpiece W is placed on the stage 15, the period during which pre-measurement of the workpiece W is performed, and the period during which the workpiece W is aligned may each be considered equivalent to the period during which at least one of the stage 15 on which the workpiece W is placed and the machining head 13 that machines the workpiece W moves. Therefore, the abnormality determination operation may be considered to include an operation of determining whether or not an abnormality occurs in the machining system SYS during at least a portion of the period during which at least one of the machining head 13 and the stage 15 moves. As will be described later, during the period during which at least one of the machining head 13 and the stage 15 moves, there is a possibility that interference between the interfering object and the measured object M may occur. Therefore, the abnormality determination operation may be considered to include an operation of determining whether or not an abnormality occurs in the machining system SYS during at least a portion of the period during which interference between the interfering object and the measured object M may occur.
[0141] The machining system SYS may perform the abnormality determination operation after starting machining of the workpiece W. In other words, the machining system SYS may perform the abnormality determination operation after starting the machining operation. The machining system SYS may perform the abnormality determination operation in parallel with the machining operation. In this case, the machining system SYS can perform the abnormality determination operation and the machining operation at the same timing. Therefore, the machining system SYS can use at least a part of the machining period as a period for performing the abnormality determination operation. Therefore, the machining system SYS can shorten the time required to complete the abnormality determination operation and the machining operation compared to when the abnormality determination operation and the machining operation are performed at different times.
[0142] The machining system SYS may perform an abnormality determination operation before starting machining of the workpiece W. In other words, the machining system SYS may perform an abnormality determination operation before starting a machining operation. The machining system SYS may perform an abnormality determination operation first, and start the machining operation after completing the abnormality determination operation. In this case, the machining system SYS can determine in advance whether or not an abnormality will occur due to the machining operation before actually starting the machining operation. Therefore, the machining system SYS (or an operator of the machining system SYS) can deal with an abnormality that occurs due to the machining operation before actually starting the machining operation. As a result, the possibility of an abnormality actually occurring after the machining operation is started is reduced.
[0143] The operation of determining whether an abnormality will occur in the machining system SYS may include an operation of determining whether an abnormality is likely to occur in the machining system SYS in the future. Specifically, the operation of determining whether an abnormality will occur in the machining system SYS may include an operation of determining whether an abnormality is likely to occur in the machining system SYS in the future before an abnormality actually occurs in the machining system SYS. In this case, the machining system SYS can determine in advance whether an abnormality is likely to occur before the abnormality actually occurs. Therefore, the machining system SYS (or an operator of the machining system SYS) can deal with an abnormality that may occur in the future before the abnormality actually occurs. As a result, the possibility of an abnormality actually occurring after the machining operation is started is reduced. Note that the operation of determining whether an abnormality is likely to occur in the machining system SYS in the future may also be referred to as an operation of predicting whether an abnormality is likely to occur in the machining system SYS in the future.
[0144] The operation of determining whether an abnormality will occur in the machining system SYS may include an operation of determining whether an abnormality has already occurred in the machining system SYS. In other words, the operation of determining whether an abnormality will occur in the machining system SYS may include an operation of detecting an abnormality that has actually occurred in the machining system SYS. Even in this case, the machining system SYS (or an operator of the machining system SYS) can deal with the abnormality that has actually occurred. As a result, the possibility that the machining operation will be adversely affected by the abnormality that has occurred is reduced.
[0145] In particular, in this embodiment, the processing system SYS may determine whether or not an abnormality occurs in the processing system SYS based on the measurement result of the three-dimensional shape of the measurement target object M by the measurement unit 2. In this case, the processing system SYS may typically determine whether or not an abnormality related to the measurement target object M occurs in the processing system SYS based on the measurement result of the three-dimensional shape of the measurement target object M by the measurement unit 2.
[0146] A first example of an abnormality related to the measurement object M is interference between the measurement object M and an interfering object that may interfere with the measurement object M. For example, as described above, the measurement object M may include at least one of the stage 15, the housing 5, the jig 152, and the workpiece W. In this case, interference between the interfering object and the measurement object M may include interference between the interfering object and at least one of the stage 15, the jig 152, and the workpiece W.
[0147] An example of an interfering object is the machining head 13. In this case, the interference between the interfering object and the measurement object M may include interference between the machining head 13 and at least one of the stage 15, the jig 152, and the workpiece W, as shown in FIG. 6A. For example, since the outer surfaces of the head housings 137 and 138 are the outer surfaces of the machining head 13, the interference between the interfering object and the measurement object M may include interference between at least one of the stage 15, the jig 152, and the workpiece W and at least one of the head housings 137 and 138, as shown in FIG. 6. For example, if the machining head 13 is equipped with an accessory exposed to the outside of the machining head 13, interference between the accessory and at least one of the stage 15, the jig 152, and the workpiece W may occur. An example of an accessory is at least one of the hood 136, the head housing 138, the head housing 137, and the measurement unit 2. In this case, the interference between the interfering object and the object to be measured M may include interference between at least one of the stage 15, the jig 152, and the workpiece W and an accessory, as shown in FIG. 6B. Another example of the interfering object is the housing 5 that houses at least one of the stage 15, the jig 152, and the workpiece W. In this case, the interference between the interfering object and the object to be measured M may include interference between at least one of the stage 15, the jig 152, and the workpiece W and the housing 5. Another example of the interfering object is the measurement unit 2. In this case, the interference between the interfering object and the object to be measured M may include interference between at least one of the stage 15, the jig 152, and the workpiece W and the measurement unit 2. In the following description, for convenience of explanation, an example will be described in which the interfering object is the machining head 13.
[0148] When the interfering object is the machining head 13, the measured object M may include an object that may interfere with the machining head 13. That is, an object that may interfere with the machining head 13 may be used as the measured object M in this embodiment. At least one of the stage 15, the jig 152, and the workpiece W, which are given as examples of the measured object M, corresponds to an object that may interfere with the machining head 13. When the interfering object is an object different from the machining head 13, the measured object M may include an object that may interfere with the interfering object. That is, an object that may interfere with the interfering object may be used as the measured object M in this embodiment.
[0149] The state in which interference occurs between the processing head 13 (i.e., interfering object, the same applies hereinafter) and the measured object M may include a state in which the processing head 13 and the measured object M are in contact (in other words, colliding). The state in which interference occurs between the processing head 13 and the measured object M may include a state in which the processing head 13 and the measured object M are not in contact, but the distance D between the processing head 13 and the measured object M is less than the allowable lower limit distance DTH.
[0150] A second example of an abnormality related to the measurement object M is an abnormality in which a foreign object is contained in the measurement object M measured by the measurement unit 2. For example, as described above, the measurement object M may include at least one of the stage 15, the jig 152, and the workpiece W. In this case, the foreign object may include an object different from the stage 15, the jig 152, and the workpiece W. In other words, the abnormality in which a foreign object is contained in the measurement object M may include an abnormality in which a foreign object different from the stage 15, the jig 152, and the workpiece W is present around at least one of the stage 15, the jig 152, and the workpiece W.
[0151] More specifically, the stage 15, the jig 152, and the workpiece W, which are examples of the measurement object M, are objects necessary for machining the workpiece W. In this case, the foreign matter contained in the measurement object M may include an object other than the object necessary for machining the workpiece W. The foreign matter contained in the measurement object M may include an object unnecessary for machining the workpiece W. When the measurement object M includes a foreign matter, the measurement unit 2 typically measures the three-dimensional shape of at least one of the stage 15, the jig 152, and the workpiece W, which are objects necessary for machining the workpiece W, as the three-dimensional shape of the measurement object M, as well as the three-dimensional shape of the foreign matter, which is an object unnecessary for machining the workpiece W. As a result, the machining system SYS can determine whether an abnormality has occurred, such as the presence of a foreign matter in the measurement object M, based on the measurement result of the three-dimensional shape of the measurement object M including the foreign matter. In other words, the machining system SYS can detect a foreign matter present around at least one of the stage 15, the jig 152, and the workpiece W, based on the measurement result of the three-dimensional shape of the measurement object M including the foreign matter.
[0152] A first example of an object unnecessary for machining the workpiece W is a leftover object left on the stage 15. An example of an object left behind on the stage 15 is a tool used in preparation for the machining system SYS. In the case where the workpiece W should be held using the first jig 152 but is mistakenly held using a second jig 152 different from the first jig 152, a second example of an object unnecessary for machining the workpiece W is the second jig 152 that is mistakenly holding the workpiece W.
[0153] When the abnormality related to the measurement object M includes interference between the processing head 13 and the measurement object M, the abnormality determination operation may be referred to as an interference determination operation that determines whether interference between the processing head 13 and the measurement object M occurs. In other words, the abnormality determination operation may be referred to as an interference determination operation that determines whether interference occurs between the processing head 13 and the measurement object M. When the abnormality related to the measurement object M includes an abnormality that the measurement object M contains a foreign object, the abnormality determination operation may be referred to as a foreign object determination operation that determines whether the measurement object M contains a foreign object. In other words, the abnormality determination operation may be referred to as a foreign object determination operation that detects a foreign object. Below, the interference determination operation and the foreign object determination operation will be described in order as examples of the abnormality determination operation.
[0154] (2-2-1) Interference Detection Operation First, the interference detection operation will be described. In this embodiment, the machining system SYS may perform at least one of the first interference detection operation, the second interference detection operation, the third interference detection operation, and the fourth interference detection operation as the interference detection operation. Therefore, in the following description, the first to fourth interference detection operations will be described in order.
[0155] (2-2-1-1) First Interference Determination Operation First, the first interference determination operation will be described. The first interference determination operation is an operation that determines, during at least a portion of the machining period, whether or not interference between the machining head 13 and the object to be measured M will occur during at least a portion of the machining period. In other words, the first interference determination operation is an operation that determines, after starting machining of the workpiece W, whether or not interference between the machining head 13 and the object to be measured M will occur during at least a portion of the machining period. Below, the first interference determination operation will be described with reference to FIG. 7. FIG. 7 is a flowchart showing the flow of the first interference determination operation.
[0156] As shown in FIG. 7 , the control unit 3 generates a measurement model MM (step S110). The measurement model MM is a three-dimensional model that represents the three-dimensional shape of the measurement target object M. In particular, the measurement model MM is a three-dimensional model that represents the three-dimensional shape of the surface of the measurement target object M. The measurement model MM may be a three-dimensional model that represents the entire three-dimensional shape of the measurement target object M. In other words, the measurement model MM may be a three-dimensional model that represents the entire three-dimensional shape of the surface of the measurement target object M. The measurement model MM may be a three-dimensional model that represents the three-dimensional shape of a portion of the measurement target object M. In other words, the measurement model MM may be a three-dimensional model that represents the three-dimensional shape of a portion of the surface of the measurement target object M. Note that when the measurement target object M is a workpiece W, the measurement model MM may be referred to as a workpiece model.
[0157] To generate the measurement model MM, the control unit 3 acquires, from the measurement unit 2, measurement information indicating the measurement results of the three-dimensional shape of the measurement target object M by the measurement unit 2. That is, the control unit 3 acquires, from the measurement unit 2, measurement results (measurement information) including information about the three-dimensional shape of the measurement target object M measured by the measurement unit 2. Therefore, after the first collision detection operation is started, the measurement unit 2 measures the three-dimensional shape of the measurement target object M. The measurement results at this time may include point cloud data of the measurement target object M. The control unit 3 then generates the measurement model MM based on the measurement information. For example, the control unit 3 may generate, as the measurement model MM, a three-dimensional model having the three-dimensional shape indicated by the measurement information. Because the measurement model MM is generated based on measurement information indicating the measurement results of the actual three-dimensional shape of the measurement target object M in this way, the measurement model MM may be considered equivalent to a three-dimensional model indicating the actual three-dimensional shape of the measurement target object M.
[0158] An example of the measurement model MM is shown in FIG. 8 . When the measurement object M includes the workpiece W as described above, the measurement model MM may include a model portion MM1 that represents the three-dimensional shape of at least a portion of the workpiece W, as shown in FIG. 8 . When the measurement object M includes the stage 15 as described above, the measurement model MM may include a model portion MM2 that represents the three-dimensional shape of at least a portion of the stage 15, as shown in FIG. 8 . When the measurement object M includes the jig 152 as described above, the measurement model MM may include a model portion MM3 that represents the three-dimensional shape of at least a portion of the jig 152, as shown in FIG. 8 . When the measurement object M includes a foreign object as described above, the measurement model MM may include a model portion that represents the three-dimensional shape of at least a portion of the foreign object, although not shown.
[0159] The control unit 3 may generate, as the measurement model MM, any type of three-dimensional model that indicates the three-dimensional shape of the measurement object M. For example, the control unit 3 may acquire, as the measurement model MM, a point cloud model that indicates the three-dimensional shape of the measurement object M using a point cloud including a plurality of points. For example, the control unit 3 may generate, as the measurement model MM, a surface model, a polygon model, or a mesh model that indicates the three-dimensional shape of the measurement object M using a plurality of surfaces. For example, the control unit 3 may generate, as the measurement model MM, a solid model that has information about the interior of the measurement object M in addition to information about the three-dimensional shape of the surface of the measurement object M. For example, the control unit 3 may generate, as the measurement model MM, a wireframe model that indicates the three-dimensional shape of the measurement object M using a plurality of lines.
[0160] 7 again, in parallel with or before or after the operation of step S110, the control unit 3 acquires an interference model (step S111). The interference model is a three-dimensional model that indicates the three-dimensional shape of an interfering object that may interfere with the measurement object M. In particular, the interference model is a three-dimensional model that indicates the three-dimensional shape of the surface of the interfering object.
[0161] As described above, in this embodiment, the machining head 13 is used as the interfering object. Therefore, the following description will be given of an example in which the control unit 3 acquires a head model HM, which is a three-dimensional model representing the three-dimensional shape of the machining head 13, in step S111. In this case, the head model HM is a three-dimensional model representing the three-dimensional shape of the surface of the machining head 13. The head model HM may be a three-dimensional model representing the three-dimensional shape of the entire machining head 13. In other words, the head model HM may be a three-dimensional model representing the three-dimensional shape of the entire surface of the machining head 13. The head model HM may be a three-dimensional model representing the three-dimensional shape of a portion of the machining head 13. In other words, the head model HM may be a three-dimensional model representing the three-dimensional shape of a portion of the surface of the machining head 13. The head model HM may also be a three-dimensional model including a model representing the shape of the interior of the machining head 13. The head model HM may also be a three-dimensional model representing the three-dimensional shape of only the surface of the machining head 13. The head model HM may also be referred to as a machining head model.
[0162] In some cases, the stage 15 may be an interfering object. In this case, the control unit 3 may acquire an interference model, which is a three-dimensional model that indicates the three-dimensional shape of the stage 15, in step S111.
[0163] The control unit 3 may acquire a three-dimensional model representing the designed or ideal three-dimensional shape of the machining head 13 as the head model HM. An example of a three-dimensional model representing the designed or ideal three-dimensional shape of the machining head 13 is a CAD (Computer Aided Design) model of the machining head 13. In this case, the control unit 3 may acquire the head model HM by acquiring a CAD file representing the CAD model. Examples of CAD files representing CAD models include at least one of a file with an extension DWF, a file with an extension DXF, a file with an extension DWG, and a file with an extension STP. However, a file in a format different from the file formats exemplified here may be used as the file representing the head model HM. For example, the control unit 3 may acquire the head model HM by acquiring at least one of an STL (Standard Triangulated Language) file, an IGES (Initial Graphics Exchange Specification) file, and a Parasolid file.
[0164] The CAD file (or a file indicating the head model HM; the same applies hereinafter) may be recorded in a storage device 32 (i.e., a recording medium) provided in the control unit 3. In this case, the control unit 3 may acquire the head model HM by reading the CAD file from the storage device 32. The CAD file may be recorded in any storage medium (e.g., a hard disk or semiconductor memory) that is built into the control unit 3 or that can be externally attached to the control unit 3. In this case, the control unit 3 may acquire the head model HM by reading the CAD file from any recording medium. The CAD file may be recorded in a device external to the control unit 3. In this case, the control unit 3 may acquire the head model HM by downloading the CAD file from a device external to the control unit 3 via a network interface.
[0165] The control unit 3 may acquire the head model HM by generating the head model HM based on measurement information indicating the measurement results of the three-dimensional shape of the machining head 13 by the measurement unit 2. In this case, the measurement unit 2 may measure the three-dimensional shape of the machining head 13 in addition to the three-dimensional shape of the measurement object M. The control unit 3 may acquire measurement information indicating the measurement results of the three-dimensional shape of the machining head 13 by the measurement unit 2 from the measurement unit 2. In other words, the control unit 3 may acquire measurement results (measurement information) including information about the three-dimensional shape of the machining head 13 measured by the measurement unit 2 from the measurement unit 2. Then, the control unit 3 may generate the head model HM based on the measurement information. For example, the control unit 3 may generate a three-dimensional model having the three-dimensional shape indicated by the measurement information as the head model HM. In this case, the head model HM may be considered equivalent to a three-dimensional model indicating the actual three-dimensional shape of the machining head 13.
[0166] In some cases, the stage 15 may be an interfering object. In this case, the control unit 3 may acquire the interference model by generating the interference model based on measurement information indicating the measurement results of the three-dimensional shape of the stage 15 by the measurement unit 2 in step S111.
[0167] An example of the head model HM is shown in Fig. 9. When the machining head 13 includes the head housing 137 as described above, the head model HM may include a model portion HM1 that represents the three-dimensional shape of at least a portion of the head housing 137, as shown in Fig. 9. When the machining head 13 includes the head housing 138 as described above, the head model HM may include a model portion HM2 that represents the three-dimensional shape of at least a portion of the head housing 138, as shown in Fig. 9. When the machining head 13 includes the hood 136 as described above, the head model HM may include a model portion HM3 that represents the three-dimensional shape of at least a portion of the hood 136, as shown in Fig. 9.
[0168] The control unit 3 may acquire, as the head model HM, any type of three-dimensional model that indicates the three-dimensional shape of the machining head 13. For example, the control unit 3 may acquire, as the head model HM, a point cloud model that indicates the three-dimensional shape of the machining head 13 using a point cloud including a plurality of points. For example, the control unit 3 may acquire, as the head model HM, a surface model, polygon model, or mesh model that indicates the three-dimensional shape of the machining head 13 using a plurality of surfaces. For example, the control unit 3 may acquire, as the head model HM, a solid model that has information about the interior of the machining head 13 in addition to information about the three-dimensional shape of the surface of the machining head 13. For example, the control unit 3 may acquire, as the head model HM, a wireframe model that indicates the three-dimensional shape of the machining head 13 using a plurality of lines.
[0169] As described above, if the head housing 138 attached to the head housing 137 is replaceable, the control unit 3 may acquire one head model HM corresponding to one head housing 138 actually attached to the head housing 137. For example, the control unit 3 may acquire one head model HM corresponding to one head housing 138 actually attached to the head housing 137 from a plurality of head models HM respectively corresponding to a plurality of different head housings 138 that can be attached to the head housing 137.
[0170] The head housing 138 may output information capable of identifying the type of head housing 138 to the control unit 3 via a signal contact formed on the head housing 138. Specifically, the head housing 138 may output information capable of identifying the type of head housing 138 to the control unit 3 via an output signal line formed by a first signal contact formed on the head housing 138 and a second signal contact formed on the head housing 137 and in electrical contact with the first signal contact. In this case, the control unit 3 may identify the type of one head housing 138 actually attached to the head housing 137 based on the information output from the head housing 138, and acquire one head model HM corresponding to the identified one head housing 138.
[0171] For example, if the size of the first head housing 138 housing the first irradiation optical system 135 is different from the size of the second head housing 138 housing a second irradiation optical system 135 different from the first irradiation optical system 135, the control unit 3 may acquire a head model HM corresponding to the first head housing 138 and a head model HM corresponding to the second head housing 138.
[0172] The machining unit 1 may be equipped with a camera capable of capturing an image of the machining head 13. In this case, the control unit 3 may identify the type of one head housing 138 actually attached to the head housing 137 based on the image of the machining head 13 generated by the camera, and acquire one head model HM corresponding to the identified one head housing 138. Here, the camera capable of capturing an image of the machining head 13 may be a stereo camera.
[0173] As described above, if the hood 136 attached to the head housing 138 is replaceable, the control unit 3 may acquire one head model HM corresponding to one hood 136 actually attached to the head housing 138. For example, the control unit 3 may acquire one head model HM corresponding to one hood 136 actually attached to the head housing 138 from a plurality of head models HM corresponding to a plurality of different hoods 136 that can be attached to the head housing 138.
[0174] The hood 136 may output information capable of identifying the type of hood 136 to the control unit 3 via a signal contact formed on the hood 136. Specifically, the hood 136 may output the information capable of identifying the type of hood 136 to the control unit 3 via an output signal line formed by a third signal contact formed on the hood 136, a fourth signal contact formed on the head housing 138 and in electrical contact with the third signal contact, a fifth signal contact formed on the head housing 138 and in electrical contact with the fourth signal contact, and a sixth signal contact formed on the head housing 137 and in electrical contact with the fifth signal contact. In this case, the control unit 3 may identify the type of one hood 136 actually attached to the head housing 138 based on the information output from the hood 136, and acquire one head model HM corresponding to the identified one hood 136.
[0175] As described above, if the processing unit 1 is equipped with a camera capable of capturing an image of the processing head 13, the control unit 3 may identify the type of hood 136 actually attached to the head housing 138 based on the image of the processing head 13 generated by the camera, and obtain a head model HM corresponding to the identified hood 136.
[0176] In step S111, the control unit 3 may acquire processing control information in addition to or instead of acquiring the head model HM. For example, in step S111, the control unit 3 may acquire processing path information as at least a part of the processing control information in addition to or instead of acquiring the head model HM.
[0177] 7 again, the control unit 3 then places the measurement model MM generated in step S110 and the head model HM acquired in step S111 in a simulation space, which is a virtual three-dimensional space (step S112). An example of the measurement model MM and head model HM placed in the simulation space is shown in FIG.
[0178] The control unit 3 places the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship in real space between the measurement object M and the processing head 13. In other words, the control unit 3 aligns the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship between the measurement object M and the processing head 13 in real space.
[0179] Here, the state in which "the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship between the measurement target object M and the processing head 13 in real space" may include a state in which the relative positional relationship between the measurement model MM and the head model HM in the simulation space is completely the same as the relative positional relationship between the measurement target object M and the processing head 13 in real space. The state in which "the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship between the measurement target object M and the processing head 13 in real space" may include a state in which the relative positional relationship between the measurement model MM and the head model HM in the simulation space is not completely the same as the relative positional relationship between the measurement target object M and the processing head 13 in real space, but the amount of deviation of the relative positional relationship between the measurement model MM and the head model HM in the simulation space from the relative positional relationship between the measurement target object M and the processing head 13 in real space is equal to or less than an allowable upper limit value.
[0180] To position the measurement model MM and the head model HM in the simulation space, the control unit 3 may acquire head position information indicating the position of the machining head 13 from the head position measurement device 142, and may acquire stage position information indicating the position of the stage 15 from the stage position measurement device 162. The control unit 3 may then identify the position of the machining head 13 in real space based on the head position information. Furthermore, the control unit 3 may identify the position of the stage 15 in real space based on the stage position information. Here, the workpiece W, which is an example of the measurement target object M, is held by the jig 152, which is an example of the measurement target object M, and the jig 152, which is an example of the measurement target object M, is placed on the stage 15, which is also an example of the measurement target object M. Therefore, the relative positional relationships between the stage 15, the jig 152, and the workpiece W are fixed. Therefore, the control unit 3 can identify the position of the stage 15 in real space based on the stage position information, and can identify the respective positions of the jig 152 and the workpiece W in real space based on the position of the stage 15 in real space. That is, the control unit 3 can specify the position of the measurement object M in real space based on the stage position information that substantially indicates the position of the measurement object M. As a result, the control unit 3 can specify the relative positional relationship between the machining head 13 and the measurement object M before the machining unit 1 starts machining the workpiece W. Thereafter, the control unit 3 may place the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship specified based on the head position information and the stage position information.
[0181] In addition to or instead of using the stage position information, the control unit 3 may specify the position of the measurement object M in real space based on the measurement results of the measurement object M by the measurement unit 2. For example, the control unit 3 may specify the position of the measurement object M in real space based on the measurement results of the measurement object M by the measurement unit 2 in step S110. Alternatively, the control unit 3 may calibrate the measurement unit 2 before the measurement unit 2 measures the measurement object M in step S110, and specify the position of the measurement object M in real space based on information obtained in the calibration. The calibration of the measurement unit 2 may mean an initial operation for improving the measurement accuracy of the measurement unit 2. For example, the control unit 3 may control the measurement unit 2 to measure a calibration plate placed on the stage 15, calibrate the measurement unit 2 based on the measurement results of the calibration plate, specify the position of the stage 15 in real space based on the measurement results of the stage 15 measured together with the calibration plate in the calibration, and specify the position of the measurement object M in real space based on the position of the stage 15 in real space. When a workpiece W is placed on the stage 15 on which the calibration plate is placed, the control unit 3 may determine the position of the workpiece W in real space based on the measurement results of the workpiece W measured together with the calibration plate during calibration, and may determine the relative positional relationship between the stage 15 and the workpiece W in real space (i.e., the relative positional relationship between multiple different measured objects M) based on the position of the workpiece W in real space.
[0182] Thereafter, the control unit 3 controls the machining unit 1 to start machining the workpiece W (step S113). As a result, the machining unit 1 starts machining the workpiece W (step S113).
[0183] During at least a part of the machining period after the machining unit 1 starts machining the workpiece W, the control unit 3 acquires, from the head position measuring device 142, head position information indicating the position of the machining head 13 detected by the head position measuring device 142 during at least a part of the machining period (step S114). As described above, when the machining unit 1 starts machining the workpiece W, the head drive system 141 moves the machining head 13. Therefore, it may be considered that the control unit 3 acquires, from the head position measuring device 142, head position information regarding the movement of the machining head 13 detected by the head position measuring device 142 during at least a part of the machining period.
[0184] Furthermore, during at least a part of the machining period after the machining unit 1 starts machining the workpiece W, the control unit 3 acquires, from the stage position measurement device 162, stage position information indicating the position of the stage 15 detected by the stage position measurement device 162 during at least a part of the machining period (step S114). As described above, when the machining unit 1 starts machining the workpiece W, the stage drive system 161 moves the stage 15. Therefore, it may be considered that the control unit 3 has acquired, from the stage position measurement device 162, stage position information regarding the movement of the stage 15 detected by the stage position measurement device 162 during at least a part of the machining period.
[0185] Then, the control unit 3 determines whether interference occurs between the processing head 13 and the measured object M during at least part of the processing period based on the measurement model MM and head model HM placed in the simulation space and the head position information and stage position information acquired in step S114 (steps S115 to S116).
[0186] Specifically, the control unit 3 first moves at least one of the measurement model MM and the head model HM in the simulation space based on the head position information and stage position information acquired in step S114 (step S115).
[0187] In order to move at least one of the measurement model MM and the head model HM in the simulation space, the control unit 3 specifies the position of the processing head 13 in real space based on the head position information acquired in step S114. Furthermore, the control unit 3 specifies the position of the measurement object M in real space based on the stage position information acquired in step S114. Note that the operation of specifying the position of the measurement object M in real space based on the stage position information in step S115 may be the same as the operation of specifying the position of the measurement object M in real space based on the stage position information in step S112. As a result, the control unit 3 can specify the relative positional relationship between the processing head 13 and the measurement object M for at least a part of the processing period.
[0188] Note that, when the measurement unit 2 is able to measure the machining head 13 (particularly, the position of the machining head 13) during at least a portion of the machining period, the control unit 3 may identify the position of the machining head 13 in real space based on the measurement results of the machining head 13 by the measurement unit 2, in addition to or instead of the head position information output from the head position measurement device 142. Similarly, when the measurement unit 2 is able to measure the stage 15 (particularly, the position of the stage 15) during at least a portion of the machining period, the control unit 3 may identify the position of the stage 15 in real space based on the measurement results of the stage 15 by the measurement unit 2, in addition to or instead of the stage position information output from the stage position measurement device 162.
[0189] Then, the control unit 3 moves at least one of the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship identified based on the head position information and stage position information acquired in step S114.
[0190] 11 , the control unit 3 may move the head model HM in the simulation space in the same manner as the movement of the machining head 13 in real space. That is, the control unit 3 may move the head model HM in the simulation space in accordance with the movement of the machining head 13 in real space. In other words, the control unit 3 may move the head model HM in the simulation space so that the head model HM follows the machining head 13 moving in real space in the simulation space. As a result, even when the machining head 13 moves in real space, the relative positional relationship between the measurement model MM and the head model HM in the simulation space remains the same as the relative positional relationship between the measurement object M and the machining head 13 in real space.
[0191] 12 , the control unit 3 may move the measurement model MM in the simulation space in the same manner as the movement of the measurement target object M in real space. That is, the control unit 3 may move the measurement model MM in the simulation space in accordance with the movement of the measurement target object M in real space. In other words, the control unit 3 may move the measurement model MM in the simulation space so that the measurement model MM follows the measurement target object M moving in real space in the simulation space. As a result, even when the measurement target object M moves in real space, the relative positional relationship between the measurement model MM and the head model HM in the simulation space remains the same as the relative positional relationship between the measurement target object M and the processing head 13 in real space.
[0192] However, if the machining head 13 is not moving during a certain period that is at least a part of the machining period, the control unit 3 may not move the head model HM in accordance with the movement of the machining head 13 during that period. In this case, the control unit 3 may determine whether interference between the machining head 13 and the measurement object M will occur during that period without using head position information. Similarly, if the stage 15 is not moving during a certain period that is at least a part of the machining period, the control unit 3 may not move the measurement model MM in accordance with the movement of the stage 15 (i.e., the movement of the measurement object M) during that period. In this case, the control unit 3 may determine whether interference between the machining head 13 and the measurement object M will occur during that period without using stage position information. In other words, the control unit 3 may determine whether interference between the machining head 13 and the measurement object M will occur during at least a part of the machining period based on the measurement model MM, the head model HM, and at least one of the head position information and the stage position information.
[0193] When the output unit 4 includes a display device, the control unit 3 may control the output unit 4 to display the head model HM and the measurement model MM. For example, the control unit 3 may generate display data for displaying the head model HM and the measurement model MM, and output the generated display data to the output unit 4. The output unit 4 may display the head model HM and the measurement model MM based on the display data input to the output unit 4 from the control unit 3.
[0194] As an example, the control unit 3 may control the output unit 4 to display the movement of the moving head model HM in step S115. Specifically, the control unit 3 may control the output unit 4 to display the movement of the head model HM by displaying the moving head model HM. Furthermore, the control unit 3 may control the output unit 4 to display the movement of the measurement model MM in step S115. Specifically, the control unit 3 may control the output unit 4 to display the movement of the measurement model MM by displaying the moving measurement model MM.
[0195] 7 , the control unit 3 then determines whether interference between the machining head 13 and the measured object M will occur during at least a portion of the machining period based on the relative positional relationship between the measurement model MM and the head model HM in the simulation space (step S116). That is, the control unit 3 determines whether interference between the machining head 13 and the measured object M will occur based on the relative positional relationship between the measurement model MM and the head model HM in the simulation space (step 116). In particular, since the first interference determination operation is an operation that determines whether interference between the machining head 13 and the measured object M will occur after starting machining of the workpiece W, in step S116 the control unit 3 may typically determine whether interference between the machining head 13 and the measured object M has actually occurred. However, in step S116, the control unit 3 may also determine whether there is a possibility of interference between the machining head 13 and the measured object M occurring in the future.
[0196] For example, as described above, a state in which interference occurs between the processing head 13 and the measurement object M may include a state in which the processing head 13 and the measurement object M are in contact. Here, the relative positional relationship between the head model HM and the measurement model MM in the simulation space is the same as the relative positional relationship between the processing head 13 and the measurement object M in the real space. As a result, when the head model HM and the measurement model MM are in contact in the simulation space, there is a high possibility that the processing head 13 and the measurement object M will come into contact in the real space. For this reason, the control unit 3 may determine that interference between the processing head 13 and the measurement object M will occur when the head model HM and the measurement model MM are in contact in the simulation space.
[0197] For example, as described above, a state in which interference between the machining head 13 and the measurement object M occurs may include a state in which the machining head 13 and the measurement object M are not in contact with each other but the distance D between them is less than the allowable lower limit distance DTH. Here, the relative positional relationship between the head model HM and the measurement model MM in the simulation space is the same as the relative positional relationship between the machining head 13 and the measurement object M in the real space. As a result, as shown in FIGS. 11 and 12 , when the distance D' between the head model HM and the measurement model MM in the simulation space is less than the allowable lower limit distance DTH, it is highly likely that the distance D between the machining head 13 and the measurement object M in the real space is less than the allowable lower limit distance DTH. Therefore, the control unit 3 may determine that interference between the machining head 13 and the measurement object M occurs when the distance D' between the head model HM and the measurement model MM in the simulation space is less than the allowable lower limit distance DTH. The allowable lower limit distance DTH may be changeable by the operator.
[0198] The allowable lower limit distance DTH may be set in consideration of the possibility of interference between the machining head 13 and the measurement object M. Typically, the allowable lower limit distance DTH may be set in consideration of the possibility of an actual collision between the machining head 13 and the measurement object M. Such an allowable lower limit distance DTH is typically a value greater than 0. As a result, the control unit 3 can determine that interference between the machining head 13 and the measurement object M will occur before the machining head 13 and the measurement object M actually collide. Therefore, as will be described later, the control unit 3 can stop the machining unit 1 before the machining head 13 and the measurement object M actually collide.
[0199] The above-described state in which the head model HM and the measurement model MM are in contact may be considered equivalent to a state in which the distance D' between the head model HM and the measurement model MM is zero. The state in which the processing head 13 and the measurement object M are in contact may be considered equivalent to a state in which the distance D between the processing head 13 and the measurement object M is zero.
[0200] 7 again, if it is determined in step S116 that interference between the machining head 13 and the object to be measured M will occur (step S116: Yes), the control unit 3 controls the machining unit 1 to stop machining of the workpiece W (step S118). As a result, the possibility that adverse effects caused by interference between the machining head 13 and the object to be measured M will actually occur is reduced. An example of an adverse effect caused by interference between the machining head 13 and the object to be measured M is damage to at least one of the machining head 13 and the object to be measured M due to contact between the machining head 13 and the object to be measured M. However, the control unit 3 does not have to control the machining unit 1 to stop machining of the workpiece W.
[0201] When it is determined that interference between the machining head 13 and the measurement object M will occur (step S116: Yes), the control unit 3 may control the output unit 4 to notify the operator of the machining system SYS that interference has occurred (step S119). However, the control unit 3 does not have to control the output unit 4 to notify the operator of the machining system SYS that interference has occurred. As an example, as described above, the control unit 3 may notify the operator of the machining system SYS that interference has occurred by displaying a display object for notifying the operator of the machining system SYS that interference has occurred. That is, the control unit 3 may generate display data for displaying a display object for notifying the operator of the machining system SYS that interference has occurred, and output the generated display data to the output unit 4. The output unit 4 may notify the operator of the machining system SYS that interference has occurred by displaying a display object for notifying the operator of the machining system SYS that interference has occurred, based on the display data input to the output unit 4 from the control unit 3. Examples of display objects include at least one of a text message and an icon.
[0202] As another example, when the control unit 3 controls the output unit 4 to display the head model HM as described above, the control unit 3 may notify the operator of the machining system SYS that interference has occurred by displaying an interference model portion of the head model HM that is determined to have caused interference. That is, the control unit 3 may generate display data for displaying the interference model portion of the head model HM and output the generated display data to the output unit 4. The output unit 4 may notify the operator of the machining system SYS that interference has occurred by displaying the interference model portion of the head model HM based on the display data input from the control unit 3 to the output unit 4. In this case, the control unit 3 may control the output unit 4 so that the display mode of the interference model portion of the head model HM that is determined to have caused interference differs from the display mode of the non-interference model portion of the head model HM that is determined not to have caused interference. An example of the display mode is a display color.
[0203] As another example, when the control unit 3 controls the output unit 4 to display the measurement model MM, the operator of the machining system SYS may be notified of the occurrence of interference by displaying an interference model portion of the measurement model MM that is determined to have interfered. That is, the control unit 3 may generate display data for displaying the interference model portion of the measurement model MM and output the generated display data to the output unit 4. The output unit 4 may notify the operator of the machining system SYS of the occurrence of interference by displaying the interference model portion of the measurement model MM based on the display data input from the control unit 3 to the output unit 4. In this case, the control unit 3 may control the output unit 4 so that the display mode of the interference model portion of the measurement model MM that is determined to have interfered is different from the display mode of the non-interference model portion of the measurement model MM that is determined not to have interfered. An example of the display mode is a display color.
[0204] The control unit 3 may change the display mode of an interference model portion of the head model HM where interference is determined to occur, based on the degree of interference indicating the magnitude of the interference that will occur. For example, the control unit 3 may control the output unit 4 to display the interference model portion in a first display mode when the degree of interference of the interference model portion is a first magnitude, and to display the interference model portion in a second display mode different from the first display mode when the degree of interference of the interference model portion is a second magnitude different from the first magnitude. An example of the display mode is a display color. An example of the display mode is the type of a text message that notifies the user that interference has occurred. An example of the display mode is the size of the text message that notifies the user that interference has occurred. An example of the display mode is the type of an icon that notifies the user that interference has occurred. An example of the display mode is the size of the icon that notifies the user that interference has occurred.
[0205] As another example, if the output unit 4 includes a speaker, the control unit 3 may notify the operator of the machining system SYS that interference has occurred by controlling the output unit 4 to output a sound for notifying the operator that interference has occurred. In this case, the control unit 3 may change the output mode of the sound based on the degree of interference indicating the magnitude of the interference that has occurred. For example, the control unit 3 may control the output unit 4 to output the sound in a first output mode when the degree of interference of the interference model portion is a first magnitude, and to output the sound in a second output mode different from the first output mode when the degree of interference of the interference model portion is a second magnitude different from the first magnitude. An example of the output mode of the sound is the volume. An example of the output mode of the sound is the content of the sound.
[0206] If it is determined that interference will occur between the machining head 13 and the measurement object M (step S116: Yes), the control unit 3 may correct the machining control information (step S120). However, for example, if the interference that occurred is very slight, if the notification of the occurrence of interference is erroneous due to an error, or if the operator determines that it is unnecessary, the control unit 3 does not need to correct the machining control information. In this case, the control unit 3 may control the machining unit 1 to resume machining of the workpiece W, or may stop the machining unit 1.
[0207] For example, the control unit 3 may correct the processing control information so that interference between the processing head 13 and the measurement object M does not occur. For example, the control unit 3 may correct the processing control information so that the movement of the processing head 13 moving to process the workpiece W becomes an appropriate movement that does not cause interference between the processing head 13 and the measurement object M. For example, the control unit 3 may correct the processing control information so that the movement of the stage 15 moving to process the workpiece W (i.e., the movement of the jig 152 and the workpiece W, and the movement of the measurement object M) becomes an appropriate movement that does not cause interference between the processing head 13 and the measurement object M.
[0208] When the processing control information is corrected, the control unit 3 may control the processing unit 1 to process the workpiece W using the corrected processing control information, as shown in Fig. 7. In other words, when the processing control information is corrected, the control unit 3 may perform the operations from step S114 onwards again to process the workpiece W using the corrected processing control information, as shown in Fig. 7. In other words, even after the processing unit 1 starts processing the workpiece W using the corrected processing control information, the control unit 3 may acquire head position information and stage position information (step S114), and may continue to determine whether interference between the processing head 13 and the measurement object M occurs during at least a part of the processing period based on the acquired head position information and stage position information (steps S115 to S116).
[0209] The processing path information included in the processing control information indicates the movement trajectory of the target irradiation area PA onto which the processing light EL is irradiated. The target irradiation area PA moves due to the movement of at least one of the processing head 13 and the stage 15. Therefore, the processing path information may be considered to be information that essentially controls the movement of at least one of the processing head 13 and the stage 15 (i.e., the movement of at least one of the processing head 13 and the measured object M). In other words, the processing path information may be considered to be information that essentially controls the movement of at least one of the processing head 13 and the stage 15 (i.e., the movement of at least one of the processing head 13 and the measured object M). In this case, the control unit 3 may modify the processing path information, which is at least a part of the processing control information, in step S116. For example, the control unit 3 may modify the processing path information so that interference between the processing head 13 and the measured object M does not occur.
[0210] The control unit 3 may modify the entire processing control information (e.g., the entire processing path information). Alternatively, the control unit 3 may modify a portion of the processing control information (e.g., a portion of the processing path information). Specifically, the control unit 3 may modify a first control information portion of the processing control information without modifying a second control information portion of the processing control information that is different from the first control information portion. In this case, processing control information including the modified first control information portion and the unmodified second control information portion may be used as the modified processing control information. When a portion of the processing control information is selectively modified in this way, the computational load required to modify the processing control information can be reduced compared to when the entire processing control information is modified.
[0211] As an example, if it is determined that interference between the machining head 13 and the measured object M will occur during a first period in which the first portion of the workpiece W is machined based on the first control information portion of the machining control information, the control unit 3 may selectively modify the first control information portion. For example, the control unit 3 may selectively modify the first control information portion so that the movement of the machining head 13 moving to machine the first portion of the workpiece W based on the first control information portion becomes an appropriate movement that does not cause interference between the machining head 13 and the measured object M. The movement of the machining head 13 that does not cause interference is typically the movement of the machining head 13 moving along a movement path that does not cause interference. In this case, the modification of the first control information portion may include modification of the movement path of the machining head 13 moving along the first control information portion. Alternatively, for example, the control unit 3 may selectively modify the first control information portion so that interference between the machining head 13 and the measured object M is not caused by keeping the machining head 13 stationary during a period in which the first portion of the workpiece W is machined based on the first control information portion. Similarly, the control unit 3 may selectively correct the first control information portion so that the movement of the stage 15 moving to process the first portion of the workpiece W based on the first control information portion (i.e., the movement of the jig 152 and the workpiece W, and the movement of the measured object M) becomes an appropriate movement that does not cause interference between the machining head 13 and the measured object M. The movement of the stage 15 that does not cause interference is typically the movement of the stage 15 moving along a movement path that does not cause interference. In this case, the correction of the first control information portion may include correction of the movement path of the stage 15 moving along the first control information portion. Alternatively, for example, the control unit 3 may selectively correct the first control information portion so that the stage 15 is stationary during the period in which the first portion of the workpiece W is processed based on the first control information portion, thereby preventing interference between the machining head 13 and the measured object M.
[0212] On the other hand, for example, if it is determined that interference between the machining head 13 and the measurement object M will not occur during the second period in which the second portion of the workpiece W is machined based on the second control information portion of the machining control information, the control unit 3 does not need to modify the second control information portion. However, the control unit 3 may modify a portion of the second control information portion. For example, the control unit 3 may modify the third control information portion of the machining control information used to machine the third portion of the workpiece W during a third period of the second period that is close to the first period in which it is determined that the above-mentioned interference will occur (i.e., the third control information portion that is part of the second control information used to machine the third portion of the workpiece W during the third period). In other words, the control unit 3 may modify the third control information portion used to machine the third portion of the workpiece W before and after the first period in which the first portion of the workpiece W is machined using the first control information portion determined to cause interference.
[0213] If it is determined based on the first control information portion of the processing control information that interference between the processing head 13 and the measured object M will occur during the first period in which the first portion of the workpiece W is processed, the control unit 3 may control the processing unit 1 to stop processing the first portion of the workpiece W in step S118. On the other hand, if it is determined based on the second control information portion of the processing control information that interference between the processing head 13 and the measured object M will occur during the second period in which the second portion of the workpiece W is processed, the control unit 3 may not control the processing unit 1 to stop processing the second portion of the workpiece W in step S118. In this case, the control unit 3 may control the processing unit 1 to proceed with processing the second portion of the workpiece W. As an example, the control unit 3 may control the processing unit 1 to stop processing the first portion of the workpiece W, and then control the processing unit 1 to start processing the second portion of the workpiece W. In other words, the processing unit 1 may stop processing the first portion of the workpiece W that will cause interference, while proceeding with processing the second portion of the workpiece W that will not cause interference. In other words, the machining unit 1 may skip machining a first portion of the workpiece W that causes interference, while continuing machining a second portion of the workpiece W that does not cause interference. As a result, compared to when machining of the entire workpiece W is stopped, the machining unit 1 can continue machining the workpiece W as much as possible while reducing the possibility of interference.
[0214] Furthermore, if the interference is relatively small, even if processing of the workpiece W is continued, there is a possibility that adverse effects due to the interference (e.g., damage to at least one of the machining head 13 and the measurement object M described above) will not actually occur. Therefore, if the interference is relatively small, the control unit 3 may control the machining unit 1 to proceed with processing of the workpiece W without stopping the processing of the workpiece W and / or modifying the processing control information. For example, if processing of the workpiece W is continued under a situation where the distance D' between the head model HM and the measurement model MM is less than the allowable lower limit distance DTH, the smaller the difference between the distance D' and the allowable lower limit distance DTH, the higher the possibility that adverse effects due to the interference (e.g., damage to at least one of the machining head 13 and the measurement object M described above) will not actually occur. Therefore, the control unit 3 may determine that the interference is relatively small if the difference between the distance D' and the allowable lower limit distance DTH is smaller than the allowable threshold. As a result, compared to when processing of the workpiece W is unconditionally stopped, the processing unit 1 can continue processing the workpiece W as long as possible while reducing the possibility of adverse effects caused by interference.
[0215] Alternatively, regardless of the interference that occurs, the control unit 3 may control the machining unit 1 to proceed with machining of the workpiece W without stopping the machining of the workpiece W and / or without modifying the machining control information. Specifically, when it is determined that interference will occur between the machining head 13 and the measured object M during a first period in which the first portion of the workpiece W is machined based on the first control information portion of the machining control information, the control unit 3 may control the machining unit 1 to proceed with machining of the first portion of the workpiece W after delaying the movement of at least one of the machining head 13 and the stage 15. Specifically, the control unit 3 may control the machining unit 1 to proceed with machining of the first portion of the workpiece W after slowing the movement speed of the machining head 13 during the first period compared to the movement speed of the machining head 13 when it is determined that no interference will occur during the first period. Similarly, the control unit 3 may control the machining unit 1 to slow the movement speed of the stage 15 during the first period (i.e., the movement speed of the measured object M) below the movement speed of the stage 15 when it is determined that no interference will occur during the first period, and then proceed with machining of the first portion of the workpiece W. In this case, compared to when the movement speeds of the machining head 13 and the stage 15 are not slowed, the operator of the machining system SYS has more time to address the interference between the machining head 13 and the measured object M before adverse effects due to the interference between the machining head 13 and the measured object M (e.g., damage to at least one of the machining head 13 and the measured object M) actually occur. Therefore, the operator of the machining system SYS can address the interference so that adverse effects due to the interference do not occur. As a result, compared to when machining of the workpiece W is stopped, the machining unit 1 can continue machining the workpiece W as long as possible while reducing the possibility of adverse effects due to interference. Alternatively, the slower the movement speed of the processing head 13 and the stage 15, the smaller the recoil when the processing head 13 and the stage 15 stop, and therefore the lower the possibility of a collision between the processing head 13 and the measured object M due to the recoil.From this point of view, when the movement speed of at least one of the machining head 13 and the stage 15 slows down, the machining unit 1 can continue machining the workpiece W as long as possible while reducing the possibility of adverse effects caused by interference, compared to when machining of the workpiece W is stopped.
[0216] The control unit 3 may change the allowable lower limit distance DTH. At this time, the control unit 3 may output a notification via the output unit 4 to inquire of the operator whether or not the allowable lower limit distance DTH can be changed.
[0217] On the other hand, if it is determined in step S116 that interference between the machining head 13 and the measurement object M does not occur (step S116: No), the control unit 3 does not need to control the machining unit 1 to stop machining of the workpiece W. In this case, the control unit 3 may control the machining unit 1 to continue (i.e., proceed) machining of the workpiece W. Thereafter, the control unit 3 determines whether or not machining of the workpiece W has been completed (step S117).
[0218] As a result of the determination in step S117, if it is determined that the processing of the workpiece W has not been completed (step S117: No), the control unit 3 controls the processing unit 1 to continue processing the workpiece W. In this case, the control unit 3 acquires head position information and stage position information (step S114), and may continue to determine whether or not interference occurs between the processing head 13 and the measurement object M during at least a part of the processing period based on the acquired head position information and stage position information (steps S115 to S116).
[0219] On the other hand, if it is determined in step S117 that the machining of the workpiece W has been completed (step S117: Yes), the machining system SYS may end the first interference detection operation.
[0220] As described above, by performing the first interference detection operation, the control unit 3 can determine whether or not interference will occur between the machining head 13 and the measurement object M during at least a portion of the machining period after starting machining of the workpiece W. Therefore, as described above, the machining system SYS can use at least a portion of the machining period as a period for performing the first interference detection operation. Therefore, the machining system SYS can shorten the time required to complete the first interference detection operation and the machining operation compared to when the first interference detection operation and the machining operation are performed at different times.
[0221] Furthermore, in order to determine whether interference will occur between the processing head 13 and the measurement object M, the control unit 3 uses a measurement model MM that is generated by actually measuring the three-dimensional shape of the measurement object M. Therefore, even if the measurement object M is unintentionally deformed and the three-dimensional shape of the measurement object M differs from the ideal or designed three-dimensional shape, the control unit 3 can appropriately determine whether interference will occur between the processing head 13 and the measurement object M. The reason for this will be explained below with reference to FIGS. 13(a) and 13(b).
[0222] FIG. 13A shows the relative positional relationship between the measurement model MM, which indicates the actual three-dimensional shape of the measurement target object M, and the head model HM. As shown in FIG. 13A, even when the measurement target object M is unintentionally deformed, the measurement model MM indicates the unintentionally deformed three-dimensional shape of the measurement target object M. This is because the measurement model MM is generated based on measurement information obtained by the measurement unit 2 actually measuring the unintentionally deformed three-dimensional shape of the measurement target object M. Therefore, the control unit 3 uses the measurement model MM, which appropriately reflects the unintentional deformation of the measurement target object M, to determine whether interference between the processing head 13 and the measurement target object M will occur. As a result, the control unit 3 can appropriately determine whether interference between the processing head 13 and the measurement target object M will occur, even when the measurement target object M is unintentionally deformed. In particular, the control unit 3 can appropriately determine whether interference between the processing head 13 and the deformed portion MP of the measurement target object M will occur. 13(a), the distance D' between the deformed model portion MM_deform corresponding to the deformed portion MP of the measurement model MM and the head model HM is less than the allowable lower limit distance DTH, and therefore the control unit 3 determines that interference will occur between the machining head 13 and the measurement object M. Note that while Fig. 13(a) shows the measurement model MM when the jig 152 is deformed, the same can be said when at least one of the workpiece W and the stage 15 is deformed.
[0223] On the other hand, Figure 13(b) shows the relative positional relationship between the object model OM and the head model HM when determining whether interference between the machining head 13 and the measurement object M occurs using an object model OM that represents the ideal or designed three-dimensional shape of the measurement object M instead of a measurement model MM that represents the actual three-dimensional shape of the measurement object M. As shown in Figure 13(b), if the measurement object M is unintentionally deformed, the object model OM does not represent the three-dimensional shape of the measurement object M that has been unintentionally deformed. This is because the object model OM does not reflect the unintentional deformation of the measurement object M. For this reason, the control unit 3 may not be able to appropriately determine whether interference between the machining head 13 and the measurement object M occurs using the object model OM. In particular, the control unit 3 may not be able to appropriately determine whether interference between the machining head 13 and the deformed portion MP of the measurement object M occurs. 13B, for example, even though the distance D' between the deformed model portion MM_deform corresponding to the deformed portion MP of the measurement model MM and the head model HM is less than the allowable lower limit distance DTH, the control unit 3 erroneously determines that no interference will occur between the machining head 13 and the measurement object M because the distance D' between the object model OM and the head model HM is also less than the allowable lower limit distance DTH. The first interference determination operation has the advantage of reducing the possibility of such an erroneous determination occurring.
[0224] Furthermore, by using the measurement model MM, the control unit 3 can appropriately determine whether or not interference will occur between the processing head 13 and the measurement object M, even if a foreign object is included in the measurement object M. The reason for this will be explained below with reference to Figures 14(a) and 14(b).
[0225] FIG. 14A shows the relative positional relationship between the measurement model MM, which shows the actual three-dimensional shape of the measurement target object M including a tool, which is an example of a foreign object, and the head model HM. As shown in FIG. 14A, even when the measurement target object M includes a foreign object, the measurement model MM shows the three-dimensional shape of the measurement target object M including the foreign object. In other words, the measurement model MM includes a foreign object model portion MM_ext, which shows the three-dimensional shape of the foreign object. This is because the measurement model MM is generated based on measurement information obtained by the measurement unit 2 actually measuring the three-dimensional shape of the measurement target object M including the foreign object. Therefore, the control unit 3 determines whether interference between the machining head 13 and the measurement target object M will occur using the measurement model MM, which appropriately reflects the foreign object contained in the measurement target object M. As a result, the control unit 3 can appropriately determine whether interference between the machining head 13 and the measurement target object M will occur, even when the measurement target object M includes a foreign object. In particular, the control unit 3 can appropriately determine whether interference between the machining head 13 and the measurement target object M will occur. For example, in Figure 14 (a), the distance D' between the foreign object model portion MM_ext of the measurement model MM corresponding to the foreign object and the head model HM is less than the allowable lower limit distance DTH, so the control unit 3 determines that interference will occur between the processing head 13 and the measured object M.
[0226] On the other hand, Figure 14(b) shows the relative positional relationship between the object model OM and the head model HM when determining whether interference between the machining head 13 and the measured object M occurs using an object model OM that represents the ideal or designed three-dimensional shape of the measured object M instead of a measurement model MM that represents the actual three-dimensional shape of the measured object M. As shown in Figure 14(b), if the measured object M contains a foreign object, the object model OM does not represent the three-dimensional shape of the foreign object. This is because the object model OM does not reflect foreign objects unintentionally contained in the measured object M. For this reason, the control unit 3 may not be able to appropriately determine whether interference between the machining head 13 and the measured object M occurs using the object model OM. In particular, the control unit 3 may not be able to appropriately determine whether interference between the machining head 13 and the measured object M occurs. 14B, for example, even though the distance D' between the foreign object model portion MM_ext of the measurement model MM corresponding to the foreign object and the head model HM is less than the allowable lower limit distance DTH, the control unit 3 erroneously determines that no interference will occur between the machining head 13 and the measurement object M because the distance D' between the object model OM and the head model HM is also less than the allowable lower limit distance DTH. The first interference determination operation has the advantage of reducing the possibility of such an erroneous determination occurring.
[0227] The control unit 3 may determine whether interference between the processing head 13 and the measurement object M will occur using the measurement model MM indicating the actual three-dimensional shape of the measurement object M, and may also determine whether interference between the processing head 13 and the measurement object M will occur using the object model OM indicating the ideal or designed three-dimensional shape of the measurement object M. In this case, the control unit 3 can more accurately determine whether interference between the processing head 13 and the measurement object M will occur. As a result, the control unit 3 can further reduce the possibility of adverse effects due to interference. Even when the second to fourth interference operations described below are performed, the control unit 3 may determine whether interference between the processing head 13 and the measurement object M will occur using the measurement model MM indicating the actual three-dimensional shape of the measurement object M, and may also determine whether interference between the processing head 13 and the measurement object M will occur using the object model OM indicating the ideal or designed three-dimensional shape of the measurement object M.
[0228] Furthermore, the control unit 3 may perform part of the first collision detection operation shown in Fig. 7, and another control unit different from the control unit 3 may perform another part of the first collision detection operation shown in Fig. 7. As an example, either the control unit 3 or the other control unit may perform the operations from step S110 to step S111 as part of the first collision detection operation, and the other of the control unit 3 or the other control unit may perform the operations from step S112 to step S120 as the other part of the first collision detection operation. The control unit different from the control unit 3 may be a cloud server that can communicate with the control unit 3 via a network.
[0229] (2-2-1-2) Second Interference Determination Operation Next, the second interference determination operation will be described. The second interference determination operation is an operation that determines whether or not interference will occur between the machining head 13 and the object to be measured M during at least a portion of the machining period, before starting machining of the workpiece W. Below, the second interference determination operation will be described with reference to FIG. 15. FIG. 15 is a flowchart showing the flow of the second interference determination operation. Note that in the following explanation, operations that have already been explained will be assigned the same step numbers and detailed explanations thereof will be omitted.
[0230] 15 , in the second interference detection operation, as in the first interference detection operation, the control unit 3 generates a measurement model MM (step S110) and acquires a head model HM (i.e., an interference model) (step S111). Note that in step S111, in addition to or instead of acquiring the head model HM, the control unit 3 may acquire at least one of head position information related to the movement of the machining head 13 and stage position information related to the movement of the stage 15.
[0231] In the second interference detection operation, in parallel with or before or after the operations of steps S110 to S111, the control unit 3 acquires processing control information (e.g., processing control information including processing path information) (step S211). Specifically, the control unit 3 acquires processing control information to be used in the processing operation performed after the second interference detection operation has been performed.
[0232] The control unit 3 may acquire the processing control information from a control information generating device that generates the processing control information. The processing control information may be recorded in a storage device 32 (i.e., a recording medium) included in the control unit 3. In this case, the control unit 3 may acquire the processing control information by reading the processing control information from the storage device 32. The processing control information may be recorded in any storage medium (e.g., a hard disk or semiconductor memory) built into the control unit 3 or externally attachable to the control unit 3. In this case, the control unit 3 may acquire the processing control information by reading the processing control information from any recording medium. The processing control information may be recorded in a device external to the control unit 3. In this case, the control unit 3 may acquire the processing control information by downloading the processing control information from a device external to the control unit 3 via a network interface. Alternatively, the control unit 3 may acquire the processing control information by generating the processing control information.
[0233] Thereafter, the control unit 3 places the measurement model MM and the head model HM in the simulation space based on the processing control information acquired in step S211 (step S212). Specifically, as described above, the processing control information (particularly, the processing path information) may be considered to be information for controlling the movement of at least one of the processing head 13 and the stage 15 (i.e., the movement of at least one of the processing head 13 and the object to be measured M). In this case, the control unit 3 may estimate (in other words, calculate) the relative positional relationship between the processing head 13 and the stage 15 at the time of starting processing of the workpiece W based on the processing control information. Thereafter, the control unit 3 may place the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space is the same as the relative positional relationship estimated based on the processing control information.
[0234] Thereafter, the control unit 3 moves at least one of the measurement model MM and the head model HM in the simulation space based on the processing control information acquired in step S211 (step S213). Specifically, as described above, the processing control information (particularly, the processing path information) may be considered to be information for controlling the movement of at least one of the processing head 13 and the stage 15 (i.e., the movement of at least one of the processing head 13 and the measurement object M). In this case, the control unit 3 may estimate (in other words, calculate) the relative positional relationship between the processing head 13 and the stage 15 during the processing period based on the processing control information. In particular, the control unit 3 may estimate (in other words, calculate) a change in the relative positional relationship between the processing head 13 and the stage 15 during the processing period based on the processing control information. Thereafter, the control unit 3 moves at least one of the measurement model MM and the head model HM in the simulation space so that the relative positional relationship between the measurement model MM and the head model HM in the simulation space becomes the same as the relative positional relationship estimated based on the processing control information. As a result, in the second interference determination operation in which whether or not interference will occur during the machining period is determined before machining of the workpiece W is started, as in the first interference determination operation in which whether or not interference will occur during the machining period is determined after machining of the workpiece W is started, the control unit 3 can move the head model HM in the simulation space in the same movement manner as the machining head 13 in real space, and can move the measurement model MM in the simulation space in the same movement manner as the measured object M in real space. Therefore, the operation of step S213 in FIG. 15 may be the same as the operation of step S115 in FIG. 7 in which at least one of the measurement model MM and the head model HM is moved, except that machining control information is used to move at least one of the measurement model MM and the head model HM. Therefore, a detailed description of the operation of step S213 in FIG. 15 will be omitted.
[0235] Then, in the second interference determination operation, as in the first interference determination operation, the control unit 3 determines whether interference will occur between the processing head 13 and the measured object M during at least part of the processing period based on the relative positional relationship between the measurement model MM and the head model HM in the simulation space (step S116).
[0236] As a result of the determination in step S116, if it is determined that interference will occur between the machining head 13 and the measurement object M (step S116: Yes), in the second interference determination operation as well, as in the first interference determination operation, the control unit 3 controls the output unit 4 to notify the operator of the machining system SYS that interference has occurred (step S119), and may modify the machining control information (step S120). On the other hand, if it is determined that interference will not occur between the machining head 13 and the measurement object M (step S116: No), the control unit 3 does not need to control the output unit 4 to notify the operator of the machining system SYS that interference has occurred, and does not need to modify the machining control information.
[0237] Incidentally, when it is determined that interference will occur between the machining head 13 and the measurement object M, the control unit 3 may control the machining unit 1 to stop machining of the workpiece W that is about to start, in addition to or instead of correcting the machining control information. That is, the control unit 3 may control the machining unit 1 to stop machining of the workpiece W that has not yet started. In other words, the control unit 3 may control the machining unit 1 not to start machining of the workpiece W that has not yet started.
[0238] Thereafter, the control unit 3 repeats the operation of moving at least one of the measurement model MM and the head model HM in the simulation space (step S213) and the operation of determining whether interference occurs between the processing head 13 and the object to be measured M (step S116) until the movement of the measurement model MM and the head model HM based on the processing control information is completed (step S214).
[0239] Note that the control unit 3 may terminate the operation of moving at least one of the measurement model MM and the head model HM in the simulation space (step S213) and the operation of determining whether interference will occur between the machining head 13 and the measurement object M (step S116) before the movement of the measurement model MM and the head model HM based on the machining control information is completed. For example, if the operator wishes to know whether interference will occur throughout the entire machining period, the control unit 3 may repeat the operation of moving at least one of the measurement model MM and the head model HM in the simulation space (step S213) and the operation of determining whether interference will occur between the machining head 13 and the measurement object M (step S116) until the movement of the measurement model MM and the head model HM based on the machining control information is completed (step S214). As another example, if the operator wishes to know whether interference will occur during only part of the machining period, the control unit 3 may terminate the operation of moving at least one of the measurement model MM and the head model HM in the simulation space (step S213) and the operation of determining whether interference will occur between the machining head 13 and the object to be measured M (step S116) before the movement of the measurement model MM and the head model HM based on the machining control information is completed. As a result, the control unit 3 does not need to perform the second interference determination operation more than necessary.
[0240] Thereafter, after the movement of the measurement model MM and the head model HM based on the machining control information is completed, the control unit 3 controls the machining unit 1 to start machining the workpiece W (step S113).
[0241] As described above, by performing the second interference determination operation, the control unit 3 can determine whether or not interference will occur between the machining head 13 and the object to be measured M during at least a portion of the machining period before starting machining of the workpiece W. Therefore, as described above, the machining system SYS (or an operator of the machining system SYS) can deal with interference that will occur due to the machining operation before actually starting the machining operation. As a result, the possibility of interference actually occurring after the machining operation is started is reduced. In other words, the possibility of adverse effects actually occurring due to interference between the machining head 13 and the object to be measured M after the machining operation is started is reduced.
[0242] Furthermore, in the second interference determination operation, as in the first interference determination operation, the control unit 3 uses a measurement model MM generated by actually measuring the three-dimensional shape of the measurement object M to determine whether interference will occur between the machining head 13 and the measurement object M. Therefore, in the second interference determination operation, as in the first interference determination operation, the control unit 3 can appropriately determine whether interference will occur between the machining head 13 and the measurement object M even if the measurement object M is unintentionally deformed. Furthermore, the control unit 3 can appropriately determine whether interference will occur between the machining head 13 and the measurement object M even if the measurement object M contains a foreign object.
[0243] As described in the first interference detection operation, if the interference is relatively small, there is a possibility that adverse effects due to the interference will not actually occur even if machining of the workpiece W is continued. Therefore, in the second interference detection operation, as in the first interference detection operation, the control unit 3 may control the machining unit 1 to start machining of the workpiece W without modifying the machining control information in step S120. Alternatively, in the second interference detection operation, as in the first interference detection operation, the control unit 3 may control the machining unit 1 to start machining of the workpiece W after slowing down the movement speed of at least one of the machining head 13 and the stage 15 during the period in which it is determined that interference will occur, without modifying the machining control information in step S120.
[0244] The control unit 3 may perform the second interference determination operation multiple times using multiple different lower allowable distance limits DTH. For example, the control unit 3 may perform the second interference determination operation using a first lower allowable distance limit DTH, and then perform the second interference determination operation using a second lower allowable distance limit DTH that is different from the first lower allowable distance limit DTH.
[0245] Furthermore, the control unit 3 may perform part of the second interference detection operation shown in Fig. 15, and another control unit different from the control unit 3 may perform another part of the second interference detection operation shown in Fig. 15. As an example, either the control unit 3 or the other control unit may perform the operations from step S110 to step S111 as part of the second interference detection operation, and the other of the control unit 3 or the other control unit may perform the operations from step S211 to step S113 as the other part of the second interference detection operation. The control unit different from the control unit 3 may be a cloud server that can communicate with the control unit 3 via a network.
[0246] (2-2-1-3) Third Interference Determination Operation Next, the third interference determination operation will be described. Similar to the second interference determination operation, the third interference determination operation is an operation for determining whether or not interference between the machining head 13 and the object to be measured M will occur during at least a portion of the machining period before starting machining of the workpiece W. The third interference determination operation differs from the second interference determination operation in that it uses an object model OM instead of the measurement model MM to determine whether or not interference between the machining head 13 and the object to be measured M will occur. The third interference determination operation will be described below with reference to FIG. 16. FIG. 16 is a flowchart showing the flow of the third interference determination operation.
[0247] 16 , the control unit 3 acquires an object model OM (step S310). The object model OM is a three-dimensional model that indicates the three-dimensional shape of the measurement target object M. In particular, the object model OM is a three-dimensional model that indicates the three-dimensional shape of the surface of the measurement target object M. The object model OM may be a three-dimensional model that indicates the three-dimensional shape of the entire measurement target object M. In other words, the object model OM may be a three-dimensional model that indicates the three-dimensional shape of the entire surface of the measurement target object M. The object model OM may be a three-dimensional model that indicates the three-dimensional shape of a portion of the measurement target object M. In other words, the object model OM may be a three-dimensional model that indicates the three-dimensional shape of a portion of the surface of the measurement target object M.
[0248] In particular, the object model OM is a three-dimensional model that shows the three-dimensional shape of the measurement object M that is to be measured by the measurement unit 2. For this reason, even if a foreign object is present in real space around at least one of the stage 15, workpiece W, and jig 152, which are examples of the measurement object M that is to be measured by the measurement unit 2, the object model OM does not show the three-dimensional shape of the foreign object. In other words, the foreign object is not reflected in the object model OM.
[0249] The control unit 3 acquires, as the object model OM, a three-dimensional model that represents the designed or ideal three-dimensional shape of the measurement target object M. Therefore, the object model OM is a three-dimensional model that represents the designed or ideal three-dimensional shape of the measurement target object M. In this case, even if the measurement target object M is unintentionally deformed so that the three-dimensional shape of the measurement target object M differs from the ideal or designed three-dimensional shape, the object model OM represents the designed or ideal three-dimensional shape of the measurement target object M, rather than the actual three-dimensional shape of the measurement target object M (i.e., the deformed three-dimensional shape).
[0250] An example of a three-dimensional model representing the designed or ideal three-dimensional shape of the measurement object M is a CAD (Computer Aided Design) model of the measurement object M. In this case, the control unit 3 may acquire the object model OM by acquiring a CAD file representing the CAD model. Examples of CAD files representing the CAD model include at least one of a file with an extension DWF, a file with an extension DXF, a file with an extension DWG, and a file with an extension STP. However, a file in a format different from the file format exemplified here may be used as the file representing the object model OM. For example, the control unit 3 may obtain the object model OM by obtaining at least one of a Standard Triangulated Language (STL) file, an Initial Graphics Exchange Specification (IGES) file, and a Parasolid file.
[0251] The CAD file may be recorded in a storage device 32 (i.e., a recording medium) included in the control unit 3. In this case, the control unit 3 may acquire the object model OM by reading the CAD file from the storage device 32. The CAD file may be recorded in any storage medium (e.g., a hard disk or a semiconductor memory) that is built into the control unit 3 or that can be externally attached to the control unit 3. In this case, the control unit 3 may acquire the object model OM by reading the CAD file from any recording medium. The CAD file may be recorded in a device external to the control unit 3. In this case, the control unit 3 may acquire the object model OM by downloading the CAD file from a device external to the control unit 3 via a network interface.
[0252] The control unit 3 may acquire, as the object model OM, any type of three-dimensional model that indicates the three-dimensional shape of the measurement target object M. For example, the control unit 3 may acquire, as the object model OM, a point cloud model that indicates the three-dimensional shape of the measurement target object M using a point cloud including a plurality of points. For example, the control unit 3 may acquire, as the object model OM, a surface model, a polygon model, or a mesh model that indicates the three-dimensional shape of the measurement target object M using a plurality of surfaces. For example, the control unit 3 may acquire, as the object model OM, a solid model that has information about the interior of the measurement target object M in addition to information about the three-dimensional shape of the surface of the measurement target object M. For example, the control unit 3 may acquire, as the object model OM, a wireframe model that indicates the three-dimensional shape of the measurement target object M using a plurality of lines.
[0253] In parallel with or before or after the operation of step S310, in the third interference determination operation, as in the second interference determination operation, the control unit 3 acquires a head model HM (i.e., an interference model) (step S111) and acquires processing control information (e.g., processing control information including processing path information) (step S211).
[0254] Thereafter, the control unit 3 places the object model OM and the head model HM in the simulation space based on the processing control information acquired in step S211 (step S312). Note that the operation of step S312 may be the same as the operation of step S212 (FIG. 15) of the second interference operation, except that the object model OM is used instead of the measurement model MM. Therefore, a detailed description of step S312 will be omitted.
[0255] Thereafter, the control unit 3 moves at least one of the object model OM and the head model HM in the simulation space based on the processing control information acquired in step S211 (step S313). Note that the operation of step S313 may be the same as the operation of step S213 (FIG. 15) of the second interference operation, except that the object model OM is used instead of the measurement model MM. Therefore, a detailed description of step S313 will be omitted.
[0256] Thereafter, the control unit 3 determines whether interference between the machining head 13 and the measured object M occurs during at least a portion of the machining period based on the relative positional relationship between the object model OM and the head model HM in the simulation space (step S316). The operation of step S316 may be identical to the operation of step S116 ( FIG. 7 or 15 ) of the first or second interference operation, except that the object model OM is used instead of the measurement model MM. For example, the control unit 3 may determine that interference between the machining head 13 and the measured object M occurs when the head model HM and the object model OM are in contact in the simulation space. For example, the control unit 3 may determine that interference between the machining head 13 and the measured object M occurs when the distance between the head model HM and the object model OM in the simulation space is less than the allowable lower limit distance DTH. Therefore, a detailed description of step S316 will be omitted.
[0257] As a result of the determination in step S316, if it is determined that interference will occur between the machining head 13 and the measurement object M (step S316: Yes), in the third interference determination operation as well, as in the second interference determination operation, the control unit 3 controls the output unit 4 to notify the operator of the machining system SYS that interference has occurred (step S119), and may modify the machining control information (step S120). On the other hand, if it is determined that interference will not occur between the machining head 13 and the measurement object M (step S316: No), the control unit 3 does not need to control the output unit 4 to notify the operator of the machining system SYS that interference has occurred, and does not need to modify the machining control information.
[0258] Thereafter, the control unit 3 repeats the operation of moving at least one of the object model OM and the head model HM in the simulation space (step S313) and the operation of determining whether interference occurs between the processing head 13 and the measured object M (step S116) until the movement of the head model HM and the object model OM based on the processing control information is completed (step S314).
[0259] The control unit 3 may terminate the operation of moving at least one of the object model OM and the head model HM in the simulation space (step S313) and the operation of determining whether interference will occur between the machining head 13 and the measured object M (step S116) before the movement of the object model OM and the head model HM based on the machining control information is completed. For example, if the operator wishes to know whether interference will occur throughout the entire machining period, the control unit 3 may repeat the operation of moving at least one of the object model OM and the head model HM in the simulation space (step 3213) and the operation of determining whether interference will occur between the machining head 13 and the measured object M (step S116) until the movement of the object model OM and the head model HM based on the machining control information is completed (step S314). As another example, if the operator wishes to know whether interference will occur during only a part of the machining period, the control unit 3 may terminate the operation of moving at least one of the object model OM and the head model HM in the simulation space (step S313) and the operation of determining whether interference will occur between the machining head 13 and the measured object M (step S116) before the movement of the object model OM and the head model HM based on the machining control information is completed. As a result, the control unit 3 does not need to perform the third interference determination operation more than necessary.
[0260] Thereafter, after the movement of the head model HM and the object model OM based on the processing control information is completed, the control unit 3 controls the processing unit 1 to start processing the workpiece W (step S113). For example, if the processing control information is corrected in step S120, the control unit 3 may control the processing unit 1 to start processing the workpiece W based on the corrected processing control information. For example, if the processing control information is not corrected in step S120, the control unit 3 may control the processing unit 1 to start processing the workpiece W based on the uncorrected processing control information.
[0261] As described above, by performing the third interference determination operation, the control unit 3 can determine whether or not interference between the machining head 13 and the object to be measured M will occur during at least a portion of the machining period before starting machining of the workpiece W. Therefore, the machining system SYS (or an operator of the machining system SYS) can deal with interference that will occur due to the machining operation before actually starting the machining operation. As a result, the possibility of interference actually occurring after the machining operation is started is reduced. In other words, the possibility of adverse effects actually occurring due to interference between the machining head 13 and the object to be measured M after the machining operation is started is reduced.
[0262] Furthermore, the control unit 3 can use the object model OM, which has a smaller data size than the measurement model MM, to determine whether or not interference will occur between the processing head 13 and the measured object M. Therefore, when the third interference operation is performed, the calculation load required to determine whether or not interference will occur between the processing head 13 and the measured object M can be reduced compared to when the first or second interference determination operation is performed, which uses the measurement model MM to determine whether or not interference will occur between the processing head 13 and the measured object M.
[0263] Furthermore, the control unit 3 can determine whether or not interference will occur between the machining head 13 and the measurement object M in a situation where the workpiece W to be actually machined by the machining unit 1 is not prepared. For example, the control unit 3 can determine whether or not interference will occur between the machining head 13 and the measurement object M during the pre-processing of generating machining control information using CAM (Computer Aided Manufacturing) software.
[0264] However, because the third interference determination operation uses an object model OM that does not reflect deformation and foreign matter of the measurement object M, the control unit 3 may not be able to appropriately determine whether interference between the machining head 13 and the measurement object M will occur if the measurement object M is unintentionally deformed and / or contains a foreign matter. Therefore, the control unit 3 may perform at least one of the first and second interference determination operations after performing the third interference determination operation. As a result, the control unit 3 can appropriately determine whether interference between the machining head 13 and the measurement object M will occur, even if the measurement object M is unintentionally deformed and / or contains a foreign matter.
[0265] When at least one of the first and second interference determination operations is performed after the third interference determination operation, the control unit 3 may identify the cause of interference between the machining head 13 and the measurement object M. For example, when it is determined by the third interference determination operation that interference between the machining head 13 and the measurement object M will occur, the control unit 3 may determine that the interference between the machining head 13 and the measurement object M has occurred due to movement of at least one of the machining head 13 and the stage 15 based on the machining control information. In other words, the control unit 3 may determine that movement of at least one of the machining head 13 and the stage 15 is the cause of the interference between the machining head 13 and the measurement object M. For example, when it is determined by at least one of the first and second interference determination operations that interference between the machining head 13 and the measurement object M will occur despite the third interference determination operation determining that interference between the machining head 13 and the measurement object M will not occur, the control unit 3 may determine that the interference between the machining head 13 and the measurement object M has occurred due to at least one of unintended deformation and foreign matter of the measurement object M. That is, the control unit 3 may determine that at least one of unintended deformation of the measurement object M and a foreign object is the cause of the interference between the processing head 13 and the measurement object M. As a result, the operator of the processing system SYS can deal with the interference between the processing head 13 and the measurement object M more appropriately than when the cause of the interference between the processing head 13 and the measurement object M is not identified.
[0266] When performing at least one of the first and second interference detection operations after performing the third interference detection operation, the control unit 3 may perform at least one of the first and second interference detection operations using a differential model DM corresponding to the difference between the measurement model MM and the object model OM, instead of the measurement model MM. In this case, the data size of the differential model DM is typically smaller than the data size of the measurement model MM. As a result, the control unit 3 can appropriately determine whether interference between the machining head 13 and the measurement object M will occur while reducing the computational load required to perform at least one of the first and second interference detection operations compared to when performing at least one of the first and second interference detection operations using the measurement model MM. The reasons for this will be explained below with reference to FIGS. 17( a ) to 17 ( c ) and 18( a ) to 18 ( c ).
[0267] 17(a) shows a measurement model MM generated when the measurement object M is unintentionally deformed. When the measurement object M is unintentionally deformed, as shown in FIG. 17(a), the measurement model MM includes a deformed model portion MM_deform corresponding to a deformed portion MP of the measurement object M that has been unintentionally deformed, and a non-deformed model portion MM_nondeform corresponding to a non-deformed portion of the measurement object M that has not been deformed (i.e., has an ideal or designed three-dimensional shape). FIG. 17(b) shows an object model OM acquired when the measurement object M is unintentionally deformed. As shown in FIG. 17(b), even when the measurement object M is unintentionally deformed, the object model OM represents the three-dimensional shape of the measurement object M that has not been deformed (i.e., the ideal or designed three-dimensional shape of the measurement object M). Therefore, the object model OM is equivalent to a three-dimensional model that includes the non-deformed model portion MM_nondeform of the measurement model MM, but does not include the deformed model portion MM_deform of the measurement model MM. FIG. 17(c) shows a differential model DM corresponding to the difference between the measurement model MM shown in FIG. 17(a) and the object model OM shown in FIG. 17(b). As shown in FIG. 17(c), the differential model DM is equivalent to the deformed model portion MM_deform of the measurement model MM. In this case, the control unit 3 first performs a third interference determination operation using the object model OM shown in FIG. 17(b). As a result, the control unit 3 can determine whether interference will occur between the machining head 13 and the non-deformed portion of the measurement object M. Thereafter, the control unit 3 performs at least one of the first and second interference determination operations using the differential model DM shown in FIG. 17(c). As a result, the control unit 3 can determine whether interference will occur between the machining head 13 and the unintentionally deformed portion MP of the measurement object M. As a result, the control unit 3 can determine whether or not interference occurs between the entire object M to be measured (i.e., both the deformed portion MP and the non-deformed portion) measured by the measurement unit 2 and the processing head 13.Furthermore, since a differential model DM having a smaller data size than the measurement model MM is used to perform at least one of the first and second interference detection operations, the computational load required to perform at least one of the first and second interference detection operations is reduced.
[0268] Next, Figure 18(a) shows a measurement model MM generated when the measurement object M includes a foreign object. When the measurement object M includes a foreign object, as shown in Figure 18(a), the measurement model MM includes a non-foreign object model portion MM_noneext that indicates the three-dimensional shape of the original measurement object M that is not a foreign object, and a foreign object model portion MM_ext that corresponds to the foreign object. Figure 18(b) shows an object model OM acquired when the measurement object M includes a foreign object. As shown in Figure 18(b), even when the measurement object M includes a foreign object, the object model OM indicates the three-dimensional shape of the original measurement object M that is not a foreign object. Therefore, the object model OM is equivalent to a three-dimensional model that includes the non-foreign object model portion MM_noneext of the measurement model MM but does not include the foreign object model portion MM_ext of the measurement model MM. FIG. 18(c) shows a differential model DM corresponding to the difference between the measurement model MM shown in FIG. 18(a) and the object model OM shown in FIG. 18(b). As shown in FIG. 18(c), the differential model DM is equivalent to the foreign object model portion MM_ext of the measurement model MM. In this case, the control unit 3 first performs a third interference determination operation using the object model OM shown in FIG. 18(b). As a result, the control unit 3 can determine whether interference will occur between the machining head 13 and the original measurement object M, which is not a foreign object. Thereafter, the control unit 3 performs at least one of the first and second interference determination operations using the differential model DM shown in FIG. 18(c). As a result, the control unit 3 can determine whether interference will occur between the foreign object and the machining head 13. Therefore, as a result, the control unit 3 can determine whether interference will occur between the entire measurement object M measured by the measurement unit 2 (i.e., both the original measurement object M, which is not a foreign object, and the foreign object) and the machining head 13. Furthermore, since a differential model DM having a smaller data size than the measurement model MM is used to perform at least one of the first and second interference detection operations, the computational load required to perform at least one of the first and second interference detection operations is reduced.
[0269] The control unit 3 may perform the third interference determination operation multiple times using multiple different lower allowable limit distances DTH. For example, the control unit 3 may perform the third interference determination operation using a first lower allowable limit distance DTH, and then perform the third interference determination operation using a second lower allowable limit distance DTH that is different from the first lower allowable limit distance DTH.
[0270] Furthermore, the control unit 3 may perform part of the third interference detection operation shown in Fig. 16, and another control unit different from the control unit 3 may perform another part of the third interference detection operation shown in Fig. 16. As an example, either the control unit 3 or the other control unit may perform the operations from step S310 to step S111 as part of the third interference detection operation, and the other of the control unit 3 or the other control unit may perform the operations from step S211 to step S113 as another part of the third interference detection operation. The control unit different from the control unit 3 may be a cloud server that can communicate with the control unit 3 via a network.
[0271] (2-2-1-4) Fourth Interference Detection Operation Next, the fourth interference detection operation will be described. Similar to the third interference detection operation, the fourth interference detection operation is an operation that determines whether or not interference between the machining head 13 and the measurement object M will occur during at least a portion of the machining period using the object model OM before starting machining of the workpiece W. The fourth interference detection operation differs from the third interference detection operation in that it uses both the measurement model MM and the object model OM to determine whether or not interference between the machining head 13 and the measurement object M will occur. The fourth interference detection operation will be described below with reference to FIG. 19. FIG. 19 is a flowchart showing the flow of the fourth interference detection operation.
[0272] 19 , in the fourth collision detection operation, as in the first or second collision detection operation, the control unit 3 generates a measurement model MM (step S110). Furthermore, in parallel with or before or after the operation of step S110, in the fourth collision detection operation, as in the third collision detection operation, the control unit 3 acquires an object model OM (step S310).
[0273] Thereafter, the control unit 3 adds a differential model DM corresponding to the difference between the measurement model MM acquired in step S110 and the object model OM acquired in step S310 to the object model OM acquired in step S310 (step S411).
[0274] Specifically, the control unit 3 generates a differential model DM corresponding to the difference between the measurement model MM acquired in step S110 and the object model OM acquired in step S310. For example, FIG. 20(a) shows an example of the measurement model MM generated in step S110, and FIG. 20(b) shows an example of the object model OM acquired in step S310. Note that FIG. 20(a) shows a measurement model MM generated when the measurement object M includes a foreign object (i.e., a measurement model MM including a foreign object model portion MM_ext). In this case, the control unit 3 calculates the difference between the measurement model MM shown in FIG. 20(a) and the object model OM shown in FIG. 20(b) to generate the differential model DM shown in FIG. 20(c). Thereafter, the control unit 3 adds the generated differential model DM to the object model OM acquired in step S310. As a result, the control unit 3 generates a three-dimensional model in which the generated differential model DM and the object model OM acquired in step S310 are integrated as a new object model OM. For example, as shown in Fig. 20(d), the control unit 3 generates a three-dimensional model in which the differential model DM shown in Fig. 20(c) and the object model OM shown in Fig. 20(b) are integrated as a new object model OM.
[0275] 20( a) and 20(d), the object model OM to which the differential model DM has been added is substantially equivalent to the measurement model MM. In other words, the object model OM to which the differential model DM has been added is substantially equivalent to a three-dimensional model that indicates the actual three-dimensional shape of the measured object M. However, since the data size of the object model OM is smaller than the data size of the measurement model MM as described above, the data size of the object model OM to which the differential model DM has been added is also smaller than the data size of the measurement model MM. In the subsequent operations, the object model OM to which the differential model DM has been added is used as the object model OM instead of the object model OM to which the differential model DM has not been added.
[0276] Referring again to FIG. 19, in the fourth interference detection operation, in parallel with or before or after the operations of steps S110, S310 and S411, as in the third interference detection operation, the control unit 3 acquires a head model HM (i.e., an interference model) (step S111), acquires processing control information (e.g., processing control information including processing path information) (step S211), and places an object model OM and a head model HM in the simulation space (step S312).
[0277] Then, in the fourth interference determination operation, as in the third interference determination operation, the control unit 3 moves at least one of the object model OM and the head model HM in the simulation space based on the processing control information (step S313), and determines whether interference will occur between the processing head 13 and the measured object M during at least part of the processing period based on the relative positional relationship between the object model OM and the head model HM in the simulation space (step S316).
[0278] Thereafter, the third collision detection operation is performed in the fourth collision detection operation as well.
[0279] As described above, the machining system SYS that performs the fourth interference detection operation can enjoy the same effects as those that can be enjoyed by the machining system SYS that performs the above-described third interference detection operation.
[0280] Furthermore, the control unit 3 uses the object model OM to which the differential model DM has been added to determine whether interference will occur between the machining head 13 and the measured object M. Here, as described above, the object model OM to which the differential model DM has been added represents the actual three-dimensional shape of the measured object M. Therefore, similar to the case where the control unit 3 uses the measurement model MM to determine whether interference will occur between the machining head 13 and the measured object M, the control unit 3 can appropriately determine whether interference will occur between the machining head 13 and the measured object M even if the measured object M is unintentionally deformed and / or contains a foreign object. Furthermore, as described above, because the data size of the object model OM to which the differential model DM has been added is smaller than the data size of the measurement model MM, the computational load required to determine whether interference will occur between the machining head 13 and the measured object M is reduced.
[0281] The control unit 3 may perform the fourth interference determination operation multiple times using multiple different lower allowable limit distances DTH. For example, the control unit 3 may perform the fourth interference determination operation using a first lower allowable limit distance DTH, and then perform the fourth interference determination operation using a second lower allowable limit distance DTH that is different from the first lower allowable limit distance DTH.
[0282] Furthermore, the control unit 3 may perform part of the fourth collision detection operation shown in Fig. 19, and another control unit different from the control unit 3 may perform another part of the fourth collision detection operation shown in Fig. 19. As an example, either the control unit 3 or the other control unit may perform the operations from step S110 to step S111 as part of the fourth collision detection operation, and the other of the control unit 3 or the other control unit may perform the operations from step S211 to step S113 as another part of the fourth collision detection operation. The control unit different from the control unit 3 may be a cloud server that can communicate with the control unit 3 via a network.
[0283] (2-2-2) Foreign Substance Judgment Operation Next, a foreign substance judgment operation for judging whether or not a foreign substance is included in the measurement object M measured by the measurement unit 2 will be described with reference to Fig. 21. Fig. 21 is a flowchart showing the flow of the foreign substance judgment operation.
[0284] As shown in FIG. 21, in the foreign object determination operation, similarly to the fourth interference determination operation, the control unit 3 generates a measurement model MM (step S110) and acquires an object model OM (step S310).
[0285] Thereafter, the control unit 3 compares the measurement model MM generated in step S110 with the object model OM acquired in step S310 to determine whether or not a foreign object is included in the measurement object M measured by the measurement unit 2 (step S513). That is, the control unit 3 compares the measurement model MM generated in step S110 with the object model OM acquired in step S310 to determine whether or not an abnormality has occurred, such as the presence of a foreign object, in the measurement object M measured by the measurement unit 2 (step S513).
[0286] Specifically, Fig. 22(a) shows a measurement model MM generated when the measurement object M contains a foreign object, Fig. 22(b) shows a measurement model MM generated when the measurement object M does not contain a foreign object, and Fig. 22(c) shows an object model OM acquired both when the measurement object M contains a foreign object and when the measurement object M does not contain a foreign object. As shown in Figs. 22(a) and 22(c), when the measurement object M contains a foreign object, the difference between the measurement model MM and the object model OM (e.g., differential model DM) becomes relatively large. On the other hand, as shown in Figs. 22(b) and 22(c), when the measurement object M does not contain a foreign object, the difference between the measurement model MM and the object model OM (e.g., differential model DM) becomes relatively small. In some cases, when the measurement object M does not contain a foreign object, the measurement model MM and the object model OM match.
[0287] Therefore, in step S513, the control unit 3 may determine whether or not a foreign object is included in the measured object M based on the difference between the measurement model MM and the object model OM. For example, if the difference between the measurement model MM and the object model OM exceeds an allowable amount (step S513: Yes), the control unit 3 may determine that a foreign object is included in the measured object M (step S514). For example, if the difference between the measurement model MM and the object model OM is below an allowable amount (step S513: No), the control unit 3 may determine that a foreign object is not included in the measured object M.
[0288] A state in which the difference between the measurement model MM and the object model OM exceeds a tolerance may mean a state in which the size of the differential model DM indicating the difference between the measurement model MM and the object model OM exceeds a tolerance. The size of the differential model DM may include a one-dimensional size of the differential model DM. The one-dimensional size of the differential model DM may include at least one of the size of the differential model DM in the X-axis direction, the size of the differential model DM in the Y-axis direction, and the size of the differential model DM in the Z-axis direction. The size of the differential model DM may include a two-dimensional size of the differential model DM. The two-dimensional size of the differential model DM may include the size (area) of the surface of the differential model DM. The size of the differential model DM may include a three-dimensional size of the differential model DM. The three-dimensional size of the differential model DM may include the volume of the differential model DM.
[0289] 21 again, when it is determined in step S513 that the measurement object M contains a foreign substance (step S513: Yes), the control unit 3 may control the output unit 4 to notify the operator of the machining system SYS that the measurement object M contains a foreign substance (step S515). However, the control unit 3 does not have to control the output unit 4 to notify the operator of the machining system SYS that the measurement object M contains a foreign substance. As an example, when the output unit 4 is equipped with a display device, the control unit 3 may notify the operator of the machining system SYS that the measurement object M contains a foreign substance by displaying a display object for notifying the operator of the machining system SYS that the measurement object M contains a foreign substance. In other words, the control unit 3 may generate display data for displaying a display object for notifying the operator of the machining system SYS that the measurement object M contains a foreign substance, and output the generated display data to the output unit 4. The output unit 4 may notify the operator of the machining system SYS that a foreign substance is contained in the measurement object M by displaying a display object for notifying the operator of the machining system SYS that a foreign substance is contained in the measurement object M, based on the display data input from the control unit 3 to the output unit 4. An example of the display object is at least one of a text message and an icon.
[0290] The control unit 3 may display a display object for displaying the difference between the measurement model MM and the object model OM as a display object for notifying the operator that a foreign substance is contained in the measurement object M. An example of a display object for displaying the difference between the measurement model MM and the object model OM is a difference model DM.
[0291] As another example, if the output unit 4 is equipped with a speaker, the control unit 3 may notify the operator of the processing system SYS that the measured object M contains a foreign object by controlling the output unit 4 to output a sound to notify the operator that the measured object M contains a foreign object.
[0292] As a result, the operator of the machining system SYS can recognize that a foreign object is contained in the measurement object M. In this case, the operator may determine whether or not to start machining the workpiece W under the circumstances in which a foreign object is contained in the measurement object M. Alternatively, the operator may remove the foreign object.
[0293] If the operator is not notified that the measurement object M contains a foreign substance, the machining system SYS may cause the operator to start machining the workpiece W under conditions in which the measurement object M contains a foreign substance. In this case, the operator cannot recognize that the measurement object M contains a foreign substance until machining of the workpiece W is completed. Typically, the operator cannot recognize that the measurement object M contains a foreign substance unless he or she realizes that machining of the workpiece W has failed due to the foreign substance after machining of the workpiece W is completed. Alternatively, the operator cannot recognize that the measurement object M contains a foreign substance unless machining of the workpiece W is abnormally terminated midway due to the foreign substance. However, in this embodiment, the operator can recognize that the measurement object M contains a foreign substance before starting machining of the workpiece W. This allows the operator to reduce the occurrence of loss of machining time for the workpiece W due to the workpiece W not being completed normally.
[0294] Alternatively, the control unit 3 may determine whether to start machining of the workpiece W under circumstances in which the measured object M contains a foreign object. For example, the smaller the size of the differential model DM, the smaller the size of the foreign object. The smaller the size of the foreign object, the smaller the adverse effect of the foreign object on machining of the workpiece W. Therefore, even if the control unit 3 determines that the measured object M contains a foreign object because the size of the differential model DM is determined to exceed the allowable amount, it may determine to start machining of the workpiece W if the size of the differential model DM is below a predetermined upper limit size that is greater than the allowable amount. On the other hand, the control unit 3 may determine not to start machining of the workpiece W if the control unit 3 determines that the measured object M contains a foreign object because the size of the differential model DM is determined to exceed the allowable amount and the size of the differential model DM exceeds the predetermined upper limit size. As a result, compared to when machining of the workpiece W is not unconditionally started when it is determined that the measured object M contains a foreign object, the machining unit 1 can continue machining of the workpiece W as long as possible while reducing the adverse effect of the foreign object on machining of the workpiece W.
[0295] Alternatively, the control unit 3 may control the machining unit 1 not to machine a first portion of the workpiece W near which a foreign object is present, and may control the machining unit 1 to machine a second portion of the workpiece W near which no foreign object is present. In other words, the control unit 3 may control the machining unit 1 to skip machining of the first portion of the workpiece W near which a foreign object is present, and may control the machining unit 1 to machine the second portion of the workpiece W near which no foreign object is present. Even in this case, the machining unit 1 can continue machining the workpiece W as much as possible while reducing the adverse effects of the foreign object on machining, compared to a case in which machining of the workpiece W is not unconditionally started when it is determined that the measured object M contains a foreign object.
[0296] Alternatively, the control unit 3 may control the machining unit 1 to delay the movement of at least one of the machining head 13 and the stage 15 when machining a first portion of the workpiece W near which a foreign object is present, and then machine the first portion of the workpiece W. Specifically, the control unit 3 may control the machining unit 1 to slow the movement speed of the machining head 13 during the period when machining the first portion of the workpiece W compared to the movement speed of the machining head 13 when it is determined that no foreign object is present, and then machine the first portion of the workpiece W. Similarly, the control unit 3 may control the machining unit 1 to slow the movement speed of the stage 15 during the period when machining the first portion of the workpiece W compared to the movement speed of the stage 15 when it is determined that no foreign object is present, and then machine the first portion of the workpiece W. In this case, the operator of the machining system SYS can take measures to prevent the machining head 13 from colliding with the foreign object more quickly than when the movement speeds of the machining head 13 and the stage 15 are not slowed down. Therefore, the operator of the machining system SYS can take appropriate measures to prevent collisions between the machining head 13 and foreign objects. As a result, the machining unit 1 can continue machining the workpiece W as long as possible while reducing the adverse effects of foreign objects on the machining of the workpiece W, compared to when machining of the workpiece W is stopped. Alternatively, the slower the movement speeds of the machining head 13 and the stage 15, the smaller the recoil when the machining head 13 and the stage 15 stop, and therefore the lower the possibility of a collision between the machining head 13 and foreign objects due to the recoil. From this perspective, when the movement speed of at least one of the machining head 13 and the stage 15 is slowed, the machining unit 1 can continue machining the workpiece W as long as possible while reducing the adverse effects of foreign objects on the machining of the workpiece W, compared to when machining of the workpiece W is stopped.
[0297] 21, in addition to or instead of determining whether or not a foreign object is included in the measurement object M measured by the measurement unit 2, the control unit 3 may determine whether or not the measurement object M measured by the measurement unit 2 has been unintentionally deformed. In other words, the control unit 3 may determine whether or not an abnormality has occurred in the measurement object M, that is, whether or not an abnormality has occurred in the measurement object M, that is, whether or not an abnormality has been unintentionally deformed, by performing the foreign object determination operation shown in FIG.
[0298] Specifically, Fig. 23(a) shows a measurement model MM generated when the measurement object M is unintentionally deformed, Fig. 23(b) shows a measurement model MM generated when the measurement object M is not deformed, and Fig. 23(c) shows an object model OM acquired both when the measurement object M is unintentionally deformed and when the measurement object M is not deformed. As shown in Figs. 23(a) and 23(c), when the measurement object M is unintentionally deformed, the difference between the measurement model MM and the object model OM (e.g., differential model DM) is relatively large. On the other hand, as shown in Figs. 23(b) and 23(c), when the measurement object M is not deformed, the difference between the measurement model MM and the object model OM (e.g., differential model DM) is relatively small. In some cases, when the measurement object M is not deformed, the measurement model MM and the object model OM coincide.
[0299] For this reason, in step S513, the control unit 3 may determine whether or not the measurement object M has been unintentionally deformed based on the difference between the measurement model MM and the object model OM. For example, the control unit 3 may determine that the measurement object M has been unintentionally deformed if the difference between the measurement model MM and the object model OM exceeds an allowable amount. For example, the control unit 3 may determine that the measurement object M has not been deformed if the difference between the measurement model MM and the object model OM is below an allowable amount.
[0300] The tolerance used to determine whether the measurement object M has been unintentionally deformed may be different from the tolerance used to determine whether the measurement object M contains a foreign object. Typically, the tolerance used to determine whether the measurement object M has been unintentionally deformed may be smaller than the tolerance used to determine whether the measurement object M contains a foreign object. The reason for this will be explained below. When the measurement object M contains a foreign object, the size of the differential model DM (i.e., the difference between the measurement model MM and the object model OM) increases as the size of the foreign object increases. On the other hand, when the measurement object M has been unintentionally deformed, the size of the differential model DM (i.e., the difference between the measurement model MM and the object model OM) increases as the amount of deformation of the measurement object M increases. Here, the size of the foreign object is usually smaller than the magnitude of the amount of deformation of the measurement object M. This is because the deformation of the measurement object M is unintentional, and therefore the size of the measurement object M is unlikely to change significantly due to the deformation of the measurement object M. For this reason, the difference between the measurement model MM and the object model OM when the measurement object M contains a foreign substance is likely to be larger than the difference between the measurement model MM and the object model OM when the measurement object M is unintentionally deformed. Therefore, the control unit 3 may use a first allowable amount larger than the second allowable amount as the allowable amount used to determine whether the measurement object M contains a foreign substance, and may use a second allowable amount smaller than the first allowable amount as the allowable amount used to determine whether the measurement object M is unintentionally deformed. In this case, the control unit 3 may determine that the measurement object M contains a foreign substance when the difference between the measurement model MM and the object model OM exceeds the first allowable amount. The control unit 3 may determine that the measurement object M is unintentionally deformed when the difference between the measurement model MM and the object model OM is smaller than the first allowable amount and greater than the second allowable amount. The control unit 3 may determine that the measured object M does not contain any foreign matter and that the measured object M is not deformed when the difference between the measurement model MM and the object model OM is below a second allowable amount.As a result, the control unit 3 can individually (in other words, separately) determine whether or not the measurement object M contains a foreign matter and whether or not the measurement object M has been unintentionally deformed. Note that at least one of the first allowable amount and the second allowable amount may be changeable by the operator.
[0301] (3) Modified Examples (3-1) First Modified Example In the above explanation, a first example of an abnormality related to the measured object M is interference between the measured object M and an interfering object that may interfere with the measured object M, and a second example of an abnormality related to the measured object M is an abnormality in which the measured object M measured by the measurement unit 2 contains a foreign object.
[0302] In the first modified example, a third example of an abnormality related to the measurement object M is an abnormality in which the measurement object M interferes with the machining of the workpiece W by the machining unit 1 using the processing light EL. For example, if a measurement object M other than the workpiece W is present on the optical path of the processing light EL, the processing light EL that should be irradiated onto the workpiece W is blocked by the measurement object M. As a result, the processing light EL is no longer irradiated onto the workpiece W, and the measurement object M interferes with the machining of the workpiece W by the machining unit 1 using the processing light EL.
[0303] When the machining of the workpiece W using the machining light EL by the machining unit 1 is hindered by the measured object M, interference typically occurs between the optical path of the machining light EL and the measured object M. Therefore, the abnormality in which the machining of the workpiece W using the machining light EL by the machining unit 1 is hindered by the measured object M may also include an abnormality in which interference occurs between the optical path of the machining light EL and the measured object M.
[0304] The state in which interference occurs between the optical path of the processing light EL and the measurement object M may include a state in which the measurement object M is located on the optical path of the processing light EL. The state in which interference occurs between the optical path of the processing light EL and the measurement object M may include a state in which the measurement object M is not located on the optical path of the processing light EL but the distance D between the optical path of the processing light EL and the measurement object M is less than the allowable lower limit distance DTH.
[0305] When the machining of the workpiece W using the machining light EL by the machining unit 1 is hindered by the measured object M, a blind spot is typically generated where the machining head 13 cannot irradiate the machining light EL. Therefore, the abnormality where the machining of the workpiece W using the machining light EL by the machining unit 1 is hindered by the measured object M may also include an abnormality where a blind spot is generated where the machining head 13 cannot irradiate the machining light EL.
[0306] If the abnormality related to the measurement object M includes an abnormality in which machining of the workpiece W is hindered by the measurement object M, the abnormality determination operation may be referred to as a machining abnormality determination operation that determines whether machining of the workpiece W is hindered by the measurement object M. In this case, the control unit 3 may acquire information about the optical path of the processing light EL and perform the machining abnormality determination operation based on the information about the optical path of the processing light EL. The information about the optical path of the processing light EL may be information about a processing light model, which is a three-dimensional model that imitates the optical path of the processing light EL. In this case, the control unit 3 may perform the machining abnormality determination operation by performing the above-mentioned interference determination operation using the processing light model as the above-mentioned head model HM.
[0307] (3-2) Second Modification In the second modification, a fourth example of an abnormality related to the measurement object M is an abnormality in which the measurement of the workpiece W by the machining unit 1 using the measurement light ML is hindered by the measurement object M. For example, if a measurement object M other than the workpiece W is present on the optical path of the measurement light ML, the measurement light ML that should be irradiated onto the workpiece W is blocked by the measurement object M. As a result, the measurement light ML is no longer irradiated onto the workpiece W, and the measurement of the workpiece W by the machining unit 1 using the measurement light ML is hindered by the measurement object M.
[0308] When the measurement of the workpiece W using the measurement light ML by the processing unit 1 is hindered by the measurement object M, typically, interference occurs between the optical path of the measurement light ML and the measurement object M. Therefore, the abnormality that the measurement of the workpiece W using the measurement light ML by the processing unit 1 is hindered by the measurement object M may include an abnormality that interference occurs between the optical path of the measurement light ML and the measurement object M.
[0309] The state in which interference occurs between the optical path of the measurement light ML and the measurement object M may include a state in which the measurement object M is located on the optical path of the measurement light ML. The state in which interference occurs between the optical path of the measurement light ML and the measurement object M may include a state in which the measurement object M is not located on the optical path of the measurement light ML but the distance D between the optical path of the measurement light ML and the measurement object M is less than the allowable lower limit distance DTH.
[0310] When the measurement of the workpiece W by the machining unit 1 using the measurement light ML is hindered by the measurement object M, a blind spot typically occurs where the machining head 13 cannot irradiate the measurement light ML. Therefore, the abnormality where the measurement of the workpiece W by the machining unit 1 using the measurement light ML is hindered by the measurement object M may also include an abnormality where a blind spot occurs where the machining head 13 cannot irradiate the measurement light ML.
[0311] When the abnormality related to the measurement object M includes an abnormality in which measurement of the workpiece W is hindered by the measurement object M, the abnormality determination operation may be referred to as a measurement abnormality determination operation that determines whether measurement of the workpiece W is hindered by the measurement object M. In this case, the control unit 3 may acquire information about the optical path of the measurement light ML and perform the measurement abnormality determination operation based on the information about the optical path of the measurement light ML. The information about the optical path of the measurement light ML may be information about a measurement light model, which is a three-dimensional model that imitates the optical path of the measurement light ML. In this case, the control unit 3 may perform the machining abnormality determination operation by performing the above-mentioned interference determination operation using the measurement light model as the above-mentioned head model HM.
[0312] (3-3) Other Modifications In the above description, the control unit 3 generates the measurement model MM based on the measurement results of the measurement object M by the measurement unit 2. However, the control unit 3 may generate the measurement model MM without using the measurement results of the measurement object M by the measurement unit 2. For example, the control unit 3 may calculate the three-dimensional shape of the measurement object M by analyzing an image generated by a camera that captures the measurement object M, and generate a measurement model MM indicating the three-dimensional shape of the measurement object M based on the calculated three-dimensional shape of the measurement object M. For example, the control unit 3 may calculate the three-dimensional shape of the measurement object M by analyzing the detection results of a depth sensor that can detect the depth of the measurement object M, and generate a measurement model MM indicating the three-dimensional shape of the measurement object M based on the calculated three-dimensional shape of the measurement object M.
[0313] In the above description, the control unit 3 performs an interference determination operation to determine whether interference will occur between the machining head 13 and the object to be measured M during at least a portion of the machining period in which the machining unit 1 machines the workpiece W. However, similar to the case in which the control unit 3 determines whether interference will occur between the machining head 13 and the object to be measured M during at least a portion of the machining period, the control unit 3 may also determine whether interference will occur between the machining head 13 and the object to be measured M during at least a portion of the measurement period in which the machining unit 1 measures the workpiece W. If it is determined that interference will occur between the machining head 13 and the object to be measured M during at least a portion of the measurement period, the control unit 3 may modify the measurement control information (e.g., measurement path information). In this case, the description of the interference determination operation that determines whether interference between the machining head 13 and the object to be measured M will occur during at least a portion of the above-mentioned machining period can be reused as a description of the interference determination operation that determines whether interference between the machining head 13 and the object to be measured M will occur during at least a portion of the measurement period by replacing the terms “machining of the workpiece W,” “machining period,” “machining control information,” and “machining path information” with the terms “measurement of the workpiece W,” “measurement period,” “measurement control information,” and “measurement path information,” respectively. For this reason, the description of the interference determination operation that determines whether interference between the machining head 13 and the object to be measured M will be omitted.
[0314] In the above description, the control unit 3 included in the machining system SYS performs the abnormality determination operation. However, a control unit disposed outside the machining system SYS may perform the abnormality determination operation. In other words, an external control unit independent of the machining system SYS may perform the abnormality determination operation. An example of an external control unit is a control information generating device that generates the above-mentioned machining control information. The control information generating device may be a device that generates machining control information by executing CAM (Computer Aided Manufacturing) software (in other words, a computer program). The control information generating device may be a device that generates machining control information by executing software called a slicer (in other words, a computer program).
[0315] In the above description, the machining unit 1 performs subtractive machining on the workpiece W. However, the machining unit 1 may perform machining on the workpiece W other than subtractive machining. For example, the machining unit 1 may perform additive machining on the workpiece W. That is, the machining unit 1 may perform additive machining to form a structure on the workpiece W. In this case, the machining unit 1 may be referred to as an additive machining unit, and the machining head 13 may be referred to as an additive machining head. In this case, the machining unit 1 may be considered to be capable of functioning as a 3D printer. In this case, the additive machining unit may further include at least one of a powder supply device and a molten pool observation device. The molten pool observation device may include at least one of, for example, an imaging device and a temperature sensor. At least one of the powder supply device and the molten pool observation device may be equipped on the additive machining head as accessories. The machining system SYS may determine whether there is an object that interferes or obstructs the molten pool when the molten pool observation device observes (e.g., captures an image of) the molten pool. Furthermore, the machining system SYS may include both the machining unit 1 and the additive machining unit. For example, the processing unit 1 may perform melting processing to melt the surface of the workpiece W and solidify the melted surface. The melting processing may also be referred to as remelting processing. For example, the processing unit 1 may perform planarization processing to make the surface of the workpiece W closer to a flat surface compared to before the melting processing by performing melting processing. For example, the processing unit 1 may perform marking processing to form a desired mark on the surface of the workpiece W. For example, the processing unit 1 may perform surface modification processing to change the surface characteristics of the workpiece W. For example, the processing unit 1 may perform peening processing to change the surface characteristics of the workpiece W. For example, the processing unit 1 may perform peeling processing to peel the surface of the workpiece W. For example, the processing unit 1 may perform welding processing to join one workpiece W to another workpiece W. For example, the processing unit 1 may perform cutting processing to cut the workpiece W.
[0316] In the above description, the machining unit 1 processes the workpiece W by irradiating the workpiece W with the processing light EL. In other words, the machining unit 1 processes the workpiece W by irradiating the workpiece W with an energy beam in the form of light. However, the machining system SYS may irradiate the workpiece W with any energy beam other than light to process the workpiece W. In this case, the machining system SYS may be provided with a beam source capable of generating any energy beam in addition to or instead of the machining light source 11. Examples of any energy beam include at least one of a charged particle beam and an electromagnetic wave. Examples of a charged particle beam include at least one of an electron beam and an ion beam.
[0317] The machining unit 1 may use a tool to machine the workpiece W. For example, the machining unit 1 may machine the workpiece W by bringing a rotating tool into contact with the workpiece W. In this case, the machining head 13 may be equipped with a tool instead of the emission optical system 130 and the irradiation optical system 135. Even when the machining unit 1 uses a tool to machine the workpiece W, the machining system SYS may perform the abnormality determination operation described above.
[0318] Alternatively, the machining unit 1 may perform a predetermined process on the workpiece W in addition to or instead of machining the workpiece W. In other words, the machining unit 1 does not have to machine the workpiece W. When the machining unit 1 performs a predetermined process on the workpiece W, the machining unit 1 and the machining head 13 may be referred to as a processing unit and a processing head, respectively. As an example, the machining unit 1 may perform a measurement process to measure the workpiece W as the predetermined process. As another example, the machining unit 1 may be equipped with a hand gripper and may perform a gripping process to grip the workpiece W using the hand gripper as the predetermined process. Even when the machining unit 1 performs a predetermined process on the workpiece W, the control unit 3 may perform the abnormality determination operation described above.
[0319] In the above description, the machining unit 1 is provided with the head drive system 141. However, the machining unit 1 does not have to be provided with the head drive system 141. In other words, the machining head 13 does not have to be movable. Also, in the above description, the machining unit 1 is provided with the stage drive system 161. However, the machining unit 1 does not have to be provided with the stage drive system 161. In other words, the stage 15 does not have to be movable.
[0320] In the above description, the machining unit 1 is capable of measuring the workpiece W. However, the machining unit 1 does not have to be capable of measuring the workpiece W. In this case, the machining unit 1 does not have to include components for measuring the workpiece W. For example, the machining unit 1 does not have to include the measurement light source 12, the measurement optical system 132, and the composite optical system 133.
[0321] (4) Supplementary Notes The following supplementary notes are further disclosed regarding the above-described embodiments. [Supplementary Note 1] An information processing method for processing a workpiece placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement target object including the workpiece to generate a measurement model indicating the measured three-dimensional shape of the measurement target object; and determining whether or not the processing head and the measurement target object interfere with each other during at least a part of a processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and detection information regarding movement of at least one of the processing head and the mounting device detected during at least a part of a processing period in which the workpiece is processed. [Supplementary Note 2] The information processing method described in Supplementary Note 1, in which the detection information regarding movement of the processing head is obtained using a detection device that detects movement of the processing head. [Supplementary Note 3] The information processing method described in Supplementary Note 1 or 2, in which the detection information regarding movement of the mounting device is obtained using a detection device that detects movement of the mounting device. [Supplementary Note 4] The information processing method according to any one of Supplementary Notes 1 to 3, wherein determining whether or not the processing head and the object to be measured interfere with each other includes determining whether or not the processing head and the object to be measured interfere with each other based on a relative positional relationship between the processing head model and the measurement model for at least a part of the processing period based on the detection information. [Supplementary Note 5] An information processing method for processing a workpiece placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of the object to be measured including the workpiece to generate a measurement model indicating the measured three-dimensional shape of the object to be measured, and determining whether or not the processing head and the object to be measured interfere with each other for at least a part of the processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and control information for controlling movement of at least one of the processing head and the mounting device for at least a part of the processing period in which the object to be processed is processed.[Supplementary Note 6] The information processing method according to Supplementary Note 5, wherein determining whether the processing head and the object to be measured will interfere includes determining whether the processing head and the object to be measured will interfere before processing of the workpiece is started. [Supplementary Note 7] The information processing method according to Supplementary Note 5 or 6, wherein determining whether the processing head and the object to be measured will interfere includes determining whether the processing head and the object to be measured will interfere based on a relative positional relationship between the processing head model and the measurement model for at least a part of the processing period based on the control information. [Supplementary Note 8] The information processing method according to any one of Supplements 1 to 7, wherein the movement includes at least one of a change in position and a change in tilt. [Supplementary Note 9] The information processing method according to any one of Supplements 1 to 8, wherein the processing head is movable and at least one of a position and a tilt can be changed. [Supplementary Note 10] The information processing method according to any one of Supplements 1 to 9, wherein the mounting device is movable and at least one of a position and a tilt can be changed. [Supplementary Note 11] The information processing method according to any one of Supplements 1 to 10, wherein determining whether the machining head and the object to be measured will interfere includes determining whether the machining head and the object to be measured will interfere based on an object model that indicates a designed three-dimensional shape of the object to be measured. [Supplementary Note 12] The information processing method according to Supplementary Note 11, wherein determining whether the machining head and the object to be measured will interfere based on the object model includes determining whether the machining head and the object to be measured will interfere based on a measurement difference model that corresponds to a difference between the measurement model and the object model. [Supplementary Note 13] The information processing method according to any one of Supplements 1 to 12, wherein the information processing method further includes proceeding with or stopping machining of the object to be processed based on a determination result of whether the machining head and the object to be measured will interfere.[Supplementary Note 14] The information processing method according to Supplementary Note 13, further comprising: when it is determined that the machining head and the object to be measured will interfere with each other at a timing when a first portion of the object to be processed is processed, stopping machining of the first portion; and after stopping machining of the first portion, machining a second portion of the object to be processed that is different from the first portion. [Supplementary Note 15] The information processing method according to any one of Supplements 1 to 14, further comprising: modifying control information that controls movement of at least one of the machining head and the placement device during at least a part of a machining period during which the object to be processed is processed, based on a determination result of whether or not the machining head and the object to be measured will interfere with each other. [Supplementary Note 16] The information processing method according to Supplementary Note 15, further comprising: modifying the control information that controls movement of at least one of the machining head and the placement device during at least a part of a machining period during which the object to be processed is processed, based on a determination result of whether or not the machining head and the object to be measured will interfere with each other. [Supplementary Note 17] The information processing method according to any one of Supplements 1 to 16, further comprising, when it is determined that the processing head and the object to be measured will interfere with each other at the timing of processing a third portion of the workpiece, delaying movement of at least one of the processing head and the mounting device at the timing of processing the third portion, compared to when it is not determined that the processing head and the object to be measured will interfere with each other at the timing of processing the third portion. [Supplementary Note 18] The information processing method according to any one of Supplements 1 to 17, wherein the object to be measured includes a support member that supports the workpiece. [Supplementary Note 19] The information processing method according to any one of Supplements 1 to 18, wherein the object to be measured includes at least a part of the mounting device. [Supplementary Note 20] The information processing method according to any one of Supplements 1 to 19, wherein the processing head model is generated by measuring a three-dimensional shape of the processing head. [Supplementary Note 21] The information processing method according to any one of Supplementary Notes 1 to 20, further comprising generating display data for displaying movements of the machining head model and the measurement model on a display device.[Supplementary Note 22] An information processing method for processing the workpiece placed on a mounting device in a processing apparatus using a processing head, the information processing method comprising: measuring a three-dimensional shape of the measurement object including the mounting device to generate a measurement model indicating the measured three-dimensional shape of the measurement object; and determining whether or not an abnormality has occurred in the processing apparatus by comparing the measurement model with an object model indicating a designed three-dimensional shape of the measurement object. [Supplementary Note 23] The information processing method according to Supplementary Note 22, wherein the measurement object includes a support member that supports the workpiece. [Supplementary Note 24] The information processing method according to Supplementary Note 23, wherein the abnormality includes an abnormality that an object other than the mounting device and the support member is present in the vicinity of the workpiece. [Supplementary Note 25] The information processing method according to any one of Supplements 22 to 24, wherein determining whether or not an abnormality has occurred includes determining that an abnormality has occurred in the mounting device when a difference between the measurement model and the object model exceeds a tolerance. [Supplementary Note 26] The information processing method according to any one of Supplements 22 to 25, wherein determining whether or not an abnormality has occurred includes determining that no abnormality has occurred in the placement device when a difference between the measurement model and the object model is below the allowable amount. [Supplementary Note 27] The information processing method according to Supplementary Note 26, further including, when it is determined that the abnormality has occurred, determining whether or not to start processing of the work-piece under the circumstances in which the abnormality has occurred. [Supplementary Note 28] The information processing method according to any one of Supplements 22 to 27, further including generating display data for displaying the abnormality on a display device. [Supplementary Note 29] An information processing device that uses the information processing method according to any one of Supplements 1 to 28. [Supplementary Note 30] A processing device comprising: the processing head; the placement device; and the information processing device according to Supplementary Note 29. [Supplementary Note 31] A processing method for processing the work-piece using a processing device that includes the processing head and the placement device, using the information processing method according to any one of Supplements 1 to 28.[Supplementary Note 32] An information program that causes a computer including a device for instructing processing of the workpiece placed on a mounting device using a processing head to execute: a measurement model generation step of measuring the three-dimensional shape of a measurement object including the workpiece to generate a measurement model indicating the measured three-dimensional shape of the measurement object, and an interference determination step of determining whether or not the processing head will interfere with the measurement object during at least a part of a processing period, based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and detection information regarding movement of at least one of the processing head and the mounting device detected during at least a part of a processing period in which the workpiece is processed. [Supplementary Note 33] A program storage medium that stores the information program described in Supplementary Note 32. [Supplementary Note 34] An information processing method for processing a processing object placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement object including the processing object, thereby obtaining measurement results including information on the measured three-dimensional shape of the measurement object, and determining whether or not an abnormality occurs during at least a part of a processing period based on the measurement results, processing head information including information on the three-dimensional shape of the processing head, and detection information on movement of at least one of the processing head and the mounting device detected during at least a part of a processing period in which the processing object is processed. [Supplementary Note 35] An information processing method for processing a processing object placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement object including the mounting device, thereby obtaining measurement results including information on the measured three-dimensional shape of the measurement object, and determining whether or not an abnormality occurs in the measurement object based on the measurement results.[Supplementary Note 36] An information processing method for processing a workpiece placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement object including the workpiece to generate a measurement model indicating the measured three-dimensional shape of the measurement object, and determining whether or not the processing head will interfere with the measurement object based on the measurement model. [Supplementary Note 37] A display method for processing a workpiece placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement object including the workpiece to generate a measurement model indicating the measured three-dimensional shape of the measurement object, and generating display data on a display device that displays information regarding whether or not the processing head will interfere with the measurement object during at least a part of the processing period, based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and detection information regarding movement of at least one of the processing head and the mounting device detected during at least a part of a processing period in which the workpiece is processed. [Appendix 38] A display method for processing a workpiece placed on a mounting device using a processing head, comprising: generating a measurement model indicating the measured three-dimensional shape of the measured object by measuring the three-dimensional shape of the object to be measured, including the workpiece; and generating display data on a display device, which displays information regarding a determination of whether or not the processing head will interfere with the object to be measured during at least a portion of the processing period, based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and control information for controlling the movement of at least one of the processing head and the mounting device during at least a portion of the processing period during which the workpiece is processed.[Supplementary Note 39] A display method for processing an object to be processed placed on a mounting device in a processing device using a processing head, the display method comprising: measuring the three-dimensional shape of the object to be measured including the mounting device, thereby generating a measurement model indicating the measured three-dimensional shape of the object to be measured; and comparing the measurement model with an object model indicating the designed three-dimensional shape of the object to be measured, thereby generating display data for displaying on a display device information regarding whether or not an abnormality has occurred in the processing device. [Supplementary Note 40] A display method for processing the processing object placed on a mounting device using a processing head, comprising: measuring a three-dimensional shape of a measurement object including the processing object, thereby obtaining measurement results including information on the measured three-dimensional shape of the measurement object, and generating display data on a display device for displaying information related to determination whether or not an abnormality will occur during at least a part of a processing period, based on the measurement results, processing head information including information on the three-dimensional shape of the processing head, and detection information related to movement of at least one of the processing head...
Claims
1. An information processing method for processing an object to be processed placed on a mounting device using a processing head, the information processing method comprising: generating a measurement model indicating the measured three-dimensional shape of the object to be measured by measuring a three-dimensional shape of the object to be measured including the object to be processed; and determining whether or not the processing head and the object to be measured interfere with each other during at least a part of the processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and detection information regarding the movement of at least one of the processing head and the mounting device detected during at least a part of the processing period in which the object to be processed is processed.
2. The information processing method according to claim 1, wherein the detection information relating to the movement of the machining head is obtained using a detection device that detects the movement of the machining head.
3. The information processing method according to claim 1 or 2, wherein the detection information regarding the movement of the mounting device is obtained using a detection device that detects the movement of the mounting device.
4. An information processing method according to any one of claims 1 to 3, wherein determining whether or not the machining head and the measured object will interfere with each other includes determining whether or not the machining head and the measured object will interfere with each other based on the relative positional relationship between the machining head model and the measurement model during at least a portion of the machining period based on the detection information.
5. An information processing method for processing an object to be processed placed on a mounting device using a processing head, comprising: generating a measurement model indicating the measured three-dimensional shape of the object to be measured by measuring a three-dimensional shape of the object to be measured including the object to be processed; and determining whether or not the processing head and the object to be measured interfere with each other during at least a part of the processing period based on the measurement model, a processing head model indicating the three-dimensional shape of the processing head, and control information for controlling the movement of at least one of the processing head and the mounting device during at least a part of the processing period during which the object to be processed is processed.
6. The information processing method according to claim 5, wherein determining whether or not the processing head and the measured object will interfere with each other includes determining whether or not the processing head and the measured object will interfere with each other before processing of the object to be processed is started.
7. The information processing method of claim 5 or 6, wherein determining whether or not the machining head and the measured object will interfere with each other includes determining whether or not the machining head and the measured object will interfere with each other based on the relative positional relationship between the machining head model and the measurement model during at least a portion of the machining period based on the control information.
8. The information processing method according to any one of claims 1 to 7, wherein the movement includes at least one of a change in position and a change in inclination.
9. The information processing method according to any one of claims 1 to 8, wherein the processing head is movable and at least one of its position and inclination can be changed.
10. The information processing method according to any one of claims 1 to 9, wherein the mounting device is movable and at least one of its position and inclination can be changed.
11. An information processing method according to any one of claims 1 to 10, wherein determining whether or not the processing head and the measured object will interfere with each other includes determining whether or not the processing head and the measured object will interfere with each other based on an object model that indicates the designed three-dimensional shape of the measured object.
12. The information processing method of claim 11, wherein determining whether or not the processing head and the measured object will interfere with each other based on the object model includes determining whether or not the processing head and the measured object will interfere with each other based on a measurement differential model corresponding to the difference between the measurement model and the object model.
13. The information processing method according to any one of claims 1 to 12, further comprising proceeding with or stopping the processing of the object to be processed based on a determination result of whether or not the processing head interferes with the measured object.
14. The information processing method according to claim 13, further comprising: when it is determined that the processing head will interfere with the measured object at the timing of processing a first portion of the workpiece, stopping processing of the first portion; and after stopping processing of the first portion, processing a second portion of the workpiece different from the first portion.
15. The information processing method according to any one of claims 1 to 14, further comprising modifying control information for controlling the movement of at least one of the processing head and the mounting device during at least a portion of the processing period during which the object to be processed is processed, based on a determination result of whether or not the processing head interferes with the measured object.
16. The information processing method according to claim 15, wherein modifying the control information includes modifying the control information after starting processing of the object to be processed.
17. An information processing method as described in any one of claims 1 to 16, further comprising: when it is determined that the processing head and the measured object will interfere with each other at the timing of processing a third portion of the workpiece, delaying the movement of at least one of the processing head and the mounting device at the timing of processing the third portion, compared to when it is not determined that the processing head and the measured object will interfere with each other at the timing of processing the third portion.
18. The information processing method according to any one of claims 1 to 17, wherein the object to be measured includes a support member that supports the object to be processed.
19. The information processing method according to any one of claims 1 to 18, wherein the object to be measured includes at least a part of the mounting device.
20. An information processing method according to any one of claims 1 to 19, wherein the machining head model is generated by measuring a three-dimensional shape of the machining head.
21. The information processing method according to any one of claims 1 to 20, further comprising generating display data for displaying the movements of the machining head model and the measurement model on a display device.
22. An information processing method for processing an object to be processed placed on a mounting device in a processing apparatus using a processing head, the information processing method comprising: generating a measurement model indicating the measured three-dimensional shape of the measured object by measuring the three-dimensional shape of the measured object including the mounting device; and determining whether or not an abnormality has occurred in the processing apparatus by comparing the measurement model with an object model indicating the designed three-dimensional shape of the measured object.
23. The information processing method according to claim 22, wherein the object to be measured includes a support member that supports the object to be processed.
24. The information processing method according to claim 23, wherein the abnormality includes an abnormality that an object other than the mounting device and the support member is present around the workpiece.
25. An information processing method according to any one of claims 22 to 24, wherein determining whether or not an abnormality has occurred includes determining that an abnormality has occurred in the mounting device if a difference between the measurement model and the object model exceeds an allowable amount.
26. An information processing method according to any one of claims 22 to 25, wherein determining whether or not an abnormality has occurred includes determining that no abnormality has occurred in the mounting device if the difference between the measurement model and the object model is below the allowable amount.
27. The information processing method according to claim 26, further comprising, when it is determined that the abnormality has occurred, determining whether or not to start processing the object under the circumstances in which the abnormality has occurred.
28. The information processing method according to any one of claims 22 to 27, further comprising generating display data for displaying the anomaly on a display device.
29. An information processing device using the information processing method according to any one of claims 1 to 28.
30. A processing apparatus comprising: the processing head; the mounting device; and the information processing device according to claim 29.
31. A processing method for processing the object by using a processing device equipped with the processing head and the placement device, the information processing method being employed according to any one of claims 1 to 28.
32. An information processing method for processing a workpiece placed on a mounting device using a processing head, the information processing method including: generating a measurement model indicating the measured three-dimensional shape of the measured object by measuring the three-dimensional shape of the measured object including the workpiece; and determining whether or not the processing head and the measured object interfere with each other based on the measurement model.
Citation Information
Patent Citations
Interference check method, machining program check method and machining suitability check method
JP1996052638A
Tool moving device for machine tool
JP1996152908A
Automatic programming device of laser beam machine
JP2015022391A
Information processing device
JP2019101590A
Automatic operation device for machining center using CAD data
JP2021039657A
