COORDINATE MEASURING MACHINE HAVING A CAMERA

Information

  • Patent Application
  • 20170003113
  • Publication Number
    20170003113
  • Date Filed
    September 17, 2016
    8 years ago
  • Date Published
    January 05, 2017
    8 years ago
Abstract
The present invention pertains to a method for determining at least one spatial coordinate of a measurement point of an object (15) with a coordinate measuring machine (1), the method comprising capturing at least a first image of the object (15), the object being positioned in a measuring volume of the coordinate measuring machine (1), determining edges in the at least first image, defining, based on the determined edges, a measurement path for a probe head (13) of the coordinate measuring machine (1) for approaching the measurement point with the probe head (13), and driving the probe head (13) along the measurement path. The invention furthermore pertains to a coordinate measuring machine (1) for execution of said method.
Description

The present invention generally pertains to a method and a coordinate measuring machine (CMM) for determining at least one spatial coordinate of a measurement point on an object. Specifically, the invention pertains to a CMM having an imaging unit comprising one or more cameras for taking one or more images of the object, wherein for planning a measuring path of a probe head of the CMM, the imaging unit is adapted to determine edges of the object in the images. Edge detection comprises a set of mathematical methods that aim at identifying points in a digital image at which the image brightness has discontinuities. The methods are known per se and used in image processing and machine vision. Operators that can be used for the edge detection in the method and CMM according to this invention are, for instance, the Sobel operator or the Canny edge detector.


It is common practice to inspect a workpiece after its production to determine the accuracy of the production process, that is, workpiece dimensions, correctness of angles, etc. For instance, such a measurement can be performed using a CMM.


For inspection the workpiece is put on a base of such a coordinate measuring machine and a probe head being movable relative to the base is led to predetermined measurement points of the workpiece to obtain the exact coordinate data of these points. Thus, it is possible to determine the production accuracy of the workpiece.


In a conventional 3-D measurement machine, the probe head is supported for movement along three mutually perpendicular axes (in directions X, Y and Z). Thereby, the probe head can be guided to any arbitrary point within the working volume of the coordinate measuring machine.


In order to determine the coordinates, known measurement means capable to determine the probe head's distance from a known point of origin are employed. For instance, scales or other suitable measuring means are used for this purpose. The obtained coordinate data can then be stored in a memory such as a RAM and used for further processing.


With rather complicated structures of the workpiece, however, there arises a problem that it is cumbersome to guide the probe head to the selected target points. That is, it is required to timely reduce the movement speed of the probe head in order to prevent damage of the probe head or of the workpiece due to a too strong impact, when the probe head gets into abutment against the workpiece. In particular such a problem may arise with a fully automated coordinate measuring machine.


To address this general problem, WO 2013/083730 describes a CMM comprising a camera having a range image sensor with a sensor array. The range camera is adapted to be directed to an object to be measured and is capable to provide the at least first image as a range image of the object to be measured. Range pixels of the range image correspond to a 3D-position of a target point of the object to be measured and are used as the image data for the creation of a point cloud of the object to be measured. Furthermore, the controller of the coordinate measuring machine serves to control the drive mechanism on the basis of the 3D-positions of the target points. Range imaging in general is known as a technology which is used to produce a 2D-image showing the distance to points in a scene from a specific point. The resulting image which is generally called range image has pixel values which correspond to the distance of the respective target point at the object. For instance, brighter values mean shorter distances or vice versa. It is even possible to properly calibrate the sensor producing such a range image which enables that pixel values can be given directly in physical units such as meters. For each of the pixels of the range image (range pixels) one separate sensor capable to measure a distance is assigned. Since the distance of the target point assigned to the respective sensor (pixel) is known, the 3D-position of the target point can be exactly determined.


Generally, CMM have two main working modes: touch trigger mode and scanning mode.


In the touch trigger mode, the CMM takes single measurement points using a touch trigger probe. The stylus—usually supported by the touch trigger probe which is supported by a probe head—is moved at constant low speed toward the workpiece. When the stylus tip contacts the workpiece surface, a trigger signal is generated by the touch trigger probe, which then is used to freeze the scales' positions. This means that operating that way is quite slow, does not collect dense information, but generates quite accurate measurements. It is, in any case, suitable for plenty of applications.


In the scanning mode, the touch trigger probe is replaced by a scanning probe. This kind of probe does not only generate a trigger when its stylus tip contacts the workpiece, but the stylus deflection is accurately measured. It is however first needed to bring the stylus tip into contact with the workpiece, ensuring also a predefined deflection, before starting with the scanning process itself.


In many applications, the nominal values of the workpiece are known, e.g. from a CAD model providing the nominal data, and the real geometry (actual data) of the manufactured workpiece is very close to the nominal values.


So, after a standard alignment phase, the location of the surface to be scanned is well known. In this case, it is easy and fast to bring the stylus tip in contact with the targeted feature. It can however sometimes be much trickier and it is described in the next section.


Sometimes, even though the workpiece location is known, the feature to be measured can be quite far away from its nominal position. This happens for instance with blades and “blisks” (blade disks), where the trailing edge is thin and can be quite distant from its nominal position. In this case, the feature needs to be localised before starting the scanning phase. To do so, the stylus tip usually is moved very slowly toward the workpiece, at a location where there is surely some material, to reach a contact position without risking any collision, which would damage the part or break a component of the sensor chain (probe head, extension, scanning probe and stylus).


