The present invention relates to an apparatus for measuring a workpiece capable of measuring a workpiece which is fixed on a table of a machine tool by a simple operation, and a machine tool.
In machine tools, when a machine program is executed to machine a workpiece, it is necessary to provide the machine tool with a reference position of the workpiece. Thus, a reference point of the workpiece is measured using a measurement probe. A method for automatically executing a workpiece measurement operation by a measurement NC program is described in Patent Literature 1.
Furthermore, Patent Literature 2 describes a semi-automatic measurement method in which, after setting a measurement probe at a measurement position by a manual operation, when the probe moves towards the workpiece and contacts the workpiece, the coordinate values of the measurement probe are read, and these steps are sequentially repeated to perform the desired workpiece measurement.
[PTL 1] Japanese Unexamined Patent Publication (Kokai) No. 01-301042
[PTL 2] Japanese Unexamined Patent Publication (Kokai) No. 2008-111770
In the method of Patent Literature 1, in order to perform automatic measurement, it is necessary to prepare in advance an NC program including a measurement start position, the approximate dimensions of the workpiece, etc., as program parameters. In the case of mass production, workpiece measurement can be efficiently performed by preparing a measurement NC program. However, when preparing a prototype or in the case of low-volume multi-product production, creating measurement NC programs is problematic from the viewpoint of cost effectiveness.
In the method of Patent Literature 2, each time a workpiece is measured, it is necessary for the operator to select the measurement to be performed from, for example, a measurement menu and set the measurement for the apparatus for measurement. However, selecting the desired measurement type from among multiple measurement types is a time-consuming and labor-intensive task. Furthermore, in order for the measurement probe to reliably move towards the workpiece during measurement, it is necessary to set the approximate dimensions of the workpiece in the machine (NC device) in advance, which further increases the time required for the measurement operation.
The present invention aims to solve such problems of the prior art as a technical problem and aims to provide a measuring apparatus and a machine tool which enables an operator to perform workpiece measurements quickly and easily.
In order to achieve the above objects, according to the present invention, there is provided an apparatus for measuring a workpiece which is fixed to a table of a machine tool which includes a plurality of feed axes for moving a spindle and the table relative to each other, the apparatus comprising a measurement probe mounted on a front end of the spindle of the machine tool, and feed axes for moving the spindle and the table relative to each other by a manual operation of an operator, wherein when the spindle and the table are moved relative to each other by the manual operation of the operator and the measurement probe contacts the workpiece fixed on the table, the feed axis which has been used to move the measurement probe and the movement direction of the feed axis are stored, a type of measurement performed by the operator is predicted based on history of the feed axis which has been used to move the measurement probe and the movement direction of the feed axis, and the predicted measurement type is displayed.
Furthermore, according to the present invention, there is provided a machine tool for machining a workpiece having feed axes for moving a workpiece which is arranged on a table and a spindle relative to each other, the machine tool comprising a measurement probe mounted on a front end of the spindle of the machine tool, and feed axes for moving the spindle and the table relative to each other by a manual operation of an operator, wherein when the spindle and the table are moved relative to each other by the manual operation of the operator and the measurement probe contacts the workpiece fixed to the table, the feed axis which has been used to move the measurement probe and the movement direction of the feed axis are stored, the type of measurement performed by the operator is predicted based on history of the feed axis which has been used to move the measurement probe and the movement direction of the feed axis, and the predicted measurement type is displayed.
Since the operator jog-feeds the measurement probe and teaches the measuring points directly for the measuring apparatus, it is not necessary for the operator to select the to-be-measured measurement target or to input the approximate dimensions of the workpiece.
Preferred embodiments of the present invention will be described below with reference to the attached drawings.
A tool (not shown) for machining the workpiece W fixed on the table 106 is mounted on the front end of the spindle 112. In
The table 106 is provided on the upper surface of the bed 102 so as to be reciprocatable along a pair of Y-axis guide rails (not shown) extending in the horizontal Y-axis directions (the lateral directions in
The X-axis slider 108 is provided on the upper portion of the front surface of the column 104 so as to be reciprocatable along a pair of X-axis guide rails (not shown) extending in the X-axis directions. A ball screw (not shown) extending in the X-axis directions as an X-axis feed apparatus for driving the X-axis slider 108 forwards and backwards along the X-axis guide rails and an X-axis servo motor (not shown) connected to one end of the ball screw are provided on the column 104. A nut (not shown) which engages with the ball screw is attached to the X-axis slider 108. An X-axis scale 116 for measuring the X-axis direction coordinate position of the X-axis slider 108 is attached to the column 104.
The spindle head 110 is provided on the front end of the X-axis slider 108 so as to be reciprocatable along a pair of Z-axis guide rails extending in the Z-axis directions (the upwards and downwards directions in
The X-axis servo motor, Y-axis servo motor, and Z-axis servo motor as well as the X-axis scale 116, Y-axis scale 120, and Z-axis scale 118 are connected to the NC device 150 (
The operation board 200 will be described with reference to
The operation board 200 further comprises a jog console 220 which includes a board 222 extending in a shelf-like shape forward from the lower end portion of the operation board 220. Jog buttons 224 for individually jog-feeding each of the X-feed axis, Y-feed axis, and Z-feed axis, an override switch 226 for setting the speed of the jog-feeding, an automatic measurement start button 228, and a measurement stop button 230 are arranged on the board 222 of the jog console 220.
Next, referring to
The measurement axis determination unit 12 determines which feed axis among the X-feed axis, Y-feed axis, and Z-feed axis is used to measure the workpiece W based on the values of the X-axis, Y-axis, and Z-axis scales 116, 120, and 118 from the change in the position coordinates of the measurement probe 114 in the machine coordinate system. The measurement direction determination unit 14 also determines the measurement direction from the change of the position coordinates of the measurement probe 114 in the machine coordinate system.
The measurement point counting unit 16 stores the number of measurement points by counting the number of times the measurement probe 114 contacts workpiece W and the number of times the X-axis, the Y-axis, and the Z-axis feeding stops. The jog-feed storage unit 18 stores the ordinal number of the step of the current jog-feeding in association with the axis and the direction currently being measured, determined by the measurement axis determination unit 12 and the measurement direction determination unit 14. The automatic measurement command unit 20 issues a command to the NC device 150 to reproduce the measurement operation according to the jog-feed operation executed by the operator via the jog console 220 when the automatic measurement start button 228 of the jog console 220 of the operation board 200 is pressed by the operator.
The measurement type determination unit 22 stores the types of measurements which can be executed by the measuring apparatus 10 in association with the measurement axis, the measurement method, the number of measurement points, and the measurement order.
Unlike the case of the cylindrical hole center measurement, first, the measurement probe 114 is brought into contact with an arbitrary portion of the cylindrical side surface by a jog-feed operation. After measuring the arbitrary portion of the cylindrical side surface, the measurement probe 114 is placed near the center axis line of the cylinder and is moved above the cylindrical shape by a jog-feed operation. At this time, when the cylinder measurement button 256 is tapped or clicked and the automatic measurement start button 228 is pressed, the measurement is predicted to be cylindrical center measurement in which the position of the center axis line of the cylinder is determined. When a cylindrical center measurement is predicted, by an automatic operation, an operation for contacting the measurement probe 114 from the outside of the cylinder toward the inside is performed in each of the X-axis direction, the direction opposite the X-axis, the Y-axis direction, and the direction opposite the Y-axis. The position of the center-axis of the cylinder is calculated from the coordinate values obtained by such contacts.
Next, an example of the workpiece measurement method of the present invention will be described with reference to
When the measurement probe 114 contacts the upper surface of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26. Furthermore, upon receiving the skip signal, the NC device 150 reverses the Z-axis feeding, spaces the measurement probe 114 from the workpiece W, and after moving a predetermined distance, the reversing operation of the measurement probe 114 stops. The measurement process storage unit 18 stores the aforementioned jog-feed operation performed by the operator as a first step.
At this time, the measurement type determination unit 22 receives information that only the Z-axis was used in the current measurement from the measurement axis determination unit 12, information that the measurement probe 114 moved in the direction toward the workpiece W along the Z-axis from the measurement direction determination unit 14, information that there is only one measurement point from the measurement point counting unit 16, and information that the current measurement includes only the step in which the measurement probe 114 moved along the Z-axis from the measurement process storage unit 18. Based on this information, the single axis measurement shown in
When the operator presses the automatic measurement start button 228 of the jog console 220, an automatic measurement program stored in the NC device 150 is executed, and the measurement probe 114 is moved downward along the Z-axis in the direction of the coordinates (the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis when the measurement probe 114 came into contact with the workpiece W) of the measurement points stored in the measurement point coordinate storage unit 26. When the frond end of the measurement probe 114 contacts the upper surface of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26. Furthermore, upon receiving the skip signal, the NC device 150 reverses the Z-axis feeding, spaces the measurement probe 114 from the workpiece W, and after moving a predetermined distance, the reversing operation of the measurement probe 114 stops. When the automatic measurement has finished, the calculation unit 24 calculates the Z-axis direction dimension as the height of the workpiece W based on the measurement value. The measurement result of the Z-axis direction dimension is displayed on the coordinate display area 258 as the height of the workpiece W.
By performing measurement in accordance with the measurement program stored in the NC device in this way, it is possible to optimize the speed at which the measurement probe 114 moves towards the workpiece W, whereby the measurement error of the measurement probe 114 can be reduced.
Referring to
When the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26. Furthermore, upon receiving the skip signal, the NC device reverses the X-axis feeding, spaces the measurement probe 114 from the workpiece W, and after moving a predetermined distance, the reversing operation of the measurement probe 114 stops. The measurement process storage unit 18 stores the aforementioned jog-feed operation performed by the operator as a first measurement step.
At this time, the measurement type determination unit 22 receives information that only the X-axis was used in the current measurement from the measurement axis determination unit 12, information that the measurement probe 114 moved in the positive direction along the X-axis from the measurement direction determination unit 14, information that there is only one measurement point from the measurement point counting unit 16, and information that the current measurement includes only the step in which the measurement probe 114 moved along the X-axis from the measurement process storage unit 18. Based on this information, the single axis measurement shown in
When the operator continues the jog-feed operation, the measurement probe 114 moves towards the workpiece W in the direction opposite to the arrow B along the X-axis, and the measurement axis determination unit 12 determines that measurement of the X-axis is currently being performed from the movement commands of each of the X-feed axis, Y-feed axis, and Z-feed axis. Simultaneously, the measurement direction determination unit 14 determines that the measurement probe 114 is moving along the X-axis in the negative direction from the movement commands of each of the X-feed axis, Y-feed axis, and Z-feed axis. As a result, a state in which the measurement probe 114 is moved in the negative direction along the X-axis is shown by arrow C in
When the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114, and the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at this time are output from the NC device 150 to the measurement point coordinate storage unit 26, the X-axis feeding is reversed, and the measurement probe 114 is moved in the direction opposite the workpiece W. When the measurement probe 114 has moved by a predetermined distance, the reversing operation of the measurement probe 114 stops. The measurement process storage unit 18 stores the jog-feed operation performed by the operator as a second step.
At this time, the measurement type determination unit 22 receives information that the X-axis was used in the measurement from the measurement axis determination unit 12, information that the measurement probe 114 moved in both the positive and negative directions along the X-axis from the measurement direction determination unit 14, information that there are two measurement points from the measurement point counting unit 16, and information that the current measurement includes two steps in which the measurement probe 114 moved in opposite directions along the X-axis from the measurement process storage unit 18. The measurement type determination unit 22 then determines from the coordinates of the two measurement points and the measurement directions whether an inward facing surface was measured or an outward facing surface was measured. When an inward facing surface was measured, the pocket center measurement shown in
Further, when the operator continues the jog-feed operation, the measurement probe 114 moves towards the workpiece W along the Y-axis, and the measurement axis determination unit 12 determines that measurement of the Y-axis is being performed from the movement commands of each of the X-feed axis, Y-feed axis, and Z-feed axis. Simultaneously, the measurement direction determination unit 14 determines that the measurement probe 114 is moving in a direction in which the Y-coordinate values are decreasing from the movement commands of each of the X-feed axis, Y-feed axis, and Z-feed axis. As a result, a state in which the measurement probe 114 moves in the negative direction along the Y-axis is shown on the measurement probe movement direction display area 254 as arrow D (
When the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis are output from the NC device 150 to the measurement point coordinate storage unit 26, the Y-axis feeding is reversed, and the measurement probe 114 is moved in a direction away from the workpiece W. When the measurement probe 114 has moved a predetermined distance, the reversing operation of the measurement probe 114 stops. The measurement process storage unit 18 stores the above jog-feed operation performed by the operator as a third measurement step.
When the operator continues the jog-feed operation, the measurement probe 114 moves in the direction opposite the arrow D along the Y-axis, and the measurement axis determination unit 12 determines that measurement of the Y-axis is being performed from the movement commands for each of the X-feed axis, Y-feed axis, and Z-feed axis. Simultaneously, the measurement direction determination unit 14 determines that the measurement probe is moving in the positive direction along the Y-axis from the movement commands for each of the X-feed axis, Y-feed axis, and Z-feed axis. As a result, a state in which the measurement probe 114 is moving in the positive direction along the Y-axis is shown on the measurement probe movement direction display area 254 as arrow E of
When the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114, and the coordinates of each of the X-axis, Y-axis, and Z-axis directions at that time are output from the NC device 150 to the measurement point coordinate storage unit 26, the Y-axis feeding is reversed, and the measurement probe 114 is moved in a direction away from the workpiece W. When the measurement probe 114 has moved a predetermined distance, the reversing operation of the measurement probe 114 stops. The measurement process storage unit 18 stores the above jog-feed operation performed by the operator as a fourth measurement step.
At this time, the measurement type determination unit 22 receives information that the X-axis and the Y-axis were used in the measurement from the measurement axis determination unit 12, information that the measurement probe 114 moved in both the positive and negative directions along the X-axis and the Y-axis from the measurement direction determination unit 14, information that there are four measurement points from the measurement point counting unit 16, and information that the current measurement includes four steps in which the measurement probe 114 moved in both the positive and negative directions along the X-axis and then both the positive and negative directions along the Y-axis. Based on such information, the pocket center measurement shown in
When performance of a more sophisticated measurement is desired, it is preferable to bring the measurement probe 114 and the workpiece W into contact with each other at a constant speed so as to make the deflection amount of the measurement probe 114 uniform when the skip signal is output. In the case in which a measurement where contact is made under constant speed conditions is performed, an apparatus for measuring a workpiece of a type in which when the measurement probe 114 contacts the workpiece W by the jog-feed operation performed by the operator and the automatic measurement start button 228 of the jog console 220 is pressed, the contact operation between the measurement probe 114 and the workpiece W performed immediately before is automatically performed at a constant speed is used. When this type of apparatus for measuring a workpiece is used, each time the operator teaches the measuring probe 114 to contact the workpiece W by the jog-feed operation, the operator pushes the automatic measurement start button and automatically repeats the constant speed measurement.
When the front end of the measurement probe 114 contacts the inner surface of the pocket of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26.
The NC device 150 executes a similar output for all of four measurement points. The calculation unit 24 obtains the center coordinates of the pocket of the workpiece W from the coordinate values of the four measurement points. The measurement results are displayed on the coordinate display area 258 along with the icon of
In
When the measurement probe 114 moves towards the workpiece W along the X-axis by the jog-feed operation further performed by the operator, the measurement axis determination unit 12 determines that the X-axis is being measured, and simultaneously, the measurement direction determination unit 14 determines that the measurement probe 114 is moving in the positive direction along the X-axis. As a result, a state in which the measurement probe 114 is moving in the positive direction along the X-axis is shown on the measurement probe movement direction display area 254 as arrow G of
At this time, the measurement type determination unit 22 extracts the corner measurement shown in
When the front end of the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26.
Furthermore, upon receiving the skip signal, the NC device 150 reverses the Y-axis feeding, the measurement probe 114 is spaced from the side surface of the workpiece W, and after moving a predetermined distance, the reversing operation of the measurement probe 114 stops. The NC device 150 performs similar measurements for the measurement point in the X-axis direction. The calculation unit 24 obtains the coordinates of the corner part between the two surfaces which were contacted by the measurement probe 114 from the coordinates of the two measurement points. The measurement results are displayed on the coordinate display area 258 along with the icon of
In
When the operator performs further jog-feed operations, the measurement probe 114 moves in a direction (Y-axis direction) perpendicular to the linear path (X-axis) along which the measurement probe initially moved towards the workpiece W, and the measurement probe 114 moves linearly towards the same side surface of the workpiece W in the X-axis direction parallel with the linear path and contacts the side surface. At this time, the measurement axis determination unit 12 determines that the X-axis is being measured, and simultaneously, the measurement direction determination unit 14 determines that the measurement probe 114 is moving in the positive direction along the X-axis. As a result, an arrow I indicating a state in which the measurement probe 114 is moving in the positive direction along the X-axis is added to the measurement probe movement direction display area 254.
At this time, the measurement type determination unit 22 extracts the inclination measurement shown in
When the front end of the measurement probe 114 contacts the side surface of the workpiece W, a skip signal is output from the measurement probe 114 to the NC device 150. When the skip signal is received, the coordinates of each of the X-feed axis, Y-feed axis, and Z-feed axis at that time are output from the NC device 150 to the measurement point coordinate storage unit 26.
Furthermore, upon receiving the skip signal, the NC device 150 reverses the X-axis feeding, the measurement probe 114 is spaced from the side surface of the workpiece W, and after moving a predetermined distance, the reversing operation of the measurement probe 114 stops. The NC device 150 performs a similar measurement for the remaining measurement point. The calculation unit 24 obtains the inclination angle θ of the workpiece W contacted by the measurement probe 114 with respect to the X-axis by calculation from the coordinate values of the two measurement points. The measurement results are displayed on the coordinate display area 258 along with the icon of
Note that when performance of a more sophisticated measurement is desired, it is preferable to make contact from a direction normal to the surface of the workpiece W when contacting the measurement probe 114 with the workpiece W. If contact is not made from the normal direction, the deflection of the measurement probe 114 is not uniform and the amount of deflection of the measurement probe 114 changes during contact, bringing about an error in the measurement result. In order to perform measurement under conditions in which contact is made from the normal direction, after tapping or clicking the index button 268, pressing the automatic measurement start button 228, and automatically repeating the contact between the measurement probe 114 and the workpiece W, the contact angle is corrected by an angle displayed on the coordinate display area 258 for the operation taught by the jog-feed operation performed by the operator, whereby the measurement probe 114 contacts the surface of the workpiece W from the normal direction.
Next, automatic execution of the cylindrical hole center measurement will be described with reference to
After the measurement probe has been disposed in the vicinity of the center of the cylindrical hole formed in the workpiece W, which is the to-be-measured object, by the jog-feed operation performed by the operator, when the cylinder measurement button 256 on the window is tapped or clicked, a dialog box prompting the operator to press the automatic measurement start button 228 on the jog console is displayed on the window.
When the operator presses the automatic measurement start button 228 in accordance with the instructions of the dialog box, four arrows J to M in the positive and negative directions along the X-axis and the Y-axis are displayed as the movement directions of the measurement probe 114, the measurement probe 114 is moved in the positive and negative directions of the X-axis and is then sequentially moved in both the positive and negative directions along the Y-axis in accordance with the four arrows J to M, the measurement probe 114 then contacts the side surface of the cylindrical hole of the workpiece W, and the coordinates of the contact points are stored in the measurement point coordinate storage unit 26. The calculation unit 24 receives the coordinate values of the four measurement points from the measurement point coordinate storage unit 26 and calculates the center coordinates of the cylindrical hole. The measurement results are displayed on the coordinate display area 258 together with the icon of
Since the operator manually operates (by jog-feed operation or feed operation by means of a manual pulse generator) the measurement probe 114 to directly teach the measurement points to apparatus for measuring, it is not necessary for the operator to select the measurement target of the measurement or to input the approximate dimensions of the workpiece. Furthermore, since the teaching results are sequentially displayed on the display unit 202 (28) of the operation board 200 as arrows with respect to the workpiece, errors in the selection of the measurement type by the operator can be prevented.
The measurement results can be output to the NC device 150 by the operation of the measurement window shown in
In the measurement of a workpiece, when the measurement probe contacts the workpiece, it is necessary to stop the feed axes. However, after contact, the measurement probe continues to move toward the workpiece until the NC device completely stops. Thus, moving the measurement probe at a high speed can damage the measurement probe. In the embodiment described above, since the operator inputs the height of the workpiece using the button 264 for setting the danger zone, when entering an area in which the workpiece is present, it is possible to decelerate the movement speed of the measurement probe to a safe speed.
Note that in the embodiment described above, though a jog-feed operation by means of a manual operation to move the measurement probe 114 and the workpiece W relative to each other has been described, a manual operation means such as a manual pulse generator may be used.
This application is a U.S. National phase patent application of International Patent Application No. PCT/JP2016/060826, filed Mar. 31, 2016, the contents of which are hereby incorporated by reference in the present disclosure in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2016/060826 | 3/31/2016 | WO | 00 |