Machining device and machining method
The processing device and method correct the three-dimensional shape profile of a workpiece's surface to adjust its angle relative to a reference plane, addressing the precision issues in surface flattening and inclination, thereby enhancing cutting precision and accuracy.
Patent Information
- Application Number
- PCT/JP2024/013276
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
Conventional processing equipment cannot accurately adjust the angle of a workpiece's surface relative to a reference plane to match a desired target angle during cutting, limiting the precision of surface flattening and inclination.
A processing device and method that utilize a control device to obtain and correct the three-dimensional shape profile of a workpiece's surface, adjusting the z-coordinate to match a target inclination angle by measuring thickness dimensions and calculating correction amounts, ensuring the surface is cut to the precise desired angle.
Enables precise adjustment of the workpiece's surface angle to match the target inclination, improving the flatness and precision of cutting processes, allowing for accurate matching of desired angles.
Smart Images

Figure JP2024013276_03102024_PF_FP_ABST
Abstract
Description
Processing device and processing method
[0001] The present invention relates to a processing device and a processing method.
[0002] A cutting device has been proposed that performs cutting on the surface of a workpiece by automatically controlling the operation of a scraper (see, for example, Patent Document 1). Although conventional cutting devices have been able to increase the flatness of the surface of the workpiece (reducing unevenness on the surface), they have only been able to do so, and have not been able to process the surface of the workpiece so that the angle of the surface of the workpiece relative to a reference plane located on the back side of the surface of the workpiece matches a desired target angle.
[0003] Japanese Patent Application Laid-Open No. 2021-58975
[0004] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a technology for performing cutting on the surface to be processed of a workpiece so that the relative angle of the surface to be processed with respect to a reference plane located on the back side of the surface to be processed matches a desired target angle.
[0005] (Mode 1) A processing device that performs cutting processing on a surface to be processed of a workpiece, comprising: a control device that executes a processing process in which convex portions of the surface to be processed are cut using the cutting blade; the control device acquires a three-dimensional shape profile of the surface to be processed; acquires a processing surface inclination angle, which is the relative inclination angle of the surface to be processed with respect to a reference surface of the workpiece that is located on the back side of the surface to be processed; acquires a corrected three-dimensional shape profile by correcting the three-dimensional shape profile based on the difference between a target inclination angle that is preset for the processing surface inclination angle and the processing surface inclination angle; and executes the processing process based on the corrected three-dimensional shape profile.
[0006] (Aspect 2) In aspect 1, in an xyz Cartesian coordinate system for the workpiece in which the reference surface extends in an xy plane, the length direction of the reference surface is the x-axis, the width direction of the reference surface is the y-axis, and the thickness direction of the workpiece corresponding to the distance between the reference surface and the surface to be machined is the z-axis, the control device may acquire thickness dimension data of the workpiece measured at each of a plurality of reference surface side measurement points along the x-axis direction of the reference surface, acquire points in the xz Cartesian coordinate system that are shifted in z coordinate from each reference surface side measurement point by an amount equivalent to the corresponding thickness dimension of the workpiece, as machined surface side measurement points, and acquire the angle between a machined surface side approximation straight line obtained by linearly approximating the acquired plurality of machined surface side measurement points and a reference line passing through the reference surface side measurement points as the machined surface inclination angle.
[0007] (Aspect 3) In Aspect 1, in an xyz Cartesian coordinate system for the workpiece in which the reference surface extends in an xy plane, the length direction of the reference surface is the x-axis, the width direction of the reference surface is the y-axis, and the thickness direction of the workpiece corresponding to the distance between the reference surface and the surface to be machined is the z-axis, the control device acquires thickness dimension data of the workpiece measured at each of a plurality of reference surface side measurement points along the x-axis direction on the reference surface, and profile data including two-dimensional shape profiles of the reference surface and the surface to be machined in the xz Cartesian coordinate system, and acquires points in the xz Cartesian coordinate system shifted in z coordinate from each reference surface side measurement point by an amount equivalent to the corresponding thickness dimension of the workpiece, as machining surface side measurement points, In an xz Cartesian coordinate system, a two-dimensional shape profile of the reference surface is superimposed on the reference surface side measurement points so that plots of the profile data of the reference surface whose x coordinates correspond to the reference surface side measurement points overlap the reference surface side measurement points, and a reference surface side approximation straight line is obtained by linearly approximating the group of plots of the superimposed two-dimensional shape profile of the reference surface; in an xz Cartesian coordinate system, a two-dimensional shape profile of the machined surface is superimposed on the machining surface side measurement points so that plots of the profile data of the machined surface whose x coordinates correspond to the machining surface side measurement points overlap the machining surface side measurement points, and a machining surface side approximation straight line is obtained; and the angle formed by the reference surface side approximation straight line and the machining surface side approximation straight line may be obtained as the machining surface inclination angle.
[0008] (Aspect 4) In aspect 2 or 3, the control device may increase the z coordinate in the three-dimensional shape profile of the surface to be machined from a first end side where the thickness of the workpiece in the x-axis direction is relatively small to a second end side located on the other end side in the x-axis direction when the machining surface inclination angle is larger than the target inclination angle, and may increase the z coordinate in the three-dimensional shape profile of the surface to be machined from the second end side to the first end side when the machining surface inclination angle is smaller than the target inclination angle.
[0009] (Aspect 5) In aspect 2 or 3, the control device may correct the machining surface inclination angle using a correction amount calculated based on the three-dimensional shape profile, and the correction amount may be determined so that, when the position on the machining surface at which the distance from the machining surface side approximation straight line in the z-axis direction is the furthest toward the reference surface is defined as the most concave portion, and the position at which the distance from the machining surface side approximation straight line in the z-axis direction is the furthest away from the reference surface is defined as the most convex portion, a virtual surface inclined at the corrected machining surface inclination angle with respect to the reference surface is set between the most concave portion and the most convex portion.
[0010] (Aspect 6) In aspect 5, the control device may calculate the flatness of the surface to be processed based on the difference in elevation corresponding to the distance in the z-axis direction between the convex and concave portions on the surface to be processed, and limit the amount of correction according to the flatness.
[0011] (Aspect 7) A processing method performed by a control device of a processing device including a control device that performs a processing process to cut convex portions of a processing surface of a workpiece using a cutting blade, wherein the control device: acquires a three-dimensional shape profile of the processing surface; acquires a processing surface inclination angle, which is the relative inclination angle of the processing surface with respect to a reference surface of the workpiece located on the back side of the processing surface; acquires a corrected three-dimensional shape profile by correcting the three-dimensional shape profile based on the difference between a target inclination angle previously set for the processing surface inclination angle and the processing surface inclination angle; acquires the convex portions of the processing surface based on the corrected three-dimensional shape profile, and performs the processing process by cutting the convex portions.
[0012] According to the present invention, when cutting the surface to be processed of a workpiece, a technology can be provided in which the relative angle of the surface to be processed with respect to a reference plane located on the back side of the surface to be processed is matched to a desired target angle.
[0013] FIG. 1 is a diagram showing a schematic configuration of a processing apparatus according to a first embodiment. FIG. 2 is a block diagram showing an example of the configuration of a control device. FIG. 3 is a block diagram showing an example of the functional configuration of a control device. FIG. 4 is a diagram showing an example of a workpiece. FIG. 5 is a diagram explaining a scraping technique according to an embodiment. FIG. 6 is a diagram explaining a workpiece thickness measuring device. FIG. 7 is a schematic diagram explaining a workpiece thickness measurement position using a workpiece thickness measuring device. FIG. 8 is a diagram explaining a procedure for calculating a processing surface inclination angle. FIG. 9 is a diagram showing an example of a three-dimensional shape profile of a processing target surface. FIG. 10 is a diagram explaining correction details of the three-dimensional shape profile of the processing target surface. FIG. 11 is a diagram explaining correction details of the three-dimensional shape profile of the processing target surface. FIG. 12 is a diagram conceptually explaining a procedure for cutting a convex portion on a processing target surface by scraping. FIG. 13 is a flowchart executed by a processor of the control device. FIG. 14 is a diagram explaining a workpiece thickness measuring device according to a modified example. FIG. 15 is a schematic diagram explaining a workpiece thickness measurement position using a workpiece thickness measuring device according to a modified example. FIG. 16 is a diagram explaining a procedure for calculating a processing surface inclination angle in the modified example. Fig. 17 is a diagram illustrating measurement data of a three-dimensional shape profile of a surface to be machined. Fig. 18 is a diagram illustrating a two-dimensional shape profile of a surface to be machined. Fig. 19 is a diagram illustrating a two-dimensional shape profile of a reference surface. Fig. 20 is a diagram illustrating a tilt angle calculation process according to a modified example. Fig. 21 is a diagram illustrating correction details of a three-dimensional shape profile according to the second embodiment. Fig. 22 is a diagram illustrating the relationship between a correction coefficient (correction rate) and flatness.
[0014] Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that each configuration and their combinations in the embodiments are merely examples, and additions, omissions, substitutions, and other modifications of the configurations are possible as appropriate within the scope of the gist of the present invention. The present invention is not limited to the embodiments, but is limited only by the claims.
[0015] <Embodiment 1> Fig. 1 is a diagram showing a schematic configuration of a processing apparatus 1 according to embodiment 1. As shown in Fig. 1, the processing apparatus 1 includes a control device 100, a robot arm (processing robot) 200, a three-dimensional shape measuring device 300, a workpiece thickness measuring device 400, a workpiece rotation unit 500, and the like.
[0016] The processing device 1 is a device that automatically performs cutting on a workpiece surface 11 of a workpiece 10, which is a workpiece to be processed. Scraping will be mainly described below as an example of cutting, but the present invention is not limited to scraping. The workpiece 10 may be, for example, a metal sliding member that constitutes a machine tool or the like, and the sliding surface of the workpiece surface 11 may be the workpiece surface 11. Scraping is a type of metal processing in which a scraper, which is a scraping tool (cutting tool), is used to scrape off convex portions of the workpiece surface 11, thereby increasing the flatness of the workpiece surface 11.
[0017] The robot arm 200 is, for example, a six-axis articulated robot arm, and is controlled by the control device 100. The robot arm 200 has a robot hand 210 at its tip end, which can detachably hold (grasp) various tool units such as the scraper unit 20 and the hand chuck 30. In other words, the robot arm 200 can freely operate the scraper unit 20 and other tool units held by the robot hand 210.
[0018] The scraping of the workpiece surface 11 of the workpiece 10 is performed, for example, by fixing the workpiece 10 to a processing stand C1 shown in Figure 1 and controlling the robot arm 200 with the scraper unit 20 held by the robot hand 210. The surface of the processing stand C1 is formed in a flat shape parallel to the X-Y plane.
[0019] The robot arm 200 can adjust the cutting depth ΔDS (hereinafter referred to as the "stroke cutting depth") by which the cutting blade 24 cuts the workpiece surface 11 per stroke of the scraper 22 by using the downward depression amount δz of the scraper 22 relative to the workpiece surface 11 as a control parameter. Here, the downward depression amount δz of the scraper 22 is set, for example, using the height of a reference point on the workpiece surface 11 measured by the three-dimensional shape measuring device 300 as a reference height (zero point). The position (XY coordinates) of the reference point on the workpiece surface 11 is not particularly limited. For example, a corner of the workpiece surface 11 may be set as the reference point, and the surface height of that point may be used as the reference height. Note that the handle 23 of the scraper 22 is flexible, and therefore the workpiece surface 11 is cut with the handle 23 bent. Therefore, while the cutting depth of the surface 11 to be machined is on the order of microns or submicrons, the downward pushing amount δz of the scraper 22 during cutting can be set as a displacement amount on the order of millimeters.
[0020] Next, the hand chuck 30 will be described. The hand chuck 30 is an attachment for gripping the workpiece 10 when moving the workpiece 10 between pedestals, and is detachable from the robot hand 210. The robot arm 200 can freely move the workpiece 10 between pedestals by gripping the workpiece 10 with the hand chuck 30 attached to the robot hand 210.
[0021] The three-dimensional shape measurement stand C2 is a stand on which a three-dimensional shape measuring instrument 300 is set. In the three-dimensional shape measurement stand C2, the three-dimensional shape profile (three-dimensional uneven shape) of the surface of the workpiece 10 (e.g., the surface 11 to be machined) is measured using the three-dimensional shape measuring instrument 300. The three-dimensional shape measuring instrument 300 is, for example, a measuring instrument using a white light interferometry method. However, the three-dimensional shape measuring instrument 300 is not particularly limited as long as it can measure uneven shape data (height data) of the surface of the workpiece 10 (e.g., the surface 11 to be machined), and for example, a three-dimensional laser scanner or the like may be used. Furthermore, the three-dimensional shape measuring instrument 300 may be a "non-contact" measuring instrument that acquires uneven shape data of the surface of the workpiece 10 without contact, or a "contact" measuring instrument that contacts a probe or the like with the surface of the workpiece 10.
[0022] The workpiece thickness measurement stand C3 is a stand on which the workpiece thickness measuring device 400 is installed. Details of the workpiece thickness measuring device 400 will be described later.
[0023] The workpiece rotating stand C4 is a stand on which the workpiece rotation unit 500 is set. The workpiece rotation unit 500 is a unit that can change the posture of the workpiece 10 by rotating it around its longitudinal axis. The workpiece rotation unit 500 includes, for example, a clamping unit for clamping both longitudinal ends of the workpiece 10, and a drive unit that rotates the workpiece 10 clamped by the clamping unit by driving the clamping unit to rotate. The workpiece rotation unit 500 can rotate the workpiece 10 around its longitudinal axis at any angle, so the posture of the workpiece 10 can be changed to a desired orientation.
[0024] In addition, the processing device 1 may include a tool placement stand C5 for placing the scraper unit 20 thereon, a hand chuck placement stand C6 for placing the hand chuck 30 thereon, and the like.
[0025] Next, the control device 100 of the processing device 1 will be described. The control device 100 controls the robot arm 200 in accordance with the processing instruction data, resulting in scraping processing of the processing target surface 11 of the workpiece 10 in accordance with the processing instruction data. The control device 100 also generates processing instruction data for controlling the robot arm 200. That is, the control device 100 functions not only as a device for controlling the robot arm 200 but also as an information processing device (processing instruction data generating device) for generating processing instruction data used to control the robot arm 200. However, the processing instruction data for controlling the robot arm 200 may be generated by an information processing device (processing instruction data generating device) separate from the control device 100. In this case, the control device 100 acquires the processing instruction data generated by the information processing device (processing instruction data generating device), and controls the robot arm 200 in accordance with the acquired processing instruction data. The processing instruction data may be transmitted from the information processing device (processing instruction data generating device) to the control device 100 via either wired communication or wireless communication.
[0026] 2 is a block diagram showing an example of the configuration of the control device 100. The control device 100 is, for example, a general-purpose computer. The computer constituting the control device 100 includes a communication interface (communication I / F) 101, a storage device 102, an input / output device 103, and a processor 104, which are connected via a communication bus 105.
[0027] The communication I / F 101 may be, for example, a network card or a communication module, and communicates with other computers, devices, etc. based on a predetermined protocol. For example, the control device 100 outputs command signals when controlling the three-dimensional shape measuring device 300, the workpiece thickness measuring device 400, and the workpiece rotation unit 500 via the communication I / F 101. The control device 100 also acquires information (data) related to the measurement results output by the three-dimensional shape measuring device 300, the workpiece thickness measuring device 400, etc.
[0028] The storage device 102 includes, for example, a main storage device such as a random access memory (RAM) or a read-only memory (ROM), and an auxiliary storage device (secondary storage device) such as a hard disk drive (HDD), a solid state drive (SSD), or flash memory. The main storage device temporarily stores programs read by the processor 104 and information (data) sent and received between other computers, and secures a working area for the processor 104. The auxiliary storage device stores programs executed by the processor 104 and information (data) sent and received between other computers. The auxiliary storage device may also include removable media (portable recording media). Removable media is, for example, a USB memory, an SD card, or a disc recording media such as a CD-ROM, a DVD disc, or a Blu-ray disc. The storage device 102 (e.g., the auxiliary storage device) stores an operating system (OS), various programs, various information tables, and the like.
[0029] The input / output device 103 is a user interface, such as an input device such as a keyboard or a mouse, an output device such as a monitor, an input / output device such as a touch panel, etc. Through the input / output device 103, an operator can input various control parameters for performing the scraping process.
[0030] The processor 104 is an arithmetic processing device such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor), and performs various processes according to the present embodiment by executing programs. For example, the processor 104 loads a program stored in the auxiliary storage device of the storage device 102 into the main storage device and executes it, thereby realizing various processes such as a processing instruction data generation process for generating processing instruction data, as described below.
[0031] The control device 100 does not necessarily have to be realized by a single physical configuration, but may be configured by a plurality of computers that cooperate with each other.
[0032] Next, the functional configuration of the control device 100 will be described with reference to FIG. 3 . FIG. 3 is a block diagram showing an example of the functional configuration of the control device 100. The control device 100 has a processing instruction data generation unit 110 and a control unit 111 as functional units. The processor 104 of the control device 100 loads a program stored in the auxiliary storage device of the storage device 102 into the main storage device and executes it, thereby realizing each of the functional units described above. The processing instruction data generation unit 110 executes a processing instruction data generation process that generates processing instruction data. The control unit 111 acquires the processing instruction data generated by the processing instruction data generation unit 110 and controls the robot arm 200 in accordance with the processing instruction data.
[0033] Next, each process related to the scraping process of the processing device 1 will be described. Here, as an example of the scraping process for the workpiece 10, a flattening process will be described, in which convex portions of the workpiece surface 11 are removed so that the flatness of the workpiece surface 11 satisfies a predetermined target flatness. The flatness of the workpiece surface 11 is a value statistically calculated over the entire surface for the height difference corresponding to the height information (Z coordinate) of the convex and concave portions of the workpiece surface 11. For example, the workpiece surface 11 is divided into multiple regions, and for each region, the height difference in the Z axis direction between the highest (most convex) and lowest (most concave) positions is calculated. The flatness is then calculated based on the median or mode of the height difference over the entire surface. Below, a process (processing instruction data generation process) for generating processing instruction data used by the control device 100 when performing the scraping process (flattening process) will be described.
[0034] FIG. 4 is a diagram illustrating an example of a workpiece 10 according to the first embodiment. In FIG. 4, a perspective view of the workpiece 10 is shown in the upper part, and a side view of the workpiece 10 is shown in the lower part. In the workpiece 10 illustrated in FIG. 4, a first principal surface P1 and a second principal surface P2 located on the reverse side of the first principal surface P1 are inclined relative to each other. Hereinafter, the first principal surface P1 will be referred to as the "reference surface," and the second principal surface P2 will be referred to as the "inclined surface." Note that in FIG. 4, the reference surface P1 and the inclined surface P2 of the workpiece 10 have a substantially rectangular shape, but the shape is not particularly limited. FIG. 4 illustrates an xyz three-dimensional Cartesian coordinate system (hereinafter also referred to as the "workpiece xyz Cartesian coordinate system") for the workpiece 10. For convenience, the long side direction (x-axis direction) of the workpiece 10 will be referred to as the length direction, the short side direction (y-axis direction) will be referred to as the width direction, and the thickness direction (z-axis direction) will be referred to as the height direction. The thickness of the workpiece 10 corresponds to the distance between the inclined surface P2 and the reference plane P1 along the normal to the reference plane P1. In the workpiece xyz Cartesian coordinate system, the reference plane P1 extends in the xy plane. One end of the workpiece 10 in the longitudinal direction (x-axis direction) is called the first end E1, and the other end is called the second end E2.
[0035] 4, the workpiece 10 is a workpiece having a tapered shape in which an inclined surface P2 is inclined with respect to a reference plane P1. When machining the workpiece 10 having such a tapered shape, the relative inclination angle of the inclined surface P2 (machined surface 11) with respect to the reference plane P1 (hereinafter referred to as the "machined surface inclination angle") is finished in a state where it precisely matches a predetermined target inclination angle (e.g., a design value), thereby smoothing the surface (enhancing flatness).
[0036] An outline of the machining process according to this embodiment will be described with reference to FIG. 5 . The inclined surface P2′ of the workpiece surface 11 in FIGS. 5B and 5C shows the state after the inclined surface P2 of the workpiece surface 11 in FIG. 5A has been machined. When the target inclination angle is greater than the inclination angle of the workpiece surface P2, i.e., when scraping is performed along the cutting line L1, the shape of the workpiece 10 will be such that the amount of cutting is greater on the first end E1 side, which has a smaller thickness, and less on the second end E2 side, which has a larger thickness, as shown in FIG. 5B. On the other hand, when the target inclination angle is smaller than the inclination angle of the workpiece surface P2, i.e., when scraping is performed along the cutting line L2, the shape of the workpiece 10 will be such that the amount of cutting is greater on the E2 side and less on the E1 side, as shown in FIG. 5C.
[0037] The processing instruction data generation process according to this embodiment will be described in detail below. The processing instruction data generation process according to this embodiment includes a tilt angle calculation process, a three-dimensional shape profile correction process, etc. The tilt angle calculation process is a process for calculating the tilt angle (machining surface tilt angle) of the inclined surface P2 (machining object surface 11). The three-dimensional shape profile correction process is a process for correcting the three-dimensional shape profile of the inclined surface P2 (machining object surface) 11 based on the difference between the tilt angle (machining surface tilt angle) of the inclined surface P2 (machining object surface 11) calculated by the tilt angle calculation process and the target tilt angle. Each of these processes is executed by the processing instruction data generation unit 110 of the control device 100.
[0038] First, the inclination angle calculation process will be described. The processing instruction data generation unit 110 of the control device 100 calculates the inclination angle (machining surface inclination angle) of the inclined surface P2 (machining target surface 11) based on the measurement result of the workpiece thickness measuring device 400.
[0039] 6 is a diagram illustrating a workpiece thickness measuring instrument 400. The workpiece thickness measuring instrument 400 is a measuring instrument that measures the thickness of the workpiece 10. The workpiece thickness measuring instrument 400 is equipped with a measuring unit 430 that includes a pair of measuring probes 410, 420, and can measure the thickness of the workpiece 10 by measuring the displacement of the measuring probes 410, 420 while the pair of measuring probes 410, 420 are in contact with the reference plane P1 and the inclined plane P2 (the surface to be machined 11), respectively.
[0040] The workpiece thickness measuring device 400 includes a movable stage 450 having a pair of electromagnets 440A, 440B capable of fixing the workpiece 10. Each electromagnet 440A, 440B is provided with a positioning pin 460 for determining the holding position of the workpiece 10. The movable stage 450 has an actuator and is capable of reciprocating along the direction of arrow A (horizontal direction). The movable stage 450 supports the workpiece 10 so that the reference surface P1 of the workpiece 10 is parallel to the direction of reciprocation. In addition, the pair of measurement probes 410, 420 are set on a movable stage 480 that is capable of reciprocating along the direction of arrow B (vertical direction) in the figure. The height of the measurement probes 410, 420 is changed by driving the movable stage 480. According to the above-described workpiece thickness measuring device 400, by driving the movable stages 450, 480, the positions at which the pair of measurement probes 410, 420 contact the reference surface P1 and the inclined surface P2 (machined surface 11) of the workpiece 10, i.e., the measurement points, can be freely changed.
[0041] 7 is a schematic diagram illustrating the thickness measurement position of the workpiece 10 using the workpiece thickness measuring device 400. Note that the thickness of the workpiece 10 here means the component dimension of the workpiece 10 in the height direction (z-axis direction) as shown in FIG. 4, and refers to the distance between the reference plane P1 and the inclined plane P2 (machined surface 11) in the height direction (z-axis direction).
[0042] In FIG. 7 , symbols Mb1 to Mb6 denote thickness measurement points on the reference plane P1 side of the workpiece 10 (hereinafter referred to as "reference plane measurement points"). Symbols Md1 to Md6 denote thickness measurement points on the inclined plane P2 (machined surface 11) side of the workpiece 10 (hereinafter referred to as "machined surface measurement points"). The reference plane measurement points Mb1 to Mb6 are each set at different positions along the x-axis direction on the reference plane P1. In the example shown in FIG. 7 , six reference plane measurement points Mb1 to Mb6 are set on the reference plane P1 side of the workpiece 10, but at least two or more may be set. At least two machined surface measurement points Md1 to Md6 on the inclined plane P2 (machined surface 11) side of the workpiece 10 may also be set. Each measurement point Mb1 to Mb6, Md1 to Md6, is set at a position with the same y coordinate in the workpiece x-y-z Cartesian coordinate system. In the example shown in FIG. 7 , they are set on the widthwise centerline. 7, the reference surface side measurement points Mb1-Mb6 and the processing surface side measurement points Md1-Md6 are paired, and the x-coordinates of the paired thickness measurement points are set to the same position. Furthermore, since the positions of the measurement points Mb1-Mb6 and Md1-Md6 are set in advance, the x-coordinates and y-coordinates of the measurement points Mb1-Mb6 and Md1-Md6 are known.
[0043] The control device 100 controls the robot arm 200 of the processing device 1 to move the workpiece 10 held by the hand chuck 30 to the workpiece thickness measurement stand C3 and place it on the movable stage 450 of the workpiece thickness measuring device 400. Then, the electromagnets 440A and 440B of the workpiece thickness measuring device 400 are energized to fix the workpiece 10 on the movable stage 450. The movable stages 450 and 480 are then actuated to measure the thickness of the workpiece 10 with the measurement probes 410 and 420 in contact with the measurement points Mb1 and Md1. The position of the movable stage 450 is then sequentially shifted along the direction A in FIG. 6 to measure the thickness of the workpiece 10 at the remaining measurement points. Here, the thickness between measurement points Mb1 and Md1 is referred to as the "first thickness t1." Similarly, the thicknesses between measurement points Mb2 and Md2, between measurement points Mb3 and Md3, between measurement points Mb4 and Md4, between measurement points Mb5 and Md5, and between measurement points Mb6 and Md6 are referred to as the second thickness t2 to the sixth thickness t6. The control device 100 acquires thickness dimension data relating to the first thickness t1 to the sixth thickness t6 from the workpiece thickness measuring device 400.
[0044] FIG. 8 is a diagram illustrating a procedure for calculating the inclination angle (machining surface inclination angle) of the inclined surface P2 (machined surface 11) based on the first thickness t1 to the sixth thickness t6 of the workpiece 10. First, as shown in FIG. 8, the reference surface measurement points Mb1 to Mb6 and the machining surface measurement points Md1 to Md6 are plotted in a workpiece xz Cartesian coordinate system. Here, the reference surface measurement points Mb1 to Mb6 are plotted as known coordinates (x1, z0), (x2, z0), (x3, z0), (x4, z0), (x5, z0), and (x6, z0), respectively. It is assumed that the z coordinates (height positions) of the reference surface measurement points Mb1 to Mb6 are all the same.
[0045] Next, each of the machining surface measurement points Md1-Md6 is plotted on the workpiece x-z Cartesian coordinate system as coordinates (x1, z1), (x2, z2), (x3, z3), (x4, z4), (x5, z5), and (x6, z6), respectively. The z-coordinates (z1-z6) of each of the machining surface measurement points Md1-Md6 can be calculated as the difference from the coordinate z0 of each of the first thickness t1-sixth thickness t6. Each of the machining surface measurement points Md1-Md6 is shifted in z-coordinate from each of the reference surface measurement points Mb1-Mb6 by an amount corresponding to the corresponding thickness dimension (first thickness t1-sixth thickness t6) of the workpiece 10. In this way, the machining instruction data generation unit 110 of the control device 100 acquires each of the machining surface measurement points Md1-Md6.
[0046] The machining instruction data generation unit 110 of the control device 100 calculates the machining surface approximation line VL by linearly approximating the machining surface measurement points Md1 to Md6. Specifically, the coordinates of each measurement point Md1 to Md6 are treated as a point cloud, and the least-squares line calculated using the least-squares method is used to determine the machining surface approximation line VL. The machining surface approximation line VL calculated in this manner can be said to be a line reflecting the inclination angle of the inclined surface P2 (machined surface 11) relative to the reference plane P1. Note that the symbol BL shown in FIG. 8 is a line parallel to the x-axis that passes through each of the reference surface measurement points Mb1 to Mb6 and is referred to as the "reference line." Here, the inclination angle (machined surface inclination angle) θd of the inclined surface P2 (machined surface 11) is calculated as the angle between the reference line BL and the machining surface approximation line VL. 8 is a line parallel to the reference line BL (a line parallel to the x-axis) for the purpose of making the machining surface inclination angle θd easier to understand. The machining instruction data generating unit 110 of the control device 100 executes the above-described inclination angle calculation process, thereby calculating the machining surface inclination angle θd.
[0047] Next, a description will be given of the three-dimensional shape profile correction process executed by the processing instruction data generation unit 110 of the control device 100. During the three-dimensional shape profile correction process, the control device 100 acquires a three-dimensional shape profile (uneven shape) of the inclined surface P2 (machining target surface 11) of the workpiece 10. The three-dimensional shape profile (uneven shape) of the inclined surface P2 (machining target surface 11) of the workpiece 10 is obtained by the three-dimensional shape measuring instrument 300.
[0048] During measurement by the above-described work thickness measuring instrument 400, the inclined surface P2 (machined surface 11) of the workpiece 10 is oriented horizontally, so the control device 100 controls the robot arm 200 of the processing device 1 to move the workpiece 10 from the workpiece thickness measurement stand C3 to the workpiece rotating stand C4. The control device 100 then controls the workpiece rotation unit 500 to rotate the workpiece 10 so that the inclined surface P2 (machined surface 11) is oriented upward, and then moves the workpiece 10 from the workpiece rotating stand C4 to the three-dimensional shape measurement stand C2. The control device 100 then controls the three-dimensional shape measuring instrument 300 to measure the three-dimensional shape profile (uneven shape) of the inclined surface P2 (machined surface 11) of the workpiece 10.
[0049] FIG. 9 is a diagram showing an example of a three-dimensional shape profile PFd of the inclined surface P2 (the surface 11 to be machined). The three-dimensional shape profile PFd represents the distribution of heights (z coordinates) corresponding to each coordinate (each measurement point) in the planar direction (xy plane direction) of the inclined surface P2 (the surface 11 to be machined). Note that the three-dimensional shape profile shown in FIG. 9 does not represent the absolute z coordinates of each measurement point, but rather represents the relative height difference at each measurement point when the z coordinate of an arbitrary measurement point on the inclined surface P2 is used as a reference. The control device 100 generates profile data including the three-dimensional shape profile PFd of the inclined surface P2 (the surface 11 to be machined) based on the measurement results of the three-dimensional shape measuring instrument 300.
[0050] In the three-dimensional shape profile correction process, the processing instruction data generation unit 110 of the control device 100 compares the processing surface inclination angle θd calculated in the inclination angle calculation process with the target inclination angle θdt. The target inclination angle θdt is the inclination angle of the inclined surface P2 (processing target surface 11) that is predetermined in design, and can be said to be the ideal inclination angle that serves as a target when scraping the inclined surface P2 (processing target surface 11).
[0051] The processing instruction data generating unit 110 of the control device 100 corrects the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) based on the difference between the processing surface inclination angle θd of the inclined surface P2 (machined surface 11) and the target inclination angle θdt. Note that if the processing surface inclination angle θd is equal to the target inclination angle θdt, the correction of the three-dimensional shape profile PFd does not need to be performed.
[0052] For example, if the processing surface inclination angle θd of the inclined surface P2 (machined surface 11) calculated in the inclination angle calculation process is greater than the target inclination angle θdt, it is necessary to perform scraping on the inclined surface P2 (machined surface 11) while reducing the processing surface inclination angle θd. Therefore, in such a case, the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) is corrected as shown in Figure 5 (C). That is, the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) is corrected so that cutting is performed along the cutting line L2 shown in Figure 5 (A).
[0053] On the other hand, if the processing surface inclination angle θd calculated in the inclination angle calculation process is smaller than the target inclination angle θdt, it is necessary to perform scraping on the inclined surface P2 (machined surface 11) while increasing the processing surface inclination angle θd. Therefore, in such a case, the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) is corrected as shown in Figure 5 (B). That is, the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) is corrected so that cutting is performed along the cutting line L1 shown in Figure 5 (A).
[0054] 10 and 11 are diagrams illustrating the correction content of the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11). Fig. 10 shows the profile correction content when the difference θdif (θdif = θd - θdt) between the machining surface inclination angle θd calculated in the inclination angle calculation process and the target inclination angle θdt is positive (θd > θdt). Fig. 11 shows the profile correction content when the difference θdif (θdif = θd - θdt) calculated in the inclination angle calculation process is negative (θd < θdt).
[0055] First, as shown in FIG. 10A, the case where the difference θdif is positive (θd > θdt) will be described. In this case, as shown in FIG. 10B, a correction is performed to relatively increase the z coordinate (height) of the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) along the length direction (x-axis direction) of the workpiece 10 from the first end E1, where the thickness of the workpiece 10 is relatively small in the x-axis direction, to the second end E2, located on the other side in the x-axis direction. The symbol PFd' in the figure represents the three-dimensional shape profile of the inclined surface P2 (machined surface 11) after correction, and is referred to as the "corrected three-dimensional shape profile." Note that, for the sake of simplicity, each of the three-dimensional shape profiles PFd and PFd' is shown two-dimensionally in FIG. 10.
[0056] In the example shown in Figure 10 (B), the z coordinate in the three-dimensional shape profile PFd of the inclined surface P2 (surface to be machined 11) from the first end E1 to the second end E2 of the workpiece 10 is increased, and the three-dimensional shape profile PFd is corrected to the three-dimensional shape profile PFd'.
[0057] If the x-coordinate at the first end E1 of the workpiece 10 is the origin of the x-axis, the correction amount δzc of the z-coordinate at any position on the inclined surface P2 (surface to be machined 11) is expressed by the following equation (1).
[0058] x is the x-coordinate (distance from the first end E1 along the x-axis direction) at any position on the inclined surface P2 (surface to be machined 11) when the x-coordinate at the first end E1 of the workpiece 10 is the origin of the x-axis.
[0059] On the other hand, when the difference θdif is negative (θd<θdt) as shown in Fig. 11(A), a correction is made as shown in Fig. 11(B). That is, contrary to when the difference θdif is positive, a correction is made to relatively increase the z coordinate in the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) along the length direction (x-axis direction) of the workpiece 10 from the second end E2 side where the thickness of the workpiece 10 is relatively larger in the x-axis direction to the first end E1 located on the other end side in the x-axis direction.
[0060] In the example shown in FIG. 11B, the z coordinate in the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) increases from the second end E2 to the first end E1 of the workpiece 10.
[0061] If the x-coordinate at the second end E2 of the workpiece 10 is the origin of the x-axis, the correction amount δzc of the z-coordinate at any position on the inclined surface P2 (surface to be machined 11) is expressed by the following equation (2).
[0062] x is the x-coordinate (distance from the second end E2 along the x-axis direction) at any position on the inclined surface P2 (surface to be machined 11) when the x-coordinate at the second end E2 of the workpiece 10 is the origin of the x-axis.
[0063] As described above, the processing instruction data generation unit 110 of the control device 100 generates corrected three-dimensional shape profile data that stores a corrected three-dimensional shape profile PFd' obtained by correcting the three-dimensional shape profile PFd of the inclined surface P2 (surface 11 to be processed) based on the difference θdif between the processing surface inclination angle θd and the target inclination angle θdt, and stores the data in the memory device 102.
[0064] Next, the processing instruction data generation unit 110 of the control device 100 acquires the convex portions on the inclined surface P2 (machined surface 11) based on the corrected three-dimensional shape profile data. The convex portions on the inclined surface P2 (machined surface 11) are portions that are relatively raised above the lowest position in the corrected three-dimensional shape profile PFd' where the height (z coordinate) of the inclined surface P2 (machined surface 11) is relatively low. The processing instruction data generation unit 110 of the control device 100 divides the convex portions on the inclined surface P2 (machined surface 11) into processing planes inclined at a processing plane inclination angle θd with respect to the x-y plane in the height direction (z-axis direction), and sets multiple processing area layers CR.
[0065] As an example, the scraping process according to this embodiment smoothes the inclined surface P2 (surface 11 to be machined) by sequentially cutting the convex portion S3 on the inclined surface P2 (surface 11 to be machined) for each machining area layer CR, starting from the upper machining area layer CR.
[0066] 12A and 12B are diagrams conceptually illustrating the order in which the convex portion S3 on the inclined surface P2 (machined surface 11) is removed by scraping. FIG. 12A is a schematic diagram illustrating the state in which the first machining region layer CR1, located at the top, has been removed. FIG. 12B is a schematic diagram illustrating the state in which the second machining region layer CR2 has been removed following the removal of the first machining region layer CR1. The hatched areas in the diagram represent the portions removed by scraping. In this manner, the convex portion S3 on the inclined surface P2 (machined surface 11) is removed by successively removing the machining region layers CR from the top to the bottom machining region layer CR. Ultimately, the inclined surface P2 (machined surface 11) is smoothed, and the machining surface inclination angle θd of the inclined surface P2 (machined surface 11) is aligned with the target inclination angle θdt.
[0067] <Processing flow> Next, a description will be given of the processing flow executed by the control device 100. Fig. 13 is a flowchart executed by the processor 104 of the control device 100. The processing flow is started, for example, when the control device 100 receives a processing start request from the user via the input device of the input / output device 103.
[0068] First, in step S101, the processing instruction data generating unit 110 executes the above-described processing instruction data generating process to generate processing instruction data. The processing instruction data generated by the processing instruction data generating unit 110 is stored in the storage device 102.
[0069] Next, in step S102, the control unit 111 of the control device 100 acquires processing instruction data from the storage device 102. Then, the control unit 111 of the control device 100 controls the robot arm 200 in accordance with the processing instruction data to perform processing on the inclined surface P2 (processing target surface 11) of the workpiece 10.
[0070] The multiple machining area layers CR that divide the convex portion S3 of the inclined surface P2 (machined surface 11) in the workpiece 10 in the height direction are cut from the upper layer side, and when cutting of the machining area layer CR in the lowest layer is completed, proceed to step S103.
[0071] In step S103, the control unit 111 of the control device 100 acquires the processing surface inclination angle θd of the inclined surface P2 (machined surface 11) after scraping and determines whether the processing surface inclination angle θd satisfies the target. For example, it determines whether the difference between the processing surface inclination angle θd and the target inclination angle θdt is equal to or less than a preset threshold. The method for calculating the processing surface inclination angle θd is as described above. If the difference between the processing surface inclination angle θd and the target inclination angle θdt is equal to or less than the threshold, it is determined that the processing surface inclination angle θd matches the target inclination angle θdt. In this case, the processing flow ends. On the other hand, if the difference between the processing surface inclination angle θd and the target inclination angle θdt is greater than the threshold, it is determined that the processing surface inclination angle θd does not match the target inclination angle θdt. In this case, the process returns to step S101. That is, scraping of the inclined surface P2 (machined surface 11) is repeated until the processing surface inclination angle θd matches the target inclination angle θdt.
[0072] As described above, in the machining apparatus 1 of this embodiment, the control device 100 is configured to perform the above-mentioned inclination angle calculation process, three-dimensional shape profile correction process, etc. That is, when scraping the machining target surface 11 of the workpiece 10, the machining surface inclination angle θd is acquired by the inclination angle calculation process, and the three-dimensional shape profile PFd of the machining target surface 11 is corrected by the three-dimensional shape profile correction process based on the difference between the machining surface inclination angle θd and the target inclination angle θdt. This makes it possible to perform necessary and sufficient correction on the three-dimensional shape profile PFd of the machining target surface 11 to make the machining surface inclination angle θd match the target inclination angle θdt.
[0073] The control device 100 then acquires the convex portion S3 of the surface 11 to be machined based on the corrected three-dimensional shape profile PFd' that reflects the correction according to the difference between the machining surface inclination angle θd and the target inclination angle θdt, and generates processing point data (processing instruction data) for smoothing the acquired convex portion S3, thereby enabling scraping processing based on the processing point data (processing instruction data) that takes into account the difference between the machining surface inclination angle θd and the target inclination angle θdt.
[0074] In the tilt angle calculation process, the control device 100 acquires thickness dimension data of the workpiece 10 measured at each of a plurality of reference surface side measurement points Mb1 to Mb6 along the x-axis direction on the reference surface P1, acquires as the machining surface side measurement points Md1 to Md6 points in the xz Cartesian coordinate system that are shifted in the z coordinate from each of the reference surface side measurement points Mb1 to Mb6 by an amount equivalent to the corresponding thickness dimension of the workpiece 10, and acquires as the machining surface tilt angle θd the angle formed by the machining surface side approximation line obtained by linearly approximating each of the machining surface side measurement points Md1 to Md6 and a reference line BL that passes through each of the reference surface side measurement points Mb1 to Mb6. This allows the machining surface tilt angle θd of the machined surface 11 to be acquired with high accuracy.
[0075] In the three-dimensional shape profile correction process of this embodiment, when the machining surface inclination angle θd is greater than the target inclination angle θdt, the control device 100 increases the z coordinate in the three-dimensional shape profile PFd of the machined surface 11 from the first end E1 side, where the thickness of the workpiece 10 is relatively small in the x-axis direction, to the second end E2 side located on the other end side, while when the machining surface inclination angle θd is smaller than the target inclination angle θdt, the control device 100 increases the z coordinate in the three-dimensional shape profile PFd of the machined surface 11 from the second end E2 side to the first end E21 side. This allows for appropriate correction of the three-dimensional shape profile PFd to match the machining surface inclination angle θd to the target inclination angle θdt. In this case, the control device 100 increases the inclination when increasing the z coordinate in the three-dimensional shape profile PFd of the surface 11 to be machined, the greater the difference between the machining surface inclination angle θd and the target inclination angle θdt. This makes it possible to accurately match the machining surface inclination angle θd with the target inclination angle θdt when scraping the surface 11 to be machined. Note that, although an example in which the machining device 1 performs scraping has been shown in this embodiment, the invention is not limited to this. The machining device 1 may also perform cutting processes other than scraping to match the relative angle of the surface to be machined with respect to the reference surface to a desired target angle.
[0076] <Modification> Next, a modification of the processing apparatus 1 will be described. The following will focus on the differences from the above-described embodiment, and a repeated description of the common points will be omitted. The processing apparatus 1 according to this modification differs from the first embodiment in that it includes a workpiece thickness measuring device 600 instead of the workpiece thickness measuring device 400.
[0077] Fig. 14 is a diagram illustrating a workpiece thickness measuring instrument 600 according to a modified example. In this modified example, the workpiece thickness measuring instrument 600 is installed on the workpiece thickness measuring stand C3 shown in Fig. 1. In this modified example, an inclination angle calculation process is performed based on the measurement results of the workpiece thickness measuring instrument 600, the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11), and the three-dimensional shape profile PFb of the reference surface P1.
[0078] FIG. 15 is a schematic diagram illustrating thickness measurement positions of a workpiece 10 using a workpiece thickness measuring device 600 according to a modified example. In FIG. 15, symbols Mb1 and Mb2 indicate reference surface side measurement points of the workpiece 10, and symbols Md1 and Md2 indicate machining surface side measurement points. The reference surface side measurement points Mb1 and Mb2 are set at different positions along the x-axis direction on the reference surface P1. In the example shown in FIG. 15, the reference surface side measurement point Mb1 and the machining surface side measurement point Md1 are set near the first end E1 of the workpiece 10, and the reference surface side measurement point Mb2 and the machining surface side measurement point Md2 are set near the second end E2.
[0079] Each of the measurement points Mb1, Mb2, Md1, and Md2 is set at a position where the y coordinate (position in the workpiece width direction) is the same in the workpiece x-y-z Cartesian coordinate system. In the example shown in FIG. 15, the measurement points are set on the widthwise centerline. Also, as shown in FIG. 15, the reference surface side measurement point Mb1 and the machining surface side measurement point Md1 are set at positions where the x coordinate (position in the workpiece length direction) is the same. Similarly, the reference surface side measurement point Mb2 and the machining surface side measurement point Md2 are set at positions where the x coordinate (position in the workpiece length direction) is the same. The positions of each of the measurement points Mb1, Mb2, Md1, and Md2 are set in advance. In other words, since the x and y coordinates of each of the measurement points Mb1, Mb2, Md1, and Md2 are known, the distance Lm in the x-axis direction between the reference surface side measurement points Mb1 and Mb2 is also known.
[0080] Returning to Figure 14, the workpiece thickness measuring instrument 600 will be described. The workpiece thickness measuring instrument 600 has two upper and lower laser distance meters 620, 630 mounted on a support frame 610 that stands vertically from the workpiece thickness measurement stand C3. The laser distance meters 620, 630 have a light emitter that emits a laser and a receiver that receives reflected light from the surface to be measured. In this modified example, the control device 100 controls the robot arm 200 of the processing device 1 to alternately position the first end E1 side and the second end E2 side of the workpiece 10 held by the hand chuck 30 between the two upper and lower laser distance meters 620, 630, thereby measuring the thickness of the workpiece 10.
[0081] 14 shows a state in which the first end E1 side of the workpiece 10 held by the hand chuck 30 is inserted between the laser distance meters 620 and 630. In this case, the laser distance measurer 620 measures the distance from the reference position of the laser distance measurer 620 to the measurement point Md1 on the processing surface side of the workpiece 10, and the laser distance measurer 630 measures the distance from the reference position of the laser distance measurer 630 to the measurement point Mb1 on the reference surface side.
[0082] Once the thickness measurement of the first end E1 side of the workpiece 10 is completed, the control device 100 rotates the robot hand 210 of the robot arm 200 half a turn around the Z axis, thereby inserting the second end E2 side of the workpiece 10 between the laser distance meters 620, 630 and measuring the thickness of the second end E2 side. Here, the thickness between the reference surface side measurement point Mb1 and the machining surface side measurement point Md1 is referred to as the "first thickness t1," and the thickness between the reference surface side measurement point Mb2 and the machining surface side measurement point Md2 is referred to as the "second thickness t2." The control device 100 acquires thickness dimension data regarding the first thickness t1 and the second thickness t2 from the workpiece thickness measuring device 600.
[0083] In the inclination angle calculation process of this modified example, in addition to the first thickness t1 and the second thickness t2, the three-dimensional shape profile PFd of the inclined surface P2 (surface 11 to be machined) and the three-dimensional shape profile PFb of the reference surface P1 are used to calculate the inclination angle (machining surface inclination angle) θd on the inclined surface P2 (surface 11 to be machined).
[0084] The three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) is obtained in the same manner as in embodiment 1. Similarly to the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11), the three-dimensional shape profile PFb of the reference surface P1 can also be obtained based on the measurement results of the three-dimensional shape measuring instrument 300. The processing instruction data generation unit 110 of the control device 100 obtains each profile data including the three-dimensional shape profiles PFb and PFd.
[0085] FIG. 16 is a diagram illustrating the procedure for calculating the inclination angle (machining surface inclination angle) θd of the inclined surface P2 (machined surface 11) in this modified example. In the inclination angle calculation process, as shown in FIG. 16 , the reference surface measurement points Mb1 and Mb2 and the machining surface measurement points Md1 and Md2 are plotted in a workpiece xz Cartesian coordinate system. More specifically, the reference surface measurement points Mb1 and Mb2 are plotted as coordinates (x1, z0) and (x2, z0), respectively. It is assumed that the z coordinates (height positions) of the reference surface measurement points Mb1 and Mb2 are all equal. Furthermore, the x coordinates (x1, x2) of the reference surface measurement points Mb1 and Mb2 are known as described above. Next, the machining surface measurement points Md1 and Md2 are plotted as coordinates (x1, z1) and (x2, z2), respectively, in the workpiece xz Cartesian coordinate system. The z-coordinates (z1, z2) of each machining surface side measurement point Md1, Md2 can be calculated as the difference from the coordinate z0 of the first thickness t1 and the second thickness t2, respectively. That is, the difference between z1 and z0 and the difference between z2 and z0 correspond to the first thickness t1 and the second thickness t2, respectively. In other words, each machining surface side measurement point Md1, Md2 is shifted in z-coordinate from each reference surface side measurement point Mb1, Mb2 by an amount corresponding to the thickness dimension (first thickness t1, second thickness t2) of the corresponding workpiece 10. In this way, the machining instruction data generation unit 110 of the control device 100 acquires each machining surface side measurement point Md1, Md2.
[0086] FIG. 17 is a two-dimensional diagram showing the relationship between the x- and z-coordinates at each measurement point on the inclined surface P2 (machined surface 11) among the measurement data of the three-dimensional shape profile PFd of the inclined surface P2 (machined surface 11) measured by the three-dimensional shape measuring instrument 300. The machining instruction data generation unit 110 of the control device 100 averages the three-dimensional shape profile PFd in the width direction (y-axis direction) of the workpiece 10 to obtain a two-dimensional shape profile PFd2 of the inclined surface P2 (machined surface 11) in the workpiece x-z Cartesian coordinate system as shown in FIG. 18. Symbol MPd1 in FIG. 18 is the first plot on the machined surface side of the two-dimensional shape profile PFd2 of the inclined surface P2 (machined surface 11) whose x-coordinate corresponds to x1, and symbol MPd2 is the second plot on the machined surface side whose x-coordinate corresponds to x2. That is, the first plot on the machined surface side MPd1 is the plot whose x-coordinate corresponds to the machined surface side measurement point Md1 shown in FIG. 16. 16. The second plot MPd2 on the machined surface side is a plot whose x-coordinate corresponds to that of the measurement point Md2 on the machined surface side shown in FIG.
[0087] The processing instruction data generation unit 110 of the control device 100 also performs a similar averaging process on the three-dimensional shape profile PFb of the reference surface P1 to obtain a two-dimensional shape profile PFb2 of the reference surface P1 in the workpiece xz Cartesian coordinate system as shown in FIG. 19. In FIG. 19, symbol MPb1 denotes the reference surface-side first plot in the two-dimensional shape profile PFb2 of the reference surface P1 whose x-coordinate corresponds to x1, and symbol MPb2 denotes the reference surface-side second plot whose x-coordinate corresponds to x2. That is, the reference surface-side first plot MPb1 is the plot whose x-coordinate corresponds to the reference surface-side measurement point Mb1 shown in FIG. 16. The reference surface-side second plot MPb2 is the plot whose x-coordinate corresponds to the reference surface-side measurement point Mb2 shown in FIG. 16. Note that the plots shown in FIGS. 17 to 19 are schematic representations.
[0088] In the tilt angle calculation process according to this modification, a process is performed in which a two-dimensional shape profile PFb2 is superimposed on each plot of reference surface side measurement points Mb1 and Mb2 so that the reference surface side first plot MPb1 overlaps the plot of reference surface side measurement point Mb1 and the reference surface side second plot MPb2 overlaps the plot of reference surface side measurement point Mb2, as shown in Fig. 20. Similarly, a process is performed in which a two-dimensional shape profile PFd2 is superimposed on each plot of machining surface side measurement points Md1 and Md2 so that the machining surface side first plot MPd1 overlaps the plot of machining surface side measurement point Md1 and the machining surface side second plot MPd2 overlaps the plot of machining surface side measurement point Md2.
[0089] 20, the processing instruction data generation unit 110 of the control device 100 linearly approximates each group of plots included in the two-dimensional shape profile PFb2 of the reference surface P1 superimposed on the reference surface measurement points Mb1 and Mb2, for example, using the least squares method, to obtain a reference surface approximation line VLb. Similarly, linearly approximates each group of plots included in the two-dimensional shape profile PFd2 of the inclined surface P2 (the workpiece surface 11) superimposed on the workpiece surface measurement points Md1 and Md2, for example, using the least squares method, to obtain a workpiece surface approximation line VLd. The reference surface approximation line VLb and the workpiece surface approximation line VLd obtained in this manner can be said to be straight lines reflecting the relative inclination angles of the reference surface P1 and the inclined surface P2 (the workpiece surface 11). The processing instruction data generation unit 110 of the control device 100 calculates the angle between the reference surface side approximate line VLb and the processing surface side approximate line VLd as the inclination angle (processing surface inclination angle) θd of the inclined surface P2 (processing surface 11). Note that the line VLb' shown in FIG. 20 is drawn for the purpose of making the processing surface inclination angle θd easier to understand, and is a line parallel to the reference surface side approximate line VLb. Using the processing surface inclination angle θd calculated as described above, the processing instruction data generation unit 110 of the control device 100 can perform the three-dimensional shape profile correction process described in embodiment 1.
[0090] In the above-described modified example, the tilt angle calculation process for calculating the machining surface tilt angle θd of the workpiece surface 11 using a method different from that of the first embodiment has been described. Specifically, in the tilt angle calculation process according to this modified example, the control device 100 acquires thickness dimension data of the workpiece 10 measured at multiple reference surface-side measurement points Mb1, Mb2 along the x-axis direction on the reference plane P1 and profile data including two-dimensional shape profiles of the reference plane P1 and the workpiece surface 11 in an x-z Cartesian coordinate system, and calculates the machining surface tilt angle θd based on these data. By using the above-described profile data in conjunction with the thickness dimension data of the workpiece 10, the machining surface tilt angle θd of the workpiece surface 11 can be calculated with high accuracy even if the number of measurement points for the thickness dimension of the workpiece 10 is small. Furthermore, because the machining surface tilt angle θd can be calculated with high accuracy even if the number of measurement points for the thickness dimension of the workpiece 10 is small, the time required for preparation for scraping the workpiece surface 11 can be reduced.
[0091] Second Embodiment Next, a second embodiment of the machining device 1 and machining method will be described. The following description will focus on differences from the first embodiment, and commonalities will be omitted. In this embodiment, the machining instruction data generation unit 110 of the control device 100 corrects the three-dimensional shape profile based on the difference between the target tilt angle θdt and the machining surface tilt angle θd, as in the first embodiment. However, the machining instruction data generation unit 110 of this embodiment does not necessarily machine the inclined surface P2 to the target tilt angle θdt, but rather limits the correction amount of the machining surface tilt angle depending on the flatness σ of the inclined surface P2. For example, the correction amount is determined within the range of unevenness of the surface to be machined, and the machining surface tilt angle is corrected based on this correction amount.
[0092] FIG. 21 is a diagram illustrating the correction content of the three-dimensional shape profile PFd according to this embodiment. In FIG. 21 , the reference plane P1 and inclined plane P2 (machined surface 11) of the workpiece 10 are indicated by thick solid lines, the machining surface approximation line VL of the machining surface measurement points is indicated by a dashed line, the reference line BL passing through the reference surface measurement points is indicated by a dashed two-dot line, the machining target plane VT is indicated by a thick dashed line, and the correction target plane VC is indicated by a thick dashed two-dot line. The machining target plane VT is a virtual plane inclined at a target tilt angle θdt. In this embodiment, as described below, the correction angle θc is calculated based on the flatness σ of the inclined plane P2 and the target tilt angle θdt, and is used as a target when correcting the inclined plane P2. The correction target plane VC is a virtual plane inclined at the correction angle θc relative to the reference plane P1. The machining surface approximation line VL, the reference line BL, the flatness σ, and the three-dimensional shape profile PFd are calculated in the same manner as in the first embodiment. As shown in FIG. 21 , the inclined surface P2 has a portion located closer to the reference plane P1 than the machining surface side approximate line VL, i.e., a lower portion (concave portion), and a portion located on the opposite side of the reference plane P1 than the machining surface side approximate line VL, i.e., a higher portion (convex portion). Of these convex portions, the position farthest away from the reference plane in terms of the distance (height) from the machining surface side approximate line VL in the z-axis direction is defined as the most convex portion. In the example of FIG. 21 , the position of the arrow Q1 corresponds to the most convex portion. Furthermore, of the concave portions, the position farthest away from the reference plane in terms of the distance (height) from the machining surface side approximate line VL in the z-axis direction is defined as the most concave portion. In the example of FIG. 21 , the position of the arrow Q2 corresponds to the most concave portion. In this embodiment, the control unit 111 determines the correction amount so that the correction target surface VC is set between the most concave portion and the most convex portion.
[0093] When the processing device 1 of this embodiment processes the inclined surface P2, for example, if flattening processing is performed in advance, and then the unevenness of the inclined surface P2 is smoothed to a certain extent, and then the inclined surface P2 is corrected, if the amount of correction becomes too large, the inclined surface P2 will be re-ground over the entire length of the workpiece 10, which may deteriorate the flatness σ of the inclined surface P2.
[0094] Therefore, when correcting the angle of the inclined surface P2, the processing instruction data generating unit 110 of this embodiment calculates the correction angle θc as shown in equation (3). θd: Machining surface inclination angle (measurement angle) θdt: Target inclination angle δ Zθσ: difference in the z-axis direction between the approximate straight line VL on the machining surface side of the measurement point on the machining surface side at the first end E1 of the inclined surface P2 and the machining target surface VT; σ: flatness K θ : Correction coefficient (taper correction rate) K σ : correction coefficient
[0095] In equation (3), sign(θdt−θd) is a sign function, which is +1 when the processing surface tilt angle θd is larger than the target tilt angle θdt, and is −1 when the processing surface tilt angle θd is smaller than the target tilt angle θdt.
[0096] In equation (3), tan -1 (min(K θ δ Zθ , K σ σ) / L) indicates the amount of angle correction added or subtracted from the machining surface inclination angle θd. σ σ is a value indicating the degree of unevenness of the processed surface P2 having a dimension of length, and its upper limit is the correction amount K in the z direction. θ δ Zθ The taper correction factor K θ is a value that determines the ratio of angle correction, and the difference δ Zθ is multiplied by the correction amount K in the z direction. θ δ Zθ Then, in equation (3), the correction amount K is calculated using the min function. θ δ Zθ is the upper limit K σ It is compared with σ, and the smaller value is adopted.
[0097] Equation (4) is the taper correction factor K in equation (3). θ This is the formula used to calculate the taper correction factor K θ is determined by the value of the flatness of the surface 11 to be machined. ε: Taper correction factor (K θ ) σ1: Lower limit of flatness σ2: Upper limit of flatness
[0098] FIG. 22 shows the coefficient (taper correction factor) K θand flatness σ, and shows the case where the parameters in formula (4) are ε = 0.3, σ1 = 2.5, and σ2 = 7.5. When the flatness of the surface 11 to be machined is between σ1 and σ2, the correction factor is determined according to the flatness. When the flatness is greater than the upper limit σ2, i.e., when the flatness is deteriorated, the taper correction factor K θ On the other hand, when the flatness is σ1 or less, the taper correction factor K θ The upper limit (1.0) is used as the value.
[0099] Also, the coefficient K σ is determined based on the difference θdif between the processing surface inclination angle θd and the target inclination angle θdt as in equation (5), and the determined value is used in equation (3). δth: Threshold of θdif
[0100] In this way, when |θdt−θd| is less than the threshold value θth, the processing instruction data generating unit 110 of this embodiment adjusts the correction target surface VC so that it is within the range of the unevenness of the processing target surface 11, for example, by adjusting the correction target surface VC. θ = 4. In addition, when |θdt - θd| is equal to or greater than the threshold value θth, the processing instruction data generating unit 110 prioritizes correction of the taper angle. θ Set a large value such as 10.
[0101] This Next, K σ σ saturates at this value.
[0102] In this way, the processing instruction data generation unit 110 calculates the correction angle θc using equation (3), thereby appropriately setting the correction amount within the range of unevenness, and corrects the three-dimensional shape profile PFd based on this correction angle θc to obtain a corrected three-dimensional shape profile PFd'. Then, as in the first embodiment, the control device 100 acquires the convex portion S3 of the processing target surface 11 based on the corrected three-dimensional shape profile PFd' and generates processing point data (processing instruction data) for smoothing the convex portion S3, thereby enabling scraping based on the processing point data (processing instruction data) that takes into account the difference between the processing surface inclination angle θd and the target inclination angle θdt.
[0103] As described above, in the machining apparatus 1 of this embodiment, the control device 100 determines the amount of correction within the range of unevenness of the machining target surface, and corrects the three-dimensional shape profile PFd of the machining target surface 11 based on this correction amount. This makes it possible to perform necessary and sufficient correction to match the machining surface inclination angle θd of the machining target surface 11 with the target inclination angle θdt, and also to suppress deterioration of flatness and excessive taper correction.
[0104] Other Embodiments The above-described embodiments are merely examples, and the present disclosure may be modified as appropriate without departing from the spirit and scope of the present disclosure. Furthermore, the processes and means described in the present disclosure may be freely combined and implemented as long as no technical contradiction occurs.
[0105] For example, in the three-dimensional shape profile correction process in the above embodiment, when correcting the three-dimensional shape profile PFd of the inclined surface P2 (surface to be machined) 11 based on the difference between the machining surface inclination angle θd calculated by the inclination angle calculation process and the target inclination angle θdt, one-dimensional correction along the x-axis direction has been described as an example, but two-dimensional correction by combining the x-axis and y-axis directions may also be performed on the three-dimensional shape profile PFd.
[0106] Furthermore, for example, in the above embodiment, the inclined surface P2 of the workpiece 10 is used as the workpiece surface 11. However, the scraping technique according to the present disclosure may also be applied to a case where another surface of the workpiece 10 (e.g., the reference surface P1) is used as the workpiece surface 11. For example, by performing the scraping process according to the present disclosure on both the inclined surface P2 and the reference surface P1 of the workpiece 10, both surfaces may be finished smoothly so that the relative inclination angle of the inclined surface P2 and the reference surface P1 matches the target inclination angle. In this case, one of the inclined surface P2 and the reference surface P1 of the workpiece 10 may be finished first, and then the scraping process may be performed on the other surface. Alternatively, the scraping process may be performed alternately on the inclined surface P2 and the reference surface P1, so that both surfaces are finished in stages. The manner of scraping is not particularly limited.
[0107] Furthermore, in the above embodiment, a workpiece 10 having a tapered shape in which two opposing main surfaces are inclined toward each other has been described as a typical example of a workpiece to be scraped. However, the workpiece 10 does not necessarily have to have a tapered shape. The scraping technology according to the present disclosure can be applied to performing a scraping process to smooth at least one of a pair of (opposing) main surfaces located on the front and back of the workpiece 10 while adjusting the relative angle between the two main surfaces to an ideal target angle (i.e., a designed angle). Therefore, for example, the technology according to the present disclosure can also be applied to accurately finishing the first main surface and the opposing second main surface of the workpiece 10 as parallel planes. In this case, the target tilt angle θdt can be set to zero in the three-dimensional shape profile correction process of the above embodiment. By setting the target tilt angle θdt to zero, the relative angle between the opposing first and second main surfaces can be accurately adjusted to parallel planes, and the surface to be scraped can be smoothly finished.
[0108] In addition, in the above-described embodiments, a process described as being performed by one device may be shared and executed by multiple devices. Alternatively, a process described as being performed by different devices may be executed by a single device. In a computer system, the hardware configuration for realizing each function can be flexibly changed.
[0109] The present disclosure can also be realized by supplying a computer program that implements the functions described in the above embodiments to a computer, and having one or more processors in the computer read and execute the program. Such a computer program may be provided to the computer on a non-transitory computer-readable storage medium connectable to the computer's system bus or via a network. Non-transitory computer-readable storage media include any type of medium suitable for storing electronic instructions, such as any type of disk, including magnetic disks (e.g., floppy disks, hard disk drives (HDDs), etc.), optical disks (e.g., CD-ROMs, DVDs, Blu-ray disks), read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic cards, flash memory, or optical cards.
[0110] REFERENCE SIGNS LIST 1... Machining device 10... Workpiece 11... Machining target surface P1... Reference surface (first main surface) P2... Inclined surface (second main surface) 100... Control device 110... Machining instruction data generating unit 111... Control unit 200... Robot arm 300... Three-dimensional shape measuring device 400, 600... Work thickness measuring device
Claims
1. A processing device that performs cutting on a surface to be processed of a workpiece, comprising: a control device that executes a processing process to cut convex portions of the surface to be processed with a cutting blade, wherein the control device: acquires a three-dimensional shape profile of the surface to be processed; acquires a processing surface inclination angle, which is a relative inclination angle of the surface to be processed with respect to a reference surface of the workpiece that is located on the back side of the surface to be processed; acquires a corrected three-dimensional shape profile by correcting the three-dimensional shape profile based on a difference between a target inclination angle preset for the processing surface inclination angle and the processing surface inclination angle; and executes the processing process based on the corrected three-dimensional shape profile.
2. The machining device according to claim 1, wherein, in an xyz Cartesian coordinate system for the workpiece in which the reference surface extends on an xy plane, the length direction of the reference surface is defined as the x-axis, the width direction of the reference surface is defined as the y-axis, and the thickness direction of the workpiece corresponding to the distance between the reference surface and the surface to be machined is defined as the z-axis, the control device acquires thickness dimension data of the workpiece measured for each of a plurality of reference surface side measurement points along the x-axis direction of the reference surface, acquires, in the xz Cartesian coordinate system, points shifted in z coordinate from each reference surface side measurement point by an amount equivalent to the corresponding thickness dimension of the workpiece as processed surface side measurement points, and acquires, as the processed surface inclination angle, an angle between a processed surface side approximation straight line obtained by linearly approximating the acquired multiple processed surface side measurement points and a reference straight line passing through the reference surface side measurement points.
3. In an xyz Cartesian coordinate system for the workpiece in which the reference surface extends in an xy plane, the length direction of the reference surface is defined as the x-axis, the width direction of the reference surface is defined as the y-axis, and the thickness direction of the workpiece corresponding to the distance between the reference surface and the surface to be machined is defined as the z-axis, the control device acquires thickness dimension data of the workpiece measured at each of a plurality of reference surface side measurement points along the x-axis direction of the reference surface, and profile data including two-dimensional shape profiles of the reference surface and the surface to be machined in the xz Cartesian coordinate system, acquires points in the xz Cartesian coordinate system shifted in z coordinate from each reference surface side measurement point by an amount equivalent to the corresponding thickness dimension of the workpiece, as measurement points on the machined surface side, 2. The machining apparatus according to claim 1, wherein, in an xz orthogonal coordinate system, a two-dimensional shape profile of the reference surface is superimposed on the reference surface side measurement points so that plots of profile data of the reference surface that have x-coordinates corresponding to the reference surface side measurement points overlap the reference surface side measurement points, and a reference surface side approximation straight line is obtained by linear approximation of a group of plots of the superimposed two-dimensional shape profile of the reference surface; in an xz orthogonal coordinate system, a two-dimensional shape profile of the machined surface is superimposed on the machining surface side measurement points so that plots of profile data of the machined surface that have x-coordinates corresponding to the machining surface side measurement points overlap the machining surface side measurement points, and a machining surface side approximation straight line is obtained by linear approximation of a group of plots of the superimposed two-dimensional shape profile of the machined surface; and an angle formed by the reference surface side approximation straight line and the machining surface side approximation straight line is obtained as the machining surface inclination angle.
4. The processing device described in claim 2 or 3, wherein the control device increases the z coordinate in the three-dimensional shape profile of the surface to be processed from a first end side where the thickness of the workpiece in the x-axis direction is relatively small to a second end side located on the other end side in the x-axis direction when the processing surface inclination angle is larger than the target inclination angle, and increases the z coordinate in the three-dimensional shape profile of the surface to be processed from the second end side to the first end side when the processing surface inclination angle is smaller than the target inclination angle.
5. The machining device according to claim 2 or 3, wherein the machining surface inclination angle is corrected using a correction amount calculated based on the three-dimensional shape profile, and the correction amount is determined so that, when the position on the machined surface at which the distance in the z-axis direction from the machining surface side approximation straight line is the furthest toward the reference surface is defined as the most concave portion, and the position on the machined surface at which the distance in the z-axis direction from the machining surface side approximation straight line is the furthest away from the reference surface is defined as the most convex portion, a virtual surface inclined at the corrected machining surface inclination angle with respect to the reference surface is set between the most concave portion and the most convex portion.
6. The processing device according to claim 5, wherein the control device determines the flatness of the surface to be processed based on a height difference corresponding to the distance in the z-axis direction between convex and concave portions of the surface to be processed, and limits the amount of correction according to the flatness.
7. A machining method performed by a control device of a machining device having a control device that performs a machining process to cut convex portions of a machining surface of a workpiece with a cutting blade, wherein the control device: acquires a three-dimensional shape profile of the machining surface; acquires a machining surface inclination angle, which is a relative inclination angle of the machining surface with respect to a reference surface of the workpiece that is located on the back side of the machining surface; acquires a corrected three-dimensional shape profile by correcting the three-dimensional shape profile based on a difference between a target inclination angle preset for the machining surface inclination angle and the machining surface inclination angle; acquires convex portions of the machining surface based on the corrected three-dimensional shape profile; and performs a machining process by cutting the convex portions.
Citation Information
Patent Citations
Tool tip position detecting method, work machining method and abrasion state detecting method
JP2006281353A
Processing method by scraping device
JP2013141709A
Scraping device and method for installed machine
JP2017131974A
Processing device
JP2017170548A
Automated surface preparation system
US20220016774A1