Also other procedures can be found in the prior art: WO 2013/050729 for example teaches us to use the stylus body itself, and therefore not the stylus tip, to roughly locate the workpiece feature. In this case, a lot of measurements are needed to extract the feature location, what is quite slow. WO 2013/156767 discloses that the stylus tip can be moved using traverses perpendicular to the edge to be measured and coming closer to it, step by step, until it enters into contact with the searched edge. During the time the stylus tip is then in contact with the surface, scanning information also can be collected and then stitched together with other portions collected during other contact phases. Again this solution is slow and cannot be used for all measurement tasks. In the proposed solution of WO 2013/156767, the stylus tip needs to be first brought into contact with the workpiece, consecutively starting a scanning path. This phase can be quite fast and straightforward, if the CAD of the workpiece is known and if the workpiece tolerances are well respected, but it can become quite tricky, if the workpiece shows important dimensional errors.


It is therefore an object of the present invention to provide an improved method and an improved CMM allowing an efficient and fast way to localise the concerned workpiece feature.


There is need for a coordinate measuring machine capable to achieve fast determination of coordinate data of selected target points, and capable to reduce a risk of damage of a probe head or a workpiece to be measured. It is an object of the current invention to provide such a coordinate measuring machine.


It is another object of the invention to provide such a CMM that enables the user to control a measuring process of a coordinate measuring machine without contact.


It is a further object to provide such a CMM having smaller and less expensive components, i.e. using a simpler, smaller and cheaper camera type than range cameras, e.g. charged coupled device (CCD) cameras.


According to the invention, for accelerating the measurement process, digital images of the object to be measured are taken and edge detection is used for determining the real shape of the object. The main advantages of the proposed invention are:

    • Very fast localisation of unknown edges, both for scanning and touch trigger probing,
    • improved overall throughput for all kind of measurements,
    • precise path prediction with nominal object data being provided or not,
    • collision risk greatly reduced, and
    • full flexibility on the concerned workpiece types.


A first aspect of the present invention relates to a method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, wherein the method comprises

    • capturing at least a first image of the object, the object being positioned in a measuring volume of the coordinate measuring machine,
    • determining edges in the at least first image,
    • determining, based on the edges, a position and an orientation of the object,
    • defining, based on the position and orientation, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, and
    • driving the probe head along the measurement path for determining said at least one spatial coordinate.


According to one embodiment of the method, defining the measurement path for the probe head comprises generating a measurement path from scratch.


According to another embodiment, nominal design data of the object is provided. In one particular embodiment, the nominal design data comprises a computer aided design (CAD) model. In another particular embodiment, nominal design data of a multitude of different object types is provided.


According to another embodiment of the method, the object is identified based on the recognized edges and on the nominal design data as belonging to a known object type.


According to another embodiment of the method, the nominal design data of the object comprises a pre-defined measurement path, and defining the measurement path for the probe head comprises adapting the pre-defined measurement path based on the determined position and orientation.


According to another embodiment of the method, the position and orientation of the object is compared with a given demanded position and orientation for the object, and the measurement path is defined based on a result of the comparison.


According to another embodiment, the method further comprises corner detection, wherein determining position and orientation of the object is also based on detected corners.


A second aspect of the present invention relates to a method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, wherein the method comprises

    • providing nominal design data of the object,
    • capturing at least a first image of the object, the object being positioned in a measuring volume of the coordinate measuring machine,
    • determining edges in the at least first image,
    • determining dimensions of the object based on the recognized edges,
    • determining differences between the determined dimensions of the object and the nominal design data of the object,
    • defining, based on the position and orientation, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, and
    • driving the probe head along the measurement path for determining said at least one spatial coordinate.


According to one embodiment of the method, defining the measurement path for the probe head comprises generating a measurement path from scratch.


According to another embodiment of the method, the nominal design data comprises a computer aided design (CAD) model.


According to another embodiment of the method, nominal design data of a multitude of different object types is provided.


According to another embodiment of the method, the object is identified based on the recognized edges and on the nominal design data as belonging to a known object type.


According to another embodiment of the method, the nominal design data of the object comprises a pre-defined measurement path, and defining the measurement path for the probe head comprises adapting the pre-defined measurement path based on the determined edges or based on the determined dimensions, respectively.


According to another embodiment of the method, the nominal design data provides details about a nominal surface of one or more features of the object, wherein at least one of the one or more features is recognized based on the recognized edges, dimensions of the at least one feature are determined based on the recognized edges, and differences between the determined dimensions of the feature and the provided details about the nominal surface are determined.


According to one embodiment, the measurement path is defined based on the determined differences.


In a particular embodiment, the measurement path is defined in such a way that features with determined differences are measured with higher measurement intensity than other parts of the object.


In another particular embodiment, for features with determined differences the number of spatial coordinates that are determined is increased.


In another particular embodiment, a magnitude and/or an amount of the differences are determined, wherein the number of spatial coordinates that are determined for each feature depends on the determined magnitude and/or amount.


According to another embodiment of the method, an actual position and orientation of the object is determined based on the determined edges.


According to a further embodiment of any of the methods according to the first or second aspects, a second image of the object is captured imaging an area of the object which is not visible in the first image, and the edges are determined in the first image and in the second image. In one embodiment, the first image is captured by a first camera and the second image is captured by a second camera.


In a particular embodiment, the first image and the second image are captured simultaneously. In another embodiment, the first image and the second image are captured successively by a first camera, wherein a position and/or orientation of the first camera is changed between capturing the first image and the second image based on information from the first image. In a particular embodiment, changing the position and/or orientation of the first camera is at least partially based on the determined edges of the first image.


According to further embodiments of any of the methods according to the first or second aspects, determining edges

    • comprises identifying points in the at least first image at which an image brightness has discontinuities;
    • is performed using Sobel operator; or
    • is performed using Canny edge detector.


