Machine Tool Workpiece Inspection System

Abstract
A workpiece inspection system is disclosed for determining measurements of a workpiece on a machine tool. The system utilises a measurement device which outputs data relating to the workpiece (e.g. in place of a conventional cutter). The problem of obtaining real time data relating to the position of the machine tool is overcome by recording a machine tool position data set and a measurement device data set at selected instants which are defined by a synchronisation signal. The data sets are combined later in the correct relative position because the synchronisation signal was used. The synchronisation signal can issue from the machine tool controller, an interface, measurement device or another part of the system.
Description

The invention will now be described with reference to the drawing, wherein the FIGURE shows one embodiment of a measurement system according to the invention.





The FIGURE shows a machine tool 10 having a control device NC 20. The NC is used to control all functions of the machine tool. Shown in the drawing are servo control and position feedback lines 30. These lines are used to control x, y and z movements of the machine. A spindle S (in this instance fixed in position) can accept a measurement probe P. The probe is used to check the dimensions of workpiece W mounted to the machine tool as the workpiece is moved in x, y or z directions. The probe P is of a type which can produce varying data representing the deflection of its stylus in x, y or z and can produce many results per second. The stylus deflection data is transmitted wirelessly to a receiver/transmitter Rx/Tx 40. The NC 20 has position feedback lines which are also capable of receiving varying data relating to the x, y and z positions of the machine many times per second.


A PC 50 is provided which has an interface circuit 60 e.g. a PCI, PCMCIA, Ethernet or USB type. The interface is capable of receiving and buffering data from the Rx/Tx along line 62, relating to probe stylus deflections. In this embodiment line 62 also provides for sending probe instructions. The PC accepts data via line 32, relating to the positional machine tool movements. In the present embodiment the machine tool movements are directed straight to the PC, but they could be routed via interface 60.


The interface can be used to buffer data received from the probe (and from the NC if appropriate). The buffer can store the data to send to the PC later. The interface can also use immediately the data coming from the probe to monitor conditions which require action e.g. over-deflection of the probe stylus. In such an instance of over-deflection the interface could issue a signal immediately to stop or reverse the machine's movements. Machine position data gathered immediately before the stop can be used to facilitate such action.


Where the interface is in control of real time over-deflection etc monitoring, then it is possible that the PC can instruct the interface to alter conditions at which over-deflection etc is deemed to have occurred so that undesirable effects such as false triggering due to vibration or rapid movement of the probe are taken into account.


These two sets of data can be used by the PC to produce an accurate profile of the workpiece W. However, useful computation can be carried out only if the two sets of data can be combined. In order for this to happen the relative time at which sets of data were obtained must be known. In operation the NC collects data relating to the machine tool movement and tabulates that data in order according to a regular synchronisation signal from an internal clock 22.


The internal clock 22 produces the synchronisation signal 24 and the interface accepts this signal. A call for data from the probe is sent to the probe along path 62 in response to the synchronisation signal received at the interface 60. The interface too collects data relating to probe stylus deflection and the PC tabulates that data in order according to the synchronisation signal from the internal clock 22. In practice the PC can combine elements of the NC data with elements of the probe data because both are in the same order and will be in the same or related field of their respective tables.


The PC can thus carry out computation using the data from the same or related fields in each of the tabulated data from the NC and the probe.


Speed of transfer of data to the PC from the NC and interface is not significant to the measurement speed of this system. The speed of transfer of data to the PC from the NC and interface will be dependent on the data transfer rate and the size of the memory buffers in the NC and the interface.


Typically the system will operate in the following manner:


the NC will run a program e.g. a program for cutting a workpiece W;


the NC will run an inspection routine which includes the selection of the measurement probe P and the movement of the workpiece W past the probe along a nominal path defined by the inspection routine; and


during the routine both the position of the machine tool and the deflection of the stylus of the probe are recorded in the manner described above.


