WO2023188451A1 - ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械 - Google Patents

ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械 Download PDF

Info

Publication number
WO2023188451A1
WO2023188451A1 PCT/JP2022/031343 JP2022031343W WO2023188451A1 WO 2023188451 A1 WO2023188451 A1 WO 2023188451A1 JP 2022031343 W JP2022031343 W JP 2022031343W WO 2023188451 A1 WO2023188451 A1 WO 2023188451A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool holder
measurement data
sensor
setup
time
Prior art date
Application number
PCT/JP2022/031343
Other languages
English (en)
French (fr)
Inventor
佑太 福岡
泰樹 関根
Original Assignee
株式会社東京精密
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2022051017A external-priority patent/JP7124242B1/ja
Priority claimed from JP2022126105A external-priority patent/JP2024022773A/ja
Application filed by 株式会社東京精密 filed Critical 株式会社東京精密
Publication of WO2023188451A1 publication Critical patent/WO2023188451A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B31/00Chucks; Expansion mandrels; Adaptations thereof for remote control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q3/00Devices holding, supporting, or positioning work or tools, of a kind normally removable from the machine
    • B23Q3/155Arrangements for automatic insertion or removal of tools, e.g. combined with manual handling

Definitions

  • the present invention relates to a machine tool that processes workpieces (workpieces, measurement objects), such as NC (numerical control) processing machines and machining centers, and in particular, automatic tool exchange that selects and removes tools as appropriate.
  • a tool holder attachment state detection method, a tool holder attachment state detection device, and a tool holder attachment state detection device for determining attachment abnormality indicating whether a tool holder to which a tool is attached is normally attached to a spindle in a machine tool equipped with a tool holder (ATC).
  • ATC tool holder
  • the present invention also relates to a displacement detection method and a displacement detection device for detecting displacement from a reference state of a tool holder to which a tool is attached, and a machine tool equipped with the same.
  • a machining center is a device that automatically selects various tools according to the machining process, automatically attaches the selected tools to the spindle, and performs various types of machining.
  • tools are exchanged using an automatic tool change (ATC: automatic tool holder change) device.
  • ATC automatic tool change
  • the ATC device automatically takes out a tool holder with a tool attached from the tool magazine and automatically attaches the taken out tool holder to the spindle.
  • the tool holder to which the tool is attached has a conical fitting portion, and this fitting portion is fitted into a conical fitting portion formed on the main shaft of the MC. However, if chips or the like adhere to the fitting portion of the tool holder, the shaft may be bent in some cases. If machining is performed in this state, runout (displacement from the reference state) will occur in the tool as it rotates, and the machining accuracy of the workpiece will be significantly reduced.
  • Patent Document 1 describes a technique for detecting displacement of a tool holder from a reference state caused by an abnormal mounting state (chuck error) of the tool holder, etc.
  • the machine tool includes: a measuring means for measuring the displacement of the outer circumferential surface of a flange of a tool holder attached to the main spindle; ⁇ A machine tool characterized by a determination means for determining an abnormality in the machine tool.'', and further includes ⁇ measurement data of the displacement of the outer circumferential surface of the flange of the tool holder attached to the main spindle as basic data. and true measurement data calculation means for calculating true measurement data by comparing the basic data with measurement data measured by the measurement means, and the determination means includes: It is described that an abnormality in the machine tool is determined from the true measurement data calculated by the true measurement data calculation means.
  • the center of one of the two notches 2C, 2C should be at 0 "The calculated magnetic unevenness pattern (magnetic pattern at the time of processing) and the magnetic unevenness pattern at the time of setup (magnetic pattern at the time of setup) stored in the memory 20 are "It is determined which position of the compared and calculated magnetic uneven patterns is located at 0°.”
  • Patent Document 2 provides an eddy current sensor as an outer circumferential surface detection means provided close to the outer circumferential surface of the flange, and when there is a notch in the flange portion of the tool holder, the sensor detects the outer circumferential surface of the flange at a predetermined period. It is described that interpolation processing is performed on the detection data of the surface position of , and the interpolation detection data is calculated at an interpolation period shorter than a predetermined period to generate interpolation data.
  • Patent Document 2 describes that correction is performed so that the larger the detection distance, the smaller the value of the detection data of the notch portion.
  • Patent Document 1 describes a method that uses a signal derived from a notch in a flange or a characteristic magnetic uneven pattern.
  • the 180-degree has also discovered that a magnetic unevenness pattern that is close to rotational symmetry develops, and that, for example, the phase cannot be determined only by comparing the magnetic pattern during processing and the magnetic pattern during setup.
  • Patent Document 2 discloses that interpolation data can reduce errors in runout measurement due to the influence of notches in the flange, but if there is a deviation in the sampling start position or uneven rotational speed, the surface position of the flange outer circumferential surface cannot be detected. The data may become inaccurate and the amount of eccentricity may not be calculated with high accuracy.
  • detectors such as eddy current sensors must be installed in locations where they are not affected by coolant to ensure more stable and highly accurate measurements.
  • An object of the present invention is to solve the above-mentioned problems of the prior art, and improve the sensor system, the number of notches on the outer peripheral surface of the flange of the tool holder, the symmetry of the rotational direction, and the shape of the flange portion 11B (particularly the wall thickness of the measurement part). Regardless of change, magnetization, hardening depth, engraving, environment, etc., it is possible to easily and precisely match the phase of the measurement data when detecting the reference state and displacement, and the main axis of the tool holder.
  • the purpose of this invention is to improve the accuracy of detecting displacement of a tool holder from its reference state, which occurs due to a chuck error (abnormal mounting) or the like.
  • Another object of the present invention is to improve the detection accuracy of a chuck error detection method that applies the displacement detection described above to detect a mounting abnormality of a tool holder mounted on a spindle.
  • a tool holder attachment state detection method for determining whether a tool holder with a tool attached thereto is properly attached to the main spindle or not which includes a sensor that measures the outer peripheral shape of the flange portion of the tool holder.
  • the tool holder is mounted on the spindle without any chuck errors, and after the tool holder is stopped at a predetermined angle, the rotation of the machining tool holder is started, and the signal change of the sensor is detected.
  • a method for detecting a tool holder attachment state characterized in that the chuck error is determined by [2]
  • the basic eccentric vector was obtained by performing Fourier analysis on the measurement data during setup and calculating the amplitude and phase of one peak component, and the Fourier analysis was performed on the measurement data during processing to calculate the amplitude and phase during processing of one peak component.
  • the tool holder mounting state detection method according to [1] characterized in that the amount of eccentricity is determined based on the measured eccentricity vector calculated, and the chuck error is determined.
  • the tool holder mounting state detection method according to [2] characterized in that the Fourier analysis is performed on the set-up measurement data obtained by interpolating the notch and the machining measurement data.
  • a sensor that measures the outer circumferential shape of the flange portion of the tool holder and a sensor that detects the chuck error at the time of setup are used. After attaching the tool holder to the spindle without the tool holder being free, and keeping the tool holder stationary at a predetermined angle, the tool holder starts rotating, and from the change in the signal of the sensor, the cut formed in the flange part is detected.
  • a tool holder mounting state detection device comprising a data processing device.
  • the method is characterized by comprising means for determining a measured eccentricity vector from which the phase during machining is calculated, and means for determining the amount of eccentricity based on the basic eccentricity vector and the measured eccentricity vector and determining the chuck error.
  • the tool holder attachment state detection device according to [8]. [10] A sensor that measures the shape of the outer circumferential surface of the flange portion of the tool holder in a machine tool incorporating a tool holder attachment state detection device that determines whether the tool holder is properly attached to the spindle and determines whether there is a chuck error.
  • the tool holder is mounted on the spindle without any chuck errors, and after the tool holder is stopped at a predetermined angle, the rotation of the tool holder is started, and based on the signal change of the sensor, After starting counting the notches formed on the flange and making at least one revolution around the tool holder, the time T from the last detected notch to obtaining measurement data during setup by the sensor and the time up to that point.
  • the tool holder is stopped at a predetermined angle during machining, and then the tool holder starts rotating, and the notch formed in the flange is detected by the change in the signal of the sensor.
  • a machine tool comprising: a data processing device for determining the chuck error described above.
  • the displacement detection method is obtained by matching the time T from the last detected notch to obtaining the measurement data by the sensor after the rotation and the count number N until then.
  • a displacement detection device that detects displacement from a reference state of a tool holder that is attached to a main shaft and rotates as one unit, the displacement detection device detecting the displacement from a reference state of a tool holder that is attached to a main shaft and rotates as a unit, the measurement data of a sensor that measures the outer circumferential shape of a flange portion of the tool holder is detected from the reference state.
  • a data comparison section that detects displacement by comparing it with measurement data in the tool holder; and a phase adjustment section that adjusts the acquisition timing of the measurement data, and the phase adjustment section holds the tool holder stationary at a predetermined angle.
  • the sensor method the number of notches on the outer peripheral surface of the flange of the tool holder, the symmetry of the rotational direction, the change in the shape of the flange portion 11B (particularly the thickness of the measurement part), the magnetization, the hardening depth, and the marking It is possible to easily and accurately match the phase of the reference state and measurement data during measurement, regardless of the environment, etc., and eliminates problems caused by chuck errors (abnormal installation) of the tool holder on the main shaft, etc.
  • the reference state be "during setup" where chuck errors do not occur. Attach the tool holder to the spindle without making any chuck errors during setup, and start rotating the tool (that is, the tool holder). Next, a change in the sensor signal is detected to start counting the number of notches formed in the flange. After making at least one revolution around the tool holder, the time T from the last detected notch until measurement data is obtained during setup (in the reference state) by the sensor and the number of counts N up to that point are stored. Next, assume that displacement is detected "during machining.” During machining, the rotation of the tool is started in the same manner as during setup, and the count number N and time T are matched to obtain measurement data.
  • the measured data during setup and the measured data during machining are obtained by matching the time T and the number of counts N, so they are in phase and can be easily processed without comparing data waveforms. can be compared. Based on the results of this comparison, displacement can be detected and chuck errors can be determined accordingly.
  • FIG. 1 is a block diagram of a tool holder mounting state detection device according to an embodiment of the present invention.
  • FIG. 2 is a plan view showing the relationship between the tool holder of FIG. 1 and the data processing device.
  • 5 is a flowchart during setup in one embodiment. It is a time chart at the time of setup and processing in one embodiment. It is a flowchart at the time of processing in one embodiment. It is a graph showing measurement data (displacement) for one round in one embodiment. 6 is a flowchart (continuing from FIG. 5) for determining the amount of eccentricity in one embodiment.
  • FIG. 1 is a functional block diagram of a machine tool including a displacement detection device according to an embodiment of the present invention. 5 is a flowchart for obtaining measurement data in a reference state using a displacement detection device. It is a flowchart of a displacement detection method.
  • the term "reference state” refers to a state that serves as a relative reference for displacement detection. That is, the displacement detection method of the present invention detects a relative displacement from the position of the tool holder in this reference state.
  • the reference state is not particularly limited and may be any state, but when the detected displacement of the tool holder is used to determine chuck mistakes, it is preferable that the reference state is a state in which no chuck mistakes occur. .
  • such a state is at the time of setting up the machine tool, that is, before machining the workpiece.
  • the "reference state" in the displacement detection method in this specification is not limited to the above, and includes a state in which machining of a workpiece has already started, and a state in which no tool is attached to the tool holder (a state in which no tool is attached to the tool holder).
  • the holder may be attached to the main shaft).
  • displacement means a relative change in the rotational position at the time of displacement detection (at the time of check error detection) from the rotational position in the reference state of the tool holder, and typically , refers to a state in which the rotation axis of the tool holder is tilted or moved compared to the reference state, causing "shake” in its rotation.
  • measurement data A means measurement data in a reference state
  • measurement data B means measurement data at the time of displacement detection.
  • Tool holder mounting state detection method and device A typical example of a tool holder being displaced when compared with a reference state is a state in which a chuck error of the tool holder occurs during machining, which is when displacement is detected, with respect to the reference state, which is during setup.
  • the reference state is taken as the setup time, and whether or not a displacement occurs in the tool holder during machining is detected, and this is used to determine a tool holder chuck error.
  • the configuration of a device for detecting this will be explained.
  • a machining center is a numerically controlled machine tool that performs various types of processing such as milling, drilling, boring, and tapping with a single workpiece while the workpiece is still attached.
  • a large number of cutting tools 9 are stored in the tool magazine of the MC, and the tools 9 are automatically replaced under computer control to process the workpiece. Since the main purpose of the MC is processing, the environment in which the MC is installed often contains fine particles of oil mist and dust, and furthermore, there are often dust and chips around the workpiece and spindle. .
  • FIG. 1 is a block diagram showing an embodiment of a tool holder mounting state detection device 50 incorporated into a machine tool.
  • the tool holder 11 is shown in a side view.
  • the tool holder mounting state detection device 50 is a device that automatically detects a chuck error (mounting abnormality) of the tool holder 11 mounted on the spindle 26 using an ATC device (not shown).
  • the tool holder mounting state detection device 50 mainly includes a sensor 1 as a measuring means and a data processing device 3 as a mounting state determining means.
  • the tool 9 is automatically attached to and detached from the main shaft 26 by the ATC device. Attachment/detachment is performed by the control device 22 of the MC executing a program.
  • the tool 9 can be integrally attached to the tool holder 11.
  • the fitting portion 11A of the tool holder 11 is pressed against the conical fitting portion 26A of the main shaft 26. As a result, the fitting portion 11A and the fitted portion 26A come into close contact, and the tool holder 11 is attached (chucked) to the main shaft 26, and as a result, the tool 9 is fixed to the main shaft 26.
  • the sensor 1 is a measuring means that measures the distance d to the outer peripheral surface of the flange portion 11B of the tool holder 11 as an electrical signal.
  • Sensor 1 may be an eddy current sensor.
  • the sensor 1 is not limited to an eddy current sensor, and may be any other sensor type as long as it can measure the distance d from a certain measurement point to the outer peripheral surface of the tool holder 11. In this case, the sensor 1 is not limited to a non-contact type sensor, but may be a contact type sensor.
  • the MC uses various types of tools 9 depending on the processing content. Therefore, the number of tool holders 11 increases according to the number of tools 9. The sensor 1 is required to be compatible with these many tool holders 11.
  • An eddy current sensor is a sensor that uses a high frequency magnetic field to measure distance d.
  • An eddy current sensor generates a high-frequency magnetic field by passing a high-frequency current through an internal coil.
  • the eddy current sensor is characterized by the fact that it requires a linearization circuit to correct the linearity, so the measured distance d is short, but it is resistant to harsh environments where water, oil, etc. are scattered.
  • An optical sensor is a sensor that emits visible light, infrared rays, or the like from a light projector, detects changes in the light reflected by a detection object with a light receiver, and obtains an output signal.
  • a laser sensor is a sensor that uses laser light instead of visible light or infrared light.
  • a feature of optical sensors and laser sensors is that while they can increase the measured distance d, they are vulnerable to adverse environments where water, oil, etc. are scattered. Contact sensors are resistant to harsh environments where water, oil, etc. are scattered, but it is difficult to install them at arbitrary locations. Therefore, the sensor 1 is suitable for use with eddy current sensors, optical sensors, laser sensors, etc., which can perform accurate measurements even in adverse environments where water, oil, etc. are scattered, and whose installation position can be freely set. Non-contact sensors are preferred.
  • the measurement distance is short, so it is desirable to attach the head 27 to which the main shaft 26 is attached.
  • the shape to be measured that is, the shape of the flange portion 11B estimated from the change in the distance d, may change due to the effects of magnetization and wall thickness (area) of the measurement portion.
  • the outer circumferential shape may not be a perfect circle. Therefore, when an eddy current sensor is used as the sensor 1, simply measuring the outer peripheral surface of the flange portion 11B only during machining may include an error when calculating the amount of eccentricity, and the detection accuracy may deteriorate. There is a risk that it will decrease.
  • the data processing device 3 detects the mounting state of the tool holder 11 based on the distance d measured by the sensor 1, and includes an A/D converter 4, a CPU 6, a memory 5, an input/output circuit 7, and the like.
  • the A/D converter 4 converts the electrical signal indicating the distance d output from the sensor 1 into a digital signal and outputs the digital signal to the CPU 6.
  • the CPU 6 determines the amount of eccentricity based on the measurement data of the sensor 1 converted into this digital signal. Then, the calculated amount of eccentricity is compared with an allowable value, and if the amount of eccentricity exceeds the allowable value, a chuck error (abnormal mounting) is determined.
  • the data processing device 3 then outputs the result to the control device 22 that controls the MC via the input/output circuit 7.
  • FIG. 2 is a plan view of the tool holder 11 having a notch in the flange portion 11B.
  • the shape of the tool holder 11 is substantially the same because the outer peripheral shapes of the fitting portion 11A and the flange portion 11B are standardized. Therefore, by measuring the outer peripheral shape of the flange portion 11B, the mounting state of the tool holder 11 can be determined. The outer peripheral shape is determined by rotating the tool holder 11 once and measuring the distance d. As shown in FIG. 2, generally, two notches 11C for chucks are often formed on the outer peripheral surface of the flange portion 11B of the tool holder 11.
  • the CPU 6 determines and stores the basic eccentricity vector unique to the tool holder from the measurement data (measurement data A) during the setup of the tool holder 11 mounted without chuck errors (installation abnormalities). Then, the CPU 6 obtains a measured eccentricity vector from the measured data during machining (measured data B). The CPU 6 compares the basic eccentricity vector and the measured eccentricity vector to calculate a true eccentricity vector. Then, the CPU 6 determines the amount of eccentricity from the true eccentricity vector, and determines whether there is a chuck error (abnormal mounting). By doing the above, even if the sensor 1 is an eddy current sensor, the amount of eccentricity inherent in the tool holder 11 due to magnetization, wall thickness, etc. can be canceled, and the amount of eccentricity related to displacement can be calculated more accurately. .
  • the phase can be corrected (specifically, the 0 degree position can be determined) based on the detection signal from the notch 11C.
  • FIG. 3 is a flowchart of measurement data acquisition during setup
  • FIG. 4 is a time chart of measurement data acquisition during setup and processing.
  • the tool holder 11 to which the tool 9 is attached is attached to the spindle 26 by an ATC device, and measurement is started.
  • the horizontal axis is time
  • the upper row shows conceptual changes in measurement data by the sensor 1
  • the lower row shows the rotation angle of the tool holder 11 and the orientation of the notch 11C.
  • S32 and the like indicate the correspondence with the steps in the flowchart of FIG. 3.
  • setup is performed to obtain the basic eccentricity vector (step S30).
  • the setup is performed before the MC starts machining the workpiece.
  • the tool holder 11 is attached to the main shaft 26 (step S31). Since this is before the start of machining, chips will not be caught between the fitting part 11A and the fitted part 26A, and the tool holder 11 will be mounted on the main shaft 26 without chuck error (mounting abnormality).
  • the control device 22 once rotates the tool holder 11 in this state, and makes the tool 9 (that is, the tool holder 11) stand still at a predetermined angle (step S32).
  • the control device 22 outputs a trigger signal to start counting the notches 11C to the data processing device 3 (step S33), and starts rotating the tool holder 11 and the tool 9 (step S34).
  • the measurement data by the sensor 1 changes from ON to OFF at the position of the notch 11C, as shown in FIG. 4, regardless of the sensor method.
  • the data processing device 3 starts counting the notches 11C based on the change in the signal from the sensor 1 (step S35). Note that the measurement of the distance d for chuck error determination starts from the time when the rotation of the tool holder 11 and the tool 9 becomes stable.
  • the data processing device 3 calculates the time T from when the notch 11C is finally detected after making at least one revolution around the tool holder 11 until the sensor 1 obtains measurement data (measurement data A) at the time of setup, and The count number N up to this point is stored (step S36). In other words, the number N of notches counted until measurement data (measurement data A) during setup is acquired, and the time T that has elapsed from the last detection of a notch until acquisition of measurement data A are memorized. .
  • the measurement data at the time of setup is the measurement data of the sensor 1 after step S36.
  • This measurement data is obtained after rotating the tool holder 11 at least once, but may be obtained after rotating the tool holder 11 multiple times in order to improve accuracy. Alternatively, it may be an average of a plurality of measurement data.
  • the measurement for determining a chuck error is performed after the rotation becomes stable. Therefore, in order to compare the measurement data A during setup and the measurement data B during machining, the rotation is stable, that is, the tool holder 11 is rotated, and the measurement data acquisition start position must be It is necessary to understand and align this.
  • the count number N of the notch 11C and the time T that has elapsed since the notch was last detected are used to determine the starting position for acquiring this measurement data. By doing so, the measurement start position can be accurately determined.
  • the phase may also be finely adjusted.
  • the count number N of the notches 11C and the time T that has passed since the last notch was detected even if there are multiple notches 11C in the tool holder 11, they can be used for final fine adjustment. Since the detection signal derived from the notch can be determined, the phase can be easily corrected by comparing the waveforms.
  • the time T is the elapsed time since the last notch was detected, it is a short time in the first place, and the rotation is almost stable, so there will be variations during setup and during machining, which will be described later. There aren't many. Similarly, there is no difference in the number of counts N until the rotation becomes stable during setup and during processing, which will be described later.
  • FIG. 6 is a graph showing an example of measurement data for one round.
  • the horizontal axis in FIG. 6 shows the phase, and the vertical axis shows the displacement measured by the sensor 1.
  • the measurement data for one revolution includes, for example, the measurement data from the notches 11C that is "off" as shown in FIG. 6(a).
  • the approximately rectangular recessed area is the area where the measurement data derived from the notch 11C is "off”.
  • FIG. 6(b) is a graph displaying the measurement data after linear interpolation of the notch 11C by the interpolation means in the CPU 6.
  • the measurement data interpolation method may be spline interpolation, Lagrangian interpolation, polynomial interpolation, Newton interpolation, Neville interpolation, continued fraction interpolation, or the like.
  • the data processing device 3 performs Fourier analysis (FFT analysis) on the interpolated measurement data A during setup, calculates and stores the amplitude and phase of one peak component in the waveform of the measurement data. (Step S38).
  • the basic eccentricity amount and basic eccentricity vector are calculated from the obtained amplitude and phase (step S39), and are stored to end the setup.
  • FIG. 5 is a flowchart at the time of machining, and since steps S40 to S45 are performed in the same procedure as the flowchart at the time of setup shown in FIG. 3, the explanation will be omitted.
  • the data processing device 3 matches the count number N counted and stored during setup and the time T, and causes the sensor 1 to acquire measurement data (measurement data B) during processing (step S46). Similar to the measurement data at the time of setup, the measurement data at the time of machining is acquired after the tool holder 11 is rotated once. In order to improve accuracy, the image may be acquired after rotating multiple times. In addition to the above, the phase is corrected (0 degree ).
  • the data processing device 3 restores a sine wave using the interpolation means from the measurement data during machining obtained in step S46, and stores it (step S47), similarly to the setup.
  • the data processing device 3 performs Fourier analysis (FFT analysis) on the interpolated measurement data during machining, and calculates and stores the machining amplitude and machining phase of each peak component (step S48). ).
  • FFT analysis Fourier analysis
  • a measured eccentricity amount and a measured eccentricity vector are calculated from the machining amplitude and the machining phase (step S49).
  • FIG. 7 is a flowchart for determining a chuck error based on the true amount of eccentricity, and is performed following the flowchart in FIG. 5.
  • Judgment of chuck error (installation abnormality) is based on the basic eccentricity vector (Fig. 3) indicating the amount of eccentricity of the tool holder 11 mounted without chuck error, and the measured eccentricity vector (Fig. 3) obtained from the measurement data during machining. 5).
  • the difference between the basic eccentricity vector and the measured eccentricity vector is determined by vector calculation, this is taken as the true eccentricity vector, and the true eccentricity amount is calculated (step S50).
  • the data processing device 3 determines a chuck error (installation abnormality) based on the true amount of eccentricity (step S51). As a result, if it is determined that the chuck is normally performed (true eccentricity ⁇ tolerable value) (step S52), machining is directly started (step S53). If the true eccentricity exceeds the allowable value, it is determined that a chuck error (abnormal mounting) has occurred (step S54). In this case, the data processing device 3 instructs the control device 22 to reinstall the tool holder 11 or to confirm the installation state (step S55).
  • a chuck error (abnormal mounting) is determined based on the "true eccentricity" obtained by removing the eccentricity specific to the tool holder 11, so that more accurate detection can be performed.
  • the direction of eccentricity can be specified from the true eccentric vector, the position of trapped chips, etc. can also be specified.
  • the amount of eccentricity may be calculated from the average value of measured data A and B measured multiple times. This improves reliability and allows more accurate determination.
  • the measurement data at the time of setup and the measurement data at the time of machining are originally based on data measured by the sensor 1 on the outer circumferential surface of the flange portion 11B, so they originally have similar waveforms. Therefore, if measurement data is obtained by matching the count number N and time T during setup and processing, the phases of both can be corrected without any more complicated processing.
  • the fundamental frequency component (first-order component) subjected to Fourier analysis changes significantly.
  • changes in the measurement data by the sensor 1 shown in FIGS. 4 and 6 may be slower depending on the sensor method.
  • the difference (amplitude) between ON and OFF in the measurement data of FIG. 4 becomes smaller and becomes less clear.
  • the data processing device 3 since the data processing device 3 only counts the notches 11C based on the signal change of the sensor 1, it is not affected by the amplitude information and can therefore accurately detect the phase.
  • the difference (amplitude) between ON and OFF of the measurement data becomes small and becomes unclear in a bad environment, but when counting the notch 11C, the waveform shaping Accurate counting can be achieved by shaping the pulses using a circuit.
  • the amount of eccentricity is obtained by measuring the displacement of the outer periphery of the tool holder 11, performing Fourier analysis on the measured data to extract one peak component, and determining its amplitude value.
  • the method for obtaining the amount of eccentricity is not limited to this method.
  • the maximum value and minimum value of the measurement data may be determined, and the amount of eccentricity may be calculated from the difference.
  • the flange portion 11B of the tool holder 11 is used as the measurement point of the sensor 1, but the measurement point of the sensor 1 is not limited to this, and may be changed depending on the measurement situation etc. It may be changed as appropriate.
  • the measurement point may be the cutting edge of the tool 9 (the part where the workpiece is cut).
  • the cutting edge of the tool 9 By using the cutting edge of the tool 9 as a measurement point, the amount of eccentricity of the part to be directly machined can be measured, and chuck errors can be detected more reliably. In this case, the position of the tool may finally be adjusted based on the measurement data before interpolation.
  • the sensor 1 is an eddy current sensor, it is desirable to attach it to the head 27 to which the main shaft 26 is attached in order to shorten the measurement distance, but the installation location of the sensor 1 is not limited to this. .
  • the sensor 1 is an optical type or a laser type, which is weak in a bad environment where water, oil, etc. are scattered, the distance d is increased to fix the sensor 1 at a predetermined position other than the head 27. and can be installed. Therefore, when the sensor 1 is an optical type or a laser type, it can be installed at any position.
  • the sensor 1 can be easily installed at a position that is not affected by coolant (a position that is not exposed to coolant) in order to ensure more stable and highly accurate measurements.
  • this embodiment has been described as being applied to an MC, it can be applied to any machine tool that uses an ATC device.
  • FIG. 8 is a functional block diagram of a machine tool equipped with a displacement detection device according to an embodiment of the present invention.
  • the machine tool 100 includes a displacement detection device 101, a head 27 to which a main shaft is attached, and a sensor 1.
  • the head 27 is equipped with a tool holder 11 attached to the main shaft and a tool 9 attached to the tool holder 11.
  • the structures of the sensor 1, the head 27, the tool holder 11, the tool 9, etc. are the same as those of the machine tool equipped with the tool holder mounting state detection device 50, and therefore the description thereof will be omitted.
  • the displacement detection device 101 includes a control section 102, a storage section 103, a communication section 104, an input/output section 105, a phase adjustment section 106, and a data comparison section 107.
  • the control unit 102 includes a processor as hardware, and controls each unit of the displacement detection device 101 by causing the processor to execute a program stored in a storage device of the storage unit 103, which will be described later.
  • the processors included in the control unit 102 include a microprocessor, a processor core, a multiprocessor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), and a GPGPU (Gate neural-purpose computing on graphics processing units), etc. .
  • the storage unit 103 includes a storage device as hardware, and provides a work area for the processor, stores/reads programs for controlling each part of the displacement detection device 101, stores/reads measurement data of the sensor 1, and Stores/reads time T and count number N, etc.
  • the storage devices included in the storage unit 103 include, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), a flash memory, and an SSD (Solid State Drive).
  • the communication unit 104 is configured to include a communication interface, and transmits and receives various data between the displacement detection device 101 and an external network/external device under the control of the control unit 102. Further, the input/output unit 105 is configured to include an input/output interface, and receives input of instructions to the displacement detection device 101 and outputs displacement detection results.
  • the input device connected to the input/output unit 105 may be a keyboard, a mouse, a scanner, a touch panel, or the like.
  • the display device connected to the input/output unit 105 may be a liquid crystal display, an organic EL (Electro Luminescence) display, or the like.
  • the display device may be configured integrally with the input device.
  • the display device may be a touch panel display that provides a GUI (Graphical User Interface). Note that the displacement detection device 101 does not need to have the communication section 104 and the input/output section 105.
  • the displacement detection device 101 which includes a processor, a storage device, a communication interface, and an input/output interface, is typically a computer. Although the displacement detection device 101 is provided separately from a computer (not shown) that controls the machine tool 100, the displacement detection device 101 is not limited to the above, and may further have a function of controlling the machine tool 100 of the present invention. good. In other words, the computer that controls the machine tool 100 may have the function of the displacement detection device 101.
  • the phase adjustment unit 106 is a function realized by the processor of the control unit 102 executing a program stored in the storage device of the storage unit 103.
  • the phase adjustment unit 106 controls the sensor 1 that measures the outer peripheral shape of the flange portion of the tool holder 11, and adjusts the timing of acquiring measurement data (measurement data A, B).
  • measurement data A, B measurement data A, B.
  • the phase adjustment unit 106 rotates the tool holder after stopping it at a predetermined angle, starts counting the notches formed in the flange part, and rotates the tool holder at least once. After rotating, the sensor acquires measurement data (measurement data A) while the rotation is stable. The phase adjustment unit 106 detects the time T (T A ) from the last detected notch to obtaining the measurement data A and the count number N (N A ) up to that time, and stores them in the storage unit. 103.
  • the tool holder When detecting displacement (for example, during machining), the tool holder is stopped at a predetermined angle, then rotated, the count of notches formed in the flange is started, and after the tool holder has been rotated at least once, , causes the sensor to acquire measurement data B.
  • the time T from the last detected notch to the acquisition of measurement data by the sensor and the count number N up to that time are made to match the time T A and the count number NA .
  • time T and count number N are made to match time T A and count number N A , and measurement data B is acquired by the sensor.
  • the phase adjustment unit 106 rotates the tool holder after stopping it at a predetermined angle (the same angle), starts counting the notches formed in the flange part, and rotates the tool holder at least at a predetermined angle. After one revolution, the time T from the last detected notch to the acquisition of each measurement data by the sensor (time T from the time when the last notch was detected until the measurement data is obtained) and the count up to that point. Match the number N. This eliminates the need for phase alignment of the obtained measurement data. Note that the details of the above phase alignment are the same as those in the tool holder mounting state detection device 50 that has already been described, so the explanation will be omitted.
  • the displacement of the tool holder 11 can be detected by measuring a change (shift) in the measurement data of the sensor 1 that measures the outer peripheral shape.
  • a change shift
  • the data comparison unit 107 is a function realized by the processor of the control unit 102 executing a program stored in the storage device of the storage unit 103.
  • the data comparison unit 107 compares measurement data A and measurement data B to detect displacement.
  • the data comparison unit 107 interpolates the measurement data A in a reference state (for example, "at the time of setup") as necessary, and calculates the amplitude and phase of one peak component by FFT analysis. Furthermore, the data comparison unit 107 calculates an eccentricity vector and an eccentricity amount, which is the magnitude thereof, from, for example, the amplitude and phase of one peak component.
  • the data comparison unit 107 interpolates the measurement data B at the time of displacement detection (for example, "during machining") as necessary, and calculates the amplitude and phase of one peak component by FFT analysis. Furthermore, the data comparison unit 107 calculates the eccentricity vector and the amount of eccentricity using the same method as in processing the measurement data A.
  • the data comparison unit 107 calculates the difference with each of the eccentricity vectors by vector calculation, and calculates the true eccentricity amount (relative eccentricity amount).
  • the true eccentricity reflects the displacement of the tool holder 11 from the reference state, and for example, by comparing the true eccentricity with a predetermined threshold, it is possible to determine whether the tool holder 11 has been displaced.
  • FIG. 9 is a flowchart for obtaining measurement data A in a reference state as preparation for displacement detection.
  • the method for acquiring the measurement data A is the same as the method for acquiring the measurement data "at the time of setup" described above.
  • the tool holder 11 is stopped at a predetermined angle.
  • the angle at which it is held still may be any value, as long as it is the same as the angle at which it is held still before acquisition of the measurement data B.
  • the reference state is a state that should serve as a reference for displacement detection, and is preferably performed before machining, that is, at the time of setting up the machine tool, but may also be performed after the start of machining.
  • step S71 rotation of the tool holder 11 is started.
  • the output of the sensor 1 changes from on to off as the notch passes, making it possible to count the notches.
  • step S72 counting of notches is also started.
  • step S73 when the rotation of the tool holder 11 becomes stable, measurement data A is acquired. At this time, the time TA from the detection of the last detected notch to the acquisition of measurement data is also acquired. In addition, the count number NA of notches until measurement data is obtained is also obtained. That is, in this step, measurement data A, time T ( TA ), and count number N ( NA ) are acquired.
  • the displacement detection method according to the embodiment of the present invention does not need to include the procedure for acquiring the measurement data A described above. That is, the measurement data A, the time T A , and the count number N A may be obtained and stored in advance. In this case, the measurement data A, the time T A , and the count number N A acquired in advance may be used for displacement detection without newly acquiring the measurement data A. Note that the tool holder 11 used to obtain the measurement data A and measurement data B is the same.
  • the measured data may be subjected to Fourier analysis (FFT analysis) to calculate the amplitude and phase of one peak component. Furthermore, the amount of eccentricity and the eccentric vector may be determined from this amplitude and phase.
  • FFT analysis Fourier analysis
  • FIG. 10 is a flow diagram of a displacement detection method for detecting displacement of a tool holder.
  • step S80 the tool holder is stopped at a predetermined angle. This angle is the same angle as when acquiring the measurement data A.
  • One form of timing for displacement detection is when the measurement data A is acquired at the time of setup, during or after machining the workpiece.
  • a machine tool such as a machining center (MC)
  • MC machining center
  • chips or the like may be caught in the chuck portion during or after machining, resulting in a chuck failure, and the tool holder 11 may become eccentric.
  • This displacement detection method can easily detect the relative eccentricity (displacement) of the tool holder 11 from the reference state as described above with high accuracy.
  • step S81 rotation of the tool holder is started, and along with this, counting of notches is also started (step S82).
  • step S83 measurement data B is acquired. Measurement data B is obtained by making time T and count number N match time T A and count number N B. That is, after the tool holder 11 is stopped at a predetermined angle, it starts rotating, rotates until it reaches the count number NA , and when it reaches the count number NA , when time T A has passed from there, the measurement data B is obtained.
  • this displacement detection method includes step S83, the phases of the acquired measurement data A and measurement data B are aligned. If the tool holder 11 is displaced due to a chuck error or the like between the reference state and the time of detection, and the waveform of the measurement data changes, it may be difficult to compare these waveforms and align the phases. However, in this displacement detection method, phase alignment can be performed without the need to directly compare waveforms (measurement data whose phases are already aligned are acquired).
  • step S84 the true amount of eccentricity is calculated from the measurement data A and B.
  • the method for calculating the true amount of eccentricity has already been explained. Thereby, the displacement of the tool holder 11 can be detected.
  • the detected displacement (true eccentricity) can be used for determining the attachment state of the tool holder as described above.
  • the true amount of eccentricity can be calculated using various methods. For example, the maximum value and the minimum value of the measurement data may be determined, and the true amount of eccentricity may be calculated from the difference between them. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Machine Tool Sensing Apparatuses (AREA)

