Workpiece shape measurement method and workpiece shape measurement device
The workpiece shape measuring device corrects measurement data using a spatial accuracy measurement unit to address motion errors in machine tool mechanisms, achieving precise workpiece shape data.
Patent Information
- Application Number
- JP2023075513
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-01
- Publication Date
- 2024-11-14
- Estimated Expiration
- 2043-05-01
AI Technical Summary
Conventional on-machine measuring devices for workpieces on machine tools suffer from inaccuracies due to motion errors in the x-axis, y-axis, and z-axis mechanisms, which affect the accuracy of workpiece shape measurements.
A workpiece shape measuring method and device that includes a spatial accuracy measurement unit to correct measurement data based on the spatial accuracy of the machine tool's movement mechanisms, using a reference object with a lattice pattern and a reader to calculate and correct shape data.
Accurate workpiece shape data is obtained by removing motion errors from the measurement data, ensuring high precision in workpiece shape measurements.
Smart Images

Figure 2024160478000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method and a measuring device for measuring a workpiece shape on a machine tool. [Background technology]
[0002] If the shape of a workpiece machined by a machine tool can be measured directly on the machine, even if the workpiece cannot be machined to the planned dimensions, the correction can be performed immediately, which is convenient. Under such a background, measuring devices for measuring the shape of a workpiece on a machine tool have been developed, and for example, a measuring device disclosed in JP 2021-30315 A has been proposed.
[0003] This measuring device is configured with a measurement control unit and a probe disposed together with a tool attachment unit on the front surface of a rotating plate constituting the machine tool. During on-machine measurement, the measurement control unit drives the x-axis movement mechanism and y-axis movement mechanism constituting the machine tool based on a measurement program to move a table on which a workpiece is attached within a horizontal x-y plane, and drives the z-axis movement mechanism to move the rotating plate on which the probe is disposed in the vertical direction along the z axis, thereby measuring the shape of the workpiece.
[0004] More specifically, the measurement control unit moves the table in the x-y plane in accordance with the measurement program, sequentially positioning the table at predetermined positions, and at each position, moves the rotating plate downward along the z axis to bring the probe into contact with the workpiece, and then moves the rotating plate upward along the z axis. Then, the position (x i ,y i ,z i ) is calculated based on the output values from the x-axis encoder, y-axis encoder, and z-axis encoder, and the shape (dimension) of the workpiece is calculated from the calculated probe position. Note that i is an integer from 1 to n. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2021-30315 Summary of the Invention [Problem to be solved by the invention]
[0006] However, as has been widely known in the past, the x-axis moving mechanism, the y-axis moving mechanism, and the z-axis moving mechanism that constitute the machine tool each have a motion error. Therefore, in the above-mentioned conventional measuring device, the position of the table and the position of the probe in the three-dimensional space when positioned by the measurement control unit contain a certain error with respect to the target position under control, and the workpiece shape data calculated based on this contains the motion error of the machine tool that occurs during measurement.
[0007] As described above, the conventional on-machine measuring device has a problem that the measurement data includes the motion error of the machine tool, and therefore the workpiece shape cannot be measured accurately. In recent years, the x-axis movement mechanism, y-axis movement mechanism, and z-axis movement mechanism of the machine tool have been made highly accurate, and the motion error has become extremely small, but similarly, high accuracy is also required for the machining accuracy of the workpiece, and the motion error included in the measurement is still not negligible.
[0008] The present invention has been made in consideration of the above-mentioned circumstances, and has as its object to provide a method and device for measuring a workpiece shape, which are capable of obtaining accurate shape data that has been eliminated from the motion error of a machine tool when measuring a workpiece on the machine tool. [Means for solving the problem]
[0009] In order to solve the above problems, the present invention provides a method for measuring a shape of a workpiece in a machine tool including a workpiece holder for holding a workpiece, a tool holder for holding a tool, and a motion mechanism for relatively moving the workpiece holder and the tool holder in at least two feed axis directions perpendicular to each other, the method comprising the steps of: Measure the shape of the workpiece with a shape measuring device; A spatial accuracy measuring unit measures the spatial accuracy of the motion mechanism unit, The present invention relates to a workpiece shape measuring method in which data relating to the workpiece shape measured by the shape measuring instrument is corrected based on the spatial accuracy of the motion mechanism part measured by the spatial accuracy measuring unit.
[0010] The present invention also provides an apparatus for measuring a shape of a workpiece within a machine tool including a workpiece holder for holding a workpiece, a tool holder for holding a tool, and a motion mechanism for relatively moving the workpiece holder and the tool holder in at least two feed axis directions perpendicular to each other, the apparatus comprising: A shape measuring instrument for measuring the shape of the workpiece; a spatial accuracy measuring unit for measuring the spatial accuracy of the motion mechanism unit; and a shape data correction unit that corrects measurement data relating to the workpiece shape measured by the shape measuring instrument based on the spatial accuracy of the motion mechanism part measured by the spatial accuracy measurement unit.
[0011] According to the present invention, the shape of the workpiece is measured inside (on) a machine tool that includes a workpiece holding section that holds a workpiece, a tool holding section that holds a tool, and a motion mechanism that moves the workpiece holding section and the tool holding section relatively in at least two feed axis directions that are perpendicular to each other.
[0012] That is, the shape of the workpiece is measured by the shape measuring device, and the spatial accuracy of the motion mechanism is measured by the spatial accuracy measuring unit, and then the shape data correction unit corrects the data relating to the workpiece shape measured by the shape measuring device based on the spatial accuracy of the motion mechanism measured by the spatial accuracy measuring unit. Note that, naturally, the shape data includes data relating to so-called dimensions.
[0013] Thus, according to the present invention, data relating to the workpiece shape measured by a shape measuring instrument is corrected based on the spatial accuracy of the motion mechanism part measured by the spatial accuracy measuring unit, so that accurate workpiece shape data can be obtained with the motion error of the motion mechanism part removed.
[0014] In the present invention, the spatial accuracy measuring unit includes a reference object that is disposed along one feed shaft selected from the two feed shafts and has a lattice pattern for detecting spatial accuracy formed on a surface set as a detection surface, a reader that is disposed opposite the detection surface and reads the lattice pattern, and a calculation unit that calculates the spatial accuracy of the motion mechanism unit based on data related to the lattice pattern read by the reader, the shape measuring device and the reader are connected by a connecting member, and the connecting member is configured to be held by the tool holding portion, The shape measuring device and spatial accuracy measuring unit can be configured to measure the work shape and spatial accuracy, respectively, while the tool holding unit and the work holding unit are moved relative to each other using one of the feed axes, with the shape measuring device and reader held by the tool holding unit.
[0015] According to this aspect, the shape measuring device and the reader are connected by a connecting member and held by the tool holding unit, and while the workpiece holding unit and the tool holding unit are moved relative to each other using the one feed axis, the shape measuring device measures the workpiece shape and the spatial accuracy of the motion mechanism unit is measured by the spatial accuracy measuring unit. That is, the workpiece shape along the one feed axis is measured by the shape measuring device, and the spatial accuracy related to that feed axis is measured by the spatial accuracy measuring unit.
[0016] The spatial accuracy measuring section reads the lattice pattern formed on the reference object by the reader, and the calculation section calculates the spatial accuracy of the motion mechanism section based on data relating to the read lattice pattern.
[0017] In addition, in the above aspect, the reference object can have a rectangular parallelepiped shape, two mutually perpendicular surfaces along its longitudinal direction are set as detection surfaces, the readers are arranged to face the two detection surfaces, and the calculation unit is configured to calculate the spatial accuracy of the motion mechanism unit based on the data read by each reader.
[0018] In the present invention, the spatial accuracy measuring unit includes a reference object disposed along one feed shaft selected from the two feed shafts and having a lattice pattern for detecting spatial accuracy formed on a surface set as a detection surface, a reader disposed opposite the detection surface for reading the lattice pattern, and a calculation unit for calculating the spatial accuracy of the motion mechanism unit based on data related to the lattice pattern read by the reader, the shape measuring device and the reader are connected by a connecting member, and the connecting member is configured to be held by the tool holding portion, The shape measuring device and spatial accuracy measuring unit can be configured to measure the work shape and spatial accuracy, respectively, while the tool holding unit and the work holding unit are moved relative to each other in a zigzag manner using the two feed axes, with the shape measuring device and reader held by the tool holding unit.
[0019] According to this aspect, the shape measuring device and the reader are connected by a connecting member and held by the tool holding unit, and the two feed axes are used to move the workpiece holding unit and the tool holding unit relative to each other in a zigzag manner, while the shape measuring device measures the workpiece shape and the spatial accuracy measuring unit measures the spatial accuracy of the motion mechanism unit. That is, the shape measuring device measures the workpiece shape along one of the feed axes, and the spatial accuracy related to that one of the feed axes is measured by the spatial accuracy measuring unit.
[0020] In this aspect, the spatial precision measuring unit also reads the lattice pattern formed on the reference object with the reader, and calculates the spatial precision of the motion mechanism unit based on data relating to the read lattice pattern in the calculation unit.
[0021] In addition, in the present invention, the shape data correction unit can be configured to correct the measurement data related to the workpiece shape by sequentially processing the measurement data related to the workpiece shape and spatial accuracy data based on the measurement data related to the workpiece shape sequentially measured by the shape measuring instrument and the spatial accuracy data of the motion mechanism part sequentially measured by the spatial accuracy measuring unit. Effect of the Invention
[0022] According to the present invention, data relating to the workpiece shape measured by a shape measuring instrument is corrected based on the spatial accuracy of the motion mechanism part measured by a spatial accuracy measuring unit, so that accurate workpiece shape data with the motion error of the motion mechanism part removed can be obtained inside (on) the machine tool. [Brief description of the drawings]
[0023] [Figure 1] 1 is a perspective view showing a machine tool according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram showing a schematic configuration of a workpiece measuring device according to an embodiment of the present invention; [Diagram 3]FIG. 4 is an explanatory diagram showing error parameters relating to motion errors of a machine tool. [Figure 4] 2 is a perspective view showing a reference block, a first reading camera pair, and a second reading camera pair of the workpiece measuring device according to the present embodiment. FIG. [Diagram 5] 5A and 5B are explanatory diagrams for explaining a lattice pattern formed on a reference block according to the present embodiment, and reading by a pair of first and second reading cameras. [Figure 6] FIG. 2 is a front view showing the shape measuring instrument according to the embodiment. [Figure 7] FIG. 2 is an explanatory diagram for explaining measurement of a work shape by the shape measuring instrument according to the present embodiment. [Figure 8] FIG. 2 is an explanatory diagram for explaining measurement of a work shape by the shape measuring instrument according to the present embodiment. [Figure 9] 5 is an explanatory diagram showing a data table stored in a shape data storage unit according to the embodiment; FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. As shown in Fig. 1, a machine tool 1 of this embodiment includes a bed 2 having a mounting surface on which a workpiece W is placed, a motion mechanism 10, a numerical control device 15 that numerically controls the motion mechanism 10, and a workpiece shape measuring device 20 that measures the shape of the workpiece W placed on the bed 2.
[0025] The motion mechanism 10 includes a frame 11 which engages with the bed 2 and moves in the horizontal Y-axis direction, a saddle 12 which is placed on the frame 11 and engages with the frame 11 while moving in the X-axis direction perpendicular to the Y-axis in a horizontal plane, a main shaft 13 which is held by the saddle 12 and moves in the Z-axis direction (vertical direction) perpendicular to the X-axis and Y-axis, a Y-axis feed mechanism (not shown) which drives the frame 11, an X-axis feed mechanism (not shown) which drives the saddle 12, and a Z-axis feed mechanism (not shown) which drives the main shaft 13.
[0026] The frame 11 is a gate-shaped frame composed of a horizontal part 11a and two vertical parts 11b connected to both ends of the horizontal part 11a, with the horizontal part 11a disposed above the bed 2 and the vertical parts 11b engaging with the sides of the bed 2. The saddle 12 is placed on the horizontal part 11a. The spindle 13 has a tool holding hole (tool holding part) that opens into its lower end surface, and is rotated about an axis parallel to the Z-axis by a spindle drive mechanism (not shown).
[0027] The operations of the X-axis feed mechanism (not shown), Y-axis feed mechanism (not shown), Z-axis feed mechanism (not shown) and spindle drive mechanism (not shown) are each controlled by the numerical control device 15. Thus, in this machine tool 1, with a predetermined tool attached to the spindle 13 and a workpiece W placed on the bed 2, the X-axis feed mechanism (not shown), Y-axis feed mechanism (not shown), Z-axis feed mechanism (not shown) and spindle drive mechanism (not shown) are driven in accordance with a predetermined machining program by the numerical control device 15, whereby the tool held by the spindle 13 moves within a three-dimensional space defined by the X-axis, Y-axis and Z-axis, and the workpiece W placed on the bed 2 is machined by the tool.
[0028] As shown in Figures 1 and 2, the work shape measuring device 20 is composed of a shape measuring device 21 for measuring the shape of the work W, a first pair of reading cameras 27, a second pair of reading cameras 28, a connecting member 26 and a reference block 30 as a reference object, and a calculation device 35, and the calculation device 35 is further composed of a shape data memory unit 36, a calculation unit 37 and a shape data correction unit 38.
[0029] The arithmetic unit 35 is composed of a computer including a CPU, RAM, ROM, etc., and the functions of the calculation unit 37 and shape data correction unit 38 are realized by a computer program and execute the processes described below. The shape data storage unit 36 is composed of an appropriate storage medium such as a RAM. The first reading camera pair 27, the second reading camera pair 28, the connecting member 26, the reference block 30, and the calculation unit 37 constitute a spatial accuracy measurement unit 25 that measures the spatial accuracy of the motion mechanism unit 10.
[0030] The reference block 30 is a long rectangular parallelepiped member, as shown in Fig. 1, and is fixed to the left side edge of the bed 2 in the X-axis direction so that its longitudinal direction is parallel to the Y-axis. Also, as shown in Fig. 5, a lattice pattern 31a is formed on the upper surface 30a of the reference block 30, which is made up of grid lines formed at predetermined intervals along the longitudinal direction (Y-axis direction) and a direction perpendicular thereto (X-axis direction). Also, a lattice pattern 31b is formed on the right side surface 30b of the reference block 30, which is made up of grid lines formed at predetermined intervals along the longitudinal direction (Y-axis direction) and a direction perpendicular thereto (Z-axis direction). The intervals between these lattice patterns 31a and 31b are formed with high precision, and serve as a reference pattern as a scale.
[0031] 1, the connecting member 26 is composed of a mounting portion 26a provided so as to be mountable to the tool holding portion of the spindle 13, a horizontal portion 26b provided at the lower end of the mounting portion 26a, and a bracket 26c provided at the left end of the horizontal portion 26b. The horizontal portion 26b is provided so that its longitudinal direction is along the X-axis when the mounting portion 26a is mounted on the spindle 13, and the shape measuring instrument 21 is attached to the underside opposite to the mounting portion 26a.
[0032] Moreover, the bracket 26c is a hook-shaped member having a horizontal portion and a vertical portion when viewed from the front, with the lower surface of the horizontal portion facing the upper surface 30a of the reference block 30, and the left side surface of the vertical portion facing the side surface 30b of the reference block 30. As shown in Fig. 4, the first pair of reading cameras 27 are supported on the horizontal portion of the bracket 26c so that their respective light receiving units face the upper surface 30a of the reference block 30 and can image the upper surface 30a. Similarly, the second pair of reading cameras 28 are supported on the vertical portion of the bracket 26c so that their respective light receiving units face the side surface 30b of the reference block 30 and can image the side surface 30b.
[0033] Each of the first pair of scanning cameras 27 and the second pair of scanning cameras 28 includes photoelectric conversion elements arranged in multiple rows and columns, and generates a captured image in which each element constitutes one pixel based on an output value corresponding to the amount of received light output from each element. As shown in Fig. 5, each of the first pair of scanning cameras 27 and the second pair of scanning cameras 28 is disposed at a predetermined interval along the Y axis, and captures the corresponding grid patterns 31a, 31b.
[0034] The shape measuring instrument 21 includes a light emitting unit 21a that irradiates a laser beam 22a in the vertical direction and a light receiving unit 21b that receives the reflected light 22b, as shown in Fig. 6. The light emitting unit 21a is configured to irradiate a strip-shaped laser beam 22a onto the workpiece W, and the reflected light 22b is received by the light receiving unit 21b, as shown in Fig. 7. The light receiving unit 21b includes photoelectric conversion elements arranged in multiple rows and columns, and an image is generated in which each element constitutes one pixel based on an output value corresponding to the amount of received light output from each element.
[0035] For example, as shown in FIG. 7, when the workpiece W has a two-step stepped shape, the laser light 22a is irradiated onto the higher surface (high surface W1) and the lower surface (low surface W2) of the workpiece W, and the reflected light 22b is received by the light receiving unit 21b. Then, a voltage value according to the amount of light received is output from each photoelectric conversion element, and based on this voltage value, a captured image as shown in FIG. 8, for example, is generated. The captured image shown in FIG. 8 is an image corresponding to the X-axis-Z-axis plane, and the height positions (positions in the Z-axis direction) of the higher surface W1 and the lower surface W2 when the workpiece W is cut vertically with the laser light 22a can be detected from the pixel positions of the captured image based on the principle of triangulation.
[0036] Thus, when the spindle 13 is at an arbitrary position Xa in the X-axis direction and an arbitrary position Za in the Z-axis direction, under the control of the numerical control device 15, the spindle 13, in other words, the shape measuring device 21 held on the spindle 13 via the connecting member 26, is moved in the Y-axis direction at a predetermined pitch interval while the workpiece W is irradiated with the laser beam 22a, and the workpiece W is scanned with the laser beam 22a, thereby obtaining the position (Y j ), the overall height position of the high surface W1 and the low surface W2 of the work W, that is, the height position (position in the Z-axis direction) at a predetermined interval in the X-axis direction (X i ,Z i In this way, the position (X j,i ,Y j,i ,Z j,i ) is measured, and the measured position data (shape data) is sequentially stored as measured shape data in a shape data storage unit 36 described later. Here, j is an integer from 1 to m, and i is an integer from 1 to n. In this example, Y j,1 =Y j,2 =···=Y j,i =···=Y j,n It is.
[0037] The calculation unit 37 calculates the spatial accuracy (motion error) of the main shaft 13 within the three-dimensional space by analyzing images captured by the first pair of reading cameras 27 and the second pair of reading cameras 28 held on the main shaft 13 via the connecting member 26.
[0038] Specifically, when the spindle 13 is at an arbitrary position Xa in the X-axis direction and an arbitrary position Za in the Z-axis direction, the calculation unit 37 analyzes images captured by the first reading camera pair 27 and the second reading camera pair 28 when the spindle 13 is moved in the Y-axis direction at the pitch intervals under the control of the numerical control device 15, thereby calculating each command position (target position) (Y j ) for each Y-axis-Z-axis plane position error (motion error) (Δp j = ΔY j ,ΔZ j ) is calculated based on the following formula 1.
[0039] (Formula 1) TIFF2024160478000002.tif828 TIFF2024160478000003.tif1155 However, the above E YY (Y j ), E ZY (Y j ), E AY (Y j ) and E A(0Y)Z are the spatial accuracy (spatial error) in the three-dimensional space, E YY (Y j ) is the positioning error in the Y-axis direction of the linear feed axis (Y-axis feed mechanism) along the Y-axis, E ZY (Y j ) is the straightness error (Z-axis direction) of the Y-axis feed mechanism on the Y-axis-Z-axis plane, E AY (Y j ) is the angular error around the axis perpendicular to the Y-axis and Z-axis in the Y-axis feed mechanism, E A(0Y)Zis the orthogonal error of the Z-axis feed mechanism with respect to the ideal Y-axis, and is an error set from the geometric models of the X-axis feed mechanism, the Y-axis feed mechanism, and the Z-axis feed mechanism.
[0040] And, the E YY (Y j ) can be calculated from the amount of change in the Y-axis direction of the lattice pattern 31a by analyzing the images taken by the first scanning camera pair 27 before and after the movement. ZY (Y j ) and E AY (Y j ) can be calculated by analyzing images taken by the second reading camera pair 28 before and after the movement, and E ZY (Y j ) can be calculated from the amount of change in the Z-axis direction of the lattice pattern 31b, and E AY (Y j ) can be calculated from the amount of rotation of the lattice pattern 31b around the X-axis. A(0Y)Z is previously obtained from a geometric model. Here, position Y j The positioning error Δp calculated in j , and each spatial precision E YY (Y j ), E ZY (Y j ), E AY (Y j ), E A(0Y)Z Including the error E j These are collectively referred to as:
[0041] In addition, the above E YY (Y j ) can also be obtained by analyzing the images taken before and after the movement by the second pair of reading cameras 28 and calculating the amount of change in the lattice pattern 31b in the Y-axis direction, but in this example, it is calculated from the images taken by the first pair of reading cameras 27.
[0042] Thus, the calculation unit 37 calculates the error E j are sequentially transmitted to the shape data correction unit 38.
[0043] In addition, the above spatial error E YY (Y j ), E ZY (Y j ), E AY (Y j ) and E A(0Y)Z is illustrated as shown in Fig. 3 (see the Y axis in Fig. 3). Fig. 3 shows error parameters related to spatial errors in a three-dimensional space with the X-axis, Y-axis, and Z-axis of the main spindle 13 driven by the X-axis feed mechanism, Y-axis feed mechanism, and Z-axis feed mechanism, which are feed axes perpendicular to each other, as the reference axes. Incidentally, the other error parameters are defined as follows: E XX is the positioning error of the X-axis feed mechanism in the X-axis direction, E ZZ is the positioning error in the Z-axis direction of the Z-axis feed mechanism, E YX is the straightness error (Y-axis direction) of the X-axis feed mechanism on the X-axis-Y-axis plane, E ZX is the straightness error (Z-axis direction) of the X-axis feed mechanism on the X-axis-Z-axis plane, E XY is the straightness error (X-axis direction) of the Y-axis feed mechanism on the Y-axis-X-axis plane, E XZ is the straightness error (X-axis direction) of the Z-axis feed mechanism on the Z-axis-X-axis plane, E YZ is the straightness error (Y-axis direction) of the Z-axis feed mechanism on the Z-axis-Y-axis plane, E AX is the angular error around the X-axis in the X-axis feed mechanism, E AZ is the angular error around the X-axis in the Z-axis feed mechanism, E BX is the angular error around the Y axis in the X-axis feed mechanism, E BY is the angular error around the Y-axis in the Y-axis feed mechanism, E BZ is the angular error around the Y axis in the Z axis feed mechanism, E CX is the angular error around the Z axis in the X-axis feed mechanism, E CY is the angular error around the Z axis in the Y axis feed mechanism, E CZ is the angle error around the Z axis in the Z axis feed mechanism, E B(0Z)X is the square error between the X-axis feed mechanism and the ideal Z-axis, E C(0X)Y is the squareness error between the Y-axis feed mechanism and the ideal X-axis. Here, the E XY and E CY can be calculated by analyzing images taken by the first scanning camera pair 27 before and after the movement. XX can be calculated from the amount of change in the X-axis direction of the lattice pattern 31a, and E CY can be calculated from the amount of rotation of the lattice pattern 31a around the Z axis.
[0044] The shape data correction unit 38 calculates the error E j When receiving, the received error E j The data relating to is stored in the shape data storage unit 36, and the actual shape data (X j,i ,Y j,i ,Z j,i ) and the error E j Positioning error Δp j Based on the measured shape data (X j,i ,Y j,i ,Z j,i ) is corrected according to the following formula 2, and the corrected shape data is converted into corrected shape data (x j,i ,y j,i ,z j,i ) and stores it in the shape data storage unit 36. (Formula 2) (x j,i ,y j,i ,z j,i )=(X j,i ,Y j,i ,Z j,i )-Δp j That is, TIFF2024160478000004.tif137= TIFF2024160478000005.tif1315 where j is an integer from 1 to m, and i is an integer from 1 to n.
[0045] The various data stored in the shape data storage unit 36 in the above-described manner are stored in the shape data storage unit 36 as a data table as shown in FIG.
[0046] According to the workpiece shape measuring device 20 of this embodiment having the above-mentioned configuration, for example, the shape of the workpiece W machined by the machine tool 1 can be measured as follows.
[0047] 1, with the machined workpiece W placed on the bed 2, a connecting member 26 having a shape measuring device 21, a first reading camera pair 27, and a second reading camera pair 28 is attached to the spindle 13 of the machine tool 1. Then, the shape measuring device 21 is brought into a state where it is possible to perform measurement, and the first reading camera pair 27 and the second reading camera pair 28 are brought into a state where they are possible to capture images of the lattice patterns 31a, 31b of the reference block 30. Under the control of the numerical control device 15, the spindle 13 is moved and positioned in the Y-axis direction at the predetermined pitch intervals. At this time, the spindle 13 is positioned at an arbitrary position Xa in the X-axis direction, and at an arbitrary position Za in the Z-axis direction.
[0048] Then, each position in the Y-axis direction, that is, the command position (target position) (Y j ), the shape of the workpiece W is measured sequentially by the shape measuring device 21, and the corresponding lattice patterns 31a, 31b are sequentially captured by the first reading camera pair 27 and the second reading camera pair 28. Based on the obtained images, a calculation unit 37 calculates an error E in the three-dimensional space of the spindle 13. j Calculate the calculated error E j Based on this, the actual shape data (X j,i ,Y j,i ,Z j,i) is successively corrected by the shape data correction unit 38.
[0049] At that time, the actual shape data (X j,i ,Y j,i ,Z j,i ) is directly stored in the shape data storage unit 36 from the shape measuring device 21, and the error E j is stored in the shape data storage unit 36 via the shape data correction unit 38, and the corrected shape data (x j,i ,y j,i ,z j,i ) is directly stored in the shape data storage unit 36 from the shape data correction unit 38.
[0050] In this way, according to the workpiece shape measuring device 20 of this embodiment, data relating to the workpiece shape measured by the shape measuring device 21 (X j,i ,Y j,i ,Z j,i ) is calculated by dividing the error (spatial accuracy) E j Since the shape data is corrected by the shape data correction unit 38 based on this, when measuring the shape of the workpiece W on the machine tool 1 (on the bed 2), accurate shape data can be obtained with the motion error of the motion mechanism unit 10 removed.
[0051] Although one embodiment of the present invention has been described above, the specific aspects that the present invention can adopt are not limited to the above example.
[0052] For example, in the above example, the spindle 13 is moved in the Y-axis direction at the predetermined pitch intervals to be positioned, and each positioning position, i.e., the command position (target position) (Y j ), the shape of the workpiece W is measured by the shape measuring device 21, and the error E in the three-dimensional space of the spindle 13 is calculated by the calculation unit 37. j and the shape data correction unit 38 calculates the actual shape data (X j,i ,Y j,i ,Z j,i ) is corrected, but the present invention is not limited to this.
[0053] For example, each command position (Y j ), the main shaft 13 may be further moved in the X-axis direction by a predetermined distance at a predetermined pitch, so that the main shaft 13 moves in a zigzag pattern as a whole. The images captured by the first pair of reading cameras 27 when the main shaft 13 is moved in the X-axis direction at a predetermined pitch are analyzed by a calculation unit 37 to calculate the error E j Using the average value of the 13 position errors (motion errors) of the main axis (Δp j = ΔY j ,ΔZ j ) can be calculated. In this way, the position error Δp j This allows for accurate workpiece shape data (i.e., corrected shape data (x j,i ,y j,i ,z j,i )) can be obtained.
[0054] In the above example, the grid pattern 31a is formed on the top surface 30a of the reference block 30, and the first pair of reading cameras 27 is provided, but the present invention is not limited to this embodiment. The grid pattern 31a on the top surface 30a of the reference block 30 and the first pair of reading cameras 27 may be omitted. In this case, as described above, the grid pattern 31b on the side surface 30b of the reference block 30 is captured by the second pair of reading cameras 28, and the E YY (Y j ) can be calculated.
[0055] In the above example, a grid pattern is formed on the side surface 30b of the reference block 30, and a second pair of reading cameras 28 is provided. The images captured by the second pair of reading cameras 28 are analyzed to obtain a spatial error E ZY (Y j ) and E AY (Y j ) and calculate the spatial error E ZY (Y j ) and E AY (Y j ) to find the position error Δp of the spindle 13 jCalculate the position error Δp j Using the measured shape data (X j,i ,Y j,i ,Z j,i ) is corrected, but the present invention is not limited to this. If a slight decrease in accuracy is acceptable, the grid pattern on the side surface 30b of the reference block 30 and the second pair of reading cameras 28 may be omitted. In this case, in the above formula 1, E ZY (Y j ) and E AY (Y j ) is ignored, i.e., treated as "0".
[0056] In the above example, the shape data correction unit 38 calculates the actual shape data (X j,i ,Y j,i ,Z j,i ), and the error E j Based on this, the corrected shape data (x j,i ,y j,i ,z j,i ) is calculated, but the present invention is not limited to this. The shape data correction unit 38 calculates all of the actual shape data (X j,i ,Y j,i ,Z j,i ), and all errors E j After obtaining the corrected shape data (x j,i ,y j,i ,z j,i ) may be calculated.
[0057] Although a reference block is exemplified as the reference object, the reference object is not limited to this and may be, for example, a plate material. In addition, when providing a lattice pattern on two orthogonal surfaces, two plate materials may be connected at right angles so that they are orthogonal to each other. In this case, a lattice pattern is formed on the surface of each plate material.
[0058] In addition, in the above example, position data is exemplified as shape data of the workpiece W, but this is not limited to this, and shape data also includes dimensional data calculated from this position data.
[0059] In addition, the workpiece shape measuring device 20 of this example can be suitably used when measuring the shape of a workpiece W machined by a machine tool 1 directly on the machine (on the bed 2), but can also be suitably used when measuring a workpiece W machined by another machine tool on that machine tool 1.
[0060] Furthermore, the shape measuring instrument 21 used in the above example is merely one example, and it goes without saying that other types of shape measuring instruments can be used as long as they are capable of measuring the shape of the workpiece.
[0061] Furthermore, the configuration of spatial precision measuring unit 25 is not limited to the above example, and other configurations may be used as long as the spatial precision of motion mechanism unit 10 can be measured.
[0062] Furthermore, the configuration of the machine tool 1 is not limited to the above example.
[0063] It should be noted that the above-described embodiment is illustrative in all respects and is not restrictive. Modifications and changes are possible for those skilled in the art. The scope of the present invention is indicated by the claims, not the above-described embodiment. Furthermore, the scope of the present invention includes modifications from the embodiments within the scope of the claims and the equivalent scope. [Explanation of symbols]
[0064] 1 Machine tools 2 beds 10 Movement mechanism section 11 Frame 12 Saddle 13 Spindle 15 Numerical control device 20 Work shape measuring device 21 Shape measuring instrument 25 Spatial accuracy measurement section 26 Connecting members 27 First reading camera pair 28 Second reading camera pair 30 Reference Blocks 35 Arithmetic unit 36 Shape data storage unit 37 Calculation section 38 Shape data correction section
Claims
1. A method for measuring a shape of a workpiece in a machine tool including a workpiece holder for holding a workpiece, a tool holder for holding a tool, and a motion mechanism for relatively moving the workpiece holder and the tool holder in at least two feed axis directions perpendicular to each other, comprising: Measure the shape of the workpiece with a shape measuring device; A spatial accuracy measuring unit measures the spatial accuracy of the motion mechanism unit, A workpiece shape measuring method, characterized in that data relating to the workpiece shape measured by the shape measuring instrument is corrected based on the spatial accuracy of the motion mechanism part measured by the spatial accuracy measuring unit.
2. the spatial accuracy measuring unit is provided along one feed shaft selected from the two feed shafts, and includes a reference object having a lattice pattern for measuring spatial accuracy formed on a surface set as a detection surface, a reader provided opposite the detection surface for reading the lattice pattern, and a calculation unit for calculating the spatial accuracy of the motion mechanism unit based on data relating to the lattice pattern read by the reader, The workpiece shape measuring method according to claim 1, characterized in that the shape measuring device and the reader are connected by a connecting member and held in the tool holding section, and then the workpiece holding section and the tool holding section are moved relative to each other using one of the feed axes, while the shape measuring device measures the workpiece shape and the spatial accuracy measuring section measures the spatial accuracy of the motion mechanism section, and the measurement data related to the workpiece shape is corrected based on the obtained spatial accuracy data.
3. The work shape measuring method according to claim 2, characterized in that the reference object has a rectangular parallelepiped shape, two mutually perpendicular surfaces along its longitudinal direction are set as detection surfaces, the readers are arranged to face each of the two detection surfaces, and the calculation unit is configured to calculate the spatial accuracy of the motion mechanism unit based on the data read by each reader.
4. the spatial accuracy measuring unit is provided along one feed shaft selected from the two feed shafts, and includes a reference object having a lattice pattern for detecting spatial accuracy formed on a surface set as a detection surface, a reader provided opposite the detection surface for reading the lattice pattern, and a calculation unit for calculating the spatial accuracy of the motion mechanism unit based on data relating to the lattice pattern read by the reader, 2. A workpiece shape measuring method as claimed in claim 1, characterized in that the two feed axes are used to move the workpiece holding unit and the tool holding unit relative to each other in a zigzag manner, while the workpiece shape is measured by the shape measuring device and the spatial accuracy of the motion mechanism unit is measured by the spatial accuracy measuring unit, and the measurement data related to the workpiece shape is corrected based on the obtained spatial accuracy data.
5. A workpiece shape measuring method according to any one of claims 2 to 4, characterized in that the measurement data related to the workpiece shape is corrected by sequentially processing the measurement data related to the workpiece shape and spatial accuracy data based on the measurement data related to the workpiece shape sequentially measured by the shape measuring instrument and the spatial accuracy data of the motion mechanism part sequentially measured by the spatial accuracy measuring part.
6. 1. An apparatus for measuring a shape of a workpiece within a machine tool including a workpiece holder for holding a workpiece, a tool holder for holding a tool, and a motion mechanism for relatively moving the workpiece holder and the tool holder in at least two feed axis directions perpendicular to each other, comprising: A shape measuring instrument for measuring the shape of the workpiece; a spatial accuracy measuring unit for measuring the spatial accuracy of the motion mechanism unit; a shape data correction unit that corrects measurement data relating to the workpiece shape measured by the shape measuring instrument based on the spatial accuracy of the motion mechanism part measured by the spatial accuracy measurement unit.
7. the spatial accuracy measuring unit is provided with: a reference object, which is disposed along one feed shaft selected from the two feed shafts, and has a lattice pattern for detecting spatial accuracy formed on a surface set as a detection surface; a reader, which is disposed opposite the detection surface and reads the lattice pattern; and a calculation unit, which calculates the spatial accuracy of the motion mechanism unit based on data relating to the lattice pattern read by the reader; the shape measuring device and the reader are connected by a connecting member, and the connecting member is configured to be held by the tool holding portion, The workpiece shape measuring device according to claim 6, characterized in that the shape measuring device and spatial accuracy measuring unit are configured to measure the workpiece shape and spatial accuracy, respectively, while the tool holding unit and the workpiece holding unit are moved relative to each other using one of the feed axes, with the shape measuring device and reader held by the tool holding unit.
8. The work shape measuring device of claim 7, characterized in that the reference object has a rectangular parallelepiped shape, two mutually perpendicular surfaces along its longitudinal direction are set as detection surfaces, the readers are arranged to face each of the two detection surfaces, and the calculation unit is configured to calculate the spatial accuracy of the motion mechanism unit based on the data read by each reader.
9. the spatial accuracy measuring unit is provided with: a reference object, which is disposed along one feed shaft selected from the two feed shafts, and has a lattice pattern for detecting spatial accuracy formed on a surface set as a detection surface; a reader, which is disposed opposite the detection surface and reads the lattice pattern; and a calculation unit, which calculates the spatial accuracy of the motion mechanism unit based on data relating to the lattice pattern read by the reader; the shape measuring device and the reader are connected by a connecting member, and the connecting member is configured to be held by the tool holding portion, The workpiece shape measuring device according to claim 6, characterized in that the shape measuring device and spatial accuracy measuring unit are configured to measure the workpiece shape and spatial accuracy, respectively, while the workpiece holding unit and the tool holding unit are moved relative to each other in a zigzag manner using the two feed axes, with the shape measuring device and reader held by the tool holding unit.
10. A workpiece shape measuring device as described in any one of claims 6 to 9, characterized in that the shape data correction unit is configured to correct the measurement data related to the workpiece shape by sequentially processing the measurement data related to the workpiece shape and spatial accuracy data based on the measurement data related to the workpiece shape sequentially measured by the shape measuring device and the spatial accuracy data of the motion mechanism part sequentially measured by the spatial accuracy measuring unit.
Citation Information
Patent Citations
Machine tool
JP2012045703A
Spatial precision measuring method of machine tool and spatial precision measuring device
JP2014163757A
Shape measuring method
JP2015093358A
Surface shape measuring apparatus, and machine tool equipped with the same
JP2015135276A
Data correction device, data correction method and processing device
JP2016064497A