The PC can compute such things as workpiece size or form, workpiece surface finish and the assessment of scrap workpieces. Using such data it can also compute revised cutting tool paths and new feed and speed rates. In use of the system the two data sets are combined in the pc and used to determine the physical dimensions of a workpiece e.g. by adding or subtracting probe data to or from machine position data. This combined data can then be used to influence the further manufacturing of the workpiece or subsequently produced workpieces. This is done by altering the NC program or machine settings used to manufacture the workpiece.


If required the interface 60 can manipulate the data from the probe P so that, for example it is retarded or advanced to match the position data 32 from the machine tool. In this way repeatable delays from the NC or measurement device can be accommodated. It is also possible to collect more data from the measurement device or NC than the other. In an example the synchronisation signal is multiplied at interface 60 and many calls for data from the probe are sent to the probe along path 62. The calls for data occur at the multiplied rate. Thus data from the probe will be more numerous than the data from the NC. Measurement device data can be collected at say 10 times the rate of the NC position data so that filtering of the measurement device data can occur in the PC, resulting in better accuracy of measurement.


To avoid breakage of the probe, one or more event signals may be incorporated into the interface circuit. Should conditions occur for example deflection of the stylus greater than a threshold then the event signals are sent to the NC along line(s) 26. Such a signal will stop the machine via a conventional skip signal so that the unexpected problem can be overcome.


The measurement device and the interface may have multiple operating modes and these modes may be selected via signals sent to the interface, from the PC or from the NC e.g. the enable signal 28 starts the data collection from the measurement probe. In practice the synchronisation signal 24 runs continuously but data from the probe and/or NC are recorded only when the enable signal 28 is activated. Then enable signal is activated by commands within the NC program.


Many variants will be apparent to the skilled addressee. The separate NC and PC illustrated these may be integral. The measurement device illustrated is a measurement probe but other measurement devices can be used e.g. cameras or thermometers. The measurement device need not have wireless communication. A hard-wired arrangement is possible. The probe used is capable of generating a stream of deflection data. The probe could also be used in a touch trigger mode i.e. a predetermined stylus deflection causes just one trigger signal. Such a mode of operation may be useful e.g. when initially setting up a workpiece, when the size of the part is not known exactly. A skip signal (like the event signal described) can be used as a touch trigger signal. The x, y, z position data 32 shown might be replaced or supplemented by non Cartesian data and could be fed into the interface rather than into the PC as illustrated.


Alternatively, in touch trigger mode the data collected from the probe and from the NC can be manipulated to give an apparent touch trigger operation e.g. by employing an algorithm which extrapolates data back to a notional zero point, allowing improved repeatability.


The synchronisation signal 24 is illustrated as originating at the NC. However the signal could come from another source, e.g. from the interface, programmable logic control, a scale reading system or a drive system. Thus it is possible that the NC would await the synchronisation signal and produce position data related to the time at which the signal occurs. The interface would do the same or may issue a synchronisation signal when it records measurement device data, e.g. at every tenth recording of data.


Alternatively the probe could have a clock, data issuing from the clock acting as a synchronisation signal to initiate a data recording of the machine's position. If both the probe and either the interface or machine tool controller have a clock then the clocks can be kept in lock by occasional linking signals. Data from a master source can be given the correct real time.


If real time identification of the data set of the probe and the data set of the position data from the machine tool is performed then the real time at which the two data sets is collected need not be the same. It would be possible to interpolate one set of data with respect to the other so that one or both sets of data are manipulated to arrive at an approximation of the data that would be expected if the two data sets were recorded at the same time.


In refinements of the invention it is possible to filter probe data prior to their combination with position data. This might be done when more probe data is collected than is required and the data can be averaged to eliminate vibration errors. More probe data can be produced by multiplying the synchronisation signal at the interface 60 and calling for data more often than the synchronisation signal occurrences.


In an alternative arrangement the synchronisation signal is not used to call for data from the probe, but is used to pick out data from a stream of data arriving at the interface 60.