Abstract

本発明のツールホルダ装着状態検出方法は、セットアップ時は、チャックミスがない状態でツールホルダ11を主軸26へ装着し、工具9の回転を開始してからフランジ部11Bに形成された切り欠き11Cのカウントを開始し、最後に検出した切り欠き11Cから測定データを得るまでの時間Tとそれまでのカウント数Nを記憶し、加工時はセットアップ時と同じ手順でカウント数N及び時間Tを一致させて測定データを得るため、センサ方式、切り欠き数、形状精度、及び、環境等に係らず、セットアップ時と加工時の測定データの位相を簡単、かつ、高精度に合わせ、チャックミスの検出精度を向上する。

Description

ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械
 本発明は、NC(数値制御)加工機やマシニングセンタをはじめとするワーク(加工対象物、測定対象物)の加工を行う工作機械であって、特に、工具を適宜選択して着脱する自動工具交換装置(ATC)を備える工作機械において、工具が取り付けられるツールホルダが主軸に正常に装着されたかを示す装着異常の判定を行うツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、及び、これを備える工作機械に関する。また、本発明は、工具が取り付けられるツールホルダの基準状態からの変位を検出する変位検出方法、変位検出装置、及び、これを備える工作機械に関する。
 マシニングセンタ(MC)は、加工工程に従って各種工具を自動的に選択し、選択した工具を自動で主軸に装着して多種類の加工を行う装置である。このMCにおいて、工具の交換は自動工具交換(ATC:オートツールホルダチェンジ)装置で行われる。ATC装置は、工具が取り付けられたツールホルダを工具マガジンから自動で取り出し、取り出したツールホルダを主軸に自動で装着する。工具が取り付けられたツールホルダは、円錐状の嵌合部を有しており、この嵌合部が、MCの主軸に形成された円錐状の被嵌合部に嵌合されて装着される。しかしながら、ツールホルダは、嵌合部に切り屑などが付着すると、軸が曲がって装着されることがある。そして、この状態で加工を行うと、回転に伴って工具に振れ(基準状態からの変位)が発生し、ワークの加工精度が著しく低下する。
 ツールホルダの異常な装着状態(チャックミス)等に起因して起こる、ツールホルダの基準状態からの変位を検出するための技術として、特許文献1には、「工具が取り付けられたツールホルダを主軸に装着し、該主軸を回転駆動してワークを加工する工作機械において、前記主軸に装着したツールホルダのフランジ外周面の変位を測定する測定手段と、前記測定手段で得られた測定データから前記工作機械の異常を判定する判定手段と、を備えたことを特徴とする工作機械。」が記載され、更に、「前記主軸に装着されたツールホルダのフランジ外周面の変位の測定データを基本データとして記憶する基本データ記憶手段と、前記基本データと前記測定手段で測定された測定データとを比較して真の測定データを演算する真の測定データ演算手段と、を備え、前記判定手段は、前記真の測定データ演算手段で算出された真の測定データから前記工作機械の異常を判定する」ことが記載されている。
 また、「ツールホルダ2に切欠きがある場合には、図10(b)に示すように、2つある切欠き2C、2Cのうち何れか一方の切欠き2Cの中央が0°になるように測定データを位相補正する」こと、及び、「算出した磁気的凹凸パターン(加工時磁気的パターン)と、メモリ20に記憶されたセットアップ時の磁気的凹凸パターン(セットアップ時磁気的パターン)とを比較し、算出した磁気的凹凸パターンのうち、どの位置が0°に位置するかを決定する。」ことも記載されている。
 また、特許文献2は、フランジ外周面に近接して設けられる外周面検出手段として、渦電流センサを設け、ツールホルダのフランジ部に切り欠きがある場合、センサが所定周期で検出したフランジ外周面の表面位置の検出データを補間処理して、所定周期より短い補間周期で補間検出データを算出し、補間データを生成することが記載されている。
 さらに、特許文献2の段落0026等には、渦電流センサなどの検出器は、検出距離が大きくなると検出精度、分解能が低下すること、及び、切り欠き部分は検出方向に距離が急激に変化するため、この部分の平均距離を検出すると検出信号は鈍ることが記載されている。そこで、特許文献2では、検出距離が大きいほど、切り欠き部分の検出データの値が小さくなるように補正を行うことが記載されている。
