Vision-based metrology system and characterizing thermal errors within a machine tool
Patent Information
- Application Number
- PCT/US2025/057591
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-10-07
- Filing Date
- 2025-12-02
- Publication Date
- 2026-11-19
AI Technical Summary
Existing methods for characterizing thermal errors in machine tools are costly, inaccurate, invasive, or have slow data acquisition rates, making them unsuitable for rapid and comprehensive thermal error characterization.
A vision-based metrology system using a wireless microscope, right-angle mirror, and image targets with distinct patterns mounted on a tool holder, allowing for non-invasive, rapid, and accurate characterization of thermal errors by capturing images from multiple viewpoints and analyzing them to determine spindle position changes.
The system provides rapid, accurate, and cost-effective characterization of thermal errors across multiple axes without disrupting machining processes, enabling real-time thermal error compensation and improving part quality and manufacturing efficiency.
Smart Images

Figure US2025057591_19112026_PF_FP_ABST
Abstract
Description
VISION-BASED METROLOGY SYSTEM AND CHARACTERIZING THERMAL ERRORS WITHIN A MACHINE TOOLSTATEMENT REGARDING FEDERALLY SPONSORED RESEARCH
[0001] This invention was made with United States Government support from the National Institute of Standards and Technology (NIST), an agency of the United States Department of Commerce. The Government has certain rights in this invention.CROSS-REFERENCE TO RELATED APPLICATION
[0002] This application claims the benefit of U.S. Provisional Patent Application Serial No 63 / 704,205 (filed 10 / 07 / 2024), which is herein incorporated by reference in its entirety.BACKGROUND
[0003] The present invention generally relates to the field of machine tool metrology, and more particularly to techniques for characterizing thermal errors within a machine tool using a vision-based system.
[0004] Machine tools are essential for manufacturing a wide range of products, from simple consumer goods to complex aerospace components. The accuracy and precision of these tools directly impact the quality and reliability of the final products. However, a significant challenge in maintaining machine tool accuracy is the phenomenon of thermal drift, wherein temperature fluctuations within the machine tool structure lead to dimensional errors in the workpiece. These temperature variations stem from a variety of sources, including heat generated by the machine’s own operation, fluctuations in ambient temperature, and even the body heat of the operator.
[0005] Current efforts to address thermal drift typically involve one or a combination of approaches. The first, and conceptually simplest, approach is to design the machine itself to minimize thermal effects, employing strategies such as incorporating cooling systems, selecting materials with low thermal expansion coefficients, and strategically placing heat-generating components. A second approach involves developing a model for predicting thermal errors based on measured temperatures within the machine tool structure, coupled with the machine’s operating parameters. This approach allows for applying a pre-calculated compensation to the machine’s motion to account for predicted thermal errors. Finally, a third approach calls for measuring thermal errors in real time and using those measurements to drive compensation.
[0006] While these methods offer some degree of success, they are not without their disadvantages. Machine design for thermal management can be quite costly, involving sophisticated engineering analysis and often incorporating expensive components and materials. Model-based thermal error prediction and compensation present inherent challenges in accurately capturing the complex thermal behavior of the machine tool, resulting in limited accuracy and extensive calibration procedures. Finally, real-time thermal error measurement methods, while potentially offering higher accuracy, often suffer from slow data acquisition rates, expensive and complicated sensor systems, and invasive measurement procedures that can interfere with the machining process itself.
[0007] It is therefore an objective of the present invention to provide a method and system for characterizing thermal errors within a machine tool that is rapid, accurate, inexpensive, non-invasive, and readily adaptable to existing machine tool platforms, thereby overcoming the above-mentioned disadvantages of the prior art at least in part. Accordingly, methods and equipment for characterizing thermal errors within machine tools involving wireless microscopy and image analysis techniques would be advantageous and would be favorably received in the art.BRIEF DESCRIPTION
[0008] One aspect of the present invention relates to a vision-based metrology system for characterizing thermal errors within a machine tool. A visionbased metrology system can be understood as a measurement system that relies on the analysis of images to determine physical quantities, such as positions and dimensions. It can be provided that the vision-based metrology system comprises a tool holder mountable in a spindle of the machine tool. A tool holder is a device used to securely hold cutting tools or other instruments in the spindle of a machine tool, allowing for precise rotation and positioning during machining operations. This arrangement offers flexibility and adaptability, as it enables the system to be readily integrated into existing machine tools without the significant modifications to the machine’s structure.
[0009] It can be further provided that the vision-based metrology system comprises a wireless microscope mountable to the tool holder. A wireless microscope is a self-contained optical instrument that can capture images and transmit them wirelessly to a receiving device. Wireless operation simplifies the system’s setup and operation, eliminating complex wiring and data transfer cables that could interfere with the machine’s movement or introduce additional sources of error.
[0010] It can be further provided that the vision-based metrology system comprises a right-angle mirror mountable to the tool holder such that the right-angle mirror is within a field of view of the wireless microscope. One advantage of this arrangement is that it enables the microscope to view features that are not directly aligned with its optical axis, expanding the system’s measurement capabilities without involving additional mechanical components or adjustments.
[0011] It can be further provided that the vision-based metrology system comprises a plurality of image targets, each image target comprising a horizontal pattern substantially parallel to a plane of motion of a worktable of the machine tool, and a vertical pattern substantially orthogonal to the plane. A worktable is the platform within a machine tool upon which the workpiece is mounted and secured during machining. One advantage of providing multiple image targets with distinct horizontal and vertical patterns is the ability to establish a three-dimensional reference framewithin the machine’s workspace, allowing for comprehensive characterization of thermal errors along multiple axes of motion.
[0012] One aspect of the present invention relates to a method for characterizing thermal errors within a machine tool. It can be provided that the method comprises attaching at least one image target to the worktable. Attaching image targets to the worktable establishes fixed reference points within the machine’s workspace, providing a basis for measuring changes in position due to thermal drift.
[0013] It can be further provided that the method comprises mounting a tool holder in the spindle, the tool holder having attached to it a wireless microscope and a right-angle mirror. By mounting the microscope and mirror to the tool holder, the system leverages the spindle’s inherent motion capabilities for data acquisition, simplifying the measurement process and eliminating dedicated motion control systems.
[0014] It can be further provided that the method comprises positioning the spindle such that the wireless microscope is viewing the horizontal pattern of an image target and rotating the spindle about its axis of rotation, the axis substantially orthogonal to a plane defined by the horizontal pattern. A horizontal pattern is a set of markings on the image target that are arranged in a plane that is nominally parallel to the worktable’s surface. By rotating the spindle while the microscope views the horizontal pattern, the system captures images from multiple viewpoints, enabling accurate determination of the spindle’s center of rotation relative to the image target, which is the intersection of the spindle axis of rotation and the plane defined by the horizontal pattern.
[0015] It can be further provided that the method comprises capturing a video of the horizontal pattern from the rotating wireless microscope and analyzing the video to determine a first center of rotation C(t1 ) of the spindle relative to the worktable at a first time t1. One advantage of analyzing a video sequence, as opposed to a single image, is the increased robustness and accuracy of the measurement, as the analysis can account for variations in lighting, focus, and other factors that might affect individual images.
[0016] It can be further provided that the method comprises determining, based on the first center of rotation C(t1 ), a first planar position of the spindle relative to the worktable at time t1. This position can be used to determine the deviation of the spindle’s planar position at a second time t2 from its first planar position defined by the horizontal pattern, providing a measure of the thermal drift in that plane at time t2.
[0017] It can be further provided that the method comprises positioning the spindle such that the wireless microscope is substantially stationary while viewing the vertical pattern of the image target. A vertical pattern is a set of markings on the image target that are arranged in a plane that is nominally perpendicular to the worktable’s surface. This position of the wireless microscope allows for the capture of images of the vertical pattern that provide information about the spindle’s position in the direction perpendicular to the worktable’s surface.
[0018] It can be further provided that the method comprises capturing a video of the vertical pattern from the wireless microscope and analyzing the video to determine a first out-of-plane position of the spindle relative to the worktable at time t1. This position can be used to determine the deviation of the spindle’s out-of-plane position at a second time t2 from its first out-of-plane position, providing a measure of the thermal drift in that direction at time t2.
[0019] It can be further provided that the method comprises characterizing, based on the planar thermal error at time t2 and the out-of-plane thermal error at time t2, a three-dimensional thermal error of the spindle relative to the worktable at time t2. This step combines the information obtained from the horizontal and vertical patterns to provide a complete picture of the change in the spindle’s position relative to the worktable from one given moment in time to another given moment in time.BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The following description cannot be considered limiting in any way. Various objectives, features, and advantages of the disclosed subject matter can be more fully appreciated with reference to the following detailed description of thedisclosed subject matter when considered in connection with the following drawings, in which like reference numerals identify like elements.
[0021] FIG. 1 shows, according to some embodiments, a perspective view of a vision-based metrology system.
[0022] FIG. 2 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 1.
[0023] FIG. 3 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 1.
[0024] FIG. 4 shows, according to some embodiments, a perspective view of a vision-based metrology system.
[0025] FIG. 5 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 4.
[0026] FIG. 6 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 4.
[0027] FIG. 7 shows, according to some embodiments, a side view of a vision-based metrology system.
[0028] FIG. 8 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 7.
[0029] FIG. 9 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 7.
[0030] FIG. 10 shows, according to some embodiments, a side view of a vision-based metrology system.
[0031] FIG. 11 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 10.
[0032] FIG. 12 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 10.
[0033] FIG. 13 shows, according to some embodiments, an exploded view of a vision-based metrology system.
[0034] FIG. 14 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 13.
[0035] FIG. 15 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 13.
[0036] FIG. 16 shows, according to some embodiments, a zoomed view of the vision-based metrology system shown in FIG. 13.
[0037] FIG. 17 shows, according to some embodiments, an image from a wireless microscope focused on a horizontal pattern.
[0038] FIG. 18 shows, according to some embodiments, a center of rotation, C(t), being determined without a right-angle mirror.
[0039] FIG. 19 shows, according to some embodiments, an image of a horizontal pattern with the center of rotation, C(t).
[0040] FIG. 20 shows, according to some embodiments, thermal drift from one thermal state to a second thermal state of a machine tool.
[0041] FIG. 21 shows, according to some embodiments, images from a wireless microscope focused on vertical patterns.
[0042] FIG. 22 shows, according to some embodiments, a linear model of thermal drift.
[0043] FIG. 23 shows, according to some embodiments, a computing system for controlling a vision-based metrology system, acquiring data from a visionbased metrology system, and characterizing thermal errors within a machine tool based on the acquired data.DETAILED DESCRIPTION
[0044] A detailed description of one or more embodiments is presented herein by way of exemplification and not limitation.
[0045] Conventional machine tool metrology systems often rely on complex and expensive sensor arrangements, such as laser interferometers or touch probes, which can be time-consuming to set up, involve specialized expertise to operate, and may interfere with the machining process itself. These systems are frequently limited in their measurement capabilities, providing information only about specific points or axes of motion within the machine’s workspace, making it challenging to obtain a comprehensive understanding of the machine’s thermal behavior.
[0046] The vision-based metrology system for characterizing thermal errors within a machine tool overcomes these limitations. It has been discovered that a vision-based metrology system is capable of rapid, accurate, and non-invasive characterization of thermal errors throughout the machine’s workspace. One advantage of a vision-based metrology system is its ability to capture a large amount of data in a short period, enabling efficient characterization of the machine’s thermal behavior without interrupting the machining process.
[0047] In an embodiment, a vision-based metrology system for characterizing thermal errors within a machine tool includes: a tool holder 202 mountable in a spindle of the machine tool; a wireless microscope 204 mountable to the tool holder 202; a right-angle mirror 208 mountable to the tool holder 202 such that the right-angle mirror 208 is within a field of view of the wireless microscope 204; and a plurality of image targets 210, each image target 210 comprising a horizontal pattern 216 substantially parallel to a plane of motion of a worktable of the machine tool, and a vertical pattern 214 substantially orthogonal to the plane. In an embodiment, the right-angle mirror 208 is mountable to the tool holder 202 via a mirror fixture 206. In an embodiment, the mirror fixture 206 is attached to the tool holder 202 with a fastener 209 (e.g., a socket head cap screw). In an embodiment, the wireless microscope 204 is attached to the tool holder 202 with a fastener 207 (e.g., set screws). In an embodiment, the system further comprises a foam ring 203 configured to hold and seal an outer removable tube to protect the wireless microscope 204. In anembodiment, the system further comprises a right-angle adaptor 205 to enable a power cable to be connected to the wireless microscope 204. In an embodiment, the horizontal pattern 216 comprises a plurality of unique markings. In an embodiment, the vertical pattern 214 comprises a plurality of unique markings. In an embodiment, the horizontal pattern 216 and the vertical pattern 214 have different patterns. In an embodiment, each image target 210 further comprises an image target base 212 and a rubber O-ring 211 to hold and seal an outer removable cover to protect the image target 210.
[0048] It is to be understood that the term “mountable,” as used herein, refers to the ability of a component to be securely attached to another component. This attachment may be achieved through a variety of means, including but not limited to the use of threaded fasteners, adhesives, clamping mechanisms, or any other suitable technique that results in a stable and reliable connection between the components. The term “mountable” encompasses both the present state of a component being attached as well as the potential for a component to be attached, encompassing situations where a component is designed or configured to be mounted, even if not currently in an attached state. The specific manner of attachment can be any suitable method that achieves a secure and stable connection between the components and is considered within the scope of the present disclosure.
[0049] It is to be understood that the term “substantially,” as used herein, denotes a degree of approximation that is reasonable and appropriate given the context in which the term is used. This approximation accounts for variations and tolerances that are common and expected in the relevant art, recognizing that absolute precision is not always achievable or necessary for practical implementation. The term “substantially” encompasses a range of values or conditions that are sufficiently close to the specified value or condition to achieve the desired functionality, acknowledging that minor deviations may exist without significantly affecting the invention's performance. The specific range of acceptable variation implied by the term “substantially” will be readily apparent to a person having ordinary skill in the art based on the context of the disclosure and the knowledge within the relevant field.
[0050] The vision-based metrology system captures a large amount of data in a short period, enabling efficient characterization of the machine’s thermal behaviorwithout interrupting the machining process. The vision-based metrology system 200 achieves these capabilities by employing a set of integrated components.
[0051] The tool holder 202 serves as the mechanical interface between the vision-based metrology system and the machine tool, providing a stable and secure mounting point for the system’s optical components within the machine’s spindle. This holder can be implemented as a custom-designed adapter that is compatible with standard tool holder interfaces found on a variety of machine tools, ensuring broad applicability across different machine platforms. This arrangement allows for easy installation and removal of the system, minimizing downtime and simplifying integration into existing machining workflows. Tool holders can be fabricated from a variety of materials, including steel, aluminum, or other materials that offer a combination of strength, rigidity, and dimensional stability. The choice of material will depend on factors such as the specific requirements of the machine tool, the weight and size of the optical components, and the anticipated thermal loads experienced during operation.
[0052] The wireless microscope 204 is a compact and self-contained optical instrument that captures high-resolution images of the image targets. Modern wireless microscopes incorporate sophisticated image sensors, onboard processing capabilities, and wireless communication protocols, enabling them to capture, process, and transmit images without physical connections to a computer or other external devices. This wireless operation significantly simplifies the system’s integration into the machine tool environment, eliminating complex cabling and minimizing the risk of interference with the machine’s motion. Wireless microscopes also offer a wide range of magnification and resolution options, allowing the system to be tailored to the specific requirements of the application.
[0053] The right-angle mirror 208 serves to redirect part of the microscope’s optical path, enabling it to view features that are not directly aligned with its optical axis. This mirror can be implemented as a first-surface mirror, minimizing distortion and maximizing reflectivity. This arrangement expands the system’s measurement capabilities, allowing for characterization of thermal errors along multiple axes without involving repositioning the spindle or introducing additional mechanical complexity. The position and orientation of the right-angle mirror can be adjusted to optimize thesystem’s field of view, ensuring that the relevant features of the image targets are visible to the microscope.
[0054] The plurality of image targets 210 provides a set of fixed reference points within the machine tool’s workspace. These targets are strategically placed on the worktable, typically near the comers or at other locations that are representative of the machine’s overall thermal behavior. Each image target comprises a horizontal pattern 216 and a vertical pattern 214, which are implemented as arrays of high-contrast markings, such as dots, lines, or other patterns that are easily detected and analyzed by the microscope. The horizontal pattern is arranged parallel to the plane of motion of the worktable, enabling measurement of thermal errors in the X and Y axes. The vertical pattern is arranged orthogonal to the plane of the worktable, enabling measurement of thermal errors in the Z-axis.
[0055] The specific implementation of the image targets can vary depending on the requirements of the application. For example, the markings can be printed on a substrate, etched onto a surface, or implemented using other techniques that provide high contrast and dimensional stability. The size, shape, and spacing of the markings can be chosen to optimize the accuracy and resolution of the system’s measurements. The choice of materials for the image targets is also important, as they should withstand the environmental conditions within the machine tool, including variations in temperature, humidity, and exposure to cutting fluids or other contaminants.
[0056] The vision-based metrology system 200 offers numerous technical advantages over conventional machine tool metrology systems. One advantage is the system’s simplicity and adaptability, as the use of a standard tool holder 202 allows for easy integration with existing machine tools, minimizing costly modifications to the machine’s structure. Another advantage is the use of a wireless microscope 204, eliminating complex cabling and data transfer protocols. Yet another advantage is the incorporation of a right-angle mirror 208, enabling measurement along multiple axes. Finally, the use of multiple image targets 210 with distinct horizontal and vertical patterns 216 and 214, respectively, provides a comprehensive three-dimensional reference frame for characterizing thermal errors throughout the machine tool’s workspace.
[0057] The right-angle mirror 208 can be mounted to the tool holder 202 via a mirror fixture 206. The mirror fixture 206 is a specialized mechanical component that provides a stable and adjustable mounting point for the right-angle mirror 208. This fixture ensures that the mirror is accurately positioned within the microscope’s field of view and allows for fine adjustments to the mirror’s orientation, maximizing the system’s measurement accuracy and flexibility. The mirror fixture 206 can be implemented using a variety of designs, including clamps, brackets, or other mechanisms that provide secure attachment to the tool holder while allowing for adjustability.
[0058] The mirror fixture 206 is attached to the tool holder 202 with a fastener 209 (e.g., one or more socket head cap screws). Socket head cap screws 209 are threaded fasteners that provide a secure and reliable means of attaching the mirror fixture 206 to the tool holder 202. This type of fastener can be used in mechanical assemblies due to its strength, durability, and resistance to loosening under vibration. The use of multiple screws ensures even distribution of clamping forces, minimizing distortion of the mirror fixture and maintaining the accuracy of the mirror’s positioning.
[0059] The wireless microscope 204 is attached to the tool holder 202 with a fastener 207 (e.g., one or more set screws). Set screws 207 are threaded fasteners used to secure the microscope 204 to the tool holder 202. Set screws offer several advantages for this application, including their compact size, ease of adjustment, and ability to resist loosening under vibration. The use of multiple set screws ensures even distribution of clamping forces, minimizing distortion of the microscope’s housing and ensuring accurate alignment of the optical path.
[0060] The system may further include a foam ring 203 to hold and seal an outer removable tube to protect the wireless microscope 204. The foam ring 203 is a resilient and compressible component that provides both cushioning and a seal between the microscope 204 and an optional outer protective tube. This tube helps shield the microscope from damage during handling and storage, as well as from exposure to cutting fluids, chips, or other debris generated during machining operations. The foam ring can be implemented using a closed-cell foam material, suchas neoprene or polyethylene, that is resistant to deformation, chemical attack, and moisture absorption.
[0061] The system can include a right-angle adaptor 205 so that a power cable can be connected to the wireless microscope 204. The right-angle adaptor 205 is a small mechanical component that provides a convenient and protected connection point for the microscope’s power cable. The right-angle configuration helps minimize strain on the cable, reducing the risk of damage or disconnection during operation. The adaptor can be implemented using a variety of connector types, including USB, mini-USB, or other standard interfaces, depending on the specific requirements of the microscope.
[0062] The horizontal pattern 216 can include a plurality of unique markings. The use of unique markings, rather than a simple repeating pattern, enables accurate identification and tracking of individual features on the image target during image analysis. This technique allows for more precise measurement of thermal errors, as it minimizes the potential for errors due to misidentification of features or from changes in the target’s appearance due to lighting variations or other factors. Unique markings can be implemented using a variety of techniques, including variations in size, shape, or orientation of individual markings within the pattern.
[0063] The vertical pattern 214 can include a plurality of unique markings. The use of unique markings on the vertical pattern 214, similar to the horizontal pattern 216, allows for robust and accurate measurement of thermal errors in the Z-axis. By analyzing the out-of-plane positions of these unique markings in images captured between two given times, the system can precisely determine the spindle’s out-of-plane displacement, even in the presence of noise, lighting variations, or minor defects on the image target’s surface. The specific implementation of unique markings on the vertical pattern can be chosen to complement those on the horizontal pattern, ensuring that the system provides a complete and unambiguous three-dimensional reference frame for characterizing thermal errors.
[0064] The horizontal pattern 216 and the vertical pattern 214 may have different patterns. It is contemplated that the term pattern includes both geometric (e.g., lines, curves, shapes, and the like) as well as color or texturing. The use ofdifferent patterns for the horizontal and vertical patterns 216 and 214, respectively, simplifies image analysis by providing a clear visual distinction between the two patterns. This pattern distinction enables the image processing algorithms to readily identify and isolate the relevant features from each pattern, reducing processing time and minimizing errors due to misidentification of features. The choice of patterns can be based on factors such as the spectral response of the microscope’s image sensor, the lighting conditions within the machine tool, and the desired level of contrast between the patterns and the background.
[0065] Each image target 210 can include an image target base 212 and a rubber O-ring 211 to hold and seal an outer removable cover to protect the image target 210. The image target base 212 provides a stable mounting platform for the horizontal and vertical patterns 216 and 214, respectively. The rubber O-ring 211 seals the outer removable cover, protecting the markings on the target from damage during handling, storage, or exposure to the machine tool environment. The removable cover enables periodic cleaning of the image target without disturbing its mounting or alignment on the worktable. The image target base can be implemented using a variety of materials, including metals, plastics, or composites, depending on the desired level of durability, dimensional stability, and cost.
[0066] This combination of features results in a robust, accurate, and adaptable vision-based metrology system. The use of a standard tool holder 202 provides flexibility for integration into a variety of machines. Mounting the right-angle mirror 208 on a dedicated fixture 206, securely attached to the tool holder 202 with socket head cap screws 209, ensures precise positioning and alignment of the mirror within the microscope’s field of view. Attaching the wireless microscope 204 to the tool holder 202 with set screws 207 allows for secure mounting and precise adjustment of the microscope’s position. The incorporation of a foam ring 203 to hold and seal a protective outer tube safeguards the wireless microscope 204 during storage and handling. The inclusion of a right-angle adaptor 205 offers a convenient and protected connection point for the microscope’s power cable. Employing a plurality of unique markings on both the horizontal and vertical patterns 216 and 214, respectively, allows for robust tracking of the spindle’s position during data acquisition. Using distinct colors for the horizontal and vertical patterns 216 and 214 further simplifies image analysisby enabling the algorithms to readily distinguish between the patterns. Finally, mounting the horizontal and vertical patterns 216 and 214 on an image target base 212, sealed with a rubber O-ring 211 to protect the markings from the machine tool environment, ensures both durability and stability of the image targets over time.
[0067] FIG. 1 shows a vision-based metrology system 200 in an exemplary configuration. The tool holder 202 is designed to be mounted in the spindle of a machine tool, allowing the system to leverage the spindle’s rotational and translational capabilities for data acquisition. The wireless microscope 204 is securely attached to the tool holder, capturing high-resolution images of the image target 210. The rightangle mirror 208, positioned within the microscope’s field of view, enables the system to measure thermal errors in multiple directions. The image target 210, comprising both a horizontal pattern 216 and a vertical pattern 214, is mounted on the machine tool’s worktable. The horizontal pattern 216 is arranged parallel to the plane of motion of the worktable, enabling the system to detect thermal errors in the X and Y axes, while the vertical pattern 214 is arranged perpendicular to the plane of the worktable, enabling measurement of thermal errors in the Z axis. The system operates by capturing images of the image target from various viewpoints, achieved through controlled rotation and translation of the spindle.
[0068] The wireless microscope 204 transmits images to a remote device, such as a computer or a smartphone, for storage and analysis. Image analysis algorithms are employed to determine the positions of the unique markings on the horizontal and vertical patterns 216 and 214, respectively. These positions are then used to calculate the spindle’s center of rotation and its displacement along the Z-axis, providing quantitative measurements of the thermal errors in the machine tool. The accuracy and resolution of the system’s measurements depend on factors such as the magnification of the microscope, the resolution of the image sensor, and the precision of the spindle’s motion control. The image target 210 can be implemented as a printed or etched pattern on a rigid substrate, ensuring dimensional stability and resistance to environmental degradation. The specific choice of materials for the image target can be dictated by factors such as the anticipated thermal loads, the presence of cutting fluids or other contaminants, and the required accuracy of the measurements.
[0069] The vision-based metrology system 200 is capable of characterizing a wide range of thermal errors, including those caused by variations in ambient temperature, heat generated by the machine tool’s operation, or other sources of thermal disturbance. The system’s non-invasive nature minimizes the risk of interference with the machining process, enabling measurements to be performed during non-disruptive pauses in actual machining operations, providing a real-time assessment of the machine’s thermal state. The data obtained from the system can be used to develop thermal error compensation models, improve machine tool design, or optimize machining processes to minimize the impact of thermal errors on part quality. The vision-based metrology system 200 offers a combination of speed, accuracy, affordability, and ease of use.
[0070] FIG. 2 provides a closer view of the vision-based metrology system 200, focusing on the arrangement of the wireless microscope 204 and the right-angle mirror 208. The tool holder 202 securely houses the microscope 204 and the rightangle mirror 208, ensuring their precise alignment and stability during the measurement process. The microscope 204 is positioned such that its optical axis is directed towards the horizontal pattern 216 on the image target 210. The right-angle mirror 208 is strategically placed within the microscope’s field of view, allowing for the capture of images that provide information about the spindle’s position relative to both the horizontal pattern 216 and the vertical pattern 214. This arrangement enables the system to measure thermal errors along multiple axes and allows for measurements without involving physical repositioning of the spindle, simplifying the measurement process and reducing the time involved for data acquisition.
[0071] The precise positioning of the right-angle mirror 208 relative to the microscope 204 provides accuracy of the system’s measurements. This positioning can be achieved through the use of precision alignment techniques and specialized mounting hardware that minimize tolerances. The right-angle mirror 208 can be implemented using a first-surface mirror, minimizing distortion and maximizing reflectivity. The choice of materials for the mirror’s substrate and coatings will depend on factors such as the wavelength range of the microscope’s light source, the involved level of reflectivity, and the environmental conditions within the machine tool. The wireless microscope 204 may incorporate a variety of features, such as adjustablemagnification, variable lighting, and autofocus capabilities, enhancing the system’s flexibility and enabling adaptation to different image target designs.
[0072] The tool holder 202 can be equipped with additional features, such as thermal insulation or cooling systems, to minimize the impact of the machine tool’s thermal environment on the system’s measurements. The wireless communication capabilities of the microscope 204 allow for real-time monitoring of the images captured during the measurement process, providing immediate feedback to the operator and enabling adjustments to the system’s configuration as desired. The system’s software may incorporate sophisticated image processing algorithms to compensate for distortions introduced by the right-angle mirror, further enhancing the accuracy of the system’s measurements. The system can be calibrated using a variety of techniques, such as referencing to a known artifact or employing a laser interferometer to establish a baseline for comparison. The vision-based metrology system 200, as depicted in FIG. 2, offers a robust, accurate, and adaptable solution for characterizing thermal errors within machine tools, contributing to improved part quality and increased manufacturing efficiency.
[0073] FIG. 3 shows a perspective view of the vision-based metrology system 200, highlighting its compact size and the arrangement of its components within the machine tool’s spindle. The tool holder 202, designed to securely hold the wireless microscope 204 and the right-angle mirror 208, is shown in its operational position within the spindle. The microscope 204 is positioned to capture images of the image target 210 mounted on the machine tool’s worktable. The right-angle mirror 208, strategically placed within the microscope’s field of view, allows the system to measure thermal errors along multiple axes. The compact size of the system minimizes interference with the machine tool’s operation, enabling measurements to be performed without disrupting the machining process. The system’s non-invasive nature makes it suitable for use with a variety of workpieces and materials, including delicate or sensitive components that might be damaged by contact-based measurement methods.
[0074] The vision-based metrology system 200 depicted in FIG. 3 characterizes thermal errors with high accuracy and repeatability. The wireless communication capabilities of the microscope 204 enable real-time monitoring of theimages being captured, providing immediate feedback to the operator and enabling adjustments to the system’s configuration as desired. The system’s software may incorporate algorithms for image analysis, allowing for automated detection and tracking of features on the image target, reducing the potential for human error and increasing the speed of data acquisition. The use of a right-angle mirror 208 expands the system’s measurement capabilities, enabling characterization of thermal errors along multiple axes without involving complex mechanical adjustments.
[0075] The image target 210 can be implemented using a variety of materials, such as ceramics, composites, or metals with low thermal expansion coefficients, minimizing the impact of temperature variations on the target’s dimensions and ensuring the accuracy of the system’s measurements. The choice of materials for the tool holder 202 will depend on factors such as the specific requirements of the machine tool, the anticipated thermal loads, and the desired durability of the system. The wireless microscope 204 can be powered by a rechargeable battery, further enhancing the system’s portability and flexibility, allowing it to be easily moved within a machine tool and between different machine tools or workstations. The vision-based metrology system 200, as depicted in FIG. 3, offers a powerful tool for characterizing and compensating the thermal errors within machine tools, contributing to improved part quality and reduced manufacturing costs.
[0076] FIG. 4, FIG. 5, and FIG. 6 show the vision-based metrology system 200, with the wireless microscope 204 focused on the vertical pattern 214 of an image target 210 via the right-angle mirror 208. The arrangement of the microscope 204, mirror 208, and tool holder 202 allows the system to capture images of the vertical pattern 214, which is positioned orthogonal to the plane of the worktable. This configuration enables measurement of thermal errors in the Z-axis, complementing the system’s ability to measure thermal errors in the X and Y axes using the horizontal pattern 216. By capturing images of the vertical pattern 214 at time t1 and time t2, the system can determine the spindle’s relative displacement in the Z-axis direction, providing a quantitative measurement of the thermal error in the Z-axis direction from time t1 to time t2.
[0077] The right-angle mirror 208 redirects part of the microscope’s optical path for viewing features that are not directly aligned with its optical axis. The mirror’spositioning and alignment ensure accuracy of the system’s measurements. This alignment can be achieved through the use of precision machining techniques, specialized mounting hardware, and calibration procedures that minimize tolerances and account for any potential distortions introduced by the mirror. The image target 210, with its distinct horizontal and vertical patterns 216 and 214, respectively, provides a comprehensive three-dimensional reference frame for characterizing thermal errors. The unique markings on each pattern allow for robust and accurate tracking of the spindle’s position during data acquisition, enabling the system to compensate for variations in lighting, focus, or other factors that might affect individual images.
[0078] The system’s software may incorporate sophisticated algorithms for image analysis, enabling automated detection and tracking of features on the image target and reducing the potential for human error. These algorithms can include techniques such as edge detection, pattern recognition, and feature matching to identify and track the unique markings on the horizontal and vertical patterns 216 and 214. The use of a wireless microscope 204 simplifies the system’s integration into the machine tool environment, eliminating complex cabling and minimizing the risk of interference with the machine’s motion. The tool holder 202, designed to be compatible with standard tool holder interfaces, ensures broad applicability across different machine tool platforms. The vision-based metrology system 200 offers numerous advantages, including its non-invasive nature, its ability to capture a large amount of data in a short period, and its potential for integration into existing machining workflows. The system provides a practical and cost-effective solution for characterizing and compensating for thermal errors in machine tools.
[0079] FIG. 7, FIG. 8, and FIG. 9 show the vision-based metrology system 200 from a side view, further highlighting the system’s ability to capture images of both the horizontal pattern 216 and the vertical pattern 214. The wireless microscope 204 is positioned within the tool holder 202, and the right-angle mirror 208 is placed within the microscope’s field of view. When the microscope 204 is focused on the horizontal pattern 216, the system captures images that reveal the spindle’s position relative to the plane of the worktable. By rotating the spindle, the system captures images from multiple viewpoints, allowing for accurate determination of the spindle’s center ofrotation. When the microscope 204 is focused on the vertical pattern 214 via the rightangle mirror 208, the system captures images that provide information about the spindle’s displacement in the Z-axis direction. By positioning the machine tool axes and spindle in the same way for time t1 and time t2, the system measures the Z-axis displacement of the vertical pattern 214 from the images collected at time t1 and time t2, enabling precise measurement of the thermal drift in the Z-axis direction.
[0080] The image target 210, with its distinct horizontal and vertical patterns 216 and 214, serves as a fixed reference frame within the machine tool’s workspace, enabling the system to quantify the spindle’s displacements. The unique markings on each pattern allow for robust and accurate tracking of the spindle’s position during data acquisition, even in the presence of minor defects or variations in the image target’s surface. The use of a wireless microscope 204 simplifies the system’s integration, minimizing complex cabling and allowing for flexible positioning of the system within the machine tool. The tool holder 202, designed to be compatible with standard tool holder interfaces, ensures adaptability to a wide range of machine tool platforms.
[0081] The system’s software may incorporate image processing techniques, such as filtering, edge detection, and pattern recognition, to enhance the quality of the captured images and improve the accuracy of the system’s measurements. The data acquired from the vision-based metrology system 200 can be used to generate thermal error compensation tables, allowing for adjustments to the machine tool’s motion to account for the measured thermal drifts. These compensation tables can be integrated into the machine tool’s controller, enabling automated correction of thermal errors in real time. The system’s ability to perform measurements rapidly and non-invasively makes it suitable for use in a variety of manufacturing scenarios.
[0082] FIG. 10, FIG. 11 , and FIG. 12 present another side view of the visionbased metrology system 200 with the wireless microscope 204 focused on the vertical pattern 214 of an image target 210 via the right-angle mirror 208. This perspective highlights the importance of the right-angle mirror 208 in enabling measurement of thermal errors in the Z-axis direction. The mirror 208 redirects part of the microscope’s 204 optical path, allowing it to capture images of the vertical pattern 214, which ispositioned orthogonally to the plane of the worktable. By capturing images of the vertical pattern 214 at two given times, achieved through the same positioning of the spindle at the two given times, the system can accurately determine the spindle’s displacement in the Z-axis direction. The image target 210, with its distinct horizontal and vertical patterns 216 and 214, serves as a fixed reference frame within the machine tool’s workspace, enabling the system to quantify the spindle’s displacements in multiple directions.
[0083] The system’s software may incorporate sophisticated image processing algorithms to analyze the images captured by the wireless microscope 204, enabling automated detection and tracking of the unique markings on both the horizontal and vertical patterns 216 and 214. These algorithms can include a variety of techniques, including edge detection, pattern recognition, and sub-pixel interpolation, to achieve high accuracy and resolution in determining the positions of the markings. The system’s ability to perform measurements rapidly and non-invasively makes it particularly suitable for use in high-volume manufacturing environments where minimizing downtime and maintaining process efficiency are critical. The data acquired from the vision-based metrology system 200 can be used to generate thermal error compensation tables.
[0084] These tables can be integrated into the machine tool’s controller, enabling automated correction of thermal errors in real time during machining operations. The tool holder 202, designed to be compatible with standard tool holder interfaces, ensures broad applicability across different machine tool platforms. The wireless microscope 204 eliminates complex cabling and data transfer protocols, simplifying the system’s integration and reducing the risk of interference with the machine’s operation. The vision-based metrology system 200, as depicted in FIG. 10, FIG. 11, and FIG. 12, offers a cost-effective and practical solution for characterizing and compensating for thermal errors within machine tools, contributing to improved part quality and increased manufacturing productivity.
[0085] FIG. 13, FIG. 14, FIG. 15, and FIG. 16 show exploded isotropic views of the vision-based metrology system 200, revealing the individual components and their relationships within the assembly. The tool holder 202 serves as a structural element, providing a stable mounting point for the wireless microscope 204, the right-angle mirror 208, and the associated mounting hardware. The foam ring 203 is positioned within the tool holder 202, providing a cushion and a seal for an outer removable tube, which is not shown but is understood to encase the microscope 204 and its attachments for protection. The right-angle adaptor 205 is attached to the wireless microscope 204, enabling the connection of a power cable. Multiple set screws 207 secure the wireless microscope 204 to the tool holder 202, ensuring its stability and precise alignment.
[0086] The mirror fixture 206 provides a stable and adjustable mounting point for the right-angle mirror 208, allowing for fine adjustments to the mirror’s orientation and maximizing the system’s measurement accuracy. The mirror fixture 206 is attached to the tool holder 202 with fasteners 209 (e.g., socket head cap screws), ensuring a secure and stable connection. On the worktable, the image target 210 is shown in an exploded view, revealing the image target base 212, the horizontal pattern 216, and the vertical pattern 214. The rubber O-ring 211, positioned on the image target base 212, serves to hold and seal an outer removable cover, which is not shown but is understood to protect the markings on the image target 210.
[0087] The exploded views provide an understanding of the system’s construction and assembly. The exploded views also demonstrate the modularity of the system, enabling individual components to be easily replaced or upgraded as desired. The foam ring 203 can be implemented using a variety of foam materials, chosen for their density, compressibility, and resistance to environmental factors present in the machine tool’s workspace. The right-angle adaptor 205 ensures a reliable connection for the microscope’s power cable, minimizing the risk of disconnection during operation. The fasteners 207 and fasteners 209 can be tightened to specific torque values, ensuring consistent clamping forces and maximizing the stability of the assembly. The rubber O-ring 211 provides a durable and reliable seal for the image target’s protective cover, safeguarding the markings on the horizontal and vertical patterns 216 and 214. The vision-based metrology system 200 offers a practical solution for characterizing thermal errors within machine tools, contributing to improved part quality and increased manufacturing efficiency.
[0088] Vision-based metrology system 200 can be made of various elements and components that are fabricated and arranged together. Elements ofvision-based metrology system 200 can be various sizes and shapes. Elements of vision-based metrology system 200 can be made of a material that is physically or chemically resilient in an environment in which vision-based metrology system 200 is disposed. Exemplary materials include a metal, ceramic, thermoplastic, glass, semiconductor, and the like. The elements of vision-based metrology system 200 can be made of the same or different material and can be monolithic in a single physical body or can be separate members that are phsycially joined.
[0089] The tool holder 202 provides a secure and stable mounting point for the system’s optical components within the spindle of a machine tool. The tool holder 202 can be implemented as a custom-designed adapter that is compatible with standard tool holder interfaces, enabling integration with various machine tools without involving modifications to the machine’s structure. The tool holder 202 is designed to securely hold the wireless microscope 204 and the right-angle mirror 208, ensuring precise alignment and minimizing movement or vibration during operation. Variations in the tool holder’s design can include accommodations for different sizes and types of microscopes and mirrors, as well as features such as adjustable mounting points or mechanisms for fine-tuning the alignment of the optical components. The tool holder 202 can be fabricated from a variety of materials, including metals, plastics, or composites, with the choice of material being determined by factors such as the weight and size of the microscope and mirror, the anticipated loads during operation, and the desired durability and dimensional stability of the system. The specific implementation of the tool holder 202 will depend on the particular requirements of the application and the characteristics of the machine tool. For instance, tool holders designed for use in high-speed machining environments may incorporate features to minimize vibration or dampen resonance, ensuring the stability of the optical path and the accuracy of the system’s measurements. Tool holders designed for use in harsh environments, such as those involving exposure to cutting fluids, can be fabricated from corrosion-resistant materials or coated with protective finishes to ensure long-term durability and reliability. The tool holder 202 is a link between the vision-based metrology system and the machine tool, enabling seamless integration and maximizing the system’s adaptability across different machine platforms. The tool holder 202 is designed to securely hold the microscope 204 and mirror 208, ensuring consistent and precise alignment of the optical components. The choice of materials and design features forthe tool holder 202 will depend on the specific application requirements, including factors such as machine tool compatibility, load capacity, dimensional stability, and resistance to environmental factors.
[0090] The foam ring 203 is a resilient component designed to enhance the robustness and durability of the vision-based metrology system. The foam ring 203 can be positioned within the tool holder 202, surrounding the wireless microscope 204 and its associated components. This ring serves a dual purpose, providing both cushioning to protect the optical components from shocks or impacts during handling and storage and a seal to prevent the ingress of contaminants such as dust, debris, or cutting fluids. The foam ring 203 is implemented using a closed-cell foam material, such as neoprene, polyethylene, or other suitable elastomers. Closed-cell foams are characterized by their ability to resist compression and deformation, recovering their original shape after being subjected to pressure. They also offer good thermal insulation properties, minimizing the impact of temperature variations on the sensitive optical components. Variations in the foam ring’s 203 design can include modifications to its shape, size, or density to accommodate different tool holder designs and microscope configurations. Alternative implementations can include different foam materials, such as open-cell foams or composite foam structures, depending on the specific requirements of the application. The foam ring 203 contributes to the overall reliability of the vision-based metrology system by providing cushioning and a protective seal. The use of a closed-cell foam material ensures resistance to deformation and environmental factors present in the machine tool workspace. The foam ring’s ability to conform to the shape of the outer removable tube and the tool holder enhances the effectiveness of the protective seal.
[0091] The wireless microscope 204 captures images of the image targets 210 that are used to characterize thermal errors. This microscope is a self-contained optical instrument that incorporates an image sensor, onboard processing capabilities, and wireless communication protocols. The wireless functionality allows the microscope 204 to transmit images to a remote device, such as a computer or a smartphone, for storage and analysis without involving physical cables that could interfere with the machine tool’s operation. Modem wireless microscopes offer a range of magnification and resolution options, enabling the system to be tailored to thespecific requirements of the application. Some wireless microscopes incorporate features such as adjustable lighting, autofocus capabilities, and digital zoom, further enhancing the system’s flexibility and ensuring optimal image quality. The wireless microscope 204 can be powered by a rechargeable battery, allowing for extended operation without a continuous external power source. The microscope’s design can include features to minimize the impact of thermal variations on its performance, such as the use of materials with low thermal expansion coefficients or the incorporation of thermal insulation. Alternative implementations of the microscope can include wired microscopes, provided that the cabling does not interfere with the machine tool’s operation, or microscopes with different optical configurations, such as stereo microscopes or microscopes with specialized illumination systems. The wireless microscope 204 captures high-resolution images of the image target for analysis. Its wireless capabilities simplify system integration and minimize interference, while its range of features and functionalities allow for adaptation to a variety of applications and machine tool environments.
[0092] The right-angle adaptor 205 facilitates a robust and practical implementation of the vision-based metrology system by providing a convenient and protected connection point for the wireless microscope’s power cable. This adapter can be a small mechanical component that attaches to the microscope’s power input port, allowing for a secure connection to an external power source. The right-angle configuration of the adapter minimizes strain on the cable, reducing the risk of damage during usage. Variations in the right-angle adaptor 205’s design can include accommodations for different connector types, such as USB, mini-USB, or other standard interfaces commonly used for powering electronic devices. Alternative implementations can include straight adaptors, wireless power transfer systems, or integrated battery packs within the microscope, each offering tradeoffs in terms of convenience, cost, and complexity. The right-angle adaptor 205 contributes to the practicality and reliability of the vision-based metrology system, ensuring a robust and protected power connection for the wireless microscope. The right-angle configuration minimizes strain on the cable. The adapter’s compatibility with standard connector types simplifies integration with readily available power sources.
[0093] The mirror fixture 206 provides a stable and adjustable platform for mounting the right-angle mirror 208, ensuring its precise positioning and alignment within the microscope’s 204 field of view. This fixture can be implemented as a custom-designed mechanical component that attaches to the tool holder 202, enabling the mirror 208 to be securely positioned relative to the microscope 204. The mirror fixture 206 may incorporate features that allow for fine adjustments to the mirror’s orientation, enabling precise alignment of the optical path and maximizing the system’s measurement accuracy. Variations in the mirror fixture’s 206 design can include different mounting mechanisms, such as clamps, brackets, or magnetic attachments, depending on the specific geometry of the tool holder 202 and the space constraints within the spindle. The mirror fixture 206 can also incorporate features to enhance the stability of the mirror 208, such as vibration damping elements or mechanisms for locking the mirror’s position once it is aligned. Alternative implementations of the mirror fixture 206 can involve integrating the mirror directly into the tool holder 202, eliminating a separate fixture, or employing adjustable optical mounts commonly used in laboratory settings. The mirror fixture 206 provides accuracy and reliability of the vision-based metrology system. The fixture’s precise alignment capabilities and secure mounting mechanisms ensure that the right-angle mirror 208 remains stable and properly oriented during the machine tool’s operation, maximizing the accuracy and repeatability of the system’s measurements.
[0094] The fastener 207 serves to securely attach the wireless microscope 204 to the tool holder 202, ensuring a stable and reliable connection between these components. In an embodiment, the fastener 207 is a set screw. Set screws are threaded fasteners used in mechanical assemblies to lock one component relative to another. They can be implemented as headless screws that are tightened into a threaded hole, applying pressure on the mating component to prevent movement. In the context of the vision-based metrology system, the set screw 207 is threaded into the tool holder 202 and tightened against the microscope 204, firmly holding the microscope in its desired position. Variations in the set screw 207’s implementation can include different sizes, thread types, and materials, depending on the specific requirements of the application. For instance, set screws designed for use in high-vibration environments may incorporate features such as locking mechanisms or specialized thread profiles to prevent loosening. Alternative implementations caninclude different types of fasteners, such as clamping mechanisms or adhesives, each offering trade-offs in terms of adjustability, ease of assembly, and cost. The set screw 207 ensures a robust and stable connection between the wireless microscope 204 and the tool holder 202. The use of set screws allows for precise adjustment of the microscope’s position and orientation and minimizes the risk of movement or loosening during the machine tool’s operation, contributing to the accuracy and reliability of the system’s measurements.
[0095] The right-angle mirror 208 enables the vision-based metrology system to measure thermal errors along multiple axes. The right-angle mirror 208 can be mounted to the tool holder 202, e.g., via the mirror fixture 206, and is positioned within the field of view of the wireless microscope 204. The mirror’s reflective surface is oriented at a 45-degree angle to the microscope’s optical axis, redirecting part of the light path by 90 degrees. This arrangement allows the microscope to capture images of features, such as the vertical pattern 214 on the image target, that are not directly aligned with its optical axis. The right-angle mirror 208 can be implemented as a first-surface mirror in which the reflective coating is applied to the front surface of the mirror substrate, minimizing distortion and maximizing reflectivity. The choice of materials for the mirror’s substrate and coatings will depend on factors such as the wavelength range of the microscope’s light source, the involved level of reflectivity, and the environmental conditions within the machine tool. Variations in the right-angle mirror’s design can include modifications to its size, shape, and surface finish to optimize its performance for specific applications. Alternative implementations can involve using multiple mirrors or prisms to achieve the desired redirection of the optical path. The right-angle mirror 208 enables characterization of thermal errors along multiple axes without adding complexity or involving time-consuming adjustments. The use of a first-surface mirror minimizes distortion and maximizes reflectivity, ensuring high-quality images for analysis. The mirror’s precise positioning and alignment within the microscope’s field of view allow for maintaining measurement accuracy.
[0096] The fastener 209 securely attaches the mirror fixture 206 to the tool holder 202, ensuring a stable and reliable connection between these components. In an embodiment, fastener 209 is a socket head cap screw that has a hexagonal recess in the head, allowing it to be tightened using a hex key or Allen wrench. This type offastener can be used in mechanical assemblies where space is limited or where a low profile is desired. In the context of the vision-based metrology system, the socket head cap screw 209 is threaded into the tool holder 202 and tightened against the mirror fixture 206, firmly holding the fixture in its desired position. Variations in the socket head cap screw 209’s implementation can include different sizes, thread types, and materials, depending on the specific requirements of the application. For instance, screws designed for use in high-vibration environments may incorporate locking mechanisms or specialized thread profiles to prevent loosening. Alternative implementations can include other types of fasteners, such as button head cap screws or shoulder screws, each offering tradeoffs in terms of head size, bearing surface, and ease of adjustment. The socket head cap screw 209 provides a robust and reliable connection between the mirror fixture 206 and the tool holder 202. Its compact design and secure fastening mechanism minimize the risk of loosening or misalignment, contributing to the stability and accuracy of the vision-based metrology system.
[0097] The image target 210 provides a fixed reference point within the machine tool’s workspace. The image target 210 is mounted on the worktable and comprises both a horizontal pattern 216 and a vertical pattern 214, each including an array of markings that are easily recognizable and trackable by the wireless microscope 204. These markings can be implemented using a variety of techniques, including printing, etching, or laser engraving, and are chosen to provide high contrast and dimensional stability. The horizontal pattern 216 is arranged parallel to the plane of motion of the worktable, enabling measurement of thermal errors in the X and Y axes, while the vertical pattern 214 is arranged perpendicular to the plane of the worktable, enabling measurement of thermal errors in the Z axis. The specific implementation of the image target 210 can vary depending on factors such as the involved accuracy, the size of the machine tool’s workspace, and the environmental conditions within the machine tool. The markings can include simple geometric shapes, such as dots, lines, or crosses, or more complex patterns designed for robust tracking using image processing algorithms. The image target 210 can be fabricated from a variety of materials, including metals, plastics, or ceramics, chosen for their dimensional stability, resistance to wear and tear, and compatibility with the machine tool environment. Variations in the image target’s design can include modifications to the size, shape, and arrangement of the markings, as well as the use of differentmaterials or fabrication techniques. Alternative implementations can involve using a single image target with markings arranged to allow for simultaneous measurement of thermal errors in all three axes, or employing multiple image targets distributed throughout the workspace to obtain a more comprehensive characterization of the machine tool’s thermal behavior. The image target 210 provides a stable and reliable reference frame for measuring thermal errors. The high-contrast markings and robust design ensure accurate and repeatable measurements, while the ability to customize the target’s design allows for adaptation to a wide range of machine tools and measurement requirements.
[0098] The seal 211 contributes to long-term reliability and accuracy of the vision-based metrology system. In an embodiment, seal 211 is an elastomeric O-ring, such as rubber. This O-ring can be positioned on the image target base 212 and serves to seal an outer removable cover, protecting the image target 210’s markings from damage or contamination. The rubber O-ring 211 is implemented using an elastomeric material, commonly nitrile rubber, silicone rubber, or fluorocarbon rubber. These materials are chosen for their flexibility, resilience, and resistance to environmental factors such as temperature variations, moisture, and chemicals. The O-ring’s circular cross-section and precise dimensions allow it to create a tight seal when compressed between the image target base 212 and the outer cover, preventing the ingress of dust, debris, or cutting fluids that could obscure the markings or affect the system’s measurements. Variations in the O-ring’s design can include modifications to its size, material, and cross-sectional shape, depending on the specific geometry of the image target base 212 and the outer cover. Alternative implementations can include gaskets, seals, or other sealing mechanisms commonly used in mechanical assemblies to achieve a similar protective function. The rubber 0-ring 211 ensures the longevity and accuracy of the image target by protecting its markings from damage and contamination. Its elastic properties allow for a tight seal, and its material characteristics offer resistance to the challenging conditions often encountered within a machine tool environment.
[0099] The image target base 212 provides a robust and stable platform for the horizontal and vertical patterns 216 and 214, ensuring their secure attachment to the machine tool’s worktable. The image target base 212 can be implemented as arigid structure, fabricated from materials such as metal, plastic, or ceramic, that can withstand the environmental conditions within the machine tool and maintain dimensional stability over time. The image target base 212 may incorporate features such as mounting holes or slots to facilitate secure attachment to the worktable, ensuring that the image target 210 remains fixed in its desired position during the machine’s operation. Variations in the image target base’s 212 design can include modifications to its size, shape, and material to accommodate different image target sizes, worktable configurations, and environmental conditions. Alternative implementations can involve integrating the horizontal and vertical patterns 216 and 214 directly onto the worktable surface or using a magnetic mounting system to secure the image target 210, offering trade-offs in terms of cost, ease of installation, and durability. The image target base 212 ensures the stability and accurate positioning of the image target 210 within the machine tool’s workspace. Its rigid structure and secure mounting mechanisms minimize movement or vibration that could introduce errors into the system’s measurements. The image target base 212’s material characteristics and design considerations ensure compatibility with a variety of worktable configurations and machine tool environments.
[0100] The vertical pattern 214 enables the vision-based metrology system 200 to characterize thermal errors along the machine tool’s Z-axis. This pattern is implemented as an array of high-contrast markings that are arranged substantially orthogonal to the plane of the worktable, typically on the same image target base 212 as the horizontal pattern 216. The vertical pattern 214 allows the system to measure the spindle’s displacement in the Z-axis direction by capturing images of the pattern for the same commanded machine position at two different times while the spindle is substantially stationary. The specific implementation of the vertical pattern 214 can vary depending on factors such as the involved measurement resolution, the field of view of the wireless microscope 204, and the available space on the image target base 212. The markings on the vertical pattern 214 can include geometric shapes, such as dots or lines, or more complex patterns designed for robust tracking and analysis using image processing algorithms. The markings can be fabricated using techniques that provide high contrast, such as printing, etching, or laser engraving, and are chosen to be easily distinguishable from the background of the image target base 212. The vertical pattern 214, in combination with the horizontal pattern 216, provides acomprehensive three-dimensional reference frame for characterizing thermal errors within the machine tool’s workspace. Its orthogonal arrangement relative to the worktable’s plane of motion allows for measurement of out-of-plane thermal drift, a critical factor in maintaining the accuracy of many machining operations.
[0101] The horizontal pattern 216 enables the vision-based metrology system 200 to characterize thermal errors in the plane of motion of the machine tool’s worktable. This pattern, e.g., positioned on the image target base 212, can include a series of high-contrast markings that are easily detectable and trackable by the wireless microscope 204. The markings are arranged in a plane that is substantially parallel to the plane of motion of the worktable. This arrangement allows for precise measurement of the spindle’s position in the X and Y axes by analyzing the positions of the markings in images captured during spindle rotation. The specific implementation of the horizontal pattern 216 can vary depending on the desired measurement accuracy, the field of view of the wireless microscope, and the available space on the image target base. The markings on the horizontal pattern 216 can include dots, lines, crosses, or other geometric shapes, or even more complex patterns designed for robust tracking using image processing algorithms. The choice of markings and their arrangement can depend on factors such as the involved measurement resolution, the desired robustness to variations in lighting or focus, and the complexity of the image processing algorithms employed. The markings on the horizontal pattern 216 can be fabricated using techniques such as printing, etching, or laser engraving, ensuring high contrast and precise dimensions. The horizontal pattern 216, in conjunction with the vertical pattern 214, forms a comprehensive three-dimensional reference frame for characterizing the thermal behavior of the machine tool. Its arrangement parallel to the worktable’s plane of motion allows for sensitive measurement of in-plane thermal errors for achieving and maintaining high precision in many machining operations.
[0102] Several additional elements and considerations can be included in the vision-based metrology system 200. The system can include a suitable processing unit capable of receiving and analyzing the images captured by the wireless microscope 204. This processing unit can be implemented as a computer, a laptop, or even a smartphone, equipped with appropriate software for image processing andanalysis. The specific choice of processing unit will depend on factors such as the desired processing speed, the complexity of the image analysis algorithms, and the involved storage capacity for the acquired data. The software employed for image analysis can involve a variety of techniques, including edge detection, pattern recognition, feature matching, and sub-pixel interpolation, enabling the system to accurately determine the positions of the unique markings on the image targets 210. Furthermore, the system benefits from precise control of the machine tool’s spindle during data acquisition. The spindle’s rotation and translation can be carefully synchronized with the microscope’s image capture rate to ensure that the captured images are sharp and free from motion blur. This synchronization can be achieved through the use of a dedicated motion controller or by leveraging the machine tool’s existing control system, provided that it offers sufficient precision and control over the spindle’s movements. The vision-based metrology system can also incorporate additional features or functionalities to enhance its performance or adaptability. For example, the system can include temperature sensors to monitor the thermal environment within the machine tool, providing additional data that can be used to refine the thermal error model. The system can also be equipped with a user interface to allow for easy control and monitoring of the measurement process, enabling operators to adjust parameters, visualize data, and generate reports. The specific implementation of these additional elements can depend on the particular requirements of the application and the capabilities of the machine tool being used. The vision-based metrology system offers a versatile and adaptable solution for characterizing thermal errors within machine tools, providing a foundation for improving part quality and optimizing machining processes.
[0103] The embodiments depicted in the figures and described herein should be considered exemplary, not limiting. The vision-based metrology system 200 is adaptable to a wide range of implementations, employing various materials and fabrication techniques. The tool holder 202, for example, can be constructed from various metals, such as stainless steel, aluminum alloys, or titanium, chosen for their strength, rigidity, and dimensional stability. Polymeric materials, such as reinforced plastics or composites, offer a lightweight alternative with good mechanical properties and the potential for reduced thermal conductivity, minimizing the impact of temperature variations on the system’s measurements. The right-angle mirror 208 canbe implemented using a variety of substrate materials, including glass, quartz, or ceramics, depending on factors such as reflectivity, thermal stability, and cost. The coatings applied to the mirror’s surface can include metallic films, dielectric coatings, or other materials that enhance reflectivity within the specific wavelength range used by the wireless microscope 204. The image target 210 can be fabricated from various materials as well, such as metals, ceramics, or composites, chosen to provide a stable and dimensionally accurate platform for the horizontal and vertical patterns 216 and 214. The markings on the patterns can be implemented using techniques such as printing, etching, or laser engraving, depending on the desired contrast, resolution, and durability. The choice of materials and fabrication techniques for these components can be indicated by factors such as the anticipated thermal loads, the presence of cutting fluids or other contaminants, and the required accuracy and longevity of the system.
[0104] The dimensions and sizes of the vision-based metrology system 200’s components are adaptable to the specific requirements of the machine tool and the desired measurement accuracy. The tool holder 202, for instance, can be scaled to accommodate different spindle sizes and tool holder interfaces, ensuring compatibility with a wide range of machine tools. The wireless microscope 204 may vary in size and magnification, with larger microscopes offering a wider field of view and higher resolution, while smaller, more compact microscopes can be preferred for applications where space constraints are a concern. The right-angle mirror 208 can be sized and positioned to optimize the system’s measurement capabilities, with larger mirrors providing a greater range of view, while smaller mirrors can be sufficient for applications with limited measurement requirements. The image target 210, including the horizontal and vertical patterns 216 and 214, can be scaled to fit within the machine tool’s workspace, with larger targets offering increased measurement sensitivity, and smaller targets allowing for measurements in confined spaces. The specific dimensions and sizes of the components can be chosen to balance factors such as measurement accuracy, space constraints, and cost. For example, in applications where high precision is paramount, larger image targets and higher-magnification microscopes can be employed to maximize measurement sensitivity. Conversely, in applications with limited space or where cost is a primary concern, smaller components can be chosen to minimize the system’s footprint and reducemanufacturing costs. The vision-based metrology system 200 offers a flexible and scalable solution for characterizing thermal errors, allowing for adaptation to a wide range of machine tool sizes, workspace configurations, and measurement requirements.
[0105] The shapes of the components within the vision-based metrology system 200 are adaptable to specific constraints of the machine tool and the desired measurement setup. The tool holder 202, for example, can be cylindrical, hexagonal, or any other shape that is compatible with the spindle interface of the machine tool. The wireless microscope 204 may have a variety of shapes, including cylindrical, rectangular, or more complex forms that integrate ergonomic features or accommodate specialized optical configurations. The right-angle mirror 208 is not limited to a square or rectangular shape; triangular, circular, or other polygonal shapes can be employed, provided that they offer sufficient surface area for reflection and can be mounted securely to the tool holder 202. Similarly, the image target base 212 can be circular, square, rectangular, or any other shape that allows for stable mounting of the horizontal and vertical patterns 216 and 214, respectively, and secure attachment to the worktable. The specific choice of shapes for these components can be guided by factors such as space constraints within the machine tool, the desired field of view of the microscope 204, and the ease of manufacturing and assembly. For instance, a cylindrical tool holder 202 can be preferred for its ease of machining and its compatibility with a wide range of spindle interfaces, while a rectangular image target base 212 might be chosen to maximize the area available for the markings on the horizontal and vertical patterns 216 and 214, improving measurement sensitivity. The vision-based metrology system 200’s adaptability in terms of component shapes ensures its compatibility with a wide range of machine tool designs and measurement configurations.
[0106] Vision-based metrology system 200 can be made in various ways. It should be appreciated that vision-based metrology system 200 includes a number of optical, electrical, or mechanical components, wherein such components can be interconnected and placed in communication (e.g., optical communication, electrical communication, mechanical communication, and the like) by physical, chemical, optical, orfree-space interconnects. The components can be disposed on mounts thatcan be disposed on a bulkhead for alignment or physical compartmentalization. As a result, vision-based metrology system 200 can be disposed in a terrestrial environment or space environment. Elements of vision-based metrology system 200 can be formed from silicon, silicon nitride, and the like although other suitable materials, such ceramic, glass, or metal can be used. According to an embodiment, the elements of vision-based metrology system 200 are formed using 3D printing although the elements of vision-based metrology system 200 can be formed using other methods, such as injection molding or machining a stock material such as a block of material that is subjected to removal of material such as by cutting, laser oblation, and the like. Accordingly, vision-based metrology system 200 can be made by additive or subtractive manufacturing. In an embodiment, elements of vision-based metrology system 200 are selectively etched to remove various different materials using different etchants and photolithographic masks and procedures. The various layers thus formed can be subjected to joining by bonding to form vision-based metrology system 200.
[0107] In an embodiment, a process for making a vision-based metrology system for characterizing thermal errors within a machine tool includes: providing a tool holder 202; mounting a wireless microscope 204 to the tool holder 202; attaching a mirror fixture 206 to the tool holder 202; mounting a right-angle mirror 208 to the mirror fixture 206; and fabricating a plurality of image targets 210, each image target 210 comprising a horizontal pattern 216 substantially parallel to a plane of motion of a worktable of the machine tool, and a vertical pattern 214 substantially orthogonal to the plane. In an embodiment, the process further comprises attaching a foam ring 203 to the tool holder 202, the foam ring 203 configured to hold and seal an outer removable tube to protect the wireless microscope 204. In an embodiment, the process further comprises attaching a right-angle adaptor 205 to the wireless microscope 204 to enable a power cable to be connected to the wireless microscope 204. In an embodiment, mounting the wireless microscope 204 to the tool holder 202 comprises threading a plurality of fasteners 207 into the tool holder 202 and tightening the fasteners 207 against the wireless microscope 204. In an embodiment, attaching the mirror fixture 206 to the tool holder 202 comprises threading a plurality of socket head cap screws 209 into the tool holder 202 and tightening the socket head cap screws 209 against the mirror fixture 206. In an embodiment, fabricating the image target 210 comprises providing an image target base 212; and attaching the horizontalpattern 216 and the vertical pattern 214 to the image target base 212. In an embodiment, the process further comprises positioning a rubber O-ring 211 on the image target base 212, the rubber O-ring 211 configured to hold and seal an outer removable cover to protect the image target 210. In an embodiment, the horizontal pattern 216 comprises a plurality of unique markings. In an embodiment, the vertical pattern 214 comprises a plurality of unique markings. In an embodiment, the horizontal pattern 216 and the vertical pattern 214 have different patterns.
[0108] Conventional methods for assembling metrology systems often lack flexibility and adaptability, involving specialized tooling, complex assembly procedures, and significant manual intervention. These methods can also result in inconsistencies in the alignment and positioning of optical components, leading to reduced measurement accuracy and repeatability. The process for making a visionbased metrology system overcomes these shortcomings by employing a streamlined approach that simplifies assembly, reduces the risk of errors, and enables cost-effective manufacturing. One advantage of this process is its adaptability to a variety of manufacturing settings, leveraging readily available tools and techniques while ensuring consistent and precise assembly of the system’s components.
[0109] The process begins by providing a tool holder 202, which serves as the foundation for mounting the vision-based metrology system’s optical components. The tool holder 202 can be manufactured using precision machining techniques to ensure accurate dimensions and a stable platform for the subsequent assembly steps. Variations in the tool holder’s design can include features such as threaded holes, mounting slots, or alignment pins to facilitate the attachment of other components. Alternative implementations can involve using a pre-existing tool holder that is modified to accommodate the vision-based metrology system’s components or employing a 3D-printed tool holder, offering trade-offs in terms of cost, customization, and lead time.
[0110] The next step in the process involves mounting a wireless microscope 204 to the tool holder 202. This mounting step ensures that the microscope is securely attached to the tool holder, minimizing movement or vibration during the machine tool’s operation. The mounting process can involve the use of screws, adhesives, or other fastening mechanisms that provide a robust and reliableconnection between the microscope and the tool holder. Alternative implementations can include integrating the microscope directly into the tool holder design, eliminating a separate mounting step, or employing a quick-release mechanism that allows for easy removal and replacement of the microscope.
[0111] The process continues by attaching a mirror fixture 206 to the tool holder 202. This fixture serves as a dedicated mounting point for the right-angle mirror 208, ensuring its precise positioning and alignment within the microscope’s field of view. The attachment of the mirror fixture can involve the use of screws, adhesives, or other fastening mechanisms that provide a secure and stable connection between the fixture and the tool holder. Variations in the mirror fixture’s design can include features such as adjustable mounting points or mechanisms for fine-tuning the mirror’s orientation, maximizing the system’s measurement accuracy. Alternative implementations can involve integrating the right-angle mirror directly into the tool holder, eliminating a separate fixture, or employing adjustable optical mounts commonly used in laboratory settings.
[0112] The next step in the process is mounting a right-angle mirror 208 to the mirror fixture 206. The right-angle mirror 208 enables the system to view features that are not directly aligned with the microscope’s optical axis, expanding the system’s measurement capabilities. The mirror 208 can be attached to the mirror fixture 206 using screws or other fastening mechanisms that provide a secure and stable connection, ensuring that the mirror’s orientation remains fixed during operation. Variations in the mirror’s design can include different sizes, shapes, and coatings, depending on the specific requirements of the application. Alternative implementations can involve using multiple mirrors or prisms to achieve the desired redirection of the optical path.
[0113] The final step in the process is fabricating a plurality of image targets 210. Each image target 210 comprises a horizontal pattern 216 and a vertical pattern 214, which are arranged orthogonally to enable three-dimensional measurement of thermal errors. The image targets 210 can be fabricated using precision manufacturing techniques, such as printing, etching, or laser engraving, to ensure high contrast and dimensional accuracy. The specific implementation of the image targets 210 may varydepending on the desired measurement resolution, the size and shape of the machine tool’s worktable, and the environmental conditions within the machine tool.
[0114] This process of assembling the vision-based metrology system 200 achieves technical advantages through its careful consideration of each element’s implementation. The tool holder 202 provides a stable and adaptable base for the system, allowing integration with various machine tools. The process of mounting the wireless microscope 204 to the tool holder 202 ensures a secure connection and minimizes the risk of movement or vibration during operation. The use of a mirror fixture 206 to mount the right-angle mirror 208 enables precise alignment and adjustment of the mirror, maximizing measurement accuracy. The process of fabricating a plurality of image targets 210 with distinct horizontal and vertical patterns 216 and 214, respectively, provides a robust three-dimensional reference frame for characterizing thermal errors, enabling comprehensive measurement of the machine tool’s thermal behavior.
[0115] The process for making the vision-based metrology system can include attaching a foam ring 203 to the tool holder 202. The foam ring 203 can be a ring-shaped piece of foam material that is designed to fit snugly around the tool holder 202. This ring acts as a cushion and a seal between the tool holder 202 and an outer removable tube, protecting the microscope from mechanical shocks and preventing the entry of dust, debris, or cutting fluids. Variations in the foam ring’s implementation can involve using different foam densities, thicknesses, or materials, depending on the specific requirements of the application. Alternative implementations might involve using a custom-molded foam insert or employing other types of protective materials, such as rubber gaskets or silicone sleeves.
[0116] The process can include attaching a right-angle adaptor 205 to the wireless microscope 204. The right-angle adaptor 205 provides a convenient and protected connection point for the microscope’s power cable, minimizing strain on the cable and reducing the risk of accidental disconnection. The right-angle adaptor 205 can be implemented using a molded plastic or metal housing that incorporates a male orfemale connector compatible with the microscope’s power input port and a male or female connector that matches the power cable. The adapter’s design can includefeatures such as strain relief mechanisms or locking tabs to further enhance the security of the connection.
[0117] Mounting the wireless microscope 204 to the tool holder 202 can include threading a plurality of set screws 207 into the tool holder 202 and tightening the set screws 207 against the wireless microscope 204. This method provides a secure and adjustable mounting solution for the wireless microscope 204. The set screws 207 can be inserted into threaded holes in the tool holder 202 and tightened against the microscope’s body, applying a clamping force that prevents movement. This method allows for precise positioning of the microscope and can be easily adjusted if involved. Alternative implementations can involve using different types of fasteners, such as machine screws or captive screws, or employing a clamping mechanism that provides a more uniform distribution of clamping force.
[0118] Attaching the mirror fixture 206 to the tool holder 202 can include threading a plurality of socket head cap screws 209 into the tool holder 202 and tightening the socket head cap screws 209 against the mirror fixture 206. This method ensures a secure and stable attachment of the mirror fixture 206 to the tool holder 202. Socket head cap screws 209 are used in mechanical assemblies due to their strength, low profile, and ease of installation using a hex key. The use of multiple screws 209 helps to distribute the clamping forces evenly, minimizing distortion of the mirror fixture 206 and ensuring precise alignment of the right-angle mirror 208.
[0119] Fabricating the image target 210 can include providing an image target base 212 and attaching the horizontal pattern 216 and the vertical pattern 214 to the image target base 212. The image target base 212 provides a rigid and stable platform for the patterns, ensuring that their relative positions remain fixed during the machine tool’s operation. The horizontal and vertical patterns 216 and 214 can be attached to the base using a variety of methods, including adhesives, mechanical fasteners, or a combination of techniques. The choice of attachment method will depend on factors such as the materials used for the patterns and the base, the desired durability of the connection, and the required precision of alignment.
[0120] The process can include positioning a rubber O-ring 211 on the image target base 212. The rubber O-ring 211 serves to seal an outer removablecover, protecting the image target 210’s markings from damage or contamination during handling, storage, or use. The rubber O-ring 211 can be positioned in a groove or channel on the image target base 212, and the cover is designed to compress the O-ring 211 when it is installed, creating a tight seal that prevents the ingress of foreign matter. The O-ring 211 ’s material and dimensions are chosen to ensure a reliable seal over a range of temperatures and pressures while resisting degradation due to exposure to oils, solvents, or other chemicals commonly encountered in machine tool environments.
[0121] The horizontal pattern 216 can include a plurality of unique markings. The use of unique markings, rather than a simple repeating pattern, allows for robust and accurate tracking of the spindle’s position during image analysis. This approach minimizes the risk of errors due to misidentification of features or to changes in the target’s appearance caused by factors such as lighting variations or surface contamination. The unique markings can be implemented using a combination of shapes, sizes, orientations, or color variations, allowing for a high degree of encoding and facilitating reliable tracking even in challenging imaging conditions.
[0122] The vertical pattern 214 can include a plurality of unique markings. Similar to the horizontal pattern 216, the vertical pattern 214 benefits from incorporating a plurality of unique markings, ensuring accurate and repeatable measurement of the spindle’s out-of-plane displacement. The unique markings on the vertical pattern 214 can be implemented using a similar approach to those on the horizontal pattern 216, with the specific choice of markings and their arrangement being determined by factors such as the required measurement accuracy, the field of view of the microscope, and the available space on the image target.
[0123] The horizontal pattern 216 and the vertical pattern 214 may have different patterns. This simple yet effective strategy simplifies image processing by allowing the algorithms to readily distinguish between the two patterns, reducing processing time and minimizing the risk of errors. The choice of patterns can be based on factors such as the spectral response of the microscope’s image sensor, the lighting conditions within the machine tool, and the desired level of contrast between the patterns and the background.
[0124] The process for making the vision-based metrology system 200 is robust, reliable, and adaptable. The inclusion of a foam ring 203 provides additional protection for the wireless microscope 204, safeguarding it from damage during handling, storage, and use within the machine tool environment. The use of a rightangle adaptor 205 makes it easier to connect the microscope’s power cable, while the specific process of mounting the microscope 204 to the tool holder 202 using set screws 207 ensures precise positioning and secure attachment. The method of attaching the mirror fixture 206 to the tool holder 202 using socket head cap screws 209 provides a strong and stable connection for the right-angle mirror 208. Fabricating the image targets 210 by attaching the horizontal and vertical patterns 216 and 214 to a rigid image target base 212 ensures the dimensional stability and longevity of the targets. The additional step of including a rubber O-ring 211 to seal a protective cover further safeguards the image target 210’s markings from damage or contamination. Incorporating a plurality of unique markings on both the horizontal and vertical patterns 216 and 214, respectively, ensures robust tracking of the spindle’s position during image analysis, while the use of different patterns for the patterns further simplifies image processing and reduces the potential for errors.
[0125] Attaching the mirror fixture 206 to the tool holder 202 is accomplished by aligning the pre-drilled holes in the mirror fixture 206 with the corresponding threaded holes in the tool holder 202. Socket head cap screws 209 are then inserted through the holes in the mirror fixture 206 and threaded into the tool holder 202. The screws 209 are tightened using a hex key or Allen wrench, applying a clamping force that secures the mirror fixture 206 to the tool holder 202. The number and placement of the screws 209 are chosen to ensure an even distribution of clamping forces, minimizing distortion of the mirror fixture 206 and ensuring the accurate alignment of the right-angle mirror 208.
[0126] Mounting the right-angle mirror 208 to the mirror fixture 206 is accomplished by positioning the mirror 208 in its designated location on the fixture 206. The mirror 208 is then secured to the mirror fixture 206 using appropriate fastening mechanisms, which can include screws, adhesives, or clamps. The specific choice of fastening method will depend on factors such as the design of the mirror fixture 206, the material of the right-angle mirror 208, and the required stability andadjustability of the mirror’s positioning. The mirror’s orientation is carefully adjusted to ensure that it is properly aligned with the microscope’s optical path, enabling the desired redirection of the light beam for capturing images of the vertical pattern on the image target.
[0127] Fabricating a plurality of image targets 210 involves creating a set of reference objects that exhibit specific patterns designed for accurate measurement of the machine tool’s thermal errors. Each image target 210 can include a horizontal pattern 216 and a vertical pattern 214, which can be fabricated on a rigid substrate, such as a metal plate or a glass slide. The patterns themselves can be created using a variety of techniques, including printing, etching, or laser engraving, and are chosen to provide high contrast and dimensional stability. The markings on the horizontal pattern 216 are arranged substantially parallel to the plane of motion of the worktable, while the markings on the vertical pattern 214 are arranged substantially orthogonal to that plane, enabling measurement of thermal errors in both the horizontal (X and Y) and vertical (Z) directions. The specific dimensions, shapes, and spacing of the markings are determined based on the desired measurement resolution and the capabilities of the image analysis algorithms.
[0128] Attaching a foam ring 203 to the tool holder 202 enhances the system’s durability by providing a layer of protection for the components housed within. This is achieved by first selecting a foam ring 203 with appropriate dimensions to fit snugly within the tool holder 202, surrounding the wireless microscope 204. The foam ring 203 can be attached to the tool holder 202 using a suitable adhesive, ensuring a secure bond between the two components. Alternatively, the foam ring 203 can be press-fit into the tool holder 202, leveraging the foam’s compressibility to create a secure and snug fit.
[0129] Attaching a right-angle adaptor 205 to the wireless microscope 204 provides a more convenient and protected connection point for the microscope’s power cable. The right-angle adaptor 205 can be designed to mate with the microscope’s power input port, and this attachment can be accomplished by aligning the adaptor’s connector with the microscope’s port and gently pressing the adaptor into place until it is securely seated. The adaptor may incorporate a lockingmechanism, such as a latch or a threaded connection, to further ensure a robust and reliable connection.
[0130] The process for creating a vision-based metrology system 200 can be augmented to optimize performance, reliability, and adaptability. A skilled artisan can recognize additional steps to ensure proper functionality and integration within a particular machine tool environment. For example, prior to attaching the wireless microscope 204 to the tool holder 202, it can involve aligning the microscope’s optical axis with the central axis of the tool holder 202. This alignment ensures that the microscope’s field of view is substantially centered on the image target 210 when the tool holder 202 is mounted in the spindle, maximizing the system’s measurement accuracy. Further, after mounting the right-angle mirror 208 to the mirror fixture 206, the mirror’s orientation can be carefully adjusted to ensure that it is properly aligned with the microscope’s optical path. This alignment process typically involves using the image sent by the wireless microscope 204 or a laser or other collimated light source to project a beam of light onto the mirror and verifying that the reflected beam is directed at the desired angle.
[0131] The process of fabricating the image targets 210 can include additional steps to ensure the accuracy and durability of the markings. For instance, prior to applying the markings to the image target base 212, the base can be treated with a surface preparation process, such as cleaning, etching, or priming, to enhance adhesion and ensure the longevity of the markings. After the markings have been applied, they can be protected with a sealant or a clear coating or a transparent rigid material to further enhance their durability and resistance to environmental factors present within the machine tool. The specific implementation of these additional steps will vary depending on the choice of materials and fabrication techniques. The visionbased metrology system 200 provides for characterizing and compensating for thermal errors within machine tools.
[0132] Vision-based metrology system 200 has numerous advantageous and unexpected benefits and uses including characterizing thermal errors within a machine tool.
[0133] In an embodiment, a method for characterizing thermal errors within a machine tool (e.g., having a spindle, a worktable, and a controller) includes: attaching an image target 210 to the worktable, each image target 210 comprising a horizontal pattern 216 and a vertical pattern 214; mounting a tool holder 202 in the spindle, the tool holder 202 having attached to it a wireless microscope 204 and a right-angle mirror 208; positioning the spindle such that the wireless microscope 204 is viewing the horizontal pattern 216 of an image target 210; rotating the spindle about its axis, the axis substantially orthogonal to a plane defined by the horizontal pattern 216; capturing a video of the horizontal pattern 216 from the rotating wireless microscope 204; analyzing the video to determine a first center of rotation C(t1 ) of the spindle relative to the worktable at a first time t1 ; positioning the spindle such that the wireless microscope 204 is viewing the vertical pattern 214 of the image target 210; capturing a video of the vertical pattern 214 from the substantially stationary wireless microscope 204; and analyzing the video to determine a first out-of-plane position of the spindle relative to the worktable at time t1 ; In an embodiment, the method further comprises: heating at least one component of the machine tool; waiting a predetermined time interval; repeating the positioning, rotating, capturing, analyzing, determining, positioning, capturing, analyzing, determining, and characterizing steps to determine a second center of rotation C(t2) of the spindle relative to the worktable and a second out-of-plane position at a second time t2. In an embodiment, the method further comprises: calculating a difference between the three-dimensional positions of the spindle relative to the worktable at the second time t2 and the three-dimensional positions of the spindle relative to the worktable at the first time t1 to determine the three-dimensional thermal error of the spindle relative to the worktable from the first time t1 to the second time t2. In an embodiment, analyzing the video of the horizontal pattern 216 comprises determining centroids of a plurality of unique markings on the horizontal pattern 216 in a plurality of images of the video; fitting a circle to each set of centroids, each circle having a radius; and identifying a point common to all of the circles as the first center of rotation C(t1). In an embodiment, the right-angle mirror 208 is positioned such that a portion of each image of each video captured by the wireless microscope 204 comprises a mirrored portion of the image and a nonmirrored portion of the image. In an embodiment, analyzing the video to determine the first center of rotation C(t1 ) is performed only on the non-mirrored portion of the video. In an embodiment, the image target 210 further comprises an image target base 212,and the horizontal pattern 216 is attached to the image target base 212. In an embodiment, the vertical pattern 214 is attached to the image target base 212. In an embodiment, analyzing the video of the vertical pattern 214 comprises determining centroids of a plurality of unique markings on the vertical pattern 214 for each image of the video and computing an average position of the plurality of centroids. In an embodiment, characterizing the thermal error of the spindle relative to the worktable from the first time t1 to the second time t2 comprises generating a thermal error model for use by the controller to command motion of the machine tool that compensates for the thermal error.
[0134] Conventional methods for characterizing thermal errors in machine tools often rely on contact-based measurements using specialized instruments, such as probes or laser interferometers, that can be time-consuming to set up, involve significant expertise to operate, and may interfere with the machining process itself. These methods often provide limited spatial resolution, focusing on measurements at discrete points rather than capturing the machine’s overall thermal behavior. The method for characterizing thermal errors within a machine tool using a vision-based metrology system overcomes these limitations, offering a rapid, accurate, and non-invasive approach to characterizing the three-dimensional thermal errors within a machine tool’s workspace. This method uses a combination of optical measurements, image analysis techniques, and data acquisition procedures to provide a comprehensive understanding of the machine’s thermal characteristics.
[0135] The method can begin by attaching at least one image target 210 to the worktable of the machine tool. The image target 210 serves as a fixed reference point within the machine’s workspace, enabling precise measurement of the spindle’s position relative to the worktable. Each image target 210 can include a horizontal pattern 216 and a vertical pattern 214, each consisting of an array of high-contrast markings, such as dots or lines, that are easily detectable by the wireless microscope. The horizontal pattern 216 is arranged in a plane that is substantially parallel to the plane of motion of the worktable, while the vertical pattern 214 is arranged substantially orthogonal to that plane, allowing the system to capture information about thermal errors along all three axes of motion.
[0136] The next step is mounting a tool holder 202 in the spindle. The tool holder 202 serves as a mounting point for the system’s optical components, allowing them to leverage the spindle’s inherent motion capabilities for data acquisition. The tool holder 202 has attached to it a wireless microscope 204 and a right-angle mirror 208, enabling the capture of images from multiple viewpoints. The wireless microscope 204 captures high-resolution images of the image target 210, which are then transmitted wirelessly to a processing unit for analysis. The right-angle mirror 208 is positioned within the microscope’s field of view, enabling the capture of images of features that are not directly aligned with the microscope’s optical axis.
[0137] The method then proceeds by positioning the spindle such that the wireless microscope 204 is viewing the horizontal pattern 216 of an image target 210. This step ensures that the microscope is focused on the appropriate pattern for measuring thermal errors in the plane of the worktable. The spindle is then rotated about an axis that is substantially orthogonal to the plane defined by the horizontal pattern 216. This rotation allows the microscope to capture images of the horizontal pattern 216 from multiple viewpoints, providing the data involved for determining the spindle’s center of rotation. A video of the horizontal pattern 216 is captured from the rotating wireless microscope 204. This video comprises a sequence of images that capture the changing position of the horizontal pattern 216 as the spindle rotates.
[0138] The video is then analyzed to determ ine a first center of rotation C (t 1 ) of the spindle relative to the worktable at a first time t1. This can involve image processing algorithms that detect and track the unique markings on the horizontal pattern 216 in each frame of the video. The algorithms can include techniques such as edge detection, pattern recognition, and sub-pixel interpolation to accurately determine the positions of the markings. Based on these positions, the algorithms can calculate the spindle’s center of rotation relative to the image target, providing a quantitative measure of the thermal drift in the plane of the worktable.
[0139] A first planar position of the spindle relative to the worktable at time t1 is then determined based on the first center of rotation C(t1). This position represents the spindle’s actual center of rotation at time t1 , providing a starting point to determine the thermal drift in the X and Y axes. The method then proceeds by positioning the spindle such that the wireless microscope 204 is viewing the verticalpattern 214 of the image target 210. The spindle is controlled to be substantially stationary, and a video of the vertical pattern 214 is captured from the wireless microscope 204.
[0140] The video is then analyzed to determine a first out-of-plane position of the spindle relative to the worktable at time t1. This can involve image processing algorithms that track the position of the vertical pattern 214 in each frame of the video. The algorithms can determine the spindle’s position in the Z-axis direction based on the position of the vertical pattern 214 relative to the microscope’s field of view. Finally, the method characterizes, based on the first planar position and the first out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t1. This step combines the information obtained from the horizontal and vertical pattern measurements to provide a complete picture of the spindle’s position relative to the worktable at a given moment in time, capturing the thermal drift along all three axes.
[0141] This method enables accurate and efficient characterization of thermal errors within a machine tool. The use of a wireless microscope 204 and a right-angle mirror 208 allows for non-invasive measurement of thermal errors along multiple axes without requiring physical repositioning of the spindle. The process of capturing videos of the horizontal and vertical patterns 216 and 214, respectively, during controlled spindle movements, combined with sophisticated image analysis algorithms, enables precise determination of the spindle’s position relative to the worktable. This information can then be used to generate thermal error models, optimize machining processes, and improve overall machine tool accuracy.
[0142] The method for characterizing thermal errors can include capturing the dynamic behavior of these errors over time by incorporating additional steps that introduce thermal disturbances and repeat the measurement process. The method can include heating at least one component of the machine tool. This step introduces a thermal disturbance into the system, simulating the heat generated during actual machining operations. The heating process can be implemented using various methods, such as using heating elements attached to the machine tool’s structure, employing a heat lamp directed at specific components, or running the machine tool through a series of warm-up cycles. The amount of heat applied and the duration of the heating process can be determined based on factors such as the size and thermalmass of the machine tool, the desired temperature change, and the specific thermal characteristics being investigated.
[0143] The method then includes waiting a predetermined time interval. This allows the thermal disturbance to propagate throughout the machine tool’s structure, resulting in measurable changes in the positions of components due to thermal expansion and contraction. The predetermined time interval can be chosen based on the thermal characteristics of the machine tool, the magnitude of the thermal disturbance, and the desired level of thermal equilibrium to be reached before repeating the measurement process. The positioning, rotating, capturing, analyzing, determining, positioning, capturing, analyzing, determining, and characterizing steps are then repeated to determine a second center of rotation C(t2) of the spindle relative to the worktable at a second time t2. This repetition of the measurement process, after the introduction of a thermal disturbance, allows for characterization of the machine tool’s thermal behavior over time, capturing the dynamic changes in spindle position due to thermal effects. A second planar position of the spindle relative to the worktable at time t2 is determined, based on the second center of rotation C(t2), along with a second out-of-plane position of the spindle relative to the worktable at time t2.
[0144] Based on the second planar position and the second out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t2 is characterized. This three-dimensional position represents the spindle’s position relative to the worktable after the thermal disturbance has propagated through the machine tool’s structure, allowing for comparison with the spindle’s position at the initial time t1. The method can include calculating a difference between the three-dimensional position of the spindle relative to the worktable at the second time t2 and the three-dimensional position of the spindle relative to the worktable at the first time t1 to determine a three-dimensional thermal error of the spindle relative to the worktable from the first time t1 to the second time t2. This step quantifies the change in spindle position due to the thermal disturbance, providing a direct measurement of the thermal drift that has occurred during the predetermined time interval.
[0145] Analyzing the video of the horizontal pattern 216 can include determining centroids of a plurality of unique markings on the horizontal pattern 216 in a plurality of images of the video; fitting a circle to each set of centroids, each circlehaving a radius; and identifying a point common to all of the circles as the first center of rotation C(t1). This specific implementation of the image analysis process for determining the spindle’s center of rotation leverages the geometric properties of the horizontal pattern 216 and the rotational motion of the spindle. By determining the centroids of the unique markings in multiple images, the algorithm can track their movement as the spindle rotates, and by fitting circles to these centroid positions, the algorithm can accurately determine the spindle’s center of rotation, even in the presence of noise or minor distortions in the images.
[0146] The right-angle mirror 208 can be positioned such that each image of each video captured by the wireless microscope 204 comprises a mirrored portion of the image and a non-mirrored portion of the image. The mirrored portion of the image can show the reflection of the vertical pattern 214 as seen through the rightangle mirror 208, while the non-mirrored portion can show the direct view of the horizontal pattern 216. This arrangement allows for the simultaneous capture of images of both the horizontal and vertical patterns 216 and 214, respectively, within a single field of view, which simplifies the measurement process by eliminating separate spindle movements to capture images of each pattern.
[0147] Analyzing the video to determine the first center of rotation C(t1 ) can be performed only on the non-mirrored portion of the video. This ensures that the center of rotation calculation is based on the direct view of the horizontal pattern 216, minimizing the potential for errors due to distortions introduced by the right-angle mirror 208. The image target 210 can include an image target base 212, and the horizontal pattern 216 is attached to the image target base 212, while the vertical pattern 214 is also attached to the image target base 212. This arrangement ensures that the horizontal and vertical patterns 216 and 214 maintain a fixed spatial relationship relative to each other, providing a stable and reliable reference frame for measuring thermal errors.
[0148] Analyzing the video of the vertical pattern 214 can include determining centroids of a plurality of unique markings on the vertical pattern 214 for each image of the video and computing an average position of the plurality of centroids. This method provides a robust measure of the vertical pattern’s position, minimizing the impact of noise or minor defects on the target’s surface. By averagingthe centroid positions of multiple unique markings, the algorithm effectively filters out random variations, resulting in a more accurate and repeatable measurement of the spindle’s out-of-plane position.
[0149] Characterizing the thermal error of the spindle relative to the worktable from the first time t1 to the second time t2 can include generating a thermal error model for use by the controller to command motion of the machine tool that compensates for the thermal error. This step uses the measured thermal errors to create a mathematical model that can be used to predict and compensate for thermal drift during machining operations. The thermal error model can be implemented as a lookup table, a polynomial function, or a more sophisticated model that takes into account factors such as the machine tool’s operating parameters, the ambient temperature, and the thermal properties of the workpiece material.
[0150] The method for characterizing thermal errors with a vision-based metrology system offers several technical advantages. Introducing a thermal disturbance by heating at least one component of the machine tool allows for the characterization of the machine’s dynamic thermal behavior over time. The use of a predetermined time interval ensures that the thermal disturbance has sufficient time to propagate throughout the machine’s structure. Repeating the measurement process at time t2 enables the quantification of the thermal drift that has occurred. Analyzing the horizontal pattern video by determining centroids of unique markings, fitting circles to the centroids, and identifying a common point as the center of rotation provides a robust and accurate method for characterizing planar errors. Positioning the right-angle mirror 208 to capture both mirrored and non-mirrored portions of the image in a single field of view streamlines the measurement process, while analyzing only the non-mirrored portion for center of rotation calculations minimizes the potential for errors. Attaching both the horizontal and vertical patterns 216 and 214, respectively, to a common image target base 212 ensures a stable and fixed spatial relationship between the patterns. Analyzing the vertical pattern video by determining centroids of unique markings and computing their average position provides a robust measurement of out-of-plane displacement. Finally, generating a thermal error model that can be used by the machine tool controller to compensate for the measuredthermal errors enables real-time correction of thermal drift, improving machining accuracy and part quality.
[0151] Attaching at least one image target 210 to the worktable establishes a fixed reference frame within the machine tool’s workspace, enabling the accurate measurement of the spindle’s position relative to the worktable. This step involves securely affixing the image target 210 to the worktable using a method that ensures stability and minimizes movement or vibration during the machine’s operation. The image target 210 is designed to be compatible with the specific geometry and material of the worktable, and the attachment method can involve the use of adhesives, mechanical fasteners, or magnetic mounts, depending on the desired level of permanence and the specific characteristics of the worktable surface. The image target 210 can be positioned at locations that are representative of the machine tool’s overall thermal behavior, such as near the comers of the worktable or at other strategic points within the workspace. The image target 210 can be implemented using a variety of materials and fabrication techniques, such as a printed or etched pattern on a rigid substrate, ensuring high contrast and dimensional stability.
[0152] Mounting a tool holder 202 in the spindle involves securing the tool holder, which carries the wireless microscope 204 and right-angle mirror 208, within the machine tool’s spindle. This is accomplished by aligning the tool holder 202 with the spindle’s interface and engaging the tool holder’s retention mechanism, typically a drawbar or a collet, to securely lock it in place. The spindle’s rotational and translational capabilities are then utilized to position the microscope 204 for capturing images of the image target 210. The tool holder 202 is designed to be compatible with the specific spindle interface of the machine tool, ensuring a secure fit and minimizing any potential for movement or vibration during operation.
[0153] Positioning the spindle such that the wireless microscope 204 is viewing the horizontal pattern 216 of an image target 210 involves using the machine tool’s motion control system to precisely align the microscope’s field of view with the horizontal pattern 216 on the image target 210. This step ensures that the microscope is focused on the appropriate features for measuring thermal errors in the plane of the worktable. The machine tool’s controller can be programmed to automatically position the spindle based on predefined coordinates or can be manually controlled by anoperator using a joystick, handwheel, or other input device. The accuracy of this positioning step is critical for ensuring the reliability and repeatability of the system’s measurements, as any difference in machine tool positioning from time t1 to time t2 will introduce errors into the thermal error characterization.
[0154] Rotating the spindle about an axis involves using the machine tool’s motion control system to rotate the spindle, which holds the wireless microscope 204, at a controlled speed. This rotation is performed about an axis that is substantially orthogonal to the plane defined by the horizontal pattern 216 on the image target 210, ensuring that the microscope captures images of the pattern from multiple viewpoints. The speed of rotation is chosen to balance rapid data acquisition with the requirement for capturing substantially sharp images that are free from motion blur. The machine tool’s controller can be programmed to execute a predefined rotation profile, or the rotation can be manually controlled by an operator, depending on the specific requirements of the measurement process. This controlled rotation of the spindle allows for accurate characterization of the spindle’s planar errors relative to the worktable, providing a basis for measuring thermal drift in the X and Y axes.
[0155] Capturing a video of the horizontal pattern 216 from the rotating wireless microscope 204 involves using the microscope to record a sequence of images as the spindle rotates. The video capture process is initiated once the spindle has been properly positioned and the microscope’s field of view is aligned with the horizontal pattern 216. The microscope’s image capture rate is synchronized with the spindle’s rotation speed to ensure that the captured images are substantially sharp and free from motion blur. The duration of the video capture is chosen to ensure that the microscope captures a sufficient number of images to accurately characterize the spindle’s center of rotation. The video data can be transmitted wirelessly from the microscope 204 to a processing unit, where it is stored and subsequently analyzed to determine the machine tool’s thermal errors.
[0156] Analyzing the video to determine a first center of rotation C(t1 ) of the spindle relative to the worktable at a first time t1 involves using image processing algorithms to extract quantitative information about the spindle’s position from the captured video data. This step is performed after the video of the horizontal pattern 216 has been captured. The algorithms typically begin by identifying and tracking theunique markings on the horizontal pattern 216 in each frame of the video. As the spindle rotates, the positions of these markings change within the microscope’s field of view. The algorithms exploit these changing positions to calculate the spindle’s center of rotation relative to the image target 210, which represents a fixed point on the worktable. The calculated center of rotation C(t1) corresponds to the spindle’s position at the first time t1 and serves as a baseline for measuring subsequent changes in spindle position due to thermal drift. The accuracy of the center of rotation determination depends on factors such as the resolution of the captured images, the precision of the spindle’s rotation, and the robustness of the image processing algorithms.
[0157] Determining, based on the first center of rotation C(t1), a first planar position of the spindle relative to the worktable at time t1 involves calculating the position of the spindle’s actual center of rotation in the coordinate frame of the image, which is then calculated in the coordinate frame of the horizontal pattern 216 and then calculated in the coordinate frame of the machine tool. This step quantifies the spindle’s planar position in the machine tool’s motion system, providing a baseline measurement of the spindle’s position in the X and Y axes at the first time t1. The first planar position can be represented as a two-dimensional vector, indicating the magnitude and direction of the position in the plane of the worktable.
[0158] Positioning the spindle such that the wireless microscope 204 is viewing the vertical pattern 214 of the image target 210 involves using the machine tool’s motion control system to precisely align the microscope’s field of view with the vertical pattern 214. This step is performed after the initial measurement of the spindle’s planar position. The right-angle mirror 208, mounted on the tool holder 202, is used to redirect part of the microscope’s optical path, enabling it to view the vertical pattern 214, which is arranged orthogonal to the plane of the worktable. Precise positioning of the spindle ensures that the microscope can accurately capture images of the vertical pattern 214, which can be used to measure thermal errors in the Z-axis direction.
[0159] Controlling the spindle to be substantially stationary involves using the machine tool’s motion control system to maintain the spindle rotation to be substantially at a given angular position with the mirror part of the image substantiallyin focus on the vertical pattern 214 on the image target 210. This step enables the capture of images of the vertical pattern 214, providing the information involved for determining the spindle’s out-of-plane position along the Z-axis.
[0160] Capturing a video of the vertical pattern 214 from the substantially stationary wireless microscope 204 involves using the microscope 204 to record a sequence of images of the vertical pattern 214 as the spindle is substantially stationary. The video capture process is initiated once the spindle is properly positioned such that the microscope 204, via the right-angle mirror 208, has a clear view of the vertical pattern 214. The captured video data can be transmitted wirelessly from the microscope 204 to a processing unit for storage and subsequent analysis. The duration of the video capture is chosen to ensure that a sufficient number of images are recorded to accurately characterize the spindle’s out-of-plane position, providing a basis for measuring thermal drift along the Z-axis.
[0161] Analyzing the video to determine a first out-of-plane position of the spindle relative to the worktable at time t1 involves using image processing algorithms to determine the spindle’s position along the Z-axis. This step is performed after capturing the video of the vertical pattern 214 while the spindle is substantially stationary. The algorithms analyze the captured images to determine the out-of-plane position of the spindle while the spindle is substantially stationary. The accuracy of this measurement depends on the resolution of the captured images, and the robustness of the image processing algorithms to variations in lighting, focus, or other factors that might affect the appearance of the vertical pattern 214.
[0162] Characterizing, based on the first planar position and the first out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t1 involves combining the information obtained from the horizontal and vertical pattern measurements to create a complete picture of the spindle’s position at a specific point in time. The first planar position, determined from the analysis of the horizontal pattern 216 during spindle rotation, represents the spindle’s position in the X and Y axes. The first out-of-plane position, determined from the analysis of the vertical pattern 214 while the spindle is substantially stationary, represents the spindle’s position in the Z-axis. These two positions are combined to create a three-dimensional position vector, which describes the magnitude and direction of thespindle’s overall position relative to the worktable at time t1. This three-dimensional position characterization is affected by the machine tool’s static positioning accuracy, capturing deviations that may stem from a variety of sources, including misalignments in the machine’s mechanical components, geometric inaccuracies in the spindle or worktable, or other factors that affect the spindle’s positioning precision.
[0163] Heating at least one component of the machine tool simulates the thermal loads experienced during machining operations, enabling the characterization of the machine’s dynamic thermal behavior. The specific components to be heated, the amount of heat applied, and the duration of the heating process will depend on the machine tool’s design, its thermal characteristics, and the specific operating conditions being investigated. This heating process can involve using heating elements attached to the machine’s structure, employing infrared lamps directed at specific components, running the machine tool through a series of pre-defined warm-up cycles, running the machine per its intended purpose (e.g., cutting, drilling, and the like), or waiting a period of time between successive data acquisition runs so that the machine heats (or cools) according to ambient room conditions. Waiting a predetermined time interval after heating allows the introduced thermal energy to propagate throughout the machine tool’s structure. This propagation results in measurable changes in the positions of the machine’s components due to thermal expansion. The predetermined time interval is chosen based on the thermal properties of the machine tool, the magnitude of the applied heat, and the desired level of thermal equilibrium to be achieved before repeating the measurement process.
[0164] Repeating the positioning, rotating, capturing, analyzing, determining, positioning, capturing, analyzing, determining, and characterizing steps at a second time t2, after the introduction of a thermal disturbance or a waiting period, allows for the measurement of changes in the spindle’s position due to thermal drift. This repetition of the measurement process involves re-positioning the spindle such that the wireless microscope 204 is once again viewing the horizontal pattern 216 of the selected image target 210. The spindle is then rotated about its axis, and a video of the rotating horizontal pattern 216 is captured. The captured video is analyzed to determine a second center of rotation C(t2), representing the spindle’s position after the thermal disturbance has had time to propagate through the machine’s structure.The second center of rotation C(t2) provides a basis for comparison with the first center of rotation C(t 1 ), allowing for quantification of the thermal drift that has occurred during the predetermined time interval. This process is repeated for the vertical pattern 214, while keeping the spindle substantially stationary and capturing a video of the vertical pattern 214 to determine the second out-of-plane position at time t2. Based on the measured planar and out-of-plane positions, a second three-dimensional position of the spindle relative to the worktable is characterized for time t2.
[0165] Determining, based on the second center of rotation C(t2), a second planar position of the spindle relative to the worktable at time t2 involves calculating the position of the spindle’s actual center of rotation in the coordinate frame of the image, which is then calculated in the coordinate frame of the horizontal pattern 216 and then calculated in the coordinate frame of the machine tool. This step quantifies the spindle’s planar position in the machine tool’s motion system, providing a baseline measurement of the spindle’s position in the X and Y axes at the second time t2. Similar to the first planar position, the second planar position can be represented as a two-dimensional vector, indicating the magnitude and direction of the position in the plane of the worktable. This measurement allows for the quantification of the thermal drift that has occurred in the plane of the worktable from time t1 to time t2, providing valuable data for characterizing the machine tool’s dynamic thermal behavior.
[0166] Determining a second out-of-plane position of the spindle relative to the worktable at time t2 involves analyzing the video of the vertical pattern 214 captured after the thermal disturbance. The image processing algorithms track the position of the vertical pattern with the spindle substantially stationary, and the pattern’s position relative to the microscope’s field of view is used to determine the spindle’s position along the Z-axis at time t2. This position represents the second out-of-plane position and quantifies the thermal drift that has occurred in the Z-axis direction during the predetermined time interval. This measurement complements the second planar position, providing a comprehensive understanding of the spindle’s positional changes due to thermal effects.
[0167] Characterizing, based on the second planar position and the second out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t2 involves combining the measured planar and out-of-planepositions to create a comprehensive representation of the spindle’s position after the thermal disturbance. The second planar position, representing the position in the X and Y axes, and the second out-of-plane position, representing the position along the Z-axis, are combined to create a three-dimensional position vector. This vector describes the magnitude and direction of the spindle's overall position relative to the worktable at time t2. This characterization captures the changes in the spindle's position that have occurred due to the introduced thermal disturbance, providing valuable information about the machine tool’s dynamic thermal behavior.
[0168] Calculating the difference between the three-dimensional position of the spindle relative to the worktable at the second time t2 and the three-dimensional position of the spindle relative to the worktable at the first time t1 enables the determination of the thermal error of the spindle relative to the worktable from the first time t1 to the second time t2. This calculation involves subtracting the three-dimensional position vector measured at time t1 from the three-dimensional position vector measured at time t2. The resulting difference vector represents the change in spindle position that is directly attributable to the thermal disturbance introduced during the process. This difference vector, the thermal error, quantifies the magnitude and direction of the thermal drift that has occurred between the two measurement times, providing information for developing thermal error compensation strategies.
[0169] The process of determining centroids of a plurality of unique markings on the horizontal pattern 216 in a plurality of images of the video involves analyzing individual frames of the captured video to extract quantitative information about the positions of the markings. The horizontal pattern 216 comprises a set of unique markings, such as dots, lines, or other easily identifiable features, that are placed to allow for accurate tracking of the spindle’s position during rotation. The image processing algorithms begin by identifying the unique markings in each image frame, using techniques such as edge detection, thresholding, or template matching. Once the markings are identified, their centroid positions are calculated. The centroid represents the geometric center of each marking, providing a precise and repeatable measure of its location within the image. The accuracy of the centroid determination can depend on the resolution of the captured images, the contrast between themarkings and the background, and the robustness of the image processing algorithms to noise or other artifacts in the images.
[0170] Fitting a circle to each set of centroids, obtained from the analysis of the horizontal pattern 216 in multiple images of the captured video, leverages the geometric properties of circles and the rotational motion of the spindle to determine the spindle's center of rotation. As the spindle rotates, the unique markings on the horizontal pattern 216 trace out circular paths within the microscope's field of view. By fitting circles to the centroid positions of the markings in each image frame, the algorithms can accurately determine the center of these circular paths, which corresponds to the spindle's center of rotation. The circle fitting process can use a least-squares method or other optimization techniques to find the circle parameters (center coordinates and radii) that best fit the set of circular path positions. The accuracy of each circle fit depends on the number of unique markings used, the precision of their centroid determination, and the absence of significant distortions or errors in the captured images.
[0171] Identifying a point common to all of the fitted circles, derived from the centroid positions of the unique markings on the horizontal pattern 216, establishes the first center of rotation C(t1) of the spindle. Ideally, all of the fitted circles would have the same center position, representing the true center of rotation. However, due to factors such as measurement noise, imperfections in the image target 210, or limitations in the circle fitting algorithms, the fitted circles may not have the same center if each circle is fitted individually. In such cases, the algorithm identifies a common center point for all the circles, effectively averaging out the errors and providing a robust estimate of the spindle’s center of rotation. This point represents the first center of rotation C(t1 ), corresponding to the spindle's position at the first measurement time t1. The accuracy of the center of rotation determination is critical for subsequent calculations of the machine tool's thermal errors, as it serves as the reference point against which changes in spindle position are measured.
[0172] Determining the centroids of a plurality of unique markings on the vertical pattern 214 for each image of the video, followed by computing an average position of the plurality of centroids, enables robust and accurate measurement of the spindle's position along the Z-axis. Similar to the analysis of the horizontal pattern 216,the image processing algorithms identify the unique markings on the vertical pattern 214 in each image frame and calculate their centroid positions. The vertical pattern's 214 unique markings are designed to facilitate tracking of its position as the spindle remains substantially stationary. By averaging the centroid positions of these markings in each image, the algorithms can effectively filter out random variations due to noise or minor imperfections in the image target, resulting in a more precise and repeatable measurement of the pattern's overall position. This average centroid position provides a measure of the spindle's displacement in the Z-axis direction at a given time, allowing for quantification of the out-of-plane error and ultimately contributing to the characterization of the machine tool’s three-dimensional thermal errors.
[0173] Generating a thermal error model, based on the measured thermal errors, enables the machine tool controller to compensate for thermal drift during machining operations, improving the accuracy and precision of the manufactured parts. This model captures the relationship between the machine tool's thermal state and the resulting positional errors of the spindle. The model can be implemented using a variety of techniques, including simple lookup tables, polynomial functions, or more sophisticated models that incorporate machine learning or other advanced algorithms. The specific choice of model will depend on factors such as the complexity of the machine tool’s thermal behavior, the required accuracy of the compensation, and the computational capabilities of the controller. The thermal error model can be used by the controller to predict the spindle’s positional errors based on the measured temperatures and operating conditions of the machine. The controller can then apply a compensating motion command to the spindle, effectively canceling out the predicted thermal error and maintaining the desired tool path. The effectiveness of the thermal error compensation depends on the accuracy of the model, the precision of the temperature measurements, and the responsiveness of the controller to the predicted errors. The process of generating and implementing a thermal error model enables the vision-based metrology system to not only characterize thermal errors but also actively mitigate their impact on the machine tool’s performance.
[0174] A skilled artisan might recognize that the process for characterizing thermal errors within a machine tool can include additional steps. For example, before attaching the image targets 210 to the worktable, it can involve cleaning the worktablesurface to remove any contaminants that could interfere with the adhesion of the image targets or affect the accuracy of the measurements. Further, after mounting the tool holder 202 in the spindle, it can be advantageous to perform a geometric calibration procedure to determine the accurate relationships between the machine tool's global coordinate system and the coordinate system of each horizontal pattern 216 and vertical pattern 214. This calibration step helps to ensure that the measured thermal errors are accurately referenced to the machine's overall coordinate system.
[0175] The process of capturing a video of the horizontal pattern 216 can be enhanced by adjusting the lighting conditions within the machine tool's workspace to optimize the contrast between the markings on the pattern and the background. Similarly, the process of capturing a video of the vertical pattern 214 can benefit from adjusting the focus of the wireless microscope 204 to ensure that the markings on the vertical pattern 214 are clearly visible in the captured images. The image analysis steps for determining the centers of rotation and out-of-plane positions may also be enhanced by incorporating algorithms for filtering out noise, correcting for lens distortion, or compensating for other factors that could affect the accuracy of the measurements.
[0176] The steps of characterizing the three-dimensional errors and generating a thermal error model may involve iterative refinement procedures to improve the accuracy of the model. This refinement may involve comparing the predicted errors from the model to actual measured errors and adjusting the model parameters to minimize the differences. Additionally, the model can be validated using independent measurements to verify its accuracy and predictive capabilities. These refinements ensure that the thermal error model accurately captures the machine tool's thermal behavior, enabling effective compensation for thermal drift during machining operations.
[0177] The vision-based metrology system, in conjunction with the method described herein, offers a practical and adaptable solution for characterizing and compensating for thermal errors in a wide variety of machine tools. A skilled artisan, guided by the disclosed method and informed by the state of the art, would be able to implement and refine this method to address the specific requirements of different machine tool configurations and measurement applications.
[0178] FIG. 17 provides a visual representation of the image capture process using the vision-based metrology system, highlighting the system’s ability to capture images of both the horizontal and vertical patterns 216 and 214, respectively, within a single field of view, whenever the horizontal and vertical patterns 216 and 214 are configured for that capability. The left panel of FIG. 17 shows the wireless microscope 204 positioned above an image target 210 with the microscope’s 204 optical axis directed towards the horizontal pattern 216. The red line indicates the microscope’s 204 optical path, illustrating its direct line of sight to the horizontal pattern 216. The image target 210 is mounted on the machine tool’s worktable, which is not shown in this figure but is understood to be the platform upon which the workpiece is secured during machining operations. The markings on the horizontal pattern 216 are clearly visible through the microscope 204, enabling accurate measurement of the spindle’s position relative to the plane of the worktable. The middle panel of FIG. 17 provides a schematic representation of the image captured by the wireless microscope 204. The right-angle mirror 208, mounted within the microscope’s field of view, creates two distinct portions within the image. The non-mirrored portion (labeled “Non-mirror part”) shows the direct view of the horizontal pattern 216, allowing for direct measurement of the spindle’s planar errors. The mirrored portion (labeled “Mirror part”) shows a reflected view of the vertical pattern 214, captured via the right-angle mirror 208. This dual-view capability enables the system to measure thermal errors in both the horizontal and vertical directions. The grid patterns represent the horizontal and vertical patterns 216 and 214, respectively, emphasizing their role as reference frames for quantifying the spindle’s position. The right panel of FIG. 17 shows a photograph of the wireless microscope 204 positioned above the image target 210, with the blue line indicating the optical path for viewing the vertical pattern 214 via the right-angle mirror 208. The microscope’s 204 position and the mirror’s 208 orientation are adjusted to ensure that the reflected image of the vertical pattern 214 is clearly visible within the microscope’s 204 field of view. This arrangement enables the system to measure thermal errors in the Z-axis direction by capturing images of the vertical pattern 214. The right panel highlights the practical implementation of the system, demonstrating its compact size and its ability to be integrated into a real-world machine tool environment.
[0179] FIG. 18 illustrates the process of determining the spindle's center of rotation using the vision-based metrology system, highlighting the system's ability to accurately measure planar errors. The left panel of FIG. 18 shows a photograph of the wireless microscope 204 positioned above an image target. The microscope 204 is mounted in the spindle of a machine tool, enabling it to rotate about an axis that is substantially orthogonal to the plane of the image target. The spindle rotation, coupled with the microscope’s image capture capabilities, enables the system to acquire images of the image target from multiple viewpoints. The left middle panel of FIG. 18 shows a representative image from the video captured during spindle rotation. The image depicts a portion of the horizontal pattern, with a grid of black dots on a light background. The blue dot in the center of the image represents the calculated center of rotation, C(t), which is determined by analyzing the positions of the dots in multiple frames of the video. The right middle panel of FIG. 18 presents a graphical representation of the dot tracking and circle fitting process used to determine the center of rotation. The plot shows the tracked centroid positions of multiple dots from the horizontal pattern as the spindle rotates. The dots’ trajectories, as captured by the microscope, appear as circular arcs on the plot. The red circles represent the circles fitted to these arcs using a least-squares method or another suitable algorithm. The blue dot in the center of the plot represents the identified center of rotation, C(t), determined by the least-squares method. The right panel of FIG. 18 shows a composite image of the horizontal pattern with the calculated center of rotation overlaid. The red circles highlight the paths traced by several dots on the horizontal pattern as the spindle rotates. The blue dot represents the determined center of rotation C(t), which is consistently located at the center of the fitted circles, demonstrating the accuracy and repeatability of the measurement process. The system's ability to accurately determine the spindle’s center of rotation provides a foundation for measuring planar thermal errors, which are essential for characterizing the machine tool's thermal behavior and developing compensation strategies to mitigate the effects of thermal drift on machining accuracy.
[0180] FIG. 19 depicts the application of the vision-based metrology system to a machine tool configuration incorporating a right-angle mirror 208, demonstrating the system’s adaptability to different measurement setups. The left panel of FIG. 19 shows a representative image captured by the wireless microscope 204 during spindlerotation. The image depicts a portion of the horizontal pattern 216, which consists of a grid of black dots on a light background. The red box highlights the portion of the image that is used to determine the spindle’s center of rotation. This portion corresponds to the non-mirrored area of the image, ensuring that the center of rotation calculation is based on the direct view of the horizontal pattern 216, minimizing the potential for errors due to distortions introduced by the right-angle mirror 208. The dot within the red box represents the calculated center of rotation, C(t), which is determined using the same dot-tracking and circle-fitting process described in FIG. 18. The right panel of FIG. 19 shows a photograph of the wireless microscope 204 positioned above an image target. The microscope 204 is mounted in the machine tool’s spindle, enabling it to rotate about an axis that is substantially orthogonal to the plane of the image target. The edge of the right-angle mirror 208 is visible in the upper left portion of the image, indicating its placement within the microscope’s 204 field of view. The red line traces the microscope’s 204 optical path for viewing the horizontal pattern 216 directly, while the blue line traces the optical path for viewing the vertical pattern 214 via the right-angle mirror 208. This dual-view capability, achieved through the incorporation of the right-angle mirror 208, allows the system to measure both planar and out-of-plane thermal errors using a single measurement setup. The system’s software intelligently analyzes the captured images, identifying and isolating the relevant features from both the mirrored and non-mirrored portions of the image, enabling accurate determination of the spindle’s position in multiple directions.
[0181] FIG. 20 visually represents thermal drift and how the vision-based metrology system measures and quantifies this phenomenon. The figure focuses on the changes in the spindle’s center of rotation over time, highlighting how these changes are used to determine the planar thermal errors. The image in FIG. 20 depicts a black circular region representing the machine tool’s field of view, with three dots of different colors. The gray dot in the center represents the spindle’s nominal, or ideal, center of rotation, corresponding to the spindle’s reference position. The red dot represents the spindle's first center of rotation, C(t1), measured at the first time t1, while the blue dot represents the spindle’s second center of rotation, C(t2), measured at a later time t2 after the machine tool has experienced thermal drift. The arrow connecting the gray and red dots represents the vector describing the first planar position at time t1. Similarly, the arrow connecting the gray and blue dots representsthe vector describing the second planar position at time t2. The displacement of the second center of rotation C(t2) relative to the first center of rotation C(t1 ), indicated by the vector difference between the blue and red dots, represents the planar thermal drift that has occurred between the two measurement times. This thermal drift is directly attributable to changes in the machine tool’s structure due to temperature variations. The magnitude and direction of the thermal drift vector provide a quantitative measure of the planar thermal errors, enabling the development of compensation strategies to mitigate their impact on machining accuracy. The accuracy of the thermal drift measurement depends on several factors, including the precision of the spindle’s rotation, the resolution of the captured images, and the robustness of the image analysis algorithms to noise and other artifacts. The vision-based metrology system addresses these challenges by employing a combination of techniques, including high-resolution imaging, precise motion control, and sophisticated image processing algorithms, ensuring reliable and repeatable measurements. The system’s ability to quantify thermal drift in real-time enables the implementation of dynamic thermal error compensation strategies, allowing for adjustments to the machine tool’s motion commands to account for the measured thermal errors and maintain the desired tool path.
[0182] FIG. 21 shows aspects for how the vision-based metrology system measures out-of-plane thermal errors, pertaining to the analysis of images captured before and after a simulated (commanded by machine) thermal error in the Z-axis direction. The left panel of FIG. 21 presents two images (side-by-side) captured by the wireless microscope 204 while focused on the vertical pattern 214 of an image target 210. The left image corresponds to the spindle's position at the first time t1 , while the middle image corresponds to the spindle's position at a later time t2 after the machine tool has experienced a potential thermal drift, which in this case is a simulated thermal drift that was commanded by the machine. The vertical pattern 214 consists of a series of black dots arranged in a column on a light background. The blue boxes enclose two of the dots on the vertical pattern, highlighting the change in their relative positions due to the simulated thermal drift. The dashed blue line represents a reference line, used to visually quantify the shift in the dots’ positions. The label AZ indicates the out-of-plane displacement, calculated by measuring the vertical distance between the corresponding dots in the two images. The right panel of FIG. 21 shows a photographof the wireless microscope 204 positioned above and to the side of an image target 210. The microscope 204 is mounted in the machine tool's spindle, enabling it to translate along the Z-axis while maintaining a fixed orientation. The red line traces the optical path for viewing the horizontal pattern 216 directly, while the blue line indicates the optical path for viewing the vertical pattern 214 via the right-angle mirror 208. The microscope 204 captures images of the vertical pattern 214 with the spindle substantially stationary, and the image analysis algorithms track the vertical positions of the pattern's unique markings. By analyzing the changes in the markings’ positions within the microscope’s field of view from time t1 to time t2, the algorithms can accurately determine the spindle’s displacement along the Z-axis, providing a quantitative measure of the out-of-plane thermal error. The system’s ability to measure out-of-plane errors complements its capability to measure planar errors, providing a comprehensive characterization of the machine tool’s three-dimensional thermal behavior. This information is used for developing accurate thermal error compensation models, enabling the machine tool controller to adjust the spindle’s position in real time to account for thermal drift and maintain the desired tool path, ultimately improving machining accuracy and part quality.
[0183] FIG. 22 shows multiple image targets 210 that establish a thermal error model for the machine tool, including the system’s ability to capture and quantify a range of thermal effects. FIG. 22 depicts a model of a three-axis machine tool, with a rectangular surface representing the worktable. Four image targets, labeled T1 to T4, are disposed proximate to the comers of the worktable. Each image target represents a fixed reference point within the machine tool’s workspace. The coordinate system shown in FIG. 22 defines the machine’s three axes of motion: X, Y, and Z. The arrows near the center of the worktable symbolize the six degrees of freedom of the spindle relative to the worktable: three translations (AX, AY, AZ) and three rotations (around the X, Y, and Z axes). The orange single-ended arrows represent the translational thermal errors, while the purple single-ended arrows represent the rotational thermal errors. The green double-ended arrows on the X and Y axes illustrate the changes in the axial scales of those axes due to thermal expansion. The blue single-ended arrow between the X and Y axes represents the change in the squareness of those axes due to thermal distortion. By measuring the three-dimensional thermal error at each image target using the vision-based metrologysystem, a set of 12 equations (3 translations x 4 targets) is generated. These equations are then solved using a least-squares method to determine the nine thermal error parameters: three translations, three rotations, one squareness change, and two axial scale changes. The resulting thermal error model captures a wide range of thermal effects, enabling the machine tool controller to accurately predict and compensate for thermal drift during machining operations. The use of four image targets provides redundancy in the measurements, enhancing the robustness and accuracy of the model. Additionally, the strategic placement of the image targets near the corners of the worktable ensures that the model captures the thermal behavior across the entire workspace. The vision-based metrology system, combined with this multi-target approach, offers a comprehensive and practical solution for characterizing and mitigating thermal errors in machine tools.
[0184] The vision-based metrology system, as disclosed herein, offers a distinct approach to thermal error characterization in machine tools, moving beyond the limitations of conventional methods that rely on physical contact or complex modeling. Existing systems are often limited to measuring thermal drift at discrete points, typically along a single axis of motion. The system described in this application, however, uses a wireless microscope and strategically designed image targets to capture a rich dataset of images from multiple viewpoints. This approach enables the measurement of thermal errors in three dimensions, capturing both planar and out-of-plane displacements of the spindle relative to the worktable. The system’s ability to capture images without contacting the machine’s components ensures that the measurement process itself does not influence the machine tool’s thermal behavior, providing a truly non-invasive characterization of the thermal errors. Furthermore, the system leverages the power of image analysis algorithms to accurately determine the spindle’s position from the captured images. These algorithms exploit the geometric properties of the image target patterns and the controlled motion of the spindle to extract precise measurements of the spindle's center of rotation and its position along the Z-axis. This approach eliminates complex thermal models, which are often challenging to develop and calibrate, relying instead on a direct measurement of the machine tool’s actual thermal behavior.
[0185] It is contemplated that vision-based metrology system 200 and characterizing thermal errors within a machine tool can include the properties, functionality, hardware, and process steps described herein and embodied in any of the following non-exhaustive list:a process (e.g., a computer-implemented method including various steps; or a method carried out by a computer including various steps);an apparatus, device, or system (e.g., a data processing apparatus, device, or system including means for carrying out such various steps of the process; a data processing apparatus, device, or system including means for carrying out various steps; a data processing apparatus, device, or system including a processor adapted to or configured to perform such various steps of the process);a computer program product (e.g., a computer program product including instructions which, when the program is executed by a computer, cause the computer to carry out such various steps of the process; a computer program product including instructions which, when the program is executed by a computer, cause the computer to carry out various steps);computer-readable storage medium or data carrier (e.g., a computer-readable storage medium including instructions which, when executed by a computer, cause the computer to carry out such various steps of the process; a computer- readable storage medium including instructions which, when executed by a computer, cause the computer to carry out various steps; a computer-readable data carrier having stored thereon the computer program product; a data carrier signal carrying the computer program product);a computer program product including comprising instructions which, when the program is executed by a first computer, cause the first computer to encode data by performing certain steps and to transmit the encoded data to a second computer; ora computer program product including instructions which, when the program is executed by a second computer, cause the second computer to receiveQ7encoded data from a first computer and decode the received data by performing certain steps.
[0186] In an embodiment, a non-transitory computer-readable medium storing an algorithmic process for characterizing thermal errors within a machine tool, the algorithmic process comprising the combination of all of the steps recited here: receiving a first video of a horizontal pattern 216 of an image target 210 captured by a wireless microscope 204 mounted in a spindle of the machine tool, the first video captured while the spindle is rotating about its rotation axis that is substantially orthogonal to a plane defined by the horizontal pattern 216; determining, based on the first video, a plurality of centroids of a plurality of unique markings on the horizontal pattern 216 for a plurality of images of the first video; fitting a circle to each set of centroids, each circle having a radius; identifying a point common to all of the circles as a first center of rotation C(t 1 ) of the spindle at a first time t1 ; receiving a second video of a vertical pattern 214 of the image target 210 captured by the wireless microscope 204, the second video captured while the spindle is substantially stationary with its rotation axis substantially parallel to the vertical pattern 214; determining, based on the second video, a plurality of centroids of a plurality of unique markings on the vertical pattern 214 for each image of the second video; calculating an average position of the plurality of centroids for each image of the second video; characterizing, based on the average position of the plurality of centroids, a first out-of-plane position of the spindle at the first time t1 ; characterizing, based on the first center of rotation C(t1), the first planar position of the spindle at the first time t1; combining the first planar position and the first out-of-plane position to create a first three-dimensional position of the spindle at the first time t1; receiving a third video of the horizontal pattern 216 captured by the wireless microscope 204, the third video captured while the spindle is rotating about its rotation axis after a thermal change of the machine tool; determining, based on the third video, a second center of rotation C(t2) of the spindle at a second time t2; receiving a fourth video of the vertical pattern 214 captured by the wireless microscope 204, the fourth video captured while the spindle is substantially stationary after the thermal change of the machine tool; characterizing, based on the fourth video, a second out-of-plane position of the spindle at the second time t2; characterizing, based on the second center of rotation C(t2), the second planar position of the spindle at the second time t2; combining the secondplanar position and the second out-of-plane position to create a second three-dimensional position of the spindle at the second time t2; and calculating, based on the first three-dimensional position of the spindle at the first time t1 and the second three-dimensional position of the spindle at the second time t2, a thermal error of the spindle. In an embodiment, the algorithmic process further comprises repeating the receiving, determining, fitting, identifying, receiving, determining, calculating, characterizing, combining, receiving, determining, receiving, characterizing, characterizing, combining, and calculating steps for at least a second image target 210 attached to the worktable. In an embodiment, the algorithmic process further comprises generating, based on the thermal errors of the spindle for each of the at least two image targets 210, a thermal error model for use by the controller to command motion of the machine tool. In an embodiment, a portion of each image of each video received by the processor comprises a mirrored portion of the image and a non-mirrored portion of the image. In an embodiment, determining the first center of rotation C(t1) is performed only on the non-mirrored portion of the first video. In an embodiment, the horizontal pattern 216 is attached to an image target base 212. In an embodiment, the vertical pattern 214 is attached to an image target base 212. In an embodiment, the horizontal pattern 216 and the vertical pattern 214 have different patterns. In an embodiment, the wireless microscope 204 is attached to a tool holder 202. In an embodiment, a right-angle mirror 208 is attached to the tool holder 202 such that the right-angle mirror 208 is within a field of view of the wireless microscope 204.
[0187] It should be understood that the calculations can be performed by any suitable computer system, such as that diagrammatically shown in FIG. 23. Data is entered into system 100 via any suitable type of user interface 116, and can be stored in memory 112, which can be any suitable type of computer readable and programmable memory and is preferably a non-transitory, computer readable storage medium. Calculations are performed by processor 114, which can be any suitable type of computer processor and can be displayed to the user on display 118, which can be any suitable type of computer display. Processor 114 can be associated with, or incorporated into, any suitable type of computing device, for example, a personal computer or a programmable logic controller. The display 118, the processor 114, the memory 112 and any associated computer readable recording media are in communication with one another by any suitable type of data bus, as is well known inthe art. Examples of computer-readable recording media include non-transitory storage media, a magnetic recording apparatus, an optical disk, a magneto-optical disk, and / or a semiconductor memory (for example, RAM, ROM, etc.). Examples of magnetic recording apparatus that can be used in addition to memory 112, or in place of memory 112, include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)ZRW. It should be understood that non-transitory computer-readable media include all computer-readable media except for a transitory, propagating signal.
[0188] The processes described herein can be embodied in, and fully automated via, software code modules executed by a computing system that includes one or more general purpose computers or processors. The code modules can be stored in any type of non-transitory computer-readable medium or other computer storage device. Some or all the methods may alternatively be embodied in specialized computer hardware. In addition, the components referred to herein can be implemented in hardware, software, firmware, or a combination thereof.
[0189] Many other variations than those described herein can be apparent from this disclosure. For example, depending on the embodiment, certain acts, events, or functions of any of the algorithms described herein can be performed in a different sequence, can be added, merged, or left out altogether (e.g., not all described acts or events are involved for the practice of the algorithms). Moreover, in certain embodiments, acts or events can be performed concurrently, e.g., through multithreaded processing, interrupt processing, or multiple processors or processor cores or on other parallel architectures, rather than sequentially. In addition, different tasks or processes can be performed by different machines and / or computing systems that can function together.
[0190] Any logical blocks, modules, and algorithm elements described or used in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, and elements have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or softwaredepends upon the particular application and design constraints imposed on the overall system. The described functionality can be implemented in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosure.
[0191] The various illustrative logical blocks and modules described or used in connection with the embodiments disclosed herein can be implemented or performed by a machine, such as a processing unit or processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A processor can be a microprocessor, but in the alternative, the processor can be a controller, microcontroller, or state machine, combinations of the same, or the like. A processor can include electrical circuitry configured to process computer-executable instructions. In another embodiment, a processor includes an FPGA or other programmable device that performs logic operations without processing computer-executable instructions. A processor can also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Although described herein primarily with respect to digital technology, a processor can also include primarily analog components. For example, some or all of the signal processing algorithms described herein can be implemented in analog circuitry or mixed analog and digital circuitry. A computing environment can include any type of computer system, including, but not limited to, a computer system based on a microprocessor, a mainframe computer, a digital signal processor, a portable computing device, a device controller, or a computational engine within an appliance, to name a few.
[0192] The elements of a method, process, or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module stored in one or more memory devices and executed by one or more processors, or in a combination of the two. A software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROMmemory, registers, hard disk, a removable disk, a CD-ROM, or any other form of non-transitory computer-readable storage medium, media, or physical computer storage known in the art. An example storage medium can be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium can be integral to the processor. The storage medium can be volatile or nonvolatile.
[0193] While one or more embodiments have been shown and described, modifications and substitutions can be made thereto without departing from the spirit and scope of the invention. Accordingly, it is to be understood that the present invention has been described by way of illustrations and not limitation. Embodiments herein can be used independently or can be combined.
[0194] All ranges disclosed herein are inclusive of the endpoints, and the endpoints are independently combinable with each other. The ranges are continuous and thus contain every value and subset thereof in the range. Unless otherwise stated or contextually inapplicable, all percentages, when expressing a quantity, are weight percentages. The suffix (s) as used herein is intended to include both the singular and the plural of the term that it modifies, thereby including at least one of that term (e.g., the colorant(s) includes at least one colorants). Option, optional, or optionally means that the subsequently described event or circumstance can or cannot occur, and that the description includes instances where the event occurs and instances where it does not. As used herein, combination is inclusive of blends, mixtures, alloys, reaction products, collection of elements, and the like.
[0195] As used herein, a combination thereof refers to a combination comprising at least one of the named constituents, components, compounds, or elements, optionally together with one or more of the same class of constituents, components, compounds, or elements.
[0196] All references are incorporated herein by reference.
[0197] The use of the terms “a,” “an,” and “the” and similar referents in the context of describing the invention (especially in the context of the following claims) are to be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. It can further be noted that theterms first, second, primary, secondary, and the like herein do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. It will also be understood that, although the terms first, second, etc. are, in some instances, used herein to describe various elements, these elements should not be limited by these terms. For example, a first current could be termed a second current, and, similarly, a second current could be termed a first current, without departing from the scope of the various described embodiments. The first current and the second current are both currents, but they are not the same condition unless explicitly stated as such.
[0198] The modifier about used in connection with a quantity is inclusive of the stated value and has the meaning dictated by the context (e.g., it includes the degree of error associated with measurement of the particular quantity). The conjunction or is used to link objects of a list or alternatives and is not disjunctive; rather the elements can be used separately or can be combined together under appropriate circumstances.PARTS LISTvision-based metrology system 200tool holder 202foam ring 203wireless microscope 204right-angle adaptor 205mirror fixture 206set screw 207right-angle mirror 208socket head cap screw 209image target 210rubber O-ring 211image target base 212vertical pattern 214horizontal pattern 216characterizing thermal errors within a machine tool
Claims
What is claimed is:
1. A vision-based metrology system for characterizing thermal errors within a machine tool, the system comprising: a tool holder 202 mountable in a spindle of the machine tool; a wireless microscope 204 mountable to the tool holder 202; a rightangle mirror 208 mountable to the tool holder 202 such that the right-angle mirror 208 is within a field of view of the wireless microscope 204; and a plurality of image targets 210, each image target 210 comprising a horizontal pattern 216 substantially parallel to a plane of motion of a worktable of the machine tool, and a vertical pattern 214 substantially orthogonal to the plane.
2. The system of embodiment 1 wherein the right-angle mirror 208 is mountable to the tool holder 202 via a mirror fixture 206.
3. The system of embodiment 2 wherein the mirror fixture 206 is attached to the tool holder 202 with one or more fasteners 209.
4. The system of embodiment 1 wherein the wireless microscope 204 is attached to the tool holder 202 with one or more fasteners 207.
5. The system of embodiment 1 further comprising a foam ring 203 that holds and seals an outer removable tube to protect the wireless microscope 204.
6. The system of embodiment 1 further comprising a right-angle adaptor 205 that allows a power cable to be connected to the wireless microscope 204.
7. The system of embodiment 1 wherein the horizontal pattern 216 comprises a plurality of unique markings.
8. The system of embodiment 1 wherein the vertical pattern 214 comprises a plurality of unique markings.
9. The system of embodiment 1 wherein the horizontal pattern 216 and the vertical pattern 214 have different patterns.
10. The system of embodiment 1 wherein each image target 210 further comprises an image target base 212 and a seal 211 to hold and seal an outer removable cover to protect the image target 210.
11. A method for characterizing thermal errors within a machine tool having a spindle, a worktable, and a controller, the method comprising: attaching at least one image target 210 to the worktable, each image target 210 comprising a horizontal pattern 216 and a vertical pattern 214; mounting a tool holder 202 in the spindle, the tool holder 202 having attached to it a wireless microscope 204 and a right-angle mirror 208; positioning the spindle such that the wireless microscope 204 is viewing the horizontal pattern 216 of an image target 210; rotating the spindle about its rotation axis, the axis substantially orthogonal to a plane defined by the horizontal pattern 216; capturing a video of the horizontal pattern 216 from the rotating wireless microscope 204; analyzing the video to determine a first center of rotation C(t1) of the spindle relative to the worktable at a first time t1; determining, based on the first center of rotation C(t1 ), a first planar position of the spindle relative to the worktable at time t1 ; positioning the spindle such that the wireless microscope 204 is viewing the vertical pattern 214 of the image target 210; controlling the spindle to be substantially stationary; capturing a video of the vertical pattern 214 from the substantially stationary wireless microscope 204; analyzing the video to determine a first out-of-plane positionof the spindle relative to the worktable at time t1 ; and characterizing, based on the first planar position and the first out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t1.
12. The method of embodiment 11 further comprising: heating at least one component of the machine tool; waiting a predetermined time interval; repeating the positioning, rotating, capturing, analyzing, determining, positioning, controlling, capturing, analyzing, and characterizing steps to determine a second center of rotation C(t2) of the spindle relative to the worktable at a second time t2; determining, based on the second center of rotation C(t2), a second planar position of the spindle relative to the worktable at time t2; determining a second out-of-plane position of the spindle relative to the worktable at time t2; and characterizing, based on the second planar position and the second out-of-plane position, a three-dimensional position of the spindle relative to the worktable at time t2.
13. The method of embodiment 12 further comprising: calculating a difference between the three-dimensional position of the spindle relative to the worktable at the second time t2 and the three-dimensional position of the spindle relative to the worktable at the first time t1 to determine a thermal error of the spindle relative to an image target 210 on the worktable from the first time t1 to the second time t2.
14. The method of embodiment 11 wherein analyzing the video of the horizontal pattern 216 comprises determining centroids of a plurality of unique markings on the horizontal pattern 216 in a plurality of images of the video; fitting a circle to each set of centroids, each circle having a radius; and identifying a point common to all of the circles as the first center of rotation C(t1 ).
15. The method of embodiment 11 wherein the right-angle mirror 208 is positioned such that a portion of each image of each video captured by the wirelessmicroscope 204 comprises a mirrored portion of the image and a non-mirrored portion of the image.
16. The method of embodiment 15 wherein analyzing the video to determine the first center of rotation C(t1) is performed only on the non-mirrored portion of the video.
17. The method of embodiment 11 wherein the image target 210 further comprises an image target base 212, and the horizontal pattern 216 is attached to the image target base 212.
18. The method of embodiment 11 wherein the vertical pattern 214 is attached to the image target base 212.
19. The method of embodiment 11 wherein analyzing the video of the vertical pattern 214 comprises determining centroids of a plurality of unique markings on the vertical pattern 214 for each image of the video and computing an average position of the plurality of centroids.
20. The method of embodiment 13 wherein characterizing the thermal error of the spindle relative to the worktable from the first time t1 to the second time t2 comprises generating a thermal error model for use by the controller to command motion of the machine tool that compensates for the thermal error.
21. A non-transitory computer-readable medium storing an algorithmic process for characterizing thermal errors within a machine tool, the algorithmic process comprising the combination of all of the steps recited here: receiving a first video of ahorizontal pattern 216 of an image target 210 captured by a wireless microscope 204 mounted in a spindle of the machine tool, the first video captured while the spindle is rotating about its rotation axis, the axis substantially orthogonal to a plane defined by the horizontal pattern 216; determining, based on the first video, a plurality of centroids of a plurality of unique markings on the horizontal pattern 216 for a plurality of images of the first video; fitting a circle to each set of centroids, each circle having a radius; identifying a point common to all of the circles as a first center of rotation C(t1 ) of the spindle at a first time t1 ; receiving a second video of a vertical pattern 214 of the image target 210 captured by the wireless microscope 204, the second video captured while the spindle is substantially stationary; determining, based on the second video, a plurality of centroids of a plurality of unique markings on the vertical pattern 214 for each image of the second video; calculating an average position of the plurality of centroids for each image of the second video; characterizing, based on the average position of the plurality of centroids, a first out-of-plane position of the spindle at the first time t1 ; characterizing, based on the first center of rotation C(t1 ) and the first out-of-plane position, a first three-dimensional position of the spindle at the first time t1 ; receiving a third video of the horizontal pattern 216 captured by the wireless microscope 204, the third video captured while the spindle is rotating about its rotation axis after a thermal change of the machine tool; determining, based on the third video, a second center of rotation C(t2) of the spindle at a second time t2; receiving a fourth video of the vertical pattern 214 captured by the wireless microscope 204, the fourth video captured while the spindle is substantially stationary after the thermal change of the machine tool; characterizing, based on the fourth video, a second out-of-plane position of the spindle at the second time t2; characterizing, based on the second center of rotation C(t2) and the second out-of-plane position, a second three-dimensional position of the spindle at the second time t2; and calculating, based on the first three-dimensional position of the spindle at the first time t1 and the second three-dimensional position of the spindle at the second time t2, a thermal error of the spindle at an image target 210 on the worktable from the first time t1 to the second time t2.
22. The non-transitory computer-readable medium of embodiment 21 , wherein the algorithmic process further comprises repeating the receiving, determining, fitting, identifying, receiving, determining, calculating, characterizing, characterizing, receiving, determining, receiving, characterizing, characterizing, and calculating steps for at least a second image target 210 attached to the worktable.
23. The non-transitory computer-readable medium of embodiment 22, wherein the algorithmic process further comprises generating, based on the thermal errors of the spindle for each of the at least two image targets 210, a thermal error model for use by the controller to command motion of the machine tool.
24. The non-transitory computer-readable medium of embodiment 21 , wherein a portion of each image of each video received by the processor comprises a mirrored portion of the image and a non-mirrored portion of the image.
25. The non-transitory computer-readable medium of embodiment 24, wherein determining the first center of rotation C(t1) is performed only on the non-mirrored portion of the first video.
26. The non-transitory computer-readable medium of embodiment 21 , wherein the horizontal pattern 216 is attached to an image target base 212.
27. The non-transitory computer-readable medium of embodiment 21 , wherein the vertical pattern 214 is attached to an image target base 212.
28. The non-transitory computer-readable medium of embodiment 21 , wherein the horizontal pattern 216 and the vertical pattern 214 have different patterns.
29. The non-transitory computer-readable medium of embodiment 21 , wherein the wireless microscope 204 is attached to a tool holder 202.
30. The non-transitory computer-readable medium of embodiment 21 , wherein a right-angle mirror 208 is attached to the tool holder 202 such that the right-angle mirror 208 is within a field of view of the wireless microscope 204.