If a fixed time delay is used and added to one set of data, then corrections for processing delays can be accommodated.


In practice the data stored in the second set may be data which has had machine errors e.g. due to thermal growth, corrected by separate software used in the NC, or other machine part.


The system described above allows collection of data from a probe and machine position data in a way which allows its later combination. Present NC controllers do not allow real time external access to machine position data and this system overcomes this problem.

Claims
  • 1. A workpiece inspection system comprising a machine tool which has a controller operable to perform a workpiece producing process and a workpiece inspection process, the inspection process including a method for synchronising varying data relating to measurements of the workpiece from a measurement device with varying data relating to machine position from the machine tool, comprising in any suitable order the steps of: mounting the measurement device on the machine tool;changing the position of the workpiece relative to the measurement device;causing measurements of the workpiece to be taken by the measurement device;issuing synchronisation signals defining a plurality of instants;recording a first set of the varying data relating to the position of the machine at least at some of the instants; andrecording a second set of the varying data from the measurement device relating to measurements of the workpiece at least at some of the instants.
  • 2. A workpiece inspection system as claimed in claim 1 wherein the synchronisation signal issues from the controller.
  • 3. A workpiece inspection system as claimed in claim 1 wherein the synchronisation signal is used to identify the real time at which at least some of the members of the first and second sets of data from the machine tool and measurement device were recorded in order that the position data and the measurement data can be combined with a related real time.
  • 4. A workpiece inspection system as claimed in claim 1 wherein the measurement device is monitored at intervals which are more frequent than the occurrences of the said intervals and only selected data is recorded to the second set and/or the data is manipulated prior to its recording.
  • 5. A workpiece inspection system as claimed in claim 1 wherein the system further includes software for combining the data of the first and second sets and, when combined, for influencing the workpiece producing process performed at the controller of the machine tool.
  • 6. A workpiece inspection system as claimed in claim 1 wherein the system further includes an interface circuit which accepts the synchronisation signal and the varying data from the measurement device.
  • 7. A workpiece inspection system as claimed in claim 1 wherein the system includes a stop signal path from the measurement device to the machine controller and the machine controller stops the machine if a stop signal is received by the machine controller.
  • 8. A workpiece inspection system as claimed in claim 1 wherein the measurement device is a contact type dimensional measurement probe and the varying data relates to changes in the deflection of a workpiece contact stylus connected to the probe.
  • 9. A workpiece inspection system as claimed in claim 5 wherein the first set of data is corrected to at least reduce positional errors of the machine tool, prior to combination with the second set.
  • 10. A workpiece inspection system as claimed in claim 1 wherein the first and/or second sets of data are manipulated such that the manipulated data represents approximately the data which would have been obtained had the two sets been recorded at the same time.
  • 11. A workpiece inspection system as claimed in claim 1 wherein the controller issues a further signal which enables the recording of the second set.
  • 12. Software for controlling a workpiece inspection system according to the steps claimed in claim 1.
  • 13. A workpiece inspection system comprising a machine tool having a first part, a second part movable relative to the first part, and a controller operable to perform both a workpiece production process and a workpiece inspection process and for producing varying data relating to the relative position of the first and second parts, the system comprising also a workpiece measurement device attached to the second machine part for producing varying data relating to measurements of the workpiece and a synchronisation signal producer, the system being operable such that the following workpiece inspection steps are performed: mounting the measurement device on the second part of the machine tool;changing the position of the workpiece relative to the measurement device;causing measurements of the workpiece to be taken by the measurement device;issuing synchronisation signals defining a plurality of instants;recording a first set of the varying data relating to the relative position of the first and second parts of the machine at least at some of the instants; andrecording a second set of the varying data from the measurement device relating to measurements of the workpiece at least at some of the instants.
Priority Claims (1)
Number Date Country Kind
0400144.2 Jan 2004 GB national
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/GB05/00023 1/6/2005 WO 00 6/16/2006