特開2002-200542号公報 特開2008-93750号公報
 ツールホルダのフランジの外周面の変位を測定し、チャックミス等に起因して起こる基準状態からの変位を検出する方法、又は、これを利用してチャックミスを検出する方法では、センサによる測定データの相対差を求める必要がある。そのためには、それぞれの測定データの位相補正を行う必要がある。この位相補正について、特許文献1には、フランジの切り欠きに由来する信号を用いたり、特徴的な磁気的凹凸パターンを利用したりする方法が記載されている。
 しかし、近年、ツールホルダの加工精度の向上に伴い、フランジ部分の形状のばらつきが従来よりも顕著に小さくなってきている。そのため、特許文献1に記載された方法のように、ツールホルダに固有の特徴的な磁気的凹凸パターンを見出すことが難しくなってきていることを本発明者は知見している。これは、特徴的な磁気的凹凸パターンが、各ツールホルダ(典型的にはフランジ部分)に固有の、形状の不均一(ばらつき)に起因して得られるものだからである。
 また、切り欠きに由来する信号を用いて位相補正を行おうとしても、例えば、フランジが切り欠きを二つ有し、この切り欠きが180度対称な位置に配置されている場合、180度の回転対称に近い磁気的凹凸パターンが発現し、例えば、加工時磁気的パターンとセットアップ時磁気的パターンの比較のみで位相を決めることができないことも、本発明者は知見している。
 また、特許文献2は、補間データによって、フランジ部に切り欠きの影響による振れ測定の誤差を小さくできるが、サンプリング開始位置のずれや回転速度のムラがあると、フランジ外周面の表面位置の検出データが不正確となり、偏心量を高精度に算出することができない場合がある。
 さらに、例えば、切粉の噛み込み等により、振れが発生した場合、切り欠きが二つありサンプリング開始位置が大きくずれた場合、及び、ノイズが多い場合等では、複雑な処理を必要とする。そのため、渦電流センサなどの検出器は、より安定した高精度な測定を確保するために、クーラントの影響を受けない位置に設置しなければならない。
 本発明の目的は、上記従来技術の課題を解決し、センサ方式、ツールホルダのフランジ外周面の切り欠き数、回転方向の対称性、フランジ部11Bの形状(特に、測定部分の肉厚)の変化、磁化、焼き入れ深度、刻印、及び、環境等に係らず、基準状態、及び、変位検出時における測定データの位相を簡単、かつ、高精度に合わせることを可能とし、ツールホルダの主軸へのチャックミス(装着異常)等に起因して起こるツールホルダの基準状態からの変位の検出精度を向上することにある。また、本発明の目的は、上記変位の検出を応用して、主軸に装着されるツールホルダの装着異常を検出する、チャックミスの検出方法の検出精度を向上することにある。
 上記目的を達成するための本発明の構成は以下のとおりである。
 [1] 工具が取り付けられたツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出方法であって、上記ツールホルダのフランジ部における外周形状を測定するセンサを設け、セットアップ時は、上記チャックミスがない状態で上記ツールホルダを上記主軸へ装着し、上記ツールホルダを所定角度で静止させた後、上記工ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記ツールホルダを少なくとも1周した後、最後に検出した上記切り欠きから上記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶し、加工時は、上記ツールホルダを上記所定角度で静止させた後、上記ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記セットアップ時に記憶された上記カウント数N及び上記時間Tを一致させて上記センサによる加工時測定データを得て、上記セットアップ時測定データと上記加工時測定データとに基づいて上記チャックミスの判定を行うことを特徴とするツールホルダ装着状態検出方法。
 [2] 上記セットアップ時測定データをフーリエ解析し、1山成分の振幅と位相を算出した基本偏心ベクトルと、上記加工時測定データを上記フーリエ解析し、1山成分の加工時振幅と加工時位相を算出した測定偏心ベクトルと、に基づいて偏心量を求め、上記チャックミスの判定を行うことを特徴とする[1]に記載のツールホルダ装着状態検出方法。
 [3] 上記切り欠きを補間した上記セットアップ時測定データと上記加工時測定データとを上記フーリエ解析することを特徴とする[2]に記載のツールホルダ装着状態検出方法。
 [4] 上記セットアップ時測定データと上記加工時測定データとは、上記ツールホルダを少なくとも1周させて得ることを特徴とする[1]から[3]のいずれかに記載のツールホルダ装着状態検出方法。
 [5] 上記センサは、上記主軸が取り付けられたヘッドに取り付けられた渦電流センサとしたことを特徴とする[1]に記載のツールホルダ装着状態検出方法。
 [6] 上記センサは、上記主軸が取り付けられたヘッド以外の位置に取り付けられた光学式あるいはレーザ式とされたことを特徴とする[1]に記載のツールホルダ装着状態検出方法。
 [7] 上記偏心量の測定を複数回実施し、平均値を真の測定偏心量とみなすことを特徴とする[2]に記載のツールホルダ装着状態検出方法。
 [8] ツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出装置において、上記ツールホルダのフランジ部における外周形状を測定するセンサと、セットアップ時に、上記チャックミスがない状態で上記ツールホルダを上記主軸へ装着し、上記ツールホルダを所定角度で静止させた後、上記ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記ツールホルダを少なくとも1周した後、最後に検出した上記切り欠きから上記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶する手段と、加工時に、上記ツールホルダを上記所定角度で静止させた後、上記ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記セットアップ時に記憶された上記カウント数N及び上記時間Tを一致させて上記センサによる加工時測定データを得る手段と、上記セットアップ時測定データと上記加工時測定データとに基づいて上記チャックミスの判定を行うデータ処理装置と、を備えたことを特徴とするツールホルダ装着状態検出装置。
 [9] 上記セットアップ時測定データをフーリエ解析し、1山成分の振幅と位相を算出した基本偏心ベクトルを求める手段と、上記加工時測定データを上記フーリエ解析し、1山成分の加工時振幅と加工時位相を算出した測定偏心ベクトルを求める手段と、上記基本偏心ベクトルと、上記測定偏心ベクトルと、に基づいて偏心量を求め、上記チャックミスの判定を行う手段と、を備えたことを特徴とする[8]に記載のツールホルダ装着状態検出装置。
 [10] ツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出装置が組み込まれた工作機械において、上記ツールホルダのフランジ部における外周面の形状を測定するセンサと、セットアップ時に、上記チャックミスがない状態で上記ツールホルダを上記主軸へ装着し、上記ツールホルダを所定角度で静止させた後、上記ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記ツールホルダを少なくとも1周した後、最後に検出した上記切り欠きから上記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶する手段と、加工時に、上記ツールホルダを所定角度で静止させた後、上記ツールホルダの回転を開始し、上記センサの信号変化より、上記フランジ部に形成された切り欠きのカウントを開始し、上記セットアップ時に記憶された上記カウント数N及び上記時間Tを一致させて上記センサによる加工時測定データを得る手段と、上記セットアップ時測定データと上記加工時測定データとに基づいて上記チャックミスの判定を行うデータ処理装置と、を備えたことを特徴とする工作機械。
 [11] 主軸に取り付けられ、一体として回転するツールホルダの基準状態からの変位を、上記ツールホルダのフランジ部の外周形状を測定するセンサの測定データを上記基準状態における測定データと比較して検出する、変位検出方法であって、それぞれの上記測定データは、ツールホルダを所定角度で静止させた後に回転させ、上記フランジ部に形成された切り欠きのカウントを開始し、上記ツールホルダを少なくとも1周した後、最後に検出した上記切り欠きから上記センサによるそれぞれの上記測定データを得るまでの時間Tと、それまでのカウント数Nとを一致させて取得されたものである、変位検出方法。
 [12] 上記比較が、それぞれの上記測定データをフーリエ解析し、1山成分の振幅と位相とから算出したそれぞれの偏心ベクトルの比較により実施される、[11]に記載の変位検出方法。
 [13] 主軸に取り付けられ、一体として回転するツールホルダの基準状態からの変位を検出する変位検出装置であって、上記ツールホルダのフランジ部の外周形状を測定するセンサの測定データを上記基準状態における測定データと比較して変位を検出する、データ比較部と、上記測定データの取得時機を調整する位相調整部と、を有し、上記位相調整部は、上記ツールホルダを所定角度で静止させた後に回転させ、上記フランジ部に形成された切り欠きのカウントを開始し、上記ツールホルダを少なくとも1周した後、最後に検出した上記切り欠きから上記センサによるそれぞれの上記測定データを得るまでの時間Tと、それまでのカウント数Nとを一致させてそれぞれの上記測定データを上記センサに取得させる、変位検出装置。
 [14] 上記データ比較部は、それぞれの上記測定データをフーリエ解析し、1山成分の振幅と位相とから偏心ベクトルを算出して比較する、[13]に記載の変位検出装置。
 [15] [13]又は[14]に記載の変位検出装置を備える工作機械
 本発明によれば、センサ方式、ツールホルダのフランジ外周面の切り欠き数、回転方向の対称性、フランジ部11Bの形状(特に、測定部分の肉厚)の変化、磁化、焼き入れ深度、刻印、及び、環境等に係らず、基準状態、及び、測定時における測定データの位相を簡単、かつ、高精度に合わせることが可能となり、ツールホルダの主軸へのチャックミス(装着異常)等に起因して起こるツールホルダの基準状態からの変位の検出精度が向上する。また、本発明によれば、上記変位の検出を応用して、主軸に装着されるツールホルダの装着異常を検出する、チャックミスの検出方法の検出精度が向上する。
 例えば、基準状態をチャックミスが起こらない「セットアップ時」とする。セットアップ時にチャックミスがない状態でツールホルダを主軸へ装着し、工具(すなわち、ツールホルダ)の回転を開始する。次に、センサの信号変化を検出して、フランジ部に形成された切り欠きのカウントを開始する。そして、ツールホルダを少なくとも1周した後、最後に検出した切り欠きからセンサによるセットアップ時(基準状態における)測定データを得るまでの時間Tと、それまでのカウント数Nを記憶する。次に、「加工時」に変位を検出するものとする。加工時には、セットアップ時と同じ手順で工具の回転を開始し、カウント数N及び時間Tを一致させて、測定データを得る。セットアップ時の測定データと、加工時の測定データとは、時間Tと、カウント数Nとを一致された取得されたものであるから、位相が揃っており、データ波形を比較せずとも、簡単に比較ができる。この比較の結果に基づき、変位を検出したり、それによってチャックミスの判定を行ったりできる。
