The subject matter disclosed herein relates to a three-dimensional coordinate scanner and in particular to a triangulation-type scanner having multiple modalities of data acquisition.
The acquisition of three-dimensional coordinates of an object or an environment is known. Various techniques may be used, such as time-of-flight or triangulation methods for example. A time-of-flight systems such as a laser tracker, total station, or time-of-flight scanner may direct a beam of light such as a laser beam toward a retroreflector target or a spot on the surface of the object. An absolute distance meter is used to determine the distance to the target or spot based on length of time it takes the light to travel to the target or spot and return. By moving the laser beam or the target over the surface of the object, the coordinates of the object may be ascertained. Time-of-flight systems have advantages in having relatively high accuracy, but in some cases may be slower than some other systems since time-of-flight systems must usually measure each point on the surface individually.
In contrast, a scanner that uses triangulation to measure three-dimensional coordinates projects onto a surface either a pattern of light in a line (e.g. a laser line from a laser line probe) or a pattern of light covering an area (e.g. structured light) onto the surface. A camera is coupled to the projector in a fixed relationship, by attaching a camera and the projector to a common frame for example. The light emitted from the projector is reflected off of the surface and detected by the camera. Since the camera and projector are arranged in a fixed relationship, the distance to the object may be determined using trigonometric principles. Compared to coordinate measurement devices that use tactile probes, triangulation systems provide advantages in quickly acquiring coordinate data over a large area. As used herein, the resulting collection of three-dimensional coordinate values provided by the triangulation system is referred to as a point cloud data or simply a point cloud.
A number of issues may interfere with the acquisition of high accuracy point cloud data when using a laser scanner. These include, but are not limited to: variations in the level of light received over the camera image plane as a result in variations in the reflectance of the object surface or variations in the angle of incidence of the surface relative to the projected light; low resolution near edge, such as edges of holes; and multipath interference for example. In some cases, the operator may be unaware of or unable to eliminate a problem. In these cases, missing or faulty point cloud data is the result.
Accordingly, while existing scanners are suitable for their intended purpose the need for improvement remains, particularly in providing a scanner that can adapt to undesirable conditions and provide improved data point acquisition.
According to one aspect of the invention, a method of determining three-dimensional coordinates of points on a surface of an object is provided, the method including: providing an assembly that includes a first projector and a first camera, the first projector and the first camera being fixed in relation to one another, there being a baseline distance between the first projector and the first camera, the first projector having a light source, the first camera having a lens and a photosensitive array; providing a processor electrically coupled to the first projector and the first camera; providing a mathematical representation of a shape of a feature on the surface; providing a value for an acceptable goodness of fit; sending a first transmitted light from the first projector onto the object; acquiring by the first camera a first reflected light and sending a first signal to the processor in response, the first reflected light being a portion of the first transmitted light reflected from the surface; determining by the processor a first measured set of three-dimensional (3D) coordinates of first points on the surface, the first measured set based at least in part on the first transmitted light, the first signal and the baseline distance; determining by the processor a first measured subset of points, the first measured subset of points being a subset of the first points on the surface, the first measured subset of points being measured points corresponding to the feature; fitting by the processor 3D coordinates of the first measured subset of points to the provided mathematical representation of the shape of the feature, the fitting including comparing the 3D coordinates of the first measured subset of points to 3D coordinates of a first derived subset of points to obtain a collection of residual errors, the first derived subset of points being a collection of points lying on the shape of the feature, each of the residual errors from the collection of residual errors being a measure of a separation of corresponding 3D coordinates from the first measured subset and the first derived subset, the fitting further consisting of mathematically adjusting position and orientation of the shape to minimize the collection of residual errors according to a minimization rule; determining by the processor a measured goodness of fit, the measured goodness of fit being a mathematically derived quantity obtained from the collection of residual errors; determining by the processor whether the 3D coordinates of the first measured subset of points are acceptable based at least in part on a comparison of the measured goodness of fit to the acceptable goodness of fit; determining by the processor whether the first measured set of 3D coordinates is acceptable based at least in part on whether the 3D coordinates of the first measured subset of points are acceptable; if the first measured set of 3D coordinates is acceptable, storing the first measured set of 3D coordinates; if the first measured set of 3D coordinates is not acceptable, taking steps (a)-(e): (a) selecting by the processor at least one action to be taken and taking the action, the at least one action selected from the group consisting of: changing a pose of the assembly, changing an illumination level of the light source, changing a pattern of the transmitted light, and measuring the feature by illuminating a mechanical probe and imaging spots of light on the probe with the first camera; (b) sending a second transmitted light from a first projector onto the object or illuminating spots of light on the mechanical probe held in contact with the object; (c) acquiring by the first camera a second reflected light and sending a second signal to the processor in response, the second reflected light being a portion of the second transmitted light reflected from the surface or the mechanical probe; (d) determining by the processor a second measured set of 3D coordinates of second points on the surface, the second measured set of 3D coordinates based at least in part on the second transmitted light, the second signal and the baseline distance; and (e) storing the second measured set of 3D coordinates.
According to another aspect of the invention, a method is provided of determining three-dimensional coordinates of points on a surface of an object, the method comprising: providing an assembly that includes a first projector, a first camera, and a second camera, the first projector, the first camera, and the second camera being fixed in relation to one another, there being a first baseline distance between the first projector and the first camera, there being a second baseline distance between the first projector and the second camera, the first projector having a light source, the first camera having a first lens and a first photosensitive array, the second camera having a second lens and a second photosensitive array; providing a processor electrically coupled to the first projector, the first camera, and the second camera; providing a mathematical representation of a shape of a feature on the surface; providing a value for an acceptable goodness of fit; sending a first transmitted light from the first projector onto the object; acquiring by the first camera a first reflected light and sending a first signal to the processor in response, the first reflected light being a portion of the first transmitted light reflected from the surface; determining by the processor a first measured set of three-dimensional (3D) coordinates of first points on the surface, the first measured set based at least in part on the first transmitted light, the first signal and the first baseline distance; determining by the processor a first measured subset of points, the first measured subset of points being a subset of the first points on the surface, the first measured subset of points being measured points corresponding to the feature; fitting by the processor 3D coordinates of the first measured subset of points to the provided mathematical representation of the shape of the feature, the fitting including comparing the 3D coordinates of the first measured subset of points to 3D coordinates of a first derived subset of points to obtain a collection of residual errors, the first derived subset of points being a collection of points lying on the shape of the feature, each of the residual errors from the collection of residual errors being a measure of a separation of corresponding 3D coordinates from the first measured subset and the first derived subset, the fitting further consisting of mathematically adjusting position and orientation of the shape to minimize the collection of residual errors according to a minimization rule; determining by the processor a measured goodness of fit, the measured goodness of fit being a mathematically derived quantity obtained from the collection of residual errors; determining by the processor whether the 3D coordinates of the first measured subset of points are acceptable based at least in part on a comparison of the measured goodness of fit to the acceptable goodness of fit; determining by the processor whether the first measured set of 3D coordinates is acceptable based at least in part on whether the 3D coordinates of the first measured subset of points are acceptable; if the first measured set of 3D coordinates is acceptable, storing the first measured set of 3D coordinates; if the first measured set of 3D coordinates is not acceptable, taking steps (a)-(e): (a) selecting by the processor at least one action to be taken and taking the action, the at least one action selected from the group consisting of: changing an illuminated field-of-view of the assembly, changing a pose of the assembly, changing an illumination level of the light source, changing a pattern of the transmitted light, and measuring the feature by illuminating a mechanical probe and imaging spots of light on the probe with the first camera; (b) sending a second transmitted light from the first projector onto the object or illuminating spots of light on the mechanical probe held in contact with the object; (c) acquiring by an imager a second reflected light and sending a second signal to the processor in response, the second reflected light being a portion of the second transmitted light reflected from the surface or the mechanical probe, the imager being the first camera if the at least one action does not include changing an illuminated field-of-view of the assembly, the imager being the second camera if the at least one action includes changing an illuminated field-of-view of the assembly; (d) determining by the processor a second measured set of 3D coordinates of second points on the surface, the second measured set of 3D coordinates based at least in part on the second transmitted light and the second signal; and (e) storing the second measured set of 3D coordinates.
According to another aspect of the invention, a method is provided for determining three-dimensional coordinates of points on a surface of an object, the method including: providing an assembly that includes a first projector, a first camera, a second projector, and a second camera, the first projector, the first camera, the second projector, and the second camera being fixed in relation to one another, there being a first baseline distance between the first projector and the first camera, there being a second baseline distance between the second projector and the second camera, the first projector having a first light source, the first camera having a first lens and a first photosensitive array, the second projector having a second light source, the second camera having a second lens and a second photosensitive array; providing a processor electrically coupled to the first projector, the first camera, the second projector, and the second camera; providing a mathematical representation of a shape of a feature on the surface; providing a value for an acceptable goodness of fit; sending a first transmitted light from the first projector onto the object; acquiring by the first camera a first reflected light and sending a first signal to the processor in response, the first reflected light being a portion of the first transmitted light reflected from the surface; determining by the processor a first measured set of three-dimensional (3D) coordinates of first points on the surface, the first measured set based at least in part on the first transmitted light, the first signal and the first baseline distance; determining by the processor a first measured subset of points, the first measured subset of points being a subset of the first points on the surface, the first measured subset of points being measured points corresponding to the feature; fitting by the processor 3D coordinates of the first measured subset of points to the provided mathematical representation of the shape of the feature, the fitting including comparing the 3D coordinates of the first measured subset of points to 3D coordinates of a first derived subset of points to obtain a collection of residual errors, the first derived subset of points being a collection of points lying on the shape of the feature, the residual errors being a measure of the separation of corresponding 3D coordinates of the first measured subset and the first derived subset, the fitting further consisting of mathematically adjusting a pose of the shape to minimize the residual errors according to a minimization rule; determining by the processor a measured goodness of fit, the measured goodness of fit being a mathematically derived quantity obtained from the collection of residual errors; determining by the processor whether the first set is acceptable based on a comparison of the measured goodness of fit to the acceptable goodness of fit; if the first set for the measured feature is acceptable, storing the first set of 3D coordinates; if the first set for the measured feature is not acceptable, taking steps (a)-(e): (a) selecting by the processor at least one action to be taken and taking the action, the at least one action selected from the group consisting of: changing an illuminated field-of-view of the assembly, changing a pose of the assembly, changing an illumination level of the light source, changing a pattern of the transmitted light, and measuring the feature by illuminating a mechanical probe and imaging spots of light on the probe with the first camera; (b) sending a second transmitted light from a light transmitter onto the object or illuminating spots of light on the mechanical probe held in contact with the object, the light transmitter being the first projector if the at least one action does not include changing an illuminated field-of-view of the assembly, the light transmitter being the second projector if the at least one action includes changing an illuminated field-of-view of the assembly; (c) acquiring by an imager a second reflected light and sending a second signal to the processor in response, the second reflected light being a portion of the second transmitted light reflected from the surface or the mechanical probe, the imager being the first camera if the at least one action does not include changing an illuminated field-of-view of the assembly, the imager being the second camera if the at least one action includes changing an illuminated field-of-view of the assembly; (d) determining by the processor a second measured set of 3D coordinates of second points on the surface, the second measured set of 3D coordinates based at least in part on the second transmitted light and the second signal; and (e) storing the second measured set of 3D coordinates.
These and other advantages and features will become more apparent from the following description taken in conjunction with the drawings.
The subject matter, which is regarded as the invention, is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
Embodiments of the present invention provide advantages increasing the reliability and accuracy of three-dimensional coordinates of a data point cloud acquired by a scanner. Embodiments of the invention provide advantages in detecting anomalies in acquired data and automatically adjusting the operation of the scanner to acquire the desired results. Embodiments of the invention provide advantages in detecting anomalies in the acquired data and providing indication to the operator of areas where additional data acquisition is needed. Still further embodiments of the invention provide advantages in detecting anomalies in the acquired data and providing indication to the operator where additional data acquisition may be acquired with a remote probe.
Scanner devices acquire three-dimensional coordinate data of objects. In one embodiment, a scanner 20 shown in
In this embodiment, the projector 28 is configurable to emit a structured light over an area 37. As used herein, the term “structured light” refers to a two-dimensional pattern of light projected onto an area of an object that conveys information which may be used to determine coordinates of points on the object. In one embodiment, a structured light pattern will contain at least three non-collinear pattern elements disposed within the area. Each of the three non-collinear pattern elements conveys information which may be used to determine the point coordinates. In another embodiment, a projector is provided that is configurable to project both an area pattern as well as a line pattern. In one embodiment, the projector is a digital micromirror device (DMD), which is configured to switch back and forth between the two. In one embodiment, the DMD projector may also sweep a line or to sweep a point in a raster pattern.
In general, there are two types of structured light patterns, a coded light pattern and an uncoded light pattern. As used herein a coded light pattern is one in which the three dimensional coordinates of an illuminated surface of the object are found by acquiring a single image. With a coded light pattern, it is possible to obtain and register point cloud data while the projecting device is moving relative to the object. One type of coded light pattern contains a set of elements (e.g. geometric shapes) arranged in lines where at least three of the elements are non-collinear. Such pattern elements are recognizable because of their arrangement.
In contrast, an uncoded structured light pattern as used herein is a pattern that does not allow measurement through a single pattern. A series of uncoded light patterns may be projected and imaged sequentially. For this case, it is usually necessary to hold the projector fixed relative to the object.
It should be appreciated that the scanner 20 may use either coded or uncoded structured light patterns. The structured light pattern may include the patterns disclosed in the journal article “DLP-Based Structured Light 3D Imaging Technologies and Applications” by Jason Geng published in the Proceedings of SPIE, Vol. 7932, which is incorporated herein by reference. In addition, in some embodiments described herein below, the projector 28 transmits a pattern formed a swept line of light or a swept point of light. Swept lines and points of light provide advantages over areas of light in identifying some types of anomalies such as multipath interference. Sweeping the line automatically while the scanner is held stationary also has advantages in providing a more uniform sampling of surface points.
The first camera 24 includes a photosensitive sensor 44 which generates a digital image/representation of the area 48 within the sensor's field of view. The sensor may be charged-coupled device (CCD) type sensor or a complementary metal-oxide-semiconductor (CMOS) type sensor for example having an array of pixels. The first camera 24 may further include other components, such as but not limited to lens 46 and other optical devices for example. The lens 46 has an associated first focal length. The sensor 44 and lens 46 cooperate to define a first field of view “X”. In the exemplary embodiment, the first field of view “X” is 16 degrees (0.28 inch per inch).
Similarly, the second camera 26 includes a photosensitive sensor 38 which generates a digital image/representation of the area 40 within the sensor's field of view. The sensor may be charged-coupled device (CCD) type sensor or a complementary metal-oxide-semiconductor (CMOS) type sensor for example having an array of pixels. The second camera 26 may further include other components, such as but not limited to lens 42 and other optical devices for example. The lens 42 has an associated second focal length, the second focal length being different than the first focal length. The sensor 38 and lens 42 cooperate to define a second field of view “Y”. In the exemplary embodiment, the second field of view “Y” is 50 degrees (0.85 inch per inch). The second field of view Y is larger than the first field of view X. Similarly, the area 40 is larger than the area 48. It should be appreciated that a larger field of view allows acquired a given region of the object surface 32 to be measured faster; however, if the photosensitive arrays 44 and 38 have the same number of pixels, a smaller field of view will provide higher resolution.
In the exemplary embodiment, the projector 28 and the first camera 24 are arranged in a fixed relationship at an angle such that the sensor 44 may receive light reflected from the surface of the object 34. Similarly, the projector 28 and the second camera 26 are arranged in a fixed relationship at an angle such that the sensor 38 may receive light reflected from the surface 32 of object 34. Since the projector 28, first camera 24 and second camera 26 have fixed geometric relationships, the distance and the coordinates of points on the surface may be determined by their trigonometric relationships. Although the fields-of-view (FOVs) of the cameras 24 and 26 are shown not to overlap in
The projector 28 and cameras 24, 26 are electrically coupled to a controller 50 disposed within the housing 22. The controller 50 may include one or more microprocessors, digital signal processors, memory and signal conditioning circuits. The scanner 20 may further include actuators (not shown) which may be manually activated by the operator to initiate operation and data capture by the scanner 20. In one embodiment, the image processing to determine the X, Y, Z coordinate data of the point cloud representing the surface 32 of object 34 is performed by the controller 50. The coordinate data may be stored locally such as in a volatile or nonvolatile memory 54 for example. The memory may be removable, such as a flash drive or a memory card for example. In other embodiments, the scanner 20 has a communications circuit 52 that allows the scanner 20 to transmit the coordinate data to a remote processing system 56. The communications medium 58 between the scanner 20 and the remote processing system 56 may be wired (e.g. Ethernet) or wireless (e.g. Bluetooth, IEEE 802.11). In one embodiment, the coordinate data is determined by the remote processing system 56 based on acquired images transmitted by the scanner 20 over the communications medium 58.
A relative motion is possible between the object surface 32 and the scanner 20, as indicated by the bidirectional arrow 47. There are several ways in which such relative motion may be provided. In an embodiment, the scanner is a handheld scanner and the object 34 is fixed. Relative motion is provided by moving the scanner over the object surface. In another embodiment, the scanner is attached to a robotic end effector. Relative motion is provided by the robot as it moves the scanner over the object surface. In another embodiment, either the scanner 20 or the object 34 is attached to a moving mechanical mechanism, for example, a gantry coordinate measurement machine or an articulated arm CMM. Relative motion is provided by the moving mechanical mechanism as it moves the scanner 20 over the object surface. In some embodiments, motion is provided by the action of an operator and in other embodiments, motion is provided by a mechanism that is under computer control.
Referring now to
During the scanning process, the controller 50 or remote processing system 56 may detect an undesirable condition or problem in the point cloud data, as shown in block 1266. Methods for detecting such a problem are discussed hereinbelow with regard to
Another possible reason for an error in or absence of point cloud data is a lack of resolution in regions having fine features, sharp edges, or rapid changes in depth. Such lack of resolution may be the result of a hole, for example.
Another possible reason for an error in or an absence of point cloud data is multipath interference. Ordinarily a ray of light from the projector 28 strikes a point on the surface 32 and is scattered over a range of angles. The scattered light is imaged by the lens 42 of camera 26 onto a small spot on the photosensitive array 38. Similarly, the scattered light may be imaged by the lens 46 of camera 24 onto a small spot on the photosensitive array 44. Multipath interference occurs when the light reaching the point on the surface 32 does not come only from the ray of light from the projector 28 but in addition, from secondary light is reflected off another portion of the surface 32. Such secondary light may compromise the pattern of light received by the photosensitive array 38, 44, thereby preventing accurate determination of three-dimensional coordinates of the point. Methods for identifying the presence of multipath interference are described in the present application with regard to
If the controller determines that the point cloud is all right in block 1266, the procedure is finished. Otherwise, a determination is made in block 1268 of whether the scanner is used in a manual or automated mode. If the mode is manual, the operator is directed in block 1270 to move the scanner into the desired position.
There are many ways that the movement desired by the operator may be indicated. In an embodiment, indicator lights on the scanner body indicate the desired direction of movement. In another embodiment, a light is projected onto the surface indicating the direction over which the operator is to move. In addition, a color of the projected light may indicate whether the scanner is too close or too far from the object. In another embodiment, an indication is made on display of the region to which the operator is to project the light. Such a display may be a graphical representation of point cloud data, a CAD model, or a combination of the two. The display may be presented on a computer monitor or on a display built into the scanning device.
In any of these embodiments, a method of determining the approximate position of the scanner is desired. In one case, the scanner may be attached to an articulated arm CMM that uses angular encoders in its joints to determine the position and orientation of the scanner attached to its end. In another case, the scanner includes inertial sensors placed within the device. Inertial sensors may include gyroscopes, accelerometers, and magnetometers, for example. Another method of determining the approximate position of the scanner is to illuminate photogrammetric dots placed on or around the object as marker points. In this way, the wide FOV camera in the scanner can determine the approximate position of the scanner in relation to the object.
In another embodiment, a CAD model on a computer screen indicates the regions where additional measurements are desired, and the operator moves the scanner according by matching the features on the object to the features on the scanner. By updating the CAD model on the screen as a scan is taken, the operator may be given rapid feedback whether the desired regions of the part have been measured.
After the operator has moved the scanner into position, a measurement is made in block 1272 with the small FOV camera 24. By viewing a relatively smaller region in block 1272, the resolution of the resulting three-dimensional coordinates is improved and better capability is provided to characterize features such as holes and edges.
Because the narrow FOV camera views a relatively smaller region than the wide FOV camera, the projector 28 may illuminate a relatively smaller region. This has advantages in eliminating multipath interference since there is relatively fewer illuminated points on the object that can reflect light back onto the object. Having a smaller illuminated region may also make it easier to control exposure to obtain the optimum amount of light for a given reflectance and angle of incidence of the object under test. In the block 1274, if all points have been collected, the procedure ends at block 1276; otherwise it continues.
In an embodiment where the mode from block 1268 is automated, then in block 1278 the automated mechanism moves the scanner into the desired position. In some embodiments, the automated mechanism will have sensors to provide information about the relative position of the scanner and object under test. For an embodiment in which the automated mechanism is a robot, angular transducers within the robot joints provide information about the position and orientation of the robot end effector used to hold the scanner. For an embodiment in which the object is moved by another type of automated mechanism, linear encoders or a variety of other sensors may provide information on the relative position of the object and the scanner.
After the automated mechanism has moved the scanner or object into position, then in block 1280 three-dimensional measurements are made with the small FOV camera. Such measurements are repeated by means of block 1282 until all measurements are completed and the procedure finishes at block 1284.
In one embodiment, the projector 28 changes the structured light pattern when the scanner switches from acquiring data with the second camera 26 to the first camera 24. In another embodiment, the same structured light pattern is used with both cameras 24, 26. In still another embodiment, the projector 28 emits a pattern formed by a swept line or point when the data is acquired by the first camera 24. After acquiring data with the first camera 24, the process continues scanning using the second camera 26. This process continues until the operator has either scanned the desired area of the part.
It should be appreciated that while the process of
It should also be appreciated that it is common practice in existing scanning systems to provide a way of changing the camera lens or projector lens as a way of changing the FOV of the camera or of projector in the scanning system. However, such changes are time consuming and typically require an additional compensation step in which an artifact such as a dot plate is placed in front of the camera or projector to determine the aberration correction parameters for the camera or projector system. Hence a scanning system that provides two cameras having different FOVs, such as the cameras 24, 26 of
Another embodiment is shown in
The first camera 82 includes a photosensitive array sensor 88 which generates a digital image/representation of the area 90 within the sensor's field of view. The sensor may be charged-coupled device (CCD) type sensor or a complementary metal-oxide-semiconductor (CMOS) type sensor for example having an array of pixels. The first camera 82 may further include other components, such as but not limited to lens 92 and other optical devices for example. The first projector 80 and first camera 82 are arranged at an angle in a fixed relationship such that the first camera 82 may detect light 85 from the first projector 80 reflected off of the surface 32 of object 34. It should be appreciated that since the first camera 92 and first projector 80 are arranged in a fixed relationship, the trigonometric principals discussed above may be used to determine coordinates of points on the surface 32 within the area 90. Although for clarity
The second coordinate acquisition system 78 includes a second projector 94 and a second camera 96. The projector 94 has a light source that may comprise a laser, a light emitting diode (LED), a superluminescent diode (SLED), a Xenon bulb, or some other suitable type of light source. In an embodiment, a lens 98 is used to focus the light received from the laser light source into a line of light 100 and may comprise one or more cylindrical lenses, or lenses of a variety of other shapes. The lens is also referred to herein as a “lens system” because it may include one or more individual lenses or a collection of lenses. The line of light is substantially straight, i.e., the maximum deviation from a line will be less than about 1% of its length. One type of lens that may be utilized by an embodiment is a rod lens. Rod lenses are typically in the shape of a full cylinder made of glass or plastic polished on the circumference and ground on both ends. Such lenses convert collimated light passing through the diameter of the rod into a line. Another type of lens that may be used is a cylindrical lens. A cylindrical lens is a lens that has the shape of a partial cylinder. For example, one surface of a cylindrical lens may be flat, while the opposing surface is cylindrical in form.
In another embodiment, the projector 94 generates a two-dimensional pattern of light that covers an area of the surface 32. The resulting coordinate acquisition system 78 is then referred to as a structured light scanner.
The second camera 96 includes a sensor 102 such as a charge-coupled device (CCD) type sensor or a complementary metal-oxide-semiconductor (CMOS) type sensor for example. The second camera 96 may further include other components, such as but not limited to lens 104 and other optical devices for example. The second projector 94 and second camera 96 are arranged at an angle such that the second camera 96 may detect light 106 from the second projector 94 reflected off of the object 34. It should be appreciated that since the second projector 94 and the second camera 96 are arranged in a fixed relationship, the trigonometric principles discussed above may be used to determine coordinates of points on the surface 32 on the line formed by light 100. It should also be appreciated that the camera 96 and the projector 94 may be located on opposite sides of the housing 22 to increase 3D measurement accuracy.
In another embodiment, the second coordinate acquisition system is configured to project a variety of patterns, which may include not only a fixed line of light but also a swept line of light, a swept point of light, a coded pattern of light (covering an area), or a sequential pattern of light (covering an area). Each type of projection pattern has different advantages such as speed, accuracy, and immunity to multipath interference. By evaluating the performance requirements for each particular measurements and/or by reviewing the characteristics of the returned data or of the anticipated object shape (from CAD models or from a 3D reconstruction based on collected scan data), it is possible to select the type of projected pattern that optimizes performance.
In another embodiment, the distance from the second coordinate acquisition system 78 and the object surface 32 is different than the distance from the first coordinate acquisition system 76 and the object surface 32. For example, the camera 96 may be positioned closer to the object 32 than the camera 88. In this way, the resolution and accuracy of the second coordinate acquisition system 78 can be improved relative to that of the first coordinate acquisition system 76. In many cases, it is helpful to quickly scan a relatively large and smooth object with a lower resolution system 76 and then scan details including edges and holes with a higher resolution system 78.
A scanner 20 may be used in a manual mode or in an automated mode. In a manual mode, an operator is prompted to move the scanner nearer or farther from the object surface according to the acquisition system that is being used. Furthermore, the scanner 20 may project a beam or pattern of light indicating to the operator the direction in which the scanner is to be moved. Alternatively, indicator lights on the device may indicate the direction in which the scanner should be moved. In an automated mode, the scanner 20 or object 34 may be automatically moved relative to one another according to the measurement requirements.
Similar to the embodiment of
Referring now to
In block 1406, the controller 50 or remote processing system 56 determines whether the point cloud data possesses the desired data quality attributes or has a potential problem. The types of problems that may occur were discussed hereinabove in reference to
There are several ways of indicating the desired movement by the operator as described hereinabove with reference to
To direct the operator in obtaining the desired movement, a method of determining the approximate position of the scanner is needed. As explained with reference to
After the operator has moved the scanner into position, a measurement is made with the second coordinate acquisition system 78 in block 1412. By using the second coordinate acquisition system, resolution and accuracy may be improved or problems may be eliminated. In block 1414, if all points have been collected, the procedure ends at block 1416; otherwise it continues.
If the mode of operation from block 1408 is automated, then in block 1418 the automated mechanism moves the scanner into the desired position. In most cases, an automated mechanism will have sensors to provide information about the relative position of the scanner and object under test. For the case in which the automated mechanism is a robot, angular transducers within the robot joints provide information about the position and orientation of the robot end effector used to hold the scanner. For other types of automated mechanisms, linear encoders or a variety of other sensors may provide information on the relative position of the object and the scanner.
After the automated mechanism has moved the scanner or object into position, then in block 1420 three-dimensional measurements are made with the second coordinate acquisition system 78. Such measurements are repeated by means of block 1422 until all measurements are completed. The procedure finishes at block 1424.
It should be appreciated that while the process of
It should also be appreciated that it is common practice in existing scanning systems to provide a way of changing the camera lens or projector lens as a way of changing the FOV of the camera or of projector in the scanning system. However, such changes are time consuming and typically require an additional compensation step in which an artifact such as a dot plate is placed in front of the camera or projector to determine the aberration correction parameters for the camera or projector system. Hence a system that provides two different coordinate acquisition systems such as the scanning system 20 of
An error may occur in making scanner measurements as a result of multipath interference. The origin of multipath interference is now discussed, and a first method for eliminating or reducing multipath interference is described.
The case of multipath interference occurs when the some of the light that strikes the object surface is first scattered off another surface of the object before returning to the camera. For the point on the object that receives this scattered light, the light sent to the photosensitive array then corresponds not only to the light directly projected from the projector but also to the light sent to a different point on the projector and scattered off the object. The result of multipath interference, especially for the case of scanners that project two-dimensional (structured) light, may be to cause the distance calculated from the projector to the object surface at that point to be inaccurate.
An instance of multipath interference is illustrated in reference to
To understand the error caused by multipath interference, consider the point 4527. Light reflected or scattered from this point is imaged by the lens 4542 onto the point 4548 on the photosensitive array 4541. However, in addition to the light received directly from the projector and scattered off the point 4527, additional light is reflected off the point 4526 onto the point 4527 before being imaged onto the photosensitive array. The light will mostly likely be scattered to an unexpected position and cause two centroids to be formed in a given row. Consequently observation of two centroids on a given row is a good indicator of the presence of multipath interference.
For the case of structured light projected onto an area of the object surface, a secondary reflection from a point such as 4527 is not usually as obvious as for light projected onto a line and hence is more likely to create an error in the measured 3D surface coordinates.
By using a projector having an adjustable pattern of illumination on a display element 4521, it is possible to vary the pattern of illumination. The display element 4521 might be a digital micromechanical mirror (DMM) such as a digital light projector (DLP). Such devices contain multiple small mirrors that are rapidly adjustable by means of an electrical signal to rapidly adjust a pattern of illumination. Other devices that can produce an electrically adjustable display pattern include an LCD (liquid crystal display) and an LCOS (liquid crystal on silicon) display.
A way of checking for multipath interference in a system that projects structured light over an area is to change the display to project a line of light. The presence of multiple centroids in a row will indicate that multipath interference is present. By sweeping the line of light, an area can be covered without requiring that the probe be moved by an operator.
The line of light can be set to any desired angle by an electrically adjustable display. By changing the direction of the projected line of light, multipath interference can, in many cases, be eliminated.
For surfaces having many fold and steep angles so that reflections are hard to avoid, the electrically adjustable display can be used to sweep a point of light. In some cases, a secondary reflection may be produced from a single point of light, but it is usually relatively easy to determine which of the reflected spots of light is valid.
An electrically adjustable display can also be used to quickly switch between a coded and an uncoded pattern. In most cases, a coded pattern is used to make a 3D measurement based on a single frame of camera information. On the other hand, multiple patterns (sequential or uncoded patterns) may be used to obtain greater accuracy in the measured 3D coordinate values.
In the past, electrically adjustable displays have been used to project each of a series of patterns within a sequential pattern—for example, a series of gray scale line patterns followed by a sequence of sinusoidal patterns, each having a different phase.
The present inventive method provides advantages over earlier methods in selecting those methods that identify or eliminate problems such as multipath interference and that indicate whether a single-shot pattern (for example, coded pattern) or a multiple-shot pattern is preferred to obtain the required accuracy as quickly as possible.
For the case of a line scanner, there is often a way to determine the presence of multipath interference. When multipath interference is not present, the light reflected by a point on the object surface is imaged in a single row onto a region of contiguous pixels. If there are two or more regions of a row receive a significant amount of light, multipath interference is indicated. An example of such a multipath interference condition and the resulting extra region of illumination on the photosensitive array are shown in
For a projected line of light, in many cases, it is possible to eliminate multipath interference by changing the direction of the line. One possibility is to make a line scanner using a projector having inherent two-dimensional capability, thereby enabling the line to be swept or to be automatically rotated to different directions. An example of such a projector is one that makes use of a digital micromirror (DMD), as discussed hereinabove. For example, if multipath interference were suspected in a particular scan obtained with structured light, a measurement system could be automatically configured to switch to a measurement method using a swept line of light.
Another method to reduce, minimize or eliminate multipath interference is to sweep a point of light, rather than a line of light or an area of light, over those regions for which multipath interference has been indicated. By illuminating a single point of light, any light scattered from a secondary reflection can usually be readily identified.
The determination of the desired pattern projected by an electrical adjustable display benefits from a diagnostic analysis, as described with respect to
Besides its use in diagnosing and correcting multipath interference, changing the pattern of projected light also provides advantages in obtaining a required accuracy and resolution in a minimum amount of time. In an embodiment, a measurement is first performed by projecting a coded pattern of light onto an object in a single shot. The three-dimensional coordinates of the surface are determined using the collected data, and the results analyzed to determine whether some regions have holes, edges, or features that require more detailed analysis. Such detailed analysis might be performed for example by using the narrow FOV camera 24 in
The coordinates may also be analyzed to determine the approximate distance to the target, thereby providing a starting distance for a more accurate measurement method such as a method that sequentially projects sinusoidal phase-shifted patterns of light onto a surface, as discussed hereinabove. Obtaining a starting distance for each point on the surface using the coded light pattern eliminates the need to obtain this information by vary the pitch in multiple sinusoidal phase-shifted scans, thereby saving considerable time.
Referring now to
After projecting the second light pattern, the process 211 proceeds to block 220 where the three-dimensional coordinate data is acquired and determined for the area where the anomaly was detected. The process 211 loops back to query block 216 where it is determined if the anomaly has been resolved. If the query block 216 still detects an anomaly or lack or accuracy or resolution, the process loops back to block 218 and switches to a third light pattern. In an embodiment, the third light pattern is a sequential sinusoidal phase shift pattern. In another embodiment, the third light pattern is a swept point of light. This iterative procedure continues until the anomaly has been resolved. Once coordinate data from the area of the anomaly has been determined, the process 211 proceeds to block 222 where the emitted pattern is switched back to the first structured light pattern and the scanning process is continued. The process 211 continues until the operator has scanned the desired area of the object. In the event that the scanning information obtained using the method of
Referring now to
In the exemplary embodiment, the moveable apparatus 120 is a robotic apparatus that provides automated movements by means of arm segments 126, 128 that are connected by pivot and swivel joints 130 to allow the arm segments 126, 128 to be moved, resulting in the scanner 20 moving from a first position to a second position (as indicated in dashed line in
In one embodiment, the movable apparatus is an articulated arm coordinate measurement machine (AACMM) such as that described in commonly owned U.S. patent application Ser. No. 13/491,176 filed on Jan. 20, 2010. In this embodiment, the movement of the scanner 20 from the first position to the second position may involve the operator manually moving the arm segments 126, 128.
For an embodiment having an automated apparatus, the moveable apparatus 120 further includes a controller 132 that is configured to energize the actuators to move the arm segments 126, 128. In one embodiment, the controller 132 communicates with a controller 134. As will be discussed in more detail below, this arrangement allows the controller 132 to move the scanner 20 in response to an anomaly in the acquired data. It should be appreciated that the controllers 132, 134 may be incorporated into a single processing unit or the functionality may be distributed among several processing units.
By carrying out an analysis with reference to
Referring now to
In embodiments where the scanner 20 includes a tactile probe (
In some embodiments, measurement results obtained by the scanner 20 of
In one embodiment, the projector 156 is configured to emit a visible light 157 onto an area of interest 159 on the surface 32 of object 34 as shown in
The scanner 20 is configured to cooperate with the remote probe 152 so that an operator may bring a probe tip 166 into contact with the object surface 132 at the illuminated region of interest 159. In an embodiment, the remote probe 152 includes at least three non-collinear points of light 168. The points of light 168 may be spots of light produced, for example, by light emitting diodes (LED) or reflective dots of light illuminated by infrared or visible light source from the projector 156 or from another light source not depicted in
Referring now to
Once the area 159 has been identified, the scanner 20 indicates in block 176 to the operator the coordinate data of area 159 may be acquired via the remote probe 152. This area 159 may be indicated by emitting a visible light 157 to illuminate the area 159. In one embodiment, the light 157 is emitted by the projector 156. The color of light 157 may be changed to inform the operator of the type of anomaly or problem. For example, where multipath interference occurs, the light 157 may be colored red, while a low resolution may be colored green. The area may further be indicated on a display having a graphical representation (e.g. a CAD model) of the object.
The process then proceeds to block 178 to acquire an image of the remote probe 152 when the sensor 166 touches the surface 32. The points of light 168, which may be LEDs or reflective targets, for example, are received by one of the cameras 154, 155. Using best-fit techniques well known to mathematicians, the scanner 20 determines in block 180 the three-dimensional coordinates of the probe center from which three-dimensional coordinates of the object surface 32 are determined in block 180. Once the points in the area 159 where the anomaly was detected have been acquired, the process may proceed to continue the scan of the object 34 in block 182 until the desired areas have been scanned.
Referring now to
The scanner 20 further includes an integral probe member 184. The probe member 184 includes a sensor 194 on one end. The sensor 194 is a tactile probe that may respond to pressing of an actuator button (not shown) by an operator or it may be a touch trigger probe that responds to contact with the surface 32, for example. As will be discussed in more detail below, the probe member 184 allows the operator to acquire coordinates of points on the surface 32 by contacting the sensor 194 to the surface 32.
The projector 188, camera 190 and actuator circuit for the sensor 194 are electrically coupled to a controller 50 disposed within the housing 22. The controller 50 may include one or more microprocessors, digital signal processors, memory and signal conditioning circuits. The scanner 20 may further include actuators (not shown), such as on the handle 186 for example, which may be manually activated by the operator to initiate operation and data capture by the scanner 20. In one embodiment, the image processing to determine the X, Y, Z coordinate data of the point cloud representing the surface 32 of object 34 is performed by the controller 50. The coordinate data may be stored locally such as in a volatile or nonvolatile memory 54 for example. The memory may be removable, such as a flash drive or a memory card for example. In other embodiments, the scanner 20 has a communications circuit 52 that allows the scanner 20 to transmit the coordinate data to a remote processing system 56. The communications medium 58 between the scanner 20 and the remote processing system 56 may be wired (e.g. Ethernet) or wireless (e.g. Bluetooth, IEEE 802.11). In one embodiment, the coordinate data is determined by the remote processing system 56 and the scanner 20 transmits acquired images on the communications medium 58.
Referring now to
The operator then proceeds to move the scanner from a first position to a second position (indicated by the dashed lines) in block 206. In the second position, the sensor 194 contacts the surface 32. The position and orientation (to six degrees of freedom) of the scanner 20 in the second position may be determined using well known best-fit methods based on images acquired by the camera 190. Since the dimensions and arrangement of the sensor 194 are known in relation to the mechanical structure of the scanner 20, the three-dimensional coordinate data of the points in area 204 may be determined in block 208. The process then proceeds to block 210 where scanning of the object continues. The scanning process continues until the desired area has been scanned.
A general approach may be used to evaluate not only multipath interference but also quality in general, including resolution and effect of material type, surface quality, and geometry. Referring also to
If step 4602 returns a positive and determines that the three-dimensional information is available, then, in a step 4604, the computer or processor is used to calculate the susceptibility of the object measurement to multipath interference. In an embodiment, this is done by projecting each ray of light emitted by the scanner projector, and calculating the angle or reflection for each case. The computer or software identifies each region of the object surface that is susceptible to error as a result of multipath interference. The step 4604 may also carry out an analysis of the susceptibility to multipath error for a variety of positions of the six-DOF probe relative to the object under test. In some cases, multipath interference may be avoided or minimized by selecting a suitable position and orientation of the six-DOF probe relative to the object under test, as described hereinabove. If step 4602 returns a negative, meaning that three-dimensional information is not available, then a step 4606 measures the three-dimensional coordinates of the object surface using any suitable measurement method. Following the calculation of multipath interference, a step 4608 may be carried out to evaluate other aspects of expected scan quality. One such quality factor is whether the resolution of the scan is sufficient for the features of the object under test. For example, if the resolution of a device is 3 mm, and there are sub-millimeter features for which valid scan data is desired, then these regions of the object should be noted for later corrective action. Another quality factor related partly to resolution is the ability to measure edges of the object and edges of holes. Knowledge of scanner performance will enable a determination of whether the scanner resolution is good enough for given edges. Another quality factor is the amount of light expected to be returned from a given feature. Little if any light may be expected to be returned to the scanner from inside a small hole, for example, or from a glancing angle. Also, little light may be expected from certain kinds and colors of materials. Certain types of materials may have a large depth of penetration for the light from the scanner, and in this case good measurement results would not be expected. In some cases, an automatic program may ask for user supplementary information. For example, if the process is carrying out steps 4604 and 4608 based on CAD data, the type of material being used or the surface characteristics of the object under test may not be known. In these embodiments, step 4608 may include a further step of obtaining material characteristics for the object under test.
Following the analysis of steps 4604 and 4608, the step 4610 determines whether further diagnostic procedures should be carried out. A first example of a possible diagnostic procedure is the step 4612 of projecting a stripe at a predetermined angle to determine whether multipath interference is observed. The general indications of multipath interference for a projected line stripe were discussed hereinabove with reference to
The step 4616 selects a combination of predetermined actions based on the analyses and diagnostic procedure performed. If speed in a measurement is a factor, a step 4618 of measuring using a 2D (structured) pattern of coded light may be preferred. If greater accuracy is desired, then a step 4620 of measuring using a 2D (structured) pattern of coded light using sequential patterns, for example, a sequence of sinusoidal patterns of varying phase and pitch, may be performed. If the method 4618 or 4620 is selected, then it may be desirable to also select a step 4628, which is to reposition the scanner, in other words to adjust the position and orientation of the scanner to the position that reduces or minimizes multipath interference and specular reflections (glints) as provided by the analysis of step 4604. Such indications may be provided to a user by illuminating problem regions with light from the scanner projector or by displaying such regions on a monitor display. In one embodiment, the next steps in the process may be automatically selected. If the desired scanner position does not eliminate multipath interference and glints, several options are available. In some embodiments, the measurement can be repeated with the scanner repositioned and the valid measurement results combined. In other embodiments, different measurement steps may be added to the procedure or performed instead of using structured light. As discussed previously, a step 4622 of scanning a stripe of light provides a convenient way of obtaining information over an area with reduced probability of having a problem from multipath interference. A step 4624 of sweeping a small spot of light over a region of interest further reduces the probability of problems from multipath interference. A step of measuring a region of an object surface with a tactile probe eliminates the possibility of multipath interference. A tactile probe provides a known resolution based on the size of the probe tip, and it eliminates issues with low reflectance of light or large optical penetration depth, which might be found in some objects under test.
The quality of the data collected in a combination of the steps 4618-4628 may be evaluated in a step 4630 based on the data obtained from the measurements, combined with the results of the analyses carried out previously. If the quality is found to be acceptable in a step 4632, the measurement is completed at a step 4634. Otherwise, the analysis resumes at the step 4604. In some cases, the 3D information may not have been as accurate as desired. In this case, repeating some of the earlier steps may be helpful.
A method that can be used to identify and correct a problem caused by insufficient resolution, insufficient accuracy, poor illumination, poor choice of patterns, or multipath interference is to scan a surface feature having known geometrical characteristics and fit resulting scan data to the surface feature. If the scanned shape does not closely resemble the geometrical characteristics or if the residual errors in fitting 3D collected data to the surface feature are large, one of the problems described above may be responsible. An example of a surface feature that may be selected is a cylindrical hole. Examples of geometrical features that may be compared to scan data include diameter, form error, and depth.
In a step 5010, a mathematical representation is provided for a shape of a feature. In an embodiment, the mathematical representation is one of a circle, a cylindrical hole, a raised cylinder, a sphere, an intersection of two planes, and an intersection of three planes.
In a step 5015, an acceptable goodness of fit is provided. In an embodiment, a chi-square test statistic is used as a measure of goodness of fit.
In a step 5020, the projector transmits light to the surface, the reflected light of which is captured as an image on a photosensitive array within the camera. The photosensitive array provides an electrical signal to the processor in response to the image. The processor determines a first set of 3D coordinates for points on the surface based at least in part on the projected light, the electrical signal, and the baseline distance.
In a step 5025, a subset of points is selected from the points measured on the surface, the subset of points including those points corresponding to the feature having the shape described by the mathematical representation of step 5010.
In a step 5030, the processor fits measured 3D coordinates of the subset of points to corresponding 3D coordinates derived from the mathematical model of the shape. The fitting is carried out in a sequence of steps. At each step, the shape is adjusted in position and orientation to reduce or minimize the collection of residual errors according to a minimization rule. In an embodiment, the minimization rule is to reduce or minimize the sum of the square of each residual error selected from among the collection of residual errors.
In a step 5035, a value is calculated for the measured goodness of fit. In an embodiment, the measured goodness of fit is based on chi-square test statistic using residual errors from the calculation of step 5030.
In a step 5035, the value of the measured goodness of fit is compared to the value of the acceptable goodness of fit from step 5015. If the measured goodness of fit value indicates that the fit is better than that required by the acceptable goodness of fit value, the first set of measured 3D coordinates obtained in step 5020 is saved.
If in the step 5040 the measured goodness of fit is unacceptable, at least one of the following actions may be selected and taken: changing the pose of the assembly in relation to the object surface; changing the illumination emitted by the projector; changing the pattern of light emitted by the projector; and measuring the feature with a mechanical probe.
As used herein, the pose of the assembly is defined as the six degrees of freedom of the assembly relative to the object. In other words, the pose includes the relative position (e.g., x, y, z) and relative orientation (e.g., pitch, roll, yaw angles) of the assembly and object. The pose of the assembly may be changed by moving the assembly while holding the object still or by moving the object while holding the assembly still. The relative movement between the assembly and object may be obtained by attaching one of the object and assembly to a mechanical movement structure such as a robot, an articulated arm coordinate measurement machine (CMM), a Cartesian CMM, or a machine tool. In an embodiment, the mechanical movement structure includes a means of determining the relative pose of the assembly and object. Such an means might be provided for example by encoders (scales), distance meters, or inertial measurement units such as accelerometers, gyroscopes, magnetometers, and elevation sensors. Such indicators may provide only approximate values for the pose, with more precise measurements made to the assembly and processor.
Changing the pose of an object may be useful in overcoming several potential error sources in the collecting of 3D coordinates. One type of error that may be overcome by changing the pose of an object is multipath interference, which is caused when light illuminated by the projector reflects onto another point on the object, the other point being visible to the camera. By changing the direction, the angle of incidence of the projected light on the object surface is changed, thereby causing the reflected light to be redirected, possibly missing the surface and eliminating multipath interference as a result.
Changing the pose of an object may also be useful in overcoming problems resulting from extremely low or extremely high light levels. If light from the scanner strikes a steeply angled surface, in other words, if the light striking a surface has a large angle of incidence (has a large angle relative to the surface normal), the light reflected (scattered) from the surface into the camera is likely to be small. In some instances, the amount of light captured by the camera for a point on the object can be dramatically increased by changing the pose of the assembly relative to the object surface. Changing the pose of an object may also help overcome problems with glints, which are high levels of light specularly reflected off an object surface into the camera. Glints occur only at particular angles and usually only over small regions. Changing the pose of the assembly in relation to the object can eliminate glints.
Changing the pose of an object may also be useful in improving resolution and accuracy. For example, to measure the diameter of a hole, it is desired to view the hole at near-normal incidence as this provides a relatively large circular region to be measured. On the other hand, to measure the cylindricity (form error) of the side walls (bore) of a cylindrical hole, it is necessary to direct the light at a slight angle to the side walls, taking several measurements with the pose changed slightly in each case. Changing the pose may also be useful in improving the resolution by bringing the object features into focus on the camera. If the camera is too close to or too far away from the object surface, the modulation transfer function (MTF) of the measured features will be reduces, thereby causing a reduction in resolution.
In each of the methods described herein with respect to step 5050, the chosen actions are based on a selection by the processor without additional assistance on the part of an operator or observer. The effect of the pose on each of the effects described above may be automatically evaluated by a processor. The method of using the shape of an object in relation to the pose of a scanner to predict the possibility of multipath interference was discussed hereinabove. Basically the method used is to project a ray of light from the projector onto the surface having a known surface profile (from the measurement carried out in step 5020) and to use geometrical optics to determine whether the reflected ray of light will strike the object at a position in view of the camera. When a multipath interference problem has been identified by the processor, the processor may then carry out a computational procedure in which the potential for multipath interference is evaluated with the multiple possible poses being considered.
Changing the illumination emitted by the projector may be useful in overcoming several potential error sources in the collecting of 3D coordinates. Here illumination means the level of optical power emitted by the projector in combination with the exposure time of the camera and the aperture of the camera. In other words, the illumination level in a pixel well is determined by the number of electrons produced in a pixel well. The illumination level is near at a desired level if the number of electrons is relatively large but still in the linear region of the pixel response. If the optical power reaching a point on the object surface is too small or the camera exposure too short, the light received by a camera pixel will be low and the resulting signal to noise ratio of the pixel poor, thereby resulting in low accuracy of the measured 3D coordinates. Alternatively, if the optical power reaching a point on the object surface is too high for the exposure, the light received by the camera may be outside the linear region of the camera, for example, overfilling the corresponding pixel well. This too may cause errors in the measured 3D coordinates.
Problems in matching optical power emitted by the projector to the surface being measured can arise in several ways. In a first instance, the object surface being measured may be composed of several different materials or colors, some of the materials or colors having high reflectance and others having low reflectance. In a second instance, the object surface may be steeply inclined in some locations and may have low angles of incidence at other locations, thereby resulting in differing amounts of reflected (scattered) light. Some parts of the surface may be adjacent to edges—for example, the sides of holes or the sides adjacent to straight edges. Such regions often reflect relatively little light.
There are two main relatively simple ways of eliminating or reducing errors caused by incorrect illumination. In the method 5000, the steps to be taken are automatically determined by a processor without the assistance of an operator or observer. In a first method, a region of the surface under test is illuminated multiple times by the projector, and a camera image obtained for each illumination. The 3D coordinates of each point on the object surface is determined based on one or more of the captured images. For a given point, images having light levels too low or too high are thrown out. The decision of whether to keep or throw out a particular image is based on the electrical readings obtained from the corresponding pixel of the photosensitive array. In some cases, the processor may elect to use more than one of the images to obtain 3D coordinates for a given point on the object surface.
In a second method of eliminating or reducing errors caused by incorrect illumination, light is projected onto the object a single time but the optical power level is varied over the region of the projected light. In some cases, such as projection of a coded, single-shot pattern, this method may be relatively simple to implement. Similarly the method may be relatively easy to implement with stripes of light or swept points of light. The method may be more difficult to implement with sequential methods such as projection of spatially modulated light having shifts in phase between successive illuminations. However, even in these cases, there is usually some possibility for varying the illumination level to improve accuracy. The processor evaluates the possibilities to determine desired levels of illumination, desired number of exposures, and desired exposure times.
Changing the pattern of light emitted by the projector may be useful in overcoming several potential error sources in the collecting of 3D coordinates. In a first case, it may be important to determine the accuracy of a feature to a relatively high accuracy. In this case, the processor may decide to switch from a first projected pattern being a coded, single shot pattern that provides relatively low accuracy to a multi-shot sequential pattern, such as a phase-shifted pattern, that is calculated on a point-by-point basis to higher accuracy. Similarly in most cases using a sequential pattern of light rather than a coded, single-shot pattern of light will provide higher resolution because a sequential pattern of light is evaluated on a point-by-point basis while the resolution of a coded pattern of light depends on the size of the individual elements of the coded pattern.
In a second case, a distortion in the shape of the object may indicate that multipath interference is a problem. This diagnosis may be confirmed by the processor by carrying out a ray tracing procedure as described hereinabove. In this case, the scanner may switch from a structured light pattern projected over an area to a line of light pattern. In this case, it may also be advantageous to project the line of light in a desired direction to reduce or minimize the effects of multipath interference. In this case, the processor will direct the assembly to change its pose as appropriate to project the line in the desired direction. In another embodiment, a swept point or spot of light is projected, which reduces the possibility for multipath interference.
Measuring the feature with a mechanical (tactile) probe is a method that can in most cases be used when optical scanning methods do not provide desired results. In many embodiments, use of such a probe involved operator assistance under direction of the processor. A mechanical probe has the ability to measure holes, edges, or other regions that difficult to view with a scanner. This method enables measurement of areas having low reflectance and areas susceptible to multi-path interference.
In an embodiment discussed hereinabove with reference to
In another embodiment, the mechanical probe may contain points of light such as LEDs to provide illumination. The 3D points of light may be determined using two cameras on an assembly (stereo vision) or a single camera may be used with distance determined based on the relative scale of separation of the illuminated spots.
In a step 5050, the projector within the assembly transmits a second pattern of light, possibly different than the first pattern of light, possibly with the assembly at a different pose, possibly with different illumination, or possibly by capturing light at known spots on a mechanical (tactile) probe.
In another embodiment, an assembly is provided with a second camera in addition to the first camera. In this embodiment, the combination of the first projector and first camera has a different field of view (and different baseline distance) than the combination of the first projector and the second camera. In this case, the step 5050 of
In another embodiment, an assembly is provided with a second projector and a second camera in addition to a first camera and a first projector. Such an arrangement has advantages similar to that of the embodiment containing two cameras and a single projector, and these will not be repeated here.
Technical effects and benefits of embodiments of the present invention include the detection and correction of errors in measurements made by an optical coordinate measurement device.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
While the invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the invention is not limited to such disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. Additionally, while various embodiments of the invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the invention is not to be seen as limited by the foregoing description, but is only limited by the scope of the appended claims.
The present application is a nonprovisional application of U.S. Provisional Application 61/791,797 entitled “Three-Dimensional Coordinate Scanner and Method of Operation” filed on Mar. 15, 2013, the contents of which are incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61791797 | Mar 2013 | US |