Portable three-dimensional metrology with data displayed on the measured surface
A portable instrument for 3D surface metrology projects augmented-reality feedback directly on the measured target surface. The instrument generates structured-light measuring-patterns and projects them successively on a target surface. Features, contours, and textures of the target surface distort each projected measuring-pattern image (MPI) from the original measuring-pattern. The instrument photographs each MPI, extracts measurement data from the detected distortions, and derives a result-image from selected aspects of the measurement data. The instrument warps the result-image to compensate for distortions from the projector or surface and projects the result-image on the measured surface, optionally with other information such as summaries, instrument status, menus, and instructions. The instrument is lightweight and rugged. Accurate measurements with hand-held embodiments are made possible by high measurement speed and an optional built-in inertial measurement unit to correct for pose and motion effects.
Related fields include optical measurement of surfaces by projecting structured-light patterns; projectors that project related information along with a main image; projection of images onto real objects; and real-time augmented reality.
Measurement of surface contours, textures, and discontinuous features such as pits or cracks often requires resolution on the order of microns to millimeters. Optical approaches such as laser scanning and structured-light projection are popular for their speed, non-invasiveness, and acceptable precision and accuracy. Objects routinely measured by these methods include (but are not limited to) aircraft and other vehicle bodies, precision mechanical parts, textiles, glass, sheet metal, granular substances such as abrasives and powders, and in-situ archaeological artifacts. The measurements may be part of fabrication, quality assurance and control, or forensic reconstruction of past events. Measurements of parts of the human body are applicable in a widening range of fields including security, medicine and dentistry, fabrication of prosthetics, fitting of apparel, and immersive games.
In many of these applications, quick return of measurement results is crucial to productivity, and sometimes even to human safety. A manufacturing line or medical procedure may need to be halted immediately upon discovery of an unacceptable error. Also, while some applications may use a metrology instrument in one location full-time, others may need to move the capability frequently between locations.
Many optical instruments that produce excellent measurement results in a quiet, protected laboratory are sorely challenged by the shocks, vibrations, temperature ranges and gradients, air currents, moisture, contaminants, and other variables found in factory and field environments. In these places, space is often cramped and the objects to be measured may be awkwardly positioned or in constant motion. Power outlets may be scarce, and trailing cables an unacceptable hazard. Wireless signals may be blocked or suffer from electromagnetic interference.
Typically, metrology results are displayed on a screen connected to, or integrated with, the instrument. If an operator must mark or repair problem areas on the object, looking (or in some cases walking) back and forth between the screen and the target object, or having the results communicated by a second person, consumes time and creates opportunities for mistakes. “See-through” displays, head-mounted or otherwise, alleviate some of these drawbacks. However, they may create parallax errors or obscure peripheral vision too much for safety. Also, if more than one person needs to look at the results, each of them needs a separate display or they need to take turns viewing.
These practical challenges have created a need for a 3D surface metrology instrument that displays the measurement results directly on the surface being measured. Such a display would remove ambiguity during in-situ repair work, could be viewed by several users simultaneously, and would not obscure their vision of other objects. Ideally, the instrument would be portable (e.g., compact, lightweight, and rugged), fast, accurate, versatile, and easy to use.
SUMMARYA non-contact 3D surface metrology instrument displays the measurement results directly on a target surface being measured. A result-image generator creates, in various embodiments, false-color representations of the measurement data, local or statistical measurement values, text, pass/fail markers, fiducials, and other symbols. The projection of this image is corrected for distortions introduced by the projector and the target surface. In some embodiments, the result-image generator generates other information such as menus and instructions. Depending on the embodiment, the colors, character sizes, and layouts may be manually adjusted or may automatically adjust themselves for optimal legibility.
Embodiments of a non-contact 3D surface metrology instrument are portable, compact, lightweight, rugged, and in some cases self-contained. The same image generator and projection optics used to display the measurement results on the target surface may also project structured-light patterns for performing the measurements. The same camera used to capture measurement-pattern images may also capture projected result-images for archival. Some embodiments have few or no significantly moving parts, using liquid-crystal or microelectromechanical systems (MEMS) to generate the measurement patterns and the result-images. Light-emitting diodes (LEDs) providing the illumination are small, lightweight, durable, long-lasting, and require little or no cooling. Ruggedized lightweight instrument housings may be handheld or mounted by various portable means. Power sources and processing electronics may be inside or outside the housing.
Embodiments of the non-contact 3D surface metrology instrument are fast, delivering essentially real-time results. Structured-light projection illuminates the entire target surface at once and eliminates the lag-time associated with scanning. LCD and MEMS-based image generators can change the structured-light patterns very quickly. The camera capturing the measurement-pattern images may be electronically triggered, eliminating the delay of activating mechanical shutters. High-performance techniques such as multi-threading and graphics processing unit (GPU) computing reduce processing time.
Embodiments of the non-contact 3D surface metrology instrument are accurate. The image generators can generate Gray-code and phase-shifted measurement patterns for improved precision and robustness. For many applications, the speed alone ensures acceptably accurate measurements even for hand-held operations. Other embodiments include inertial measurement units (IMUs) to collect data on instrument pose and motion during measurement. The data from the IMU may trigger a “do-over” instruction when excessive motion results in less-than-acceptable precision or accuracy. The processor may also use IMU data to internally correct measurement data or the arrangement of result-images, to document which part of a large target surface was measured, or to combine neighboring measurements of smaller areas into a map of a larger area.
Embodiments of the non-contact 3D surface metrology instrument are versatile and easy to use. Grips and switches are ergonomic. In some embodiments, measurement triggers are configured so that activating the switch does not cause the instrument to move. Some embodiments sense external factors affecting measurement accuracy (e.g. ambient light, target size, working distance) and warn the user if the conditions are too adverse for the instrument to compensate. Embodiments with IMUs can correct the effects of some motion, warn the operator if the effects cannot be corrected, and provide horizontal text in the result-image independent of instrument pose. The colors of the result-images may be adjusted for legibility in a variety of lighting conditions, as may the size and linewidth of fiducials and characters. The camera may be configured to store result images for later archival and statistical analysis.
This Description will explain the operation of the basic instrument, followed by the operation of the instrument with an IMU. A walk-through of operation in a specific application will be followed by discussion of alternate embodiments.
Two types of image are projected on surfaces to be measured: a measurement-pattern image (MPI) for structured-light metrology and a result image (RI) showing some form of the measurement results and, optionally, auxiliary information and features such as fiducial marks, instructions, instrument status, menus, and other user-interface display data. In general, each MPI is projected for as brief a time as the camera's response to the projection light levels will allow, to minimize image blurring from motion of the instrument or target. The RI, if intended for direct viewing by a user, either remains “on” until turned off or its refresh frequency and duty cycle exceed the flicker fusion threshold for the brightness and color settings being used.
The processor compares the camera's capture of the MPI on the target surface with a stored MPI measured or modeled on a theoretical or actual reference surface. The processor derives a three-dimensional (3D) “point cloud” from the deviation between each point of the captured target MPI and the corresponding point of the stored MPI. A measurement will often include the projection, capture, and analysis of several MPIs differing in frequency, phase, orientation, structure, or any parameter where one of the patterns reveals or clarifies a surface characteristic that the other(s) might miss or obscure.
Many factory, field, and operating-room environments would benefit from these 3D metrology capabilities being made portable, even hand-held. This presents challenges related to keeping the measurements precise and accurate when the instrument is not kept perfectly still. Some structured-light measurements can avoid imprecision and inaccuracy associated with instrument motion simply by operating at high speed. Others (because they require higher resolution, or longer exposure because the projected MPI is dim, or for other reasons) benefit from an added capability for the instrument to “know” how it moved during the measurement. At a minimum, it could warn the user or force a re-measurement if the motion reduced the measurement precision or accuracy below a predetermined threshold of acceptability (one of the tolerances that some embodiments allow the user to select). A more advanced embodiment can adjust the three-dimensional point cloud by removing some of the effects of the detected motion from the captured MPI sets before analyzing them. Pose and motion tracking can also enable the instrument to adapt features and locations of the result-image while it is being projected. For example, fiducials or text strings can be displayed as horizontal even when the instrument is rotated off-horizontal, or the projected features could be constrained to stay in place on the target surface even if the instrument moves or tilts while the result-image is being projected.
Inertial measurement units (IMUs), often comprising accelerometers and gyroscopes, are available in very small sizes and light weights. Coupled with a processor, they can store a history of the instrument's pose and motion as well as keeping track of its current orientation. Current orientation is useful when projecting the RI; for instance, it can enable the processor to align characters or fiducials with the external horizon even when the instrument is held in a tilted position.
In a self-contained embodiment, a power source such as a battery or, for some outdoor environments, a solar cell may also be in, on, or closely connected to housing 411. Other alternatives include a data port or a wireless transmitter, receiver or transceiver for communication with an off-board processor (besides or instead of internal processor 107), or with an off-board controller.
As an instructive but non-limiting example, a workflow measuring fastener height on part of an aircraft body is described.
This embodiment has a wireless receiver 615 receiving a control signal 616 from a wireless remote control 617. This is one way to enable a user to send “Measure” or other commands without mechanically engaging any part of housing 611, avoiding the risk that the act of starting the measurement will cause an undesirable motion of the instrument. Control signal 616 may be radio-frequency, infrared, audio, or any other signal compatible with the work environment.
A non-limiting example of an algorithm to identify and characterize problem fasteners may run as part of the analysis cycle in the processor. After the 3D point cloud is extracted from the captured MPIs, fasteners are recognized within the point cloud using stored data on fastener sizes and shapes. For each of the found fasteners, a best-fit ellipse is calculated. A best-fit outer plane is calculated from three or more point-cloud points on a ring outside the ellipse. A best-fit inner plane is calculated from three or more point-cloud points on a ring inside the ellipse. The angle between the two planes represents the angle error of the fastener head, and the distance between the two planes at the center of the ellipse represents the relief error of the fastener head. The derived results are marked on each fastener in the result-image as a false color, grayscale, symbol, or label.
The result-image is warped (transformed into coordinates matched to projection conditions on the surface), using points stored during calibration of the projector and, in some cases, points sampled from the measurement. This ensures that result-image fastener marks land on the corresponding fasteners when the result-image is projected on the target surface.
In some embodiments, projected information such as 633-636 is automatically positioned, or adjusted in brightness or color, by the processor for best legibility on the current target surface. In some embodiments, an IMU inside the instrument keeps text 633 horizontal even if the instrument is rotated. In some embodiments, camera 606 captures result image 605R to be stored for archival, statistics, or further manipulation.
Double-projector embodiments are also contemplated. Reasons for this more complex approach could include a need for continuous simultaneous measurement and result-image display (although rapid image switching in a single projector may be satisfactory in many situations) or using a non-visible measuring wavelength. In medicine, for example, tissue-penetrating near-infrared wavelengths may be used to measure features under the outermost layer of skin, and near-ultraviolet wavelengths may be used to measure surfaces where a fluorescing marker has been applied (e.g., to identify cancerous cells). Any of the mounting and holding configurations described here, as well as their equivalents, may be adapted to single- or double-projector embodiments. The projectors could be adjacent to each other or on either side of a central camera, as long as the projected fields and the camera's field of view overlap.
Those skilled in the art will recognize that many variations are possible using equivalent parts or steps to those described. The scope of patent protection for this subject matter is not limited by anything in the abstract, description, or drawings, but only by the appended claims.
Claims
1. An apparatus for measuring a surface, the apparatus comprising:
- a hand-held portable housing;
- a projection assembly mounted in the hand-held portable housing and projecting an image on the surface;
- a camera mounted in the hand-held portable housing and configured to capture the projected image as measurement data; and
- a processor controlling the projection assembly and the camera and receiving the measurement data from the camera, where the projected image comprises a measurement-pattern image or a result-image; and the processor derives a characteristic of the result-image by analyzing the measurement data corresponding to the measurement-pattern image.
2. The apparatus of claim 1, further comprising an inertial measurement unit mounted in the hand-held portable housing and configured to transmit pose and motion data to the processor.
3. A method for measuring a surface, the method comprising:
- positioning a portable metrology instrument relative to the surface;
- projecting one or more measurement-pattern images from the portable metrology instrument onto the surface;
- capturing as measurement data one or more captured images of the one or more measurement-pattern images projected on the surface;
- creating a point cloud model representing the surface, in which a point in the point cloud model is based on comparing a point in the measurement data with a corresponding point in a stored copy of the one or more measurement-pattern images;
- creating a result-image from the point cloud model;
- transforming the result-image into coordinates matched to projection conditions on the surface; and
- projecting the result-image onto the surface from the portable metrology instrument.
4. The method of claim 3, where the result-image is projected within 0.1 second after the measurement-pattern image.
5. The method of claim 3, where the result-image comprises at least one of a false-color representation of the measurement, a summary of results of the measurement, a symbol dependent on the measurement, an alphanumeric character, a navigational symbol, a status indicator, a menu, and an instruction.
6. The method of claim 3, further comprising monitoring the pose and motion of the portable metrology instrument and doing at least one of:
- issuing a warning if the portable metrology instrument moved in excess of a predetermined threshold during the projecting and capturing of the one or more measurement-pattern images;
- storing a location and an orientation of an area of the surface being measured;
- adjusting the point cloud model to compensate for the pose and motion of the portable metrology instrument during the projecting and capturing of the measurement-pattern image; and
- adapting a feature location and orientation in the result-image to compensate for the pose and motion of the portable metrology instrument during the projecting of the result-image.
7. The method of claim 3, further comprising recording the result-image as projected on the surface.
8. The method of claim 3, further comprising adjusting at least one of color, brightness, and feature position in the result-image to optimize visibility or legibility of the result-image, where the adjusting is partially responsive to a characteristic of the one or more captured images.
9. An apparatus for measuring a surface, the apparatus comprising:
- a hand-held portable housing;
- a projection assembly mounted in the hand-held portable housing and configured for projecting a plurality of images on the surface, including one or more measurement-pattern images and a result image;
- a camera mounted in the hand-held portable housing and configured to capture the one or more measurement-pattern images projected on the surface as measurement data; and
- a processor controlling the projection assembly and the camera and receiving the measurement data from the camera, where the projection assembly comprises an image generator, a light source, and a train of projection optics, and the processor derives a characteristic of the result image by analyzing the measurement data corresponding to the measurement-pattern image.
10. The apparatus of claim 9, wherein the projection assembly is configured for projecting the one or more measurement-pattern images and the result image sequentially.
11. The apparatus of claim 10, wherein each of the one or more measurement-pattern images is one of a striped measurement pattern, a periodic-gradient measurement pattern, and a stochastic noise pattern.
12. The apparatus of claim 9, wherein the projection assembly is configured for projecting a series of measurement-pattern images and the result image sequentially.
13. The apparatus of claim 12, wherein each of the series of measurement-pattern images is one of a striped measurement pattern, a periodic-gradient measurement pattern, and a stochastic noise pattern.
14. The apparatus of claim 9, where the image generator comprises one of a liquid-crystal array and a microelectromechanical system.
15. The apparatus of claim 9, where the light source has a variable spectrum controlled by the processor and comprises a light-emitting diode.
16. The apparatus of claim 9, where at least one of the light source, image generator, and train of projection optics are instrumental in projecting both the one or more measurement-pattern images and the result image.
17. The apparatus of claim 9, further comprising an auxiliary light source having a wavelength outside the visible spectrum.
18. The apparatus of claim 17, further comprising at least one of an auxiliary image generator compatible with the auxiliary light source and an auxiliary train of projection optics compatible with the auxiliary light source.
Type: Application
Filed: Jan 11, 2016
Publication Date: May 5, 2016
Inventor: Erik Klaas (Daisendorf)
Application Number: 14/993,068