本発明の一実施の形態に係るツールホルダ装着状態検出装置のブロック図である。 図1のツールホルダとデータ処理装置との関係を示す平面図である。 一実施の形態におけるセットアップ時のフローチャートである。 一実施の形態におけるセットアップ時及び加工時のタイムチャートである。 一実施の形態における加工時のフローチャートである。 一実施の形態における1周分の測定データ(変位)を示すグラフである。 一実施の形態における偏心量を判定するフローチャート(図5の続き)である。 本発明の一実施形態に係る変位検出装置を含む工作機械の機能ブロック図である。 変位検出装置を用いて基準状態における測定データを得るためのフローチャートである。 変位検出方法のフローチャートである。
(用語の説明)
 まず、本明細書において使用される用語について説明する。なお、以下に説明のない用語については、本願出願時における技術常識に基づいて、当業者にとって普通に理解される意味で使用されるものとする。
 本明細書において「基準状態」とは、変位検出のための相対的な基準となる状態を意味する。すなわち、本発明の変位検出方法は、この基準状態におけるツールホルダの位置からの、相対的な変位を検出するものである。基準状態としては、特に限定されず、いかなる状態であってもよいが、検出したツールホルダの変位をチャックミスの判定に用いる場合には、基準状態はチャックミスが発生しない状態であることが好ましい。このような状態としては、工作機械のセットアップ時、すなわち、ワークの加工前の状態であることが好ましい。
 しかし、本明細書における変位検出方法における「基準状態」は上記に限定されず、すでにワークの加工が始まった状態、及び、ツールホルダに工具が装着されていない状態(工具が装着されていないツールホルダを主軸に装着した状態)等であってもよい。
 また、本明細書において「変位」とは、ツールホルダの基準状態における回転位置からの、変位の検出時(チェックミスの検出時)における回転位置の相対的な変化を意味し、典型的には、ツールホルダの回転軸が基準状態と比較して傾いたり、移動したりして、その回転に「振れ」が生じている状態を意味する。
 また、本明細書において「測定データA」とは、基準状態における測定データを意味し、「測定データB」とは、変位検出時における測定データを意味する。測定データAと測定データBとを比較することで、ツールホルダの変位が検出できる。また測定データAを「セットアップ時」に取得し、測定データBを「加工時」に取得することで、上記変位に基づき、チャックミスの判定ができる。
(ツールホルダ装着状態検出方法、及び、その装置)
 基準状態と比較したとき、ツールホルダが変位する典型例として、セットアップ時である基準状態に対して、変位検出時である加工時にツールホルダのチャックミスが生じた状態が挙げられる。
 以下では、基準状態をセットアップ時とし、加工時においてツールホルダに変位が発生したかどうかを検知し、これをツールホルダのチャックミス判定に用いるという、本発明の変位検出方法の応用例の1つ、及び、これを検出するための装置の構成について説明する。
 マシニングセンタ(MC)は、ワークを取り付けたままで、フライス・穴あけ・中ぐり・ねじ立てなど種々の加工を1台で行う数値制御工作機械である。MCが有する工具マガジンには、多数の切削用の工具9が格納され、コンピュータ制御で工具9が自動的に交換され、ワークの加工が行われる。加工を主目的としているため、MCの設置された環境には、微粒子であるオイルミスト、及び、粉塵が存在すること多く、さらに、ワーク及びスピンドル周辺にはゴミ、切粉が存在することが多い。
 図1は、工作機械に組み込まれたツールホルダ装着状態検出装置50の一実施の形態を示すブロック図である。図1において、ツールホルダ11は側面図を表している。ツールホルダ装着状態検出装置50は、(図示しない)ATC装置によって、主軸26に装着されたツールホルダ11の、チャックミス(装着異常)を自動で検出する装置である。ツールホルダ装着状態検出装置50は、測定手段であるセンサ1と、装着状態判定手段であるデータ処理装置3と、を主として構成されている。
 ATC装置によって、工具9は、主軸26に自動で着脱される。着脱は、MCの制御装置22がプログラムを実行することによって行われる。工具9は、ツールホルダ11に一体的に装着可能とされる。ツールホルダ11の嵌合部11Aは、主軸26の円錐状の被嵌合部26Aに押し付けられる。これにより、嵌合部11Aと、被嵌合部26Aとが密着して、ツールホルダ11の主軸26への装着(チャッキング)がなされ、その結果として工具9が主軸26に固定される。
 センサ1は、ツールホルダ11のフランジ部11Bの外周面までの距離dを電気信号として測定する測定手段である。センサ1は、渦電流センサであってよい。センサ1は、ある特定の測定点からツールホルダ11の外周面までの距離dを測定できるセンサ1であれば渦電流センサに限らず、他のセンサ方式であってもよい。この場合、センサ1は、非接触式のセンサに限らず、接触式のセンサであってもよい。また、MCは、加工内容に応じて多種の工具9を使用する。そのため、工具9の品数に応じてツールホルダ11も増加する。センサ1は、それら多数のツールホルダ11に対応できることが求められる。
 渦電流センサは高周波磁界を利用し、距離dを測定するセンサである。渦電流センサは、内部のコイルに高周波電流を流して、高周波磁界を発生させる。そして、渦電流センサの特徴は、リニアライズ回路で直線性の補正が必要とされるため、測定される距離dが短い一方で、水・油などの飛散する悪環境下に強いことにある。
 光学式センサは、可視光線、赤外線などを投光部から発射し、検出物体によって反射する光の変化を受光部で検出し出力信号を得るセンサである。レーザ式センサは、可視光線、赤外線に代えてレーザ光を用いるセンサである。そして、光学式センサ、レーザ式センサの特徴は、測定される距離dを長くするできる一方、水・油などの飛散する悪環境下に弱いことにある。
 接触式センサは、水・油などの飛散する悪環境下に強いが、任意の位置に設置することが困難である。したがって、センサ1は、水・油などの飛散する悪環境下であっても精度よく測定でき、設置位置についても自由に設定可能である渦電流センサ、光学式センサ、及び、レーザ式センサ等の非接触式センサが好ましい。
 センサ1として渦電流センサを使用した場合は、測定距離が短いので、主軸26が取り付けられたヘッド27取り付けることが望ましい。
 渦電流センサを用いる場合、フランジ部11Bの外周面を測定すると、磁化や測定部分の肉厚(面積)の影響などにより、測定される形状、すなわち、距離dの変化から推測されるフランジ部11Bの外周形状が、真円とならない場合がある。したがって、センサ1として渦電流センサを使用した場合は、単に、加工時にのみフランジ部11Bの外周面を測定するだけでは、偏心量を算出する際に誤差を含んでしまうことがあり、検出精度が低下するおそれがある。
 データ処理装置3は、センサ1で測定された距離dに基づき、ツールホルダ11の装着状態を検出するもので、A/Dコンバータ4、CPU6、メモリ5、及び、入出力回路7等を備える。A/Dコンバータ4は、センサ1から出力された距離dを示す電気信号を、ディジタル信号に変換してCPU6に出力する。CPU6は、このディジタル信号に変換されたセンサ1の測定データに基づいて、偏心量を求める。そして、その算出した偏心量と許容値とを比較し、偏心量が許容値を超えている場合にチャックミス(装着異常)と判定する。そして、データ処理装置3は、入出力回路7を介してMCを制御する制御装置22にその結果を出力する。
 図2は、フランジ部11Bに切欠きを有するツールホルダ11の平面図である。  