A third aspect of the present invention relates to a method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, wherein the method comprises

    • capturing at least a first image and a second image of the object, the object being positioned in a measuring volume of the coordinate measuring machine, the first and second images being taken from different positions,
    • generating a digital model of the object based on image data from the first image and the second image,
    • determining edges in the digital model,
    • defining, based on the determined edges, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, and
    • driving the probe head along the measurement path.


Another aspect of the present invention relates to a coordinate measuring machine (CMM) for execution of at least one of said methods.


Such a CMM for determining at least one spatial coordinate of a measurement point of an object comprises

    • a frame structure comprising a base and a plurality of frame elements, wherein a probe head is attached to one of the frame elements,
    • a drive mechanism comprising at least one motor drive and being adapted to drive the probe relative to the base for approaching a measurement point in a measuring volume of the coordinate measuring machine,
    • an imaging unit comprising a first camera that is adapted to be directed to the measuring volume for providing at least a first image of an object that is positioned in the measuring volume, and
    • a controller comprising a processor and a memory, the controller being adapted to control the drive mechanism by actuating the at least one motor drive and to determine the at least one spatial coordinate as a function of a drive position of the drive mechanism,


      wherein the imaging unit is adapted to determine edges in the at least first image, and the controller is adapted to control the drive mechanism based on the recognized edges.


According to one embodiment of the CMM, the imaging unit comprises a data storage device to store nominal design data of objects to be measured by the coordinate measuring machine, wherein the imaging unit is adapted to determine dimensions of the object based on the recognized edges, and to determine differences between the determined dimensions of the object and the nominal design data of the object.


According to another embodiment of the CMM, the first camera is positioned at the frame structure.


According to another embodiment, the CMM is adapted as a portal-type CMM, wherein the frame structure comprises one or two legs, a bridge, a moving carriage, and a ram to which the probe head is attached.


According to one embodiment, the first camera is positioned on one of the one or two legs.


According to another embodiment, the frame structure comprises a first leg and a second leg, the first camera being positioned on the first leg and a second camera being positioned on the second leg.


According to further embodiments of the CMM, the first camera is positioned on one of the following:

    • the bridge;
    • the moving carriage;
    • the ram; or
    • the probe head.


According to another embodiment of the CMM, the imaging unit comprises a second camera that is adapted to providing at least a second image of the object, and is adapted to recognize edges in the first image and in the second image.


According to one embodiment, the second camera is positioned at the frame structure. According to another embodiment, the second camera is positioned at the probe head. According to another embodiment, the second camera is positioned and oriented in such a way that it is directed to the measuring volume for providing at least a second image of the object, the at least second image imaging an area of the object which is not visible for the first camera.


According to another embodiment, the CMM comprises at least one receptacle, wherein the at least one receptacle and the first camera are built so that the first camera is modularly linkable to the at least one receptacle and modularly releasable from the at least one receptacle.


According to one embodiment, the receptacle is provided at the frame structure. According to another embodiment, at least one receptacle is provided at the probe head.


According to another embodiment of the CMM, the imaging unit is adapted to generate a digital model of the object at least partially based on recognized edges.


According to another embodiment of the CMM, the digital model is a CAD-model.





The invention in the following will be described in detail by referring to exemplary embodiments that are accompanied by figures, in which:



FIG. 1 is a schematic view of a first embodiment of a coordinate measuring machine according to the invention;



FIG. 2 is a schematic view of a second embodiment of a coordinate measuring machine according to the invention;



FIG. 3 shows an image of an object to be measured taken by a camera of a coordinate measuring machine according to the invention;



FIG. 4 shows edges of the object that are detectable in the image of FIG. 3.



FIG. 5 shows digital data of the object with features corresponding to the detectable edges;



FIG. 6 shows a third exemplary embodiment of a coordinate measuring machine according to the invention;



FIG. 7 shows a fourth exemplary embodiment of a coordinate measuring machine according to the invention; and



FIGS. 8a-c show flow charts for illustrating three exemplary embodiments of a method according to the invention.






FIG. 1 depicts a first exemplary embodiment of a portal coordinate measuring machine 1 (CMM) according to the invention, the coordinate measuring machine 1 comprising a base 5 and a frame structure for linking a probe head 13 to the base 5, the frame structure comprising several frame components 7, 9-11 being movable with respect to another. The first frame component 7 is a portal having two portal legs, which are connected by a bridging portion 9 at their upper ends. Driven by a drive mechanism (not shown), the frame component 7 is capable to move along the longitudinal sides of the base 5. This direction corresponds to a first direction X. The movement of the frame component 7 is performed by a gear rack attached to the base 5, which is meshing with a pinion on the frame component 7.


A second frame component 10 (carriage) is movably arranged on the bridging portion 9 of the frame. The movement of the second frame component 10 is also achieved by a rack and pinion. A vertical rod 11 (sleeve), building a third frame component, is movably incorporated into the second frame component 10. At the bottom portion of the vertical rod 11 a probe head 13 is provided. The vertical rod 11 is also movable via rack and pinion.


Thus, the probe head 13 is movable to any desired point in a measuring volume (work zone) of the coordinate measuring machine 1 in the directions X, Y and Z. The measuring volume is defined by the base 5 and the frame components 7, 9 and 11. The three space directions X, Y and Z are preferably orthogonal to one another, although this is not necessary for the present invention. It should be noted that a drive mechanism and a controller for driving the racks and pinions, and, thus, for driving the probe head 13 is not shown.


An object 15 to be measured is positioned in the space of the measuring volume on the base 5.


The probe head 13, on which a stylus is arranged exemplarily, is fastened on the lower free end of the rod 11. The stylus is used in a manner known per se for touching the object 15 to be measured. However, the present invention is not restricted to a tactile coordinate measuring machine and may likewise be used for coordinate measuring machines in which a measurement point is approached in a non-contact manner, i.e. for example a coordinate measuring machine with an optical scanning head. More generally, the probe head 13 may be designed for arranging a contact probe, e.g. a scanning or touch trigger probe, or a non-contact probe, particularly an optical, capacitance or inductance probe.


Two of the most common types of bearings between the movable members and the guides are air bearings or mechanical bearings (e.g. linear circulating plus rails). The air bearings give the advantage that there is no friction in the movement (which may introduce different kind of errors like angle errors or hysteresis). The disadvantage of air bearings is that the stiffness is lower than in mechanical bearings, so that particularly dynamic errors may occur. In mechanical types, the stiffness in the bearing system is typically higher but there is friction and the friction forces may introduce errors. However, the invention may be applied for both types of bearings.


Summed up, the coordinate measuring machine 1 is built for determination of three space coordinates of a measurement point on an object 15 to be measured and, therefore, comprises three linear drive mechanisms for provision of movability of the probe head 13 relative to the base 5 in the first, second and third direction (X, Y and Z direction).


Each linear drive mechanism has a linear guide, one in the first, one in the second and one in the third direction (X, Y and Z direction), respectively. In a simple embodiment, the linear guide of the X-direction drive mechanism is formed by two edge-building surfaces of the base 5, the linear guide of the Y-direction drive mechanism is formed by two or three surfaces of the bridge and the linear guide of the Z-direction drive mechanism is formed by a cubical hole in the Y-carriage member 10.


Furthermore, each linear drive mechanism comprises a movable member being supported for movement along the guide by bearings. In particular, the movable member of the X-direction drive mechanism is embodied as X-carriage having mutually facing surfaces with respect to the above mentioned two guiding surfaces of the base 5. The movable member of the Y-direction drive mechanism is embodied as Y-carriage having mutually facing surfaces with respect to the above mentioned two or three guiding surfaces of the bridge. And, the movable member of the Z-direction drive mechanism is formed by Z-column 11 (sleeve) having mutually facing surfaces with respect to the inner surfaces of the cubical hole in the Y-carriage 10.


Moreover, each linear drive mechanism comprises a linear measuring instrument for determination of a first, a second or a third drive position, respectively, of each movable member in the first, the second or the third direction (X, Y and Z direction), respectively.


In this exemplary embodiment of FIG. 1, the portal legs 7 each have a movable X-carriage which allows movement of the first frame component in X-direction.


A measuring scale 10X being part of the X-measuring instrument is schematically represented on the long side of the base 5, wherein the scale 10X extends parallel to the X-direction. The scale may be a glass measuring scale, e.g. having incremental or absolute coding, with which a drive position in the X-direction of the X-carriage can be determined. It is to be understood that the measuring instrument may furthermore contain suitable sensors for reading the measuring scale 10X, although for the sake of simplicity these are not represented here. However, it should be pointed out that the invention is not restricted to the use of glass measuring scales, and therefore may also be used with other measuring instruments for recording the drive/travelling-positions of the movable members of the drive mechanisms.


Another measuring scale 10Y is arranged parallel to the Y-direction on the bridging portion 9 of the frame. Finally, another measuring scale 10Z is also arranged parallel to the Z-direction on the Z-ram 11. By means of the measuring scales 10Y,10Z as part of the linear measuring instruments, it is possible to record the present drive positions of the carriage 10 in Y-direction and of the sleeve 11 in the Z-direction metrologically in a manner which is known per se.


Not shown is a controlling and processing unit, which is designed to actuate the motor drives of the coordinate measuring machine 1 so that the probe head 13 travels to the measurement point. The controlling and processing unit comprises a processor and a memory. In particular, the controlling and processing unit is designed for determining the three space-coordinates of the measurement point on the object 15 as a function of at least the first, the second and the third drive position of the three drive mechanisms.


For manual operation, the control unit may be connected to a user console. It is also possible for the control unit to fully automatically approach and measure measurement points of the object 15 to be measured.


Because the design of coordinate measuring machines of the generic kind as well as the design of different linear guides and different linear measuring instruments are well known to skilled persons, it must be understood that numerous modifications and combinations of different features can be made. All of these modifications lie within the scope of the invention.


According to the invention, the CMM 1 comprises a camera 50, in particular being built as a CCD camera, for capturing images of the measuring volume.


The camera 50 is arranged on the bridging portion 9 of the frame 7 and, therefore, being positionable by moving the frame component 7 along the X-axis. According to the present embodiment, the camera comprises a camera base and a camera objective, the objective being swivelable relatively to the camera base and, thus, providing additional alignment axis. However, the present invention is not restricted to the use of cameras being enabled for aligning their capturing directions and may likewise be used with other camera types for capturing images according to their arrangement at the CMM.


For defining an optimized measuring path for measuring the object 15 with the measuring sensor at the probe head 13, actual dimensions of the object 15 need to be determined. Therefore, the measuring volume is at least partly captured and analysed before measuring the object 15 precisely. The capturing is done by means of the camera 50 which takes at least one image of the object 15. According to the invention, the analysis comprises edge detection in the at least one image.


Optionally, the analysis further comprises determining if the object 15 to be measured is placed on the base 5, if the detected object 15 is of the type of demanded objects, or if the object 15 is located and positioned correctly.


The camera 50 is aligned so that at least a first image of at least a first part of the measuring volume is capturable by the camera 50 and the at least first image is captured then. Surface data is derived from the at least first image by image processing, wherein the surface data represents a surface profile according to a content of the at least first part of the measuring volume. On basis of the gathered surface data controlling information is generated. Such controlling information is then provided for a subsequent execution of the precise measurement of the object.


As the camera 50 is moveable along the X-axis and is alignable according to its pivotability, additional images of the measuring volume, e.g. of additional parts of the measuring volume, may be captured and considered for deriving the surface data of the object.


Above described functionality may also provide an improved user-friendliness for coordinate measuring machines as with starting the functionality an automated scan of the measuring volume may be performed and the presence, type, position, and/or orientation of the object 15 on the base 5 may be determined. A measuring program for measuring the object 15 may be chosen or generated and the object 15 is measured automatically.



FIG. 2 shows a further exemplary embodiment of a coordinate measuring machine 1 (CMM) according to the invention, the CMM 1 comprising a base 5 and the frame components 7, 8, 11 for providing movability of the probe head 13 in three directions (X-, Y- and Z-direction) relative to the base 5. Furthermore, the frame components 7, 8, 11 are moveable relative to each other by drive mechanisms (not shown) linking the three frame components 7, 8, 11 and the base 5.


An object 15 to be measured is placed on the base 5. For measuring this object 15 the probe head 13 is approached to the surface of the object 15. Coordinates are determined according to a predefined measuring path on which a tactile measuring sensor at the probe head 13 is guided and the surface profile of the object is determined depending on that measurement.


According to the invention, in advance of determining the surface of the object 15, an edge determination functionality is executed using the two cameras 50, 50′ arranged at the frame structure of the CMM 1. The cameras 50, 50′ may be built as simple overview cameras, e.g. webcams. They are moveable by moving the respective frame components 7, 8 the cameras 50, 50′ are arranged at.


In context of the edge determination functionality at least one image is captured with each camera 50, 50′ and, thus, at least a partly overview of the working zone and the object 15 is provided. In case the images do only show a part of the measuring zone the object is not laying inside, the cameras 50, 50′ are relocated and further images are captured so that the object 15 and its edges are detectable by image processing of the captured images using suitable edge detection methods. A check whether the object is captured by the images is performed by image processing of the images, as well.


The CMM 1 further comprises a memory unit on which object data is stored. After detecting the object 15 from the captured images and detecting edges of the object 15 in the images, this data is compared with the object data stored in the memory unit. The type of object present on the base 5 may be identified on basis of comparing the data, and if there are any significant dimensional differences between the object data and the object 15, these are discovered.


A measuring path accounting to the identified object type is chosen from the object data, and if significant differences have been discovered, the measuring path can be adapted accordingly. Controlling information is generated depending on the chosen and adapted measuring path, providing controlling data for measuring the surface of the object 15 by the measuring sensor at the probe head 13. The generated controlling data is then used for guiding the probe head 13 (and measuring sensor) relative to the surface of the object 15 so that the measuring points on the object 15 are detectable with a defined point-to-point resolution. Furthermore, the controlling information is generated in dependency of the measuring sensor to be used for measuring the object 15.


According to a particular embodiment, in a first phase—to simplify the image processing—reference images can be taken with the cameras e.g. while simultaneously automatically producing a measuring program for the object. Based on these images easily recognising of the part, using the correct part program and checking the alignment is provided.



FIG. 3 shows an image 20 taken by the camera of the CMM from a certain viewpoint. In the image, an object 25 is positioned in the measuring volume of the CMM. A number of faces of the object 25 are shown in the image 20, as well as three borings. The faces and borings all have a different brightness level.


In FIG. 4, an edge model 30 of the same object is shown. This has been created by means of an edge detection functionality of the imaging unit which has determined a number of edges 30-38, 39a,b of the object in the image of FIG. 3. Edge detection comprises a set of mathematical methods that aim at identifying points in a digital image at which the image brightness has discontinuities. The methods are known per se and used in image processing and machine vision. Operators that can be used for the edge detection in the method and CMM according to this invention are, for instance, the Sobel operator or the Canny edge detector.


The determined edges comprise the edges 30-38 between the faces of the object and the edges of the borings 39a, 39b.



FIG. 5 shows a digital model 40 of the object. By comparing edges of the edge model 30 of FIG. 4 with the digital model 40, e.g. with the model edges 41-48, 49a-c, it is possible to determine whether the imaged object is of the same type as the digital model 40. It is further possible to determine a position and orientation of the object and any significant deviations of the object from the digital model.


In FIG. 6 and FIG. 7 two further exemplary embodiments of a CMM 1 are shown. As according to the invention at least one camera of the CMM 1 is used to precisely localise features of the object 15 to be measured, the positioning of the camera or cameras is important. Possible positions of the camera(s) comprise the following:

    • on the probe head 13,
    • on the bridging portion 9 (one or two locations),
    • on the Z-ram 11,
    • on one or both legs of the frame 7,
    • on the moving carriage 10, or
    • on a combination of the previously mentioned options.


Alternatively, connectors for the camera(s) could be placed at the different locations to allow the user to choose the right location(s) for the camera(s) according to his application.


In FIG. 6 the camera 50 is provided at the moving carriage 10. It is thus movable relative to the base 5 in the two directions X and Y.


In FIG. 7 two cameras 50, 50′ are provided at the two legs of the frame 7. Both are movable in the direction X. In this example, a first camera 50 is directed in the direction Y, and a second camera 50′ is directed in the direction X. This allows taking images of the object 15 from different viewpoints.


For instance, an additional camera can be provided in order to take an image of the object's side facing away from the first camera. In this case, since two images are available, one of the two images can be chosen as basis for controlling the driving means. In this case, the probe head's position and movement direction will be deciding which image is used.


Alternatively, it can be possible to provide a rotatable base for taking an image of the side not facing towards the camera. By comparing the 3D-positions of object points visible in both images, the 3D-positions of the not any longer visible object points can be calculated with sufficient accuracy. Thus, an exact positioning of the object to be measured is not unambiguously necessary in this case. Here, it is possible to move the probe head also from the side not facing towards the camera without a risk of a sudden impact between the probe head and the object to be measured.


The invention is not restricted to a CMM as shown in FIG. 1, 2, 6 or 7. It may equally be used for coordinate measuring machines in gantry design, in which only the bridge with two supports, functioning as very short feet, can travel along two highly placed fixed rails. Moreover, the invention may generally be used for all types of coordinate measuring machines, i.e. for a CMM being designed as parallel kinematics machine as well as for a CMM having linear or serial kinematics. Exemplarily, the CMM may be designed in bridge-type, L-bridge-type, horizontal-arm-type, cantilever-type or gantry-type.


In FIGS. 8a-c three flow charts are shown for illustrating three different embodiments of a method according to the invention.


The user starts a measuring process with performing a first manual command, for instance by pressing a start bottom at the CMM. The successive measuring process may be performed fully- or semi-automated, i.e. the user inputs further commands into the CMM or does not. The manual command is detected by input means and starts the determination of the object, wherein a driving command is generated, which is transmitted to the drive mechanism of the CMM. The drive mechanism then drives the frame components of the CMM according to the driving command so that a capturing position for a camera is reached.


The method 100A illustrated in FIG. 8a comprises the following steps:

    • taking at least one image of an object to be measured by a CMM (step 110) by means of the camera,
    • detecting edges of the object in the at least one image (step 120),
    • determining a measurement path for a probe head of the CMM based on the detected edges (step 160), and
    • measuring coordinates of the object with the probe head by moving the probe head along the determined measurement path (step 170).



FIG. 8b shows a second embodiment of the method 100B. In this embodiment, the type of the object to be measured by the CMM is known and digital nominal data of the object is provided 130. The provided data also comprises a standard measurement path for the object type. As in the first embodiment, at least one image of an object to be measured by a CMM is taken (step 110), and edges of the object are detected in the at least one image (step 120).


Image data comprising the detected edges is then compared with the provided nominal data (step 140) in order to detect relevant deviations of the actual object from the model described by the provided data. If such deviations are detected, in step 165, the provided measurement path is adapted (or abandoned and replaced by a new one), to ensure that all features of the object will be measured and to prevent damage to the probe or the object. In the last step 170, coordinates of the object are then measured with the probe head by moving the probe head along the adapted measurement path.



FIG. 8c shows a flow chart which illustrates a further embodiment of the method 100C comprising an identification of an object for measuring said object subsequently with use of a coordinate measuring machine.


In the first shown step 110 a first image of the measuring volume with an object therein are captured. Based on the image data, in step 120, edges of the object are determined by image processing and edge data is generated.


In this embodiment the type of the object is not known so far, but a set of digital object data is provided (step 135), which also encloses digital data of the object type.


In step 150, based on the edge data, the object type is identified in the set of digital object data, e.g. by comparing dimensions of certain object features.


If the object cannot be identified unambiguously from the edge data of first image, the camera is realigned and a second image is captured from a second position and direction. Alternatively or additionally, the resolution of the camera or cameras is changed. The edge data is then updated considering the additional captured image or images. Particularly, such additional image capturing and updating of processing information is performed either until the object is identified and/or until the whole measuring volume is captured and analysed.


If the object is identified, a measurement path is generated. In this embodiment, the digital object data comprises information about an optimized pre-defined measurement path. Based on the determined edges, differences between the actual data and the nominal data of the digital object data of the identified object type are determined. The pre-defined measurement path is adapted according to the determined differences (step 165).


Subsequently, in step 170, controlling information based on the measurement path is generated and the spatial coordinates of the object are measured by the probe of the CMM which is moved according to the controlling information.


Depending on the object type and of the feature or features of the object to be measured, in step 110 of each of the three methods 100A, 100B and 100C different image collection scenario can be used:


Image data from a single image, taken with a broad field of view and from the right orientation can already provide the necessary information. If it does not, the step of taking at least one image can be repeated with a different position of the camera(s) until it does.


Several images from different directions can also be taken right from the start, and the image data can be used to build a rough 3D model of the object by means of photogrammetry. The needed information for detecting the edges can then be extracted from this model.


A first image can be taken from a position far away from the object first, and edges are detected in the image data of this first image. Then the camera is moved closer to the object, and oriented based on the edges recognized in the first image. This can be repeated, until edges of the desired features are detectable in at least one image.


Each approach can be used either in conjunction with provided nominal data (e.g. CAD information) of the object or without it, wherein using provided nominal data usually accelerates the process.


Said methods can be applied to prepare the scanning of a certain feature or using touch trigger probing.


Especially when using touch trigger, the distance at which the probe head of the CMM moves at very low speed, before entering in contact with the workpiece, can be reduced, as the feature location is located precisely. This, advantageously, can improve the overall throughput.


Coming back to scanning, it also can be noted that the technology can be used for predicting the path; this means the CMM can run the scanning faster, since it will know when an edge will be reached or when a change in the scanning direction is needed. This can be used both for scanning of unknown objects (closed loop scanning) and for scanning of objects known from CAD models, that have alignment or part errors (open loop with observer).


The methods 100A, 100B, 100C according to FIGS. 8a-c are not restricted to CMM of portal type as e.g. shown in FIG. 1 but may be executed in general with CMM of all known types. The methods 100A, 100B, 100C according to FIGS. 8a-c may generally be used with machines of any mechanical structure that is enabled to gather data in a measuring volume, i.e. machines enabling movement of machine parts in at least two degrees of freedom. Such CMM may be in designed as articulated arm, parallel kinematics or a CMM or robot having linear or serial kinematics. Exemplarily, the CMM may be designed in bridge-type, L-bridge-type, horizontal-arm-type, cantilever-type, gantry-type or as Delta Robot.


According to a specific embodiment of the invention, the images of the measuring volume may be captured by continuously gathering the images, in particular by recording a video stream.


As a result of the image capturing the object may be identified or output information may be generated providing information of non-identification of the object. If the object is not identified, e.g. a resolution of the camera or the camera itself may be switched or exchanged in order to repeat the object-recognition process with higher resolution or different capturing specifications (e.g. capturing with other wavelengths sensitivity) and trying to identify the object then. Otherwise, if the object is determined, alternative output information may be generated providing e.g. orientation and/or location of the object, the type of the object, coarse structure of the object and/or information about possible obstacles in space of the measuring volume to be considered for subsequent measurement of the object. Furthermore, the measuring path may be derived on basis of this information and the object may be scanned according to the derived path.


If the object is discovered and if a measuring path is derived by the gathered surface data or from a memory unit providing measuring paths for known (discovered) object types, coordinate measurement of the object is initiated based on the controlling information and spatial coordinated are determined. In order to perform such measurement a measuring sensor may be chosen (and mounted at the probe head) according to the controlling information and the measuring path may be adapted depending on the chosen sensor. Choosing the sensor may be performed automatically by the system, e.g. by maintaining demanded measuring resolution, or manually by the user. The user may be enabled either to chose a sensor type or a resolution to be reached and choosing a suitable sensor based on the demanded resolution.


While the invention has been described on the basis of presently preferred embodiments, modifications and adaptations can be performed within the scope of the claims.


For instance, while in the described embodiments a camera is provided at a fixed position, additionally or alternatively a camera can be provided near the probe head in a manner to be movable together with the probe head. Furthermore, such a camera can be rotatable in order to be directed to the probe head's moving direction at any time. Thereby it is possible to take an image of the object from a very close distance.


While in the embodiments the drive was described as a rack and pinion combination, other drive means such as a pneumatic or a hydraulic drive or a worm gear transmission may be suitably employed as drive means.


While in the embodiments a fixed (mechanical) probe head is shown, alternatively the probe head can be of a mechanical, optical, laser, or white light type amongst others. Furthermore, the probe head can be a powered rotary device with the probe tip able to swivel vertically through 90 degrees and through a full 360 degree rotation.

Claims
  • 1. A method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, the method comprising capturing at least a first image of the object, the object being positioned in a measuring volume of the coordinate measuring machine,determining edges in the at least first image,determining position and orientation of the object based on the edges,defining, based on the position and orientation, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, anddriving the probe head along the measurement path.
  • 2. The method according to claim 1, wherein defining the measurement path for the probe head comprises generating a measurement path from scratch.
  • 3. The method according to claim 1, wherein nominal design data of the object is provided.
  • 4. The method according to claim 3, wherein the nominal design data comprises a computer aided design model.
  • 5. The method according to claim 3, wherein nominal design data of a multitude of different object types is provided.
  • 6. The method according to claim 3, wherein the object is identified based on the recognized edges and on the nominal design data as belonging to a known object type.
  • 7. The method according to claim 3, wherein the nominal design data of the object comprises a pre-defined measurement path, anddefining the measurement path for the probe head comprises adapting the pre-defined measurement path based on the determined position and orientation.
  • 8. The method according to claim 1, wherein a second image of the object is captured imaging an area of the object which is not visible in the first image, andedges are determined in the first image and in the second image.
  • 9. The method according to claim 8, wherein the first image is captured by a first camera and the second image is captured by a second camera.
  • 10. The method according to claim 9, wherein the first image and the second image are captured simultaneously.
  • 11. The method according to claim 8, wherein the first image and the second image are captured successively by a first camera, wherein a position and/or orientation of the first camera is changed between capturing the first image and the second image based on information from the first image.
  • 12. The method according to claim 11, wherein the position and/or orientation of the first camera is changed at least partially based on the determined edges of the first image.
  • 13. The method according to claim 1, wherein the position and orientation of the object is compared with a given demanded position and orientation for the object, andthe measurement path is defined based on a result of the comparison.
  • 14. The method according to claim 1, wherein determining edges comprises identifying points in the at least first image at which an image brightness has discontinuities.
  • 15. The method according to claim 1, wherein determining edges is performed using Sobel operator.
  • 16. The method according to claim 1, wherein determining edges is performed using Canny edge detector.
  • 17. The method according to claim 1, further comprising corner detection, wherein determining position and orientation of the object is also based on detected corners.
  • 18. A method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, the method comprising providing nominal design data of the object,capturing at least a first image of the object, the object being positioned in a measuring volume of the coordinate measuring machine,determining edges in the at least first image,determining dimensions of the object based on the recognized edges,determining differences between the determined dimensions of the object and the nominal design data of the object,defining, based on the position and orientation, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, anddriving the probe head along the measurement path.
  • 19. The method according to claim 18, wherein defining the measurement path for the probe head comprises generating a measurement path from scratch.
  • 20. The method according to claim 18, wherein the nominal design data comprises a computer aided design model.
  • 21. The method according to claim 18, wherein nominal design data of a multitude of different object types is provided.
  • 22. The method according to claim 18, wherein the object is identified based on the recognized edges and on the nominal design data as belonging to a known object type.
  • 23. The method according to claim 18, wherein the nominal design data of the object comprises a pre-defined measurement path, anddefining the measurement path for the probe head comprises adapting the pre-defined measurement path based on the determined edges.
  • 24. The method according to claim 18, wherein the nominal design data provides details about a nominal surface of one or more features of the object,at least one of the one or more features is recognized based on the recognized edges,dimensions of the at least one feature are determined based on the recognized edges, anddifferences between the determined dimensions of the feature and the provided details about the nominal surface are determined.
  • 25. The method according to claim 24, wherein the measurement path is defined based on the determined differences.
  • 26. The method according to claim 25, wherein the measurement path is defined in such a way that features with determined differences are measured with higher measurement intensity than other parts of the object.
  • 27. The method according to claim 25, wherein a number of spatial coordinates that are determined is increased for features with determined differences.
  • 28. The method according to claim 25, wherein a magnitude and/or amount of the differences is determined, and the number of spatial coordinates that are determined for each feature depends on the magnitude and/or amount.
  • 29. The method according to claim 18, wherein a second image of the object is captured imaging an area of the object which is not visible in the first image, andedges are determined in the first image and in the second image.
  • 30. The method according to claim 29, wherein the first image is captured by a first camera and the second image is captured by a second camera.
  • 31. The method according to claim 30, wherein the first image and the second image are captured simultaneously.
  • 32. The method according to claim 29, wherein the first image and the second image are captured successively by a first camera, wherein a position and/or orientation of the first camera is changed between capturing the first image and the second image based on information from the first image.
  • 33. The method according to claim 32, wherein the position and/or orientation of the first camera is changed at least partially based on the determined edges of the first image.
  • 34. The method according to claim 18, wherein an actual position and orientation of the object is determined based on the determined edges.
  • 35. The method according to claim 18, wherein determining edges comprises identifying points in the at least first image at which an image brightness has discontinuities.
  • 36. The method according to claim 18, wherein determining edges is performed using Sobel operator.
  • 37. The method according to claim 18, wherein determining edges is performed using Canny edge detector.
  • 38. The method according to claim 18, further comprising corner detection, wherein determining dimensions of the object is also based on detected corners.
  • 39. A method for determining at least one spatial coordinate of a measurement point of an object with a coordinate measuring machine, the method comprising capturing at least a first image and a second image of the object, the object being positioned in a measuring volume of the coordinate measuring machine, the first and second images being taken from different positions,generating a digital model of the object based on image data from the first image and the second image,determining edges in the digital model,defining, based on the determined edges, a measurement path for a probe head of the coordinate measuring machine for approaching the measurement point with the probe head, anddriving the probe head along the measurement path.
  • 40. A coordinate measuring machine for determining at least one spatial coordinate of a measurement point of an object, the coordinate measuring machine comprising a frame structure comprising a base and a plurality of frame elements, wherein a probe head is attached to one of the frame elements,a drive mechanism comprising at least one motor drive and being adapted to drive the probe relative to the base for approaching a measurement point in a measuring volume of the coordinate measuring machine,an imaging unit comprising a first camera that is adapted to be directed to the measuring volume for providing at least a first image of an object that is positioned in the measuring volume, anda controller comprising a processor and a memory, the controller being adapted to control the drive mechanism by actuating the at least one motor drive and to determine the at least one spatial coordinate as a function of a drive position of the drive mechanism,
  • 41. The coordinate measuring machine according to claim 40, wherein the imaging unit comprises a data storage device to store nominal design data of objects to be measured by the coordinate measuring machine,is adapted to determine dimensions of the object based on the recognized edges, andis adapted to determine differences between the determined dimensions of the object and the nominal design data of the object.
  • 42. The coordinate measuring machine according to claim 40, wherein the first camera is positioned at the frame structure.
  • 43. The coordinate measuring machine according to claim 40, being adapted as a portal-type CMM, wherein the frame structure comprises one or two legs,a bridge,a moving carriage, anda ram to which the probe head is attached.
  • 44. The coordinate measuring machine according to claim 43, wherein the first camera is positioned on one of the one or two legs.
  • 45. The coordinate measuring machine according to claim 43, wherein the frame structure comprises a first leg and a second leg, the first camera being positioned on the first leg and a second camera being positioned on the second leg.
  • 46. The coordinate measuring machine according to claim 43, wherein the first camera is positioned on the bridge.
  • 47. The coordinate measuring machine according to claim 43, wherein the first camera is positioned on the moving carriage.
  • 48. The coordinate measuring machine according to claim 43, wherein the first camera is positioned on the ram.
  • 49. The coordinate measuring machine according to claim 43, wherein the first camera is positioned at the probe head.
  • 50. The coordinate measuring machine according to claim 40, wherein the imaging unit comprises a second camera that is adapted to providing at least a second image of the object, andis adapted to recognize edges in the first image and in the second image.
  • 51. The coordinate measuring machine according to claim 50, wherein the second camera is positioned at the frame structure.
  • 52. The coordinate measuring machine according to claim 50, wherein the second camera is positioned at the probe head.
  • 53. The coordinate measuring machine according to claim 50, wherein the second camera is positioned and oriented in such a way that it is directed to the measuring volume for providing at least a second image of the object, the at least second image imaging an area of the object which is not visible for the first camera.
  • 54. The coordinate measuring machine according to claim 40, comprising at least one receptacle, wherein the at least one receptacle and the first camera are built so that the first camera is modularly linkable to the at least one receptacle and modularly releasable from the at least one receptacle.
  • 55. The coordinate measuring machine according to claim 54, wherein at least one receptacle is provided at the frame structure.
  • 56. The coordinate measuring machine according to claim 54, wherein at least one receptacle is provided at the probe head.
  • 57. The coordinate measuring machine according to claim 40, wherein the imaging unit is adapted to generate a digital model of the object at least partially based on recognized edges.
  • 58. The coordinate measuring machine according to claim 57, wherein the digital model is a CAD-model.
Priority Claims (2)
Number Date Country Kind
11192215.9 Dec 2011 EP regional
15185829.7 Sep 2015 EP regional
Continuation in Parts (1)
Number Date Country
Parent 14363098 Jun 2014 US
Child 15268569 US