This invention relates to devices for analysing a tool, particularly a cutting tool for use with a machine tool. It may be used, for example, for determination of the position of the cutting tool, as in tool setting, or to determine its condition, e.g. whether it is broken or worn.
International Patent Application No. WO 2004/056528 describes such a tool setting device, using a so-called “break beam” system. A light beam passes between a light transmitter and receiver. A toothed cutting tool is rotated as it enters this beam. A complex signal from the receiver is digitised in an analogue-to-digital converter, to produce a numerical representation of the receiver signal. This is then processed digitally in a digital signal processor (DSP), or in a field-programmable gate array, an application specific integrated circuit or a general-purpose microprocessor e.g. a programmable integrated circuit (PIC) or a personal computer system, in order to detect the tool from characteristic features of the signal.
When a tool is recognised, the processor produces a trigger signal which is taken to a so-called “skip” input of the computer numerical control (CNC) of the machine tool. This causes the controller to read the instantaneous values of the position encoders of the machine tool, from which is generated an offset value for use when positioning the cutting tool for cutting operations.
Such a system gives repeatable measurement results without requiring a slow feed rate for the movement of the tool into the beam, so as to provide quick operation. It also enables the rejection of extraneous signals which are not the result of the tool breaking the beam, in particular when drips of the machine tool's coolant pass through the beam.
The present invention provides a tool setting or tool analysis device comprising:
We have appreciated a risk that in certain rare circumstances the main analysis circuit of the previously known devices may fail to recognise the complex signal caused by the rotating tool, and thus fail to generate a trigger signal. By providing a secondary trigger signal generating circuit, this risk is ameliorated. The secondary circuit may give lower repeatability and thus lower meteorological accuracy, compared to the main analysis circuit. However, it may provide a fail-safe signal to the machine control, to stop the movement of the tool and prevent accidental damage.
Preferably the secondary circuit generates the trigger signal if the signal from the receiver remains in a given state for longer than a predetermined time period. Preferably the output of the secondary circuit is connected in parallel with the output of the main circuit.
A further problem has been found in practical use of the prior art devices mentioned above, as follows. The skip input of some types of CNC machine tool control have a time period during which the control fails to react to a valid trigger signal. This is referred to as a blind window. During this blind window the control fails to stop the movement of the cutting tool, which can cause a crash.
In a preferred embodiment, a device according to the present invention includes an oscillator or oscillation generator, connected to provide an oscillating trigger signal. Preferably this is associated with the secondary circuit, to cause repeated trigger outputs after the end of the delay period. Should a tool break the beam within the blind window of a controller having the above problem, such repeated trigger signals will continue until after the end of the blind window and will ensure that the controller reacts.
Preferred embodiments of the invention will now be described by way of example, with reference to the accompanying drawings, wherein:
The signal from the receiver 34 is amplified by an amplifier 31. In a main analysis circuit, it is then sampled by an analogue-to-digital (A-D) converter 33. The sample rate is approximately 45 kHz though other sample rates may be used.
Samples are called for by a digital signal processor (DSP) 35. This analyses the complex signal and generates a trigger output signal when it matches that of a rotating cutting tool. The trigger signal is taken to a “skip” input 61 of the CNC controller 62 of the machine tool on a line 60. On receipt of the trigger signal, the controller 62 interrogates position encoders of the machine tool, to determine the coordinate location of the spindle holding the cutting tool 50. From this, tool detection can take place and tool setting offsets may be generated.
As described so far, the device is as shown in our International Patent Application WO 2004/056528 and corresponding U.S. Pat. No. 7,315,018, to which reference should be made for further details, including the algorithm performed in the DSP 35. This ensures that the generation of the trigger signal is highly repeatable, even when the cutting tool 50 is moved into the beam 20 at a fast feed rate, so that the tool setting operation can be performed accurately and quickly. International Patent Application WO 2004/056528 and U.S. Pat. No. 7,315,018 are incorporated herein by reference.
The device further includes a secondary, redundant or backup tool detection circuit, in parallel with the A-D converter 33 and the DSP 35, and this will now be described. The purpose of this is to ensure that a trigger signal is always generated and always detected by the controller 62, even if the tool 50 is not detected by the DSP algorithm in rare circumstances, or if the machine controller fails to respond to the trigger signal from the DSP 35.
The secondary redundant or backup tool detection circuit comprises a signal comparator 64 which receives the tool signal output from the amplifier 31. The comparator 64 acts as a threshold detector, producing an output signal when the signal input passes a certain threshold. In the present example, tool signals from the amplifier are negative-going pulses, corresponding to reductions in the light throughput when the teeth of the rotating cutting tool 50 enter the light beam 20. The comparator 64 therefore generates an output when the signal from the amplifier 31 falls below a 2.0V threshold.
The output of the comparator 64 is taken to a delay timer 66, which counts clock pulses for a delay period of (for example) 150 ms when the threshold is passed. The timer 66 outputs a backup trigger signal on an output line 68 at the end of this delay period. Should the tool signal pass above the comparator threshold before the end of this delay period, then the timer is reset.
Of course, if the amplifier output signal comprises positive-going pulses, then the comparator 64 would be arranged to generate its output when the tool signal exceeds the threshold, instead of when it falls below the threshold.
The output 68 of the delay timer 66 is gated with the output 60 from the DSP 35, in a circuit 70. The circuit 70 comprises driver logic and solid state relays for driving the skip input 61 of the controller 62.
The delay period of the timer 66 is chosen such that it exceeds the length of time taken for the DSP 35 to recognise a tool. The 2.0V threshold of the comparator 64 is also chosen such it is only passed after the corresponding signal threshold in the DSP 35. (I.e. the comparator threshold is lower than the DSP threshold, in the case of negative-going signals, or higher in the case of positive-going signals. In the present example, the DSP threshold may be 2.5V, as shown in
As a result, in normal operation, the DSP 35 generates its trigger output on line 60 before the secondary circuit trigger output on line 68, and this is taken to the skip input 61 of the machine controller 62. Thus, the machine controller 62 reacts to the repeatable trigger signal from the DSP 35, for accurate tool setting.
However, if the DSP 35 fails to recognise the tool, then the combination of the comparator 64 and the delay timer 66 is simple and reliable, and provides its backup trigger signal to the controller after the 150 ms delay, in a fail-safe manner. This ensures that the controller stops the movement of the tool 50 through the light beam 20, and prevents it crashing into other structure of the machine tool.
Optionally, the circuit 70 may generate a second output to the machine controller, via another solid state relay, on a line 72. This output is produced by gating together not only the outputs of the DSP 35 and the timer 66, but also an oscillator 74. As a result, after a trigger signal is generated on the line 72 from the DSP 35 or the timer 66, repeated signal edges appear on this line, caused by the oscillator. These repeated signal edges act as further trigger signals. If the machine controller 62 is in a blind window and fails to react to the first trigger signal from the DSP 35 or the timer 66, then it will react to one of these repeated further trigger signals after the end of the blind window. This provides fail-safe operation to ensure that the movement of the tool is stopped before a crash occurs.
It will be appreciated that the controller 62 may not need to be connected to both lines 61, 72. However, if the line 72 is used (because the controller suffers from a blind window), then the line 61 advantageously provides a non-oscillating input which the controller can interrogate to determine the current status of the device (triggered or not triggered).
When the PIC recognises a tool, it provides a trigger signal on a line 89 to logic circuits and solid state relays 82, and thus to the machine controller 62, as previously. This trigger signal is very repeatable, and thus provides good meteorological accuracy.
In parallel with the PIC 80, a 150 ms delay circuit 86 also receives the output of the comparator 64. This provides a fail-safe trigger signal, as with the delay counter of
The trigger signals on the lines 89 and 90 merely change level (from high to low or from low to high) when the tool is detected. In addition, however, a pulse generator 92 and an oscillation generator 94 are provided, receiving their inputs from the output of the OR-gate 88. The pulse generator 92 generates a combined trigger signal in the form of a pulse. The oscillation generator 94 generates a combined trigger signal in the form of a repeating square wave oscillation. Both these are taken to the logic circuits 82, from where they can be selected for passing on to the machine controller on the line 72.
The logic circuits 82 select which of the trigger signals are taken to the machine via the outputs 61 or 72, under the control of a mode selection circuit 84. The mode selection circuit may be set by a set-up switch, and/or by a so-called ‘M-code’ signal from the program running in the machine controller 62.
If the device is to be used in a tool-setting mode, then any of the combined trigger signals (changing-level, pulse or oscillating) may be selected by the mode selection circuit 84 and passed to the machine controller 62. Or the uncombined PIC output on line 89 may be passed to the controller. If the oscillating trigger signal is selected, then as previously its repeated signal edges act as further trigger signals, providing fail-safe operation if the controller 62 suffers from a blind window.
If the device is to be used in a non-tool-setting mode, e.g. for detecting a broken or worn tool, then the PIC output 89 is selected by the mode selection circuit 84 and passed to the machine controller 62.
The oscillation generator 94 is preferably synchronised with the combined trigger signal on the line 90 (unlike the free-running oscillator 74 in
It will be appreciated that other analysis circuits may be used instead of the DSP 35 or the PIC 80. Examples include a field-programmable gate array, an application specific integrated circuit, a general-purpose microprocessor or a personal computer system.
Number | Date | Country | Kind |
---|---|---|---|
0708499.9 | May 2007 | GB | national |
This is a Continuation of application Ser. No. 12/450,899 filed Oct. 16, 2009, which is a National Phase Application of PCT/GB2008/001541. The disclosure of the prior application is hereby incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
3636936 | Schuette et al. | Jan 1972 | A |
4347438 | Spielman | Aug 1982 | A |
4434363 | Yorifuji et al. | Feb 1984 | A |
4692750 | Murakami et al. | Sep 1987 | A |
5005978 | Skunes et al. | Apr 1991 | A |
5218196 | Dogul et al. | Jun 1993 | A |
5293048 | Skunes et al. | Mar 1994 | A |
5750896 | Morgan et al. | May 1998 | A |
5828320 | Buck | Oct 1998 | A |
5940787 | Gelston | Aug 1999 | A |
6805357 | Dahlheimer | Oct 2004 | B2 |
7071452 | Warner et al. | Jul 2006 | B2 |
7315018 | Ashton et al. | Jan 2008 | B2 |
8530823 | Egglestone et al. | Sep 2013 | B2 |
20020180278 | Veil et al. | Dec 2002 | A1 |
20050167619 | Stimpson et al. | Aug 2005 | A1 |
Number | Date | Country |
---|---|---|
1729080 | Feb 2006 | CN |
2912907 | Jun 2007 | CN |
201026577 | Feb 2008 | CN |
101 55 583 | May 2003 | DE |
1 010 045 | Jan 2002 | EP |
WO 0138822 | May 2001 | WO |
WO 2004056528 | Jul 2004 | WO |
Entry |
---|
Non-Contact Tool Breakage Detector for NC Machines Installation Manual, 2011, Marposs S.p.A. |
“Repetition Code,” Wikipedia, obtained on Jan. 6, 2014. |
“Redundancy (engineering),” Wikipedia, obtained on Jan. 6, 2014. |
Writ of Summons, Court of Milan, dated Dec. 23, 2013 (w/ translation). |
Taiwanese Office Action issued in Taiwanese Patent Application No. 097116391 dated Jan. 9, 2014 (w/ translation). |
Jan. 4, 2015 Office Action issued in Chinese Patent Application No. 201310138496.4. |
Number | Date | Country | |
---|---|---|---|
20130320200 A1 | Dec 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12450899 | US | |
Child | 13960347 | US |