ツールホルダ11の形状は、嵌合部11A、及び、フランジ部11Bの外周形状が規格化されて、略同一となっている。したがって、フランジ部11Bの外周形状を測定することにより、ツールホルダ11の装着状態が分かる。外周形状は、ツールホルダ11を1回転させて距離dを測定することにより求められる。図2に示されるように、一般的には、ツールホルダ11のフランジ部11Bの外周面には、チャックのための切り欠き11Cが二つ形成されていることが多い。
 CPU6は、チャックミス(装着異常)がない状態で装着されたツールホルダ11のセットアップ時の測定データ(測定データA)からツールホルダ固有の基本偏心ベクトルを求め、記憶しておく。そして、CPU6は、加工時の測定データ(測定データB)から測定偏心ベクトルを求める。CPU6は、基本偏心ベクトルと測定偏心ベクトルとを比較して真の偏心ベクトルを算出する。そして、CPU6は、真の偏心ベクトルから偏心量を求め、チャックミス(装着異常)の判定を行う。上記の様にすることで、センサ1が渦電流センサである場合でも、磁化や肉厚等に起因するツールホルダ11に固有の偏心量をキャンセルし、変位に関わる偏心量をより正確に算出できる。
 ところで、セットアップ時の測定データ(測定データA)と、加工時の測定データ(測定データB)とを比較するためには、これらの位相(比較の開始点となるツールホルダの角度)を揃える必要がある。ツールホルダ11に切り欠き11Cがある場合、この切り欠き11Cによる検出信号をもとに位相を補正する(具体的には0度の位置を決める)こともできる。
 しかし、切り欠き11Cが2つ以上ある場合、2つある切り欠き11Cのうちいずれをもとに位相を補正する(いずれが0度に位置する)かを決定する必要がある。しかしながら、センサ1による測定は、ゆらぎやタイミングのずれが生じる恐れがある。また、切り欠き11Cが180度対称な位置にあった場合は、180度の回転対称に近い測定データが発現し、単に、セットアップ時の測定データと加工時の測定データの比較のみで位相を決めることは困難である。
 図3は、セットアップ時の測定データ取得のフローチャートであり、図4はセットアップ時及び加工時の測定データ取得のタイムチャートである。加工時は、セットアップが行われた後、工具9が取り付けられたツールホルダ11がATC装置で主軸26に装着されて、測定が開始される。図4において、横軸は時間であり、上段はセンサ1による測定データの概念的な変化、下段はツールホルダ11の回転角度及び切り欠き11Cの向きを示している。また、S32等は、図3のフローチャートのステップとの対応関係を示している。
 始めに、基本偏心ベクトルを求めるためにセットアップを行う(ステップS30)。セットアップは、MCによるワークの加工開始前に行われる。まず、ツールホルダ11が主軸26に装着される(ステップS31)。加工開始前であることから、切り粉は、嵌合部11Aと被嵌合部26Aの間に挟み込まれることはなく、ツールホルダ11はチャックミス(装着異常)なく主軸26に装着される。制御装置22は、この状態でツールホルダ11を一旦回転させ、工具9(すなわちツールホルダ11)を所定角度で静止させる(ステップS32)。
 次に、制御装置22は、切り欠き11Cのカウントを開始するためのトリガー信号をデータ処理装置3へと出力し(ステップS33)、ツールホルダ11及び工具9の回転を開始する(ステップS34)。センサ1による測定データは、センサ方式に関らず、切り欠き11Cの位置で、図4に示すようにONからOFFに変化する。データ処理装置3は、センサ1の信号変化より、切り欠き11Cのカウントを開始する(ステップS35)。なお、チャックミス判定のための距離dの測定は、ツールホルダ11及び工具9の回転が安定した時点から開始する。
 データ処理装置3は、ツールホルダ11を少なくとも1周した後、最後に切り欠き11Cを検出した時点から、セットアップ時の測定データ(測定データA)をセンサ1により得るまでの時間T、及び、それまでのカウント数Nを記憶する(ステップS36)。言い換えれば、セットアップ時の測定データ(測定データA)を取得するまでの切り欠きカウント数N、及び、最後に切り欠きを検出してから測定データAを取得するまでに経過した時間Tを記憶する。
 セットアップ時の測定データは、ステップS36後のセンサ1の測定データである。この測定データは、ツールホルダ11を少なくとも1周回転してから得られたものであるが、精度を向上させるために複数周回転させてから、取得されたものであってもよい。また、複数の測定データを平均したものであってもよい。
 工具9(すなわちツールホルダ11)を所定角度で静止させて、ツールホルダ11の回転を開始しても、チャックミス判定のための測定は、回転が安定してから行う。そのため、セットアップ時の測定データAと、加工時の測定データBとの比較を行うためには、回転が安定した状態で、つまり、ツールホルダ11が回転した状態において、測定データの取得の開始位置を把握し、これを揃える必要がある。
 本検出方法では、この測定データの取得の開始位置の決定に、切欠き11Cのカウント数Nと、最後に切り欠きを検出してから経過した時間Tを利用する。このようにすることで、正確に測定開始位置を把握できる。
 なお、上記に加えて、セットアップ測定時の波形と、加工時測定データの波形とを比較して、その形状から、例えば、図3に記載されたような切り欠き11Cによる検出信号をもとに位相を微調整してもよい。切り欠き11Cのカウント数Nと、最後に切り欠きを検出してから経過した時間Tを利用することで、ツールホルダ11に切り欠き11Cが複数あったとしても、最終的な微調整に使用すべき、切り欠き由来の検出信号が決定できるため、波形を比較することでも、容易に位相の補正を行うことができる。
 時間Tは、最後に切り欠きを検出してからの経過時間であるため、そもそも短時間であり、かつ、ほぼ回転が安定した状態であるため、セットアップ時、及び、後述する加工時におけるばらつきは殆どない。また、回転が安定するまでのカウント数Nも同様に、セットアップ時、及び、後述する加工時における差はない。
 上記のように測定データの取得開始位置を決定することで、例えば、単に回転開始から測定データの取得開始までの時間T(より長く、かつ、よりばらつきが発生する可能性が高い)により取得開始の位置を決定するよりも、より精度が向上する。
 図6は、1周分の測定データの例を示すグラフである。図6の横軸は位相、縦軸はセンサ1によって測定された変位を示している。ツールホルダ11のフランジ部11Bに切り欠き11Cが2箇所ある場合、1周分の測定データには、例えば、図6(a)に示されるように、切り欠き11Cによる測定データが「オフ」の領域が存在する。図中で、略矩形状に凹んでいる部分が切り欠き11Cに由来する測定データが「オフ」の領域である。
 図3に戻って説明すると、データ処理装置3は、切り欠き11Cがある場合、ステップS36で得られたセットアップ時の測定データから補間手段により正弦波を復元し、記憶する(ステップS37)。図6(b)は、CPU6における補間手段によって切り欠き11Cの部分を直線補間した後の測定データをグラフ表示したものである。なお、測定データの補間方法は、スプライン補間、ラグランジュ補間、多項式補間、ニュートン補間、ネヴィル補間、及び、連分数補間などであってよい。
 次に、データ処理装置3は、補間されたセットアップ時の測定データAに対してフーリエ解析(FFT解析)を行い、測定データの波形における、1山成分の振幅と位相とそれぞれを算出して記憶する(ステップS38)。得られた振幅と位相から、基本偏心量、基本偏心ベクトルが算出され(ステップS39)、記憶してセットアップを終了する。
 図5は、加工時のフローチャートであり、ステップS40からステップS45までは、図3で示したセットアップ時のフローチャートと同じ手順で行うので説明を省略する。データ処理装置3は、セットアップ時にカウントして記憶されたカウント数N及び時間Tを一致させて、加工時の測定データ(測定データB)をセンサ1によって取得させる(ステップS46)。セットアップ時の測定データと同様に、ツールホルダ11を1周回転させてから加工時の測定データが取得される。精度を向上させるために複数周回転させてから取得してもよい。
 なお、上記に加えて、セットアップ時の測定データ、及び、加工時の測定データ(いずれも補間前)のデータをそれぞれ用いて、切り欠き11Cの検出信号をもとに、位相を補正(0度の位置を補正)してもよい。
 次に、データ処理装置3は、切り欠き11Cがある場合、セットアップ時と同様に、ステップS46で得られた加工時測定データから補間手段により正弦波を復元し、記憶する(ステップS47)。次に、データ処理装置3は、補間された加工時の測定データに対してフーリエ解析(FFT解析)を行い、1山成分の加工時振幅と加工時位相をそれぞれ算出して記憶する(ステップS48)。加工時振幅と加工時位相から、測定偏心量、測定偏心ベクトルが算出される(ステップS49)。
 図7は、真の偏心量に基づいてチャックミスを判定するフローチャートであり、図5のフローチャートに続いて行われる。チャックミス(装着異常)の判定は、チャックミスがない状態で装着されたツールホルダ11の偏心量を示す基本偏心ベクトル(図3)と、加工時の測定データから得られた測定偏心ベクトル(図5)とに基づいて行われる。具体的には、基本偏心ベクトルと、測定偏心ベクトルと、の差をベクトル演算により求め、これを真の偏心ベクトルとし、この大きさである真の偏心量が算出される(ステップS50)。
 データ処理装置3は、真の偏心量に基づきチャックミス(装着異常)の判定を行う(ステップS51)。この結果、正常にチャックされたと判定された場合(真の偏心量≦許容値)は(ステップS52)、そのまま加工を開始する(ステップS53)。真の偏心量>許容値である場合は、チャックミス(装着異常)と判定される(ステップS54)。この場合、データ処理装置3は、ツールホルダ11の装着やり直し、又は、装着状態の確認を制御装置22へ指示する(ステップS55)。
 本実施の形態によれば、チャックミス(装着異常)の判定は、ツールホルダ11固有の偏心量を取り除いた「真の偏心量」に基づいて行われるので、より正確な検出を行うことができる。また、本実施の形態は、真の偏心ベクトルから、偏心方向が特定できるので、噛み込んだ切り粉等の位置も特定することができる。
 なお、偏心量は、測定データA、測定データBの測定を複数回実施し、その平均値から算出してもよい。これにより、信頼性が向上し、より正確に判定を行うことができる。
 セットアップ時の測定データと、加工時の測定データとは、元々フランジ部11Bの外周面をセンサ1で測定したデータに基づいているため、元々、近似した波形である。したがって、セットアップ時と加工時とでカウント数N及び時間Tを一致させて測定データを得れば、それ以上複雑な処理をすることなく、両者の位相を補正することができる。
 また、切り欠き11Cが二つで、これらが180度対称な位置にあった場合、測定データには、「オフ」の領域が対応する周期で出現する。測定データの波形から、この「オフ」の領域が二つの切り欠き11Cのいずれに由来するのかを同定することは難しい。しかし、データ処理装置3は、ツールホルダを所定の角度で静止した後、セットアップ時と加工時とで測定データを得るまでのカウント数Nを一致させるので、この場合でも区別が可能となる。さらに、セットアップ時と加工時とでカウント数Nを同じとすることは、切り欠き11Cが二つの場合でだけでなく、切り欠き11Cが1つの場合、切り欠き11Cが120度間隔で3つある場合、更に、それ以上の切り欠き11Cがある場合にも、位相調整に有用である。
 測定データは、振れが発生するとフーリエ解析した基本波周波数成分(1次成分)が大きく変化する。また、図4及び図6に示すセンサ1による測定データの変化は、センサ方式によってはより緩慢となる。例えば、渦電流センサは、距離dが長くなると図4の測定データにおけるONとOFFの差(振幅)が小さくなり明確でなくなる。しかし、データ処理装置3は、センサ1の信号変化より、切り欠き11Cのカウントをするだけなので、振幅情報の影響は受けないので正確な位相を検出できる。同様に、センサ1を光学式、レーザ式とした場合は、悪環境下で測定データのONとOFFの差(振幅)が小さくなり明確でなくなるが、切り欠き11Cのカウントをする際に波形整形回路などによりパルス整形すれば正確なカウントができる。
 また、本実施の形態では、ツールホルダ11の外周の変位を測定し、その測定データをフーリエ解析して1山成分を抽出し、その振幅値を求めることにより、偏心量を取得するようにしているが、偏心量を取得する方法は、この方法に限定されるものではない。例えば、測定データの最大値と最小値とを求め、その差から偏心量を算出しても良い。
 また、本実施の形態では、センサ1の測定点としてツールホルダ11のフランジ部11Bを使用しているが、センサ1の測定点は、これに限定されるものではなく、測定状況等に応じて適宜変更してもよい。例えば、工具9の刃先(被加工物を切削する個所)を測定点としてもよい。工具9の刃先を測定点とすることは、直接加工を行う部分の偏心量を測定できることになるので、より確実にチャックミスを検出することができる。この場合、最終的には、補間前の測定データを基に工具の位置調整を行ってもよい。
 また、センサ1を渦電流センサとした場合は、主軸26が取り付けられたヘッド27に取り付けることが測定距離を短くする上で望ましいが、センサ1の設置場所は、これに限定されるものではない。特に、本実施の形態によれば、水・油などの飛散する悪環境下に弱い光学式、レーザ式であっても、距離dを長くしてセンサ1をヘッド27以外の所定の位置に固定して取り付けることができる。したがって、センサ1を光学式、レーザ式とした場合は、任意の位置に設置することが可能となる。特に、センサ1は、より安定した高精度な測定を確保するためにクーラントの影響を受けない位置(クーラントが掛からない位置)に設置することが容易となる。
 また、本実施の形態は、MCに適用したとして説明したが、ATC装置を用いる工作機械であれば、いかなる工作機械にも適用することができる。
(変位検出装置、及び、これを備える工作機械)
 図8は、本発明の一実施形態に係る変位検出装置を備える工作機械の機能ブロック図である。工作機械100は、変位検出装置101と、主軸が取り付けられたヘッド27と、センサ1とを有する。ヘッド27には、主軸に取り付けられたツールホルダ11と、ツールホルダ11に取り付けられた工具9とが備えられている。なお、センサ1、ヘッド27、ツールホルダ11、及び、工具9等の構造については、ツールホルダ装着状態検出装置50を備える工作機械と同様であるため、説明を省略する。
 変位検出装置101は、制御部102と、記憶部103と、通信部104と、入出力部105と、位相調整部106と、データ比較部107とを有する。
 制御部102は、ハードウェアとして、プロセッサを含み、後述する記憶部103の記憶デバイスに記憶されたプログラムをプロセッサに実行させ、変位検出装置101の各部の制御を行う。
 制御部102が有するプロセッサは、マイクロプロセッサ、プロセッサコア、マルチプロセッサ、ASIC(application-specific integrated circuit)、FPGA(field programmable gate array)、及び、GPGPU(General-purpose computing on graphics processing units)等である。
 記憶部103は、ハードウェアとして、記憶デバイスを含み、プロセッサの作業エリアの提供、変位検出装置101の各部を制御するためのプログラムの記憶/読み出し、センサ1の測定データの記憶/読み出し、及び、時間T・カウント数Nの記憶/読み出し等を行う。
 記憶部103が有する記憶デバイスは、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、フラッシュメモリ、及び、SSD(Solid State Drive)等である。
 通信部104は、通信インタフェースを含んで構成され、制御部102の制御のもと、変位検出装置101と外部ネットワーク・外部機器との間で各種データの送受信を行う。また、入出力部105は、入出力インタフェースを含んで構成され、変位検出装置101への指示の入力を受け付けたり、変位検出結果を出力したりする。
 入出力部105に接続される入力デバイスは、キーボード、マウス、スキャナ、及び、タッチパネル等でよい。また、入出力部105に接続される表示デバイスは、液晶ディスプレイ、及び、有機EL(Electro Luminescence)ディスプレイ等でよい。また、表示デバイスは、入力デバイスと一体として構成されていてもよい。この場合、表示デバイスがタッチパネルディスプレイであって、GUI(Graphical User Interface)を提供する形態が挙げられる。
 なお、変位検出装置101は、通信部104、及び、入出力部105を有していなくてもよい。
 プロセッサ、記憶デバイス、通信インタフェース、及び、入出力インタフェースを備える変位検出装置101は、典型的にはコンピュータである。変位検出装置101は、工作機械100を制御するコンピュータ(図示せず)とは別に設けられているが、上記に限定されず、本発明の工作機械100を制御する機能を更に有していてもよい。言い換えれば、工作機械100を制御するコンピュータが、変位検出装置101としての機能を有していてもよい。
 次に、位相調整部106は、記憶部103の記憶デバイスに記憶されたプログラムを制御部102のプロセッサが実行して実現される機能である。
 位相調整部106は、ツールホルダ11のフランジ部の外周形状を測定するセンサ1を制御して、測定データ(測定データA、B)の取得の時機を調整する。なお、センサ1の構造・機能は、ツールホルダ装着状態検出装置50が有するセンサと同様であり、説明を省略する。
 位相調整部106は、基準状態(例えば、「セットアップ時」)において、ツールホルダを所定角度で静止させた後に回転させ、フランジ部に形成された切り欠きのカウントを開始し、ツールホルダを少なくとも1周した後、回転が安定した状態で測定データ(測定データA)をセンサに取得させる。位相調整部106は、このときの最後に検出した切り欠きから測定データAを得るまでの時間T(T)と、それまでのカウント数N(N)とを併せて検出させ、記憶部103に記憶させる。
 そして、変位の検出時(例えば「加工時」)において、ツールホルダを所定角度で静止させた後に回転させ、フランジ部に形成された切り欠きのカウントを開始し、ツールホルダを少なくとも1周した後、センサに測定データBを取得させる。この際、最後に検出した切り欠きからセンサによる測定データを得るまでの時間Tと、それまでのカウント数Nとを、時間T、及び、カウント数Nと一致させる。
 言い換えれば、時間T・カウント数Nを、時間T・カウント数Nと一致させて、測定データBをセンサに取得させる。
 位相調整部106は、測定データA、Bの取得に際し、ツールホルダを所定角度(同一角度)で静止させた後に回転させ、フランジ部に形成された切り欠きのカウントを開始し、ツールホルダを少なくとも1周した後、最後に検出した切り欠きからセンサによるそれぞれの測定データを得るまでの時間T(最後に切り欠きを検出した時点から、測定データを得るまでの時間T)と、それまでのカウント数Nとを一致させる。これにより、得られる測定データの位相合わせが不要になる。なお、上記位相合わせの詳細については、すでに説明したツールホルダ装着状態検出装置50における位相合わせと同様のため、説明を省略する。
 ツールホルダ11の変位は、外周形状を測定するセンサ1の測定データの変化(ずれ)を測定することで検出できる。しかし、測定データのずれを測定するためには、これらの測定データの位相を揃える必要がある。
 変位検出装置101は、位相調整部106を有しているため、相互に変化が生じているかもしれず、どこを基準に比較すべきか不明確な測定データであったとしても、波形をもとにした困難な位相合わせを行う必要がなく、位相が揃った測定データを簡単に取得できる。
 データ比較部107は、記憶部103の記憶デバイスに記憶されたプログラムを制御部102のプロセッサが実行して実現される機能である。データ比較部107は、測定データAと測定データBとを比較して変位を検出する。
 データ比較部107により検出される変位としては、一形態として、すでに説明した真の偏心量であることが好ましい。測定データA、Bから真の偏心量を計算することで、ツールホルダ11に固有の偏心量をキャンセルしたうえで、相対的な変位を検出できる。
 測定データA、Bから真の偏心量を計算する方法はすでに説明したとおりであるが、その一例を、再度概略的に説明する。データ比較部107は基準状態(例えば、「セットアップ時」)における測定データAを必要に応じて補間し、FFT解析によって、1山成分の振幅と位相とを算出する。更に、データ比較部107は、例えば1山成分の振幅と位相とから、偏心ベクトル、及び、その大きさである偏心量を算出する。
 次に、データ比較部107は、変位検出時(例えば、「加工時」)における測定データBを必要に応じて補間し、FFT解析によって、1山成分の振幅と位相とを算出する。更に、データ比較部107は、測定データAの処理と同様の方法で、偏心ベクトル、及び、偏心量を算出する。
 データ比較部107は、上記それぞれの偏心ベクトルとの差をベクトル演算により算出し、真の偏心量(相対的な偏心量)を算出する。真の偏心量は、ツールホルダ11の基準状態からの変位を反映しており、例えば、真の偏心量を予め定めた閾値と比較することによって、ツールホルダ11の変位の有無を判定できる。
(変位検出方法)
 次に、変位検出装置101を用いた変位検出方法について説明する。図9、及び、図10は、変位検出方法のフロー図である。
 まず、図9は、変位検出のための準備として、基準状態における測定データAを得るためのフロー図である。
 測定データAの取得方法は、すでに説明した「セットアップ時」における測定データの取得方法と同様である。
 まず、ステップS70として、ツールホルダ11を所定角度で静止させる。静止させる角度はいずれであってもよく、測定データBの取得前の静止角度と同じであればよい。
 基準状態は、変位検出の基準となるべき状態であり、一形態として加工前、すなわち、工作機械のセットアップ時に行われることが好ましいが、加工開始後であってもよい。
 次に、ステップS71として、ツールホルダ11の回転を開始する。ツールホルダ11の回転が開始すると切り欠きの通過に伴いセンサ1の出力がオンからオフに変化するために、切り欠きのカウントが可能になる。ツールホルダ11の回転が開始されると、切り欠きのカウントも開始される(ステップS72)。
 次に、ステップS73として、ツールホルダ11の回転が安定すると、測定データAが取得される。このとき、最後に検出された切り欠きの検出後、測定データの取得までの時間Tも取得される。また、測定データ取得までの切り欠きのカウント数Nも取得される。すなわち、本ステップでは、測定データA、時間T(T)、及び、カウント数N(N)が取得される。
 ここまで、測定データAの取得フローについて説明したが、本発明の実施形態に係る変位検出方法は、上記の測定データAの取得手順を含んでいなくてもよい。すなわち、測定データA、時間T、及び、カウント数Nは、予め取得され記憶されていてもよい。この場合、測定データAを新たに取得せず、予め取得された測定データA、時間T、及び、カウント数Nを変位検出に使用すればよい。なお、測定データA、及び、測定データBの取得に用いられるツールホルダ11は同一である。
 また、ステップS73の後に、測定データをフーリエ解析(FFT解析)し1山成分の振幅と位相を算出してもよい。また、この振幅と位相とから、偏心量、偏心ベクトルを求めてもよい。
 図10は、ツールホルダの変位を検出する変位検出方法のフロー図である。
 まず、ステップS80として、ツールホルダを所定角度で静止させる。この角度は、測定データAの取得の際と同じ角度である。
 変位検出の時機の一形態は、測定データAがセットアップ時に取得されたものである場合、ワークの加工中、又は、加工後である。すでに説明したとおり、マシニングセンタ(MC)等の工作機械では、工具を交換しながらワークの加工が行われる。そうすると、加工時、又は、加工後にはチャック部分に切屑等が挟まったりしてチャック不良が生じ、ツールホルダ11が偏心することがある。本変位検出方法は、上記のようなツールホルダ11の基準状態からの相対的な偏心(変位)を高精度かつ簡単に検出できる。
 次に、ステップS81として、ツールホルダの回転を開始し、それに伴い、切り欠きのカウントも開始する(ステップS82)。
 次に、ステップS83として、測定データBが取得される。
 測定データBは、時間T、及び、カウント数Nを、時間T、及び、カウント数Nと一致させて取得される。すなわち、ツールホルダ11を所定角度で静止した後、回転を開始し、カウント数Nに達するまで回転し、カウント数Nに達したら、そこから時間Tが経過したときに、測定データBが取得される。
 本変位検出方法は、ステップS83を有しているために、取得される測定データA、及び、測定データBの位相が揃った状態となる。基準状態と検出時との間に、チャックミス等によってツールホルダ11の変位が生じ、測定データの波形に変化が生じている場合、これらの波形を比較して位相を揃えるのは困難なことが多いが、本変位検出方法では、波形を直接比較する必要なしに、位相合わせが行える(すでに位相が揃った測定データが取得される)。
 次に、ステップS84として、測定データA、Bから真の偏心量が計算される。真の偏心量の計算方法はすでに説明したとおりである。これにより、ツールホルダ11の変位を検出することができる。検出された変位(真の偏心量)はすでに説明したツールホルダの装着状態の判定等に使用することができる。
 なお、すでに説明したとおり、真の偏心量は種々の計算方法を採用することもでき、例えば、測定データの最大値と最小値とを求め、その差から真の偏心量を算出してもよい。
1…センサ
3…データ処理装置
4…A/Dコンバータ
5…メモリ
6…CPU
7…入出力回路
9…工具
11…ツールホルダ
11A…嵌合部
11B…フランジ部
11C…切り欠き
22…制御装置
26…主軸
26A…被嵌合部
27…ヘッド
50…ツールホルダ装着状態検出装置
100…工作機械
101…変位検出装置
102…制御部
103…記憶部
104…通信部
105…入出力部
106…位相調整部
107…データ比較部
N…カウント
d…距離

Claims (15)

  1.  工具が取り付けられたツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出方法であって、
     前記ツールホルダのフランジ部における外周形状を測定するセンサを設け、
     セットアップ時は、
      前記チャックミスがない状態で前記ツールホルダを前記主軸へ装着し、
      前記ツールホルダを所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、
      前記ツールホルダを少なくとも1周した後、最後に検出した前記切り欠きから前記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶し、
     加工時は、
      前記ツールホルダを前記所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、
      前記セットアップ時に記憶された前記カウント数N及び前記時間Tを一致させて前記センサによる加工時測定データを得て、
      前記セットアップ時測定データと前記加工時測定データとに基づいて前記チャックミスの判定を行うことを特徴とするツールホルダ装着状態検出方法。
  2.  前記セットアップ時測定データをフーリエ解析し、1山成分の振幅と位相を算出した基本偏心ベクトルと、前記加工時測定データを前記フーリエ解析し、1山成分の加工時振幅と加工時位相を算出した測定偏心ベクトルと、に基づいて偏心量を求め、前記チャックミスの判定を行うことを特徴とする請求項1に記載のツールホルダ装着状態検出方法。
  3.  前記切り欠きを補間した前記セットアップ時測定データと前記加工時測定データとを前記フーリエ解析することを特徴とする請求項2に記載のツールホルダ装着状態検出方法。
  4.  前記セットアップ時測定データと前記加工時測定データとは、前記ツールホルダを少なくとも1周させて得ることを特徴とする請求項1から3のいずれか1項に記載のツールホルダ装着状態検出方法。
  5.  前記センサは、前記主軸が取り付けられたヘッドに取り付けられた渦電流センサとしたことを特徴とする請求項1に記載のツールホルダ装着状態検出方法。
  6.  前記センサは、前記主軸が取り付けられたヘッド以外の位置に取り付けられた光学式あるいはレーザ式とされたことを特徴とする請求項1に記載のツールホルダ装着状態検出方法。
  7.  前記偏心量の測定を複数回実施し、平均値を真の測定偏心量とみなすことを特徴とする請求項2に記載のツールホルダ装着状態検出方法。
  8.  ツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出装置において、
     前記ツールホルダのフランジ部における外周形状を測定するセンサと、
     セットアップ時に、前記チャックミスがない状態で前記ツールホルダを前記主軸へ装着し、前記ツールホルダを所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、前記ツールホルダを少なくとも1周した後、最後に検出した前記切り欠きから前記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶する手段と、
     加工時に、前記ツールホルダを前記所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、前記セットアップ時に記憶された前記カウント数N及び前記時間Tを一致させて前記センサによる加工時測定データを得る手段と、
     前記セットアップ時測定データと前記加工時測定データとに基づいて前記チャックミスの判定を行うデータ処理装置と、
    を備えたことを特徴とするツールホルダ装着状態検出装置。
  9.  前記セットアップ時測定データをフーリエ解析し、1山成分の振幅と位相を算出した基本偏心ベクトルを求める手段と、
     前記加工時測定データを前記フーリエ解析し、1山成分の加工時振幅と加工時位相を算出した測定偏心ベクトルを求める手段と、
     前記基本偏心ベクトルと、前記測定偏心ベクトルと、に基づいて偏心量を求め、前記チャックミスの判定を行う手段と、
    を備えたことを特徴とする請求項8に記載のツールホルダ装着状態検出装置。
  10.  ツールホルダが主軸に正常に装着されたかを示すチャックミスの判定を行うツールホルダ装着状態検出装置が組み込まれた工作機械において、
     前記ツールホルダのフランジ部における外周面の形状を測定するセンサと、
     セットアップ時に、前記チャックミスがない状態で前記ツールホルダを前記主軸へ装着し、前記ツールホルダを所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、前記ツールホルダを少なくとも1周した後、最後に検出した前記切り欠きから前記センサによるセットアップ時測定データを得るまでの時間Tとそれまでのカウント数Nを記憶する手段と、
     加工時に、前記ツールホルダを所定角度で静止させた後、前記ツールホルダの回転を開始し、前記センサの信号変化より、前記フランジ部に形成された切り欠きのカウントを開始し、前記セットアップ時に記憶された前記カウント数N及び前記時間Tを一致させて前記センサによる加工時測定データを得る手段と、
     前記セットアップ時測定データと前記加工時測定データとに基づいて前記チャックミスの判定を行うデータ処理装置と、
    を備えたことを特徴とする工作機械。
  11.  主軸に取り付けられ、一体として回転するツールホルダの基準状態からの変位を、
     前記ツールホルダのフランジ部の外周形状を測定するセンサの測定データを前記基準状態における測定データと比較して検出する、変位検出方法であって、
     それぞれの前記測定データは、ツールホルダを所定角度で静止させた後に回転させ、前記フランジ部に形成された切り欠きのカウントを開始し、前記ツールホルダを少なくとも1周した後、最後に検出した前記切り欠きから前記センサによるそれぞれの前記測定データを得るまでの時間Tと、それまでのカウント数Nとを一致させて取得されたものである、変位検出方法。
  12.  前記比較が、それぞれの前記測定データをフーリエ解析し、1山成分の振幅と位相とから算出したそれぞれの偏心ベクトルの比較により実施される、請求項11に記載の変位検出方法。
  13.  主軸に取り付けられ、一体として回転するツールホルダの基準状態からの変位を検出する変位検出装置であって、
     前記ツールホルダのフランジ部の外周形状を測定するセンサの測定データを前記基準状態における測定データと比較して変位を検出する、データ比較部と、
     前記測定データの取得時機を調整する位相調整部と、を有し、
     前記位相調整部は、前記ツールホルダを所定角度で静止させた後に回転させ、前記フランジ部に形成された切り欠きのカウントを開始し、前記ツールホルダを少なくとも1周した後、最後に検出した前記切り欠きから前記センサによるそれぞれの前記測定データを得るまでの時間Tと、それまでのカウント数Nとを一致させてそれぞれの前記測定データを前記センサに取得させる、変位検出装置。
  14.  前記データ比較部は、それぞれの前記測定データをフーリエ解析し、1山成分の振幅と位相とから偏心ベクトルを算出して比較する、請求項13に記載の変位検出装置。
  15.  請求項13又は14に記載の変位検出装置を備える工作機械。
PCT/JP2022/031343 2022-03-28 2022-08-19 ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械 WO2023188451A1 (ja)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2022-051017 2022-03-28
JP2022051017A JP7124242B1 (ja) 2022-03-28 2022-03-28 ツールホルダ装着状態検出方法及び装置、並びに工作機械
JP2022-126105 2022-08-08
JP2022126105A JP2024022773A (ja) 2022-08-08 2022-08-08 変位検出方法、変位検出装置、及び、工作機械

Publications (1)

Publication Number Publication Date
WO2023188451A1 true WO2023188451A1 (ja) 2023-10-05

Family

ID=88200590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/031343 WO2023188451A1 (ja) 2022-03-28 2022-08-19 ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械

Country Status (1)

Country Link
WO (1) WO2023188451A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002200542A (ja) * 2000-10-27 2002-07-16 Tokyo Seimitsu Co Ltd 工作機械
JP2002331442A (ja) * 2001-05-07 2002-11-19 Yamazaki Mazak Corp 工作機械のツールホルダの偏心検出装置
JP2004276145A (ja) * 2003-03-13 2004-10-07 Tokyo Seimitsu Co Ltd 工作機械及び回転軸を有する装置におけるツールホルダの装着状態異常判定方法
JP2010142934A (ja) * 2008-12-22 2010-07-01 Nihon Id System Kk ツーリングホルダ振れ検出システム
WO2021065353A1 (ja) * 2019-09-30 2021-04-08 株式会社牧野フライス製作所 工作機械の制御装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002200542A (ja) * 2000-10-27 2002-07-16 Tokyo Seimitsu Co Ltd 工作機械
JP2002331442A (ja) * 2001-05-07 2002-11-19 Yamazaki Mazak Corp 工作機械のツールホルダの偏心検出装置
JP2004276145A (ja) * 2003-03-13 2004-10-07 Tokyo Seimitsu Co Ltd 工作機械及び回転軸を有する装置におけるツールホルダの装着状態異常判定方法
JP2010142934A (ja) * 2008-12-22 2010-07-01 Nihon Id System Kk ツーリングホルダ振れ検出システム
WO2021065353A1 (ja) * 2019-09-30 2021-04-08 株式会社牧野フライス製作所 工作機械の制御装置

Similar Documents

Publication Publication Date Title
US7175374B2 (en) Machine tool
JP4914436B2 (ja) 回転エンコーダ
JP4081596B2 (ja) 工作機械
US11123834B2 (en) Machine tool unit with axial run-out error monitoring, and testing method for the clamping state
JP2005313239A (ja) 数値制御工作機械
EP2253931A1 (en) Form measuring instrument, form measuring method, and program
US20180245911A1 (en) Method and device for the contactless assessment of the surface quality of a wafer
GB2481476A (en) Centring method for optical elements
JP4032422B2 (ja) 工作機械及び回転軸を有する装置におけるツールホルダの装着状態異常判定方法
WO2023188451A1 (ja) ツールホルダ装着状態検出方法、ツールホルダ装着状態検出装置、変位検出方法、変位検出装置、及び、工作機械
JP2024022773A (ja) 変位検出方法、変位検出装置、及び、工作機械
JP7124242B1 (ja) ツールホルダ装着状態検出方法及び装置、並びに工作機械
JP2003334742A (ja) 工作機械
WO2020031377A1 (ja) 歯車の位相検出方法、歯車の製造方法、ワークのエッジの位置検出方法、および歯車の位相を検出する工作機械
JP2004042208A (ja) 工作機械
JP2002357409A (ja) 回転コード板の偏心測定方法及び位置調整方法
JP2021086370A (ja) 工作機械の反転誤差計測方法
JP3085352B2 (ja) 真円度測定機の測定対象自動認識方法及びその装置
US7026637B2 (en) Method and system for measuring runout of a rotating tool
CN112197699B (zh) 一种机床主轴径向跳动测量方法、***及装置
JP2007198944A (ja) 振れ測定装置および振れ測定方法
CN109719567B (zh) 诊断装置及诊断方法
JP2022146290A (ja) ツールホルダ装着状態検出方法及び装置、並びに工作機械
JP3209908B2 (ja) 定寸装置
JP4822506B2 (ja) 位置出し方法、測定方法、および座標系の設定方法。

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22935582

Country of ref document: EP

Kind code of ref document: A1