A high-speed microscopic crack detection device and method based on macro positioning focus compensation

By using a high-speed microcrack detection device based on macroscopic positioning and focusing compensation, the device can monitor and automatically focus in real time, solving the problems of defocusing and positional shift in microscopic imaging during torsional fatigue testing. This enables high-definition, continuous, and automatic identification of tiny areas on the surface of the test bar, improving the real-time performance and data reliability of crack detection.

CN123175940APending Publication Date: 2026-11-27JIMEI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611288113.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to overcome periodic rotation, minute deformation, and defocusing interference during torsional fatigue testing, enabling long-term, stable, high-definition, and continuous microscopic imaging of the same minute area on the test bar surface, and automatic identification of crack evolution.

Method used

A high-speed microcrack detection device based on macroscopic positioning and focusing compensation is adopted. By introducing a macroscopic positioning component to monitor the shooting position of the high-speed microscopic component in real time, and using a linear motor for automatic focusing compensation in the optical axis direction, the clarity of the microscopic image is maintained.

Benefits of technology

It achieves in-situ, continuous, high-definition imaging and automatic identification during torsional fatigue, solving the image blurring problem caused by defocusing and positional shift in traditional methods, and significantly improving the real-time performance and data reliability of crack detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175940A_ABST
    Figure CN123175940A_ABST
Patent Text Reader

Abstract

The application provides a high-speed microscopic crack detection device and method based on macro positioning and focusing compensation, comprising a torsional fatigue testing machine, a high-speed microscopic assembly and a macro positioning assembly. The high-speed microscopic assembly comprises a high-speed camera, a microscope tube, a microscopic objective lens, a light source and a linear motor, and is used for acquiring a microscopic image of a test bar surface. The macro positioning assembly comprises a macro detection camera and a telecentric lens, and is used for acquiring a macro image of the test bar in real time and identifying a position change of a predetermined area being photographed by the high-speed microscopic assembly in the macro image. The linear motor drives the high-speed camera to perform focusing compensation along the optical axis direction according to the position change, so that the area to be observed is always kept in the optimal focal plane, and clear and stable microscopic images can be continuously obtained when the test bar is periodically twisted or slightly deformed, thereby realizing in-situ, continuous and high-definition imaging and automatic identification of the crack in the torsional fatigue process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fatigue crack detection technology, and in particular to a high-speed microcrack detection device and method based on macroscopic positioning and focusing compensation. Background Technology

[0002] Key components are the core load-bearing parts of high-end equipment, such as the main shafts of aircraft engines, axles of high-speed trains, and main shafts of wind turbines. During service, they often endure complex cyclic torsional loads. Under this alternating stress, fatigue cracks are highly likely to initiate on the surface of these components. Once initiated, these cracks will continue to propagate under cyclic loads, eventually leading to sudden fracture of the component, causing catastrophic safety accidents and huge economic losses. Therefore, in-depth research into the initiation and propagation mechanisms of fatigue cracks is crucial for assessing component life and ensuring the safe operation of equipment.

[0003] Changes in surface microstructure, the formation of extrudates, the appearance of slip bands, and the evolution of microcracks are key indicators for determining the formation and propagation stages of fatigue cracks. Currently, existing fatigue crack detection methods mainly include post-test fracture surface analysis, observation using microscopes or scanning electron microscopes after shutdown, photography with ordinary industrial cameras, manual visual inspection, and some dynamic imaging methods based on high-speed cameras. However, all these methods have limitations to varying degrees. 1. Limitations of Offline Characterization Methods: While offline characterization techniques such as scanning electron microscopy can achieve extremely high spatial resolution, they require shutdown, disassembly, and even sampling operations. This makes it impossible to continuously record the crack evolution sequence information of the same specimen throughout the entire torsional fatigue process without disrupting the experimental procedure. Researchers can only obtain the static morphology after the experiment has ended or at a specific moment, losing the dynamic evolution details of crack initiation, propagation, and final fracture.

[0004] 2. Limitations of conventional optical observation methods: While ordinary industrial cameras or microscopes can achieve a certain degree of online observation, the observation area inevitably experiences positional changes, field-of-view shifts, defocusing, and motion blur when the specimen is periodically rotated on a torsion fatigue testing machine. Furthermore, the lack of a precise triggering mechanism synchronized with the torsion cycle phase results in inconsistent image phases across different cycles, making quantitative comparative analysis of parameters such as crack length and propagation direction extremely difficult. For specimens with notches, the notch area, as a critical location for stress concentration and crack initiation, experiences particularly significant image shifts during torsion, making it difficult for existing devices to stably lock onto this minute region for extended periods.

[0005] 3. Limitations of Existing High-Speed ​​Camera Solutions: Some existing technologies attempt to use high-speed cameras for dynamic imaging, but these solutions typically lack an autofocus mechanism adapted to microscopic imaging, and also lack macroscopic positioning components capable of identifying the corresponding position of the high-speed microscopic components in the imaging area. Therefore, in long-term torsional fatigue experiments, existing solutions struggle to continuously acquire high-resolution microscopic images of minute areas on the same surface, especially failing to effectively address defocusing issues caused by minute deformations of the specimen or fixture, thermal expansion, or mechanical clearances. Ordinary microscope lenses, due to their extremely shallow depth of field, are simply unable to adapt to the periodic rotation and minute axial movement of the specimen in torsional fatigue tests, easily resulting in field-of-view shift, image defocusing, and image blurring. Furthermore, the magnification of a high-speed camera alone is insufficient for effectively observing micron-level cracks at the notch root or on the specimen surface.

[0006] In summary, the existing technology lacks an integrated detection device that can overcome periodic rotation, minute deformation and defocusing interference during torsional fatigue testing, achieve long-term, stable, high-definition and continuous microscopic imaging of the same small area on the surface of the test bar, and automatically identify and analyze crack evolution. Summary of the Invention

[0007] To address the aforementioned technical problems, this invention proposes a high-speed microscopic crack detection device based on macroscopic positioning and focusing compensation. By introducing a macroscopic positioning component to monitor the imaging position of the high-speed microscopic component in real time, and driving a linear motor to automatically adjust and compensate for the optical axis direction based on position changes, the device maintains the clarity of the microscopic image even when the test bar undergoes periodic torsion, clamping errors, or tooling deformation. This solves the technical problem of loss of crack details due to defocusing in traditional microscopic observation.

[0008] Firstly, a high-speed microcrack detection device based on macroscopic positioning and focusing compensation is provided, comprising a torsional fatigue testing machine, a high-speed microscopic component, and a macroscopic positioning component, wherein... The torsional fatigue testing machine includes a test bar clamp for holding and driving the test bar to perform a torsional fatigue test.

[0009] The high-speed microscopy assembly includes a high-speed camera, a microscope tube, a microscope objective, a light source, and a linear motor. The lens of the high-speed camera is sequentially mounted on the microscope tube and the microscope objective, with the entire assembly facing the test bar on the test bar holder. The light source is directly opposite the microscope objective and located on the other side of the test bar, providing illumination for microscopic imaging. The linear motor is connected to the high-speed camera or its base and is used to drive the high-speed camera closer to or further away from the test bar along the optical axis to adjust the high-speed camera to the optimal focal plane, thereby acquiring a clear microscopic image of a predetermined area.

[0010] The macroscopic positioning component includes a macroscopic inspection camera and a telecentric lens. The lens of the macroscopic inspection camera is mounted on the telecentric lens and faces the test bar. During loading, the macroscopic positioning component acquires images of the test bar surface in real time and obtains macroscopic images with a wider field of view. In addition, the macroscopic positioning component can identify the positional changes of the predetermined area being captured by the high-speed microscopy component in the macroscopic image.

[0011] The linear motor drives the high-speed camera to focus by compensating for displacement based on the position change identified by the macroscopic positioning component, so as to maintain the optimal focal plane state and the clarity of the microscopic image.

[0012] This invention enables in-situ, continuous, high-definition imaging and automatic identification of cracks during torsional fatigue, effectively solving the image blurring problem caused by defocusing and positional shift in traditional methods, and significantly improving the real-time performance and data reliability of crack detection.

[0013] Preferably, the macroscopic detection camera identifies the predetermined region by using specific positioning features in the microscopic image, and determines the corresponding position and positional changes of the predetermined region in the macroscopic field of view.

[0014] More preferably, the positioning features include feature points at the bottom of the notch, the center of the notch contour, artificial positioning marks, or stable texture features on the surface of the test bar. The position recognition method for the positioning features may employ one or more combinations of feature point recognition, template matching, edge detection, contour recognition, grayscale centroid calculation, or image differencing.

[0015] More preferably, a conversion relationship between the position change of the positioning feature and the compensation displacement of the high-speed camera is established through a multi-position calibration step.

[0016] More preferably, the step of establishing the transformation relationship includes: The high-speed microscopy component acquires an initial microscopic image and records the position of the linear motor at that time. Furthermore, localization features with a fixed spatial correspondence to the predetermined region are selected from the macroscopic image, and their initial pixel coordinates are recorded. ; The test bar is sequentially subjected to several known displacements relative to the high-speed microscopy assembly along the microscope's optical axis. For each displacement, the macroscopic positioning assembly acquires a macroscopic image and extracts the pixel coordinates of the positioning features. Simultaneously, the linear motor is adjusted to restore a clear image in the microscope, and the corresponding linear motor position is recorded. This allows us to obtain calibration data and calibration images between the positional changes of multiple sets of positioning features in the macroscopic image and the motor compensation displacement during optimal focusing; Based on the motion trajectory of the positioning features in multiple sets of calibration images, determine the projection unit vector of the microscope optical axis direction in the macroscopic image coordinate system. In the i-th set of calibration data, the effective pixel offset of the localization feature position relative to the initial position. The corresponding compensation displacement of the linear motor ; When the calibration range is small and the device geometry is approximately linear, a linear function is used to establish the mapping relationship between the two: Where k is the conversion coefficient from the effective pixel offset of the macroscopic image to the actual compensation displacement of the linear motor, and b is the correction term corresponding to the system installation error and zero-point error; the coefficients k and b are calculated using the least squares method based on multiple sets of calibration data: ; When there is a non-linear relationship between the change in position of the macroscopic image and the compensation displacement of the motor, a transformation relationship can be established by using quadratic or higher-order polynomial fitting, piecewise linear interpolation, or lookup tables. .

[0017] Preferably, during the torsional fatigue test, macroscopic images are acquired within the same torsional phase or a set angle range to obtain the current positioning feature coordinates. And calculate the current effective pixel offset. The host computer calculates the required compensation amount based on the conversion relationship. And set the target position of the linear motor as The sign of the compensation direction is determined by the calibration data and the coordinate direction of the linear motor.

[0018] More preferably, in order to reduce the impact of vibration and image recognition errors, the offset of consecutive multiple frames is averaged, median filtered or low-pass filtered, and the linear motor is driven only when the compensation exceeds a set threshold.

[0019] Preferably, the test bar is made to have a known displacement by means of a precision displacement platform, a fine-tuning mechanism of the testing machine fixture, or a standard shim.

[0020] Secondly, a high-speed microcrack detection method based on macroscopic positioning and focusing compensation is also provided, employing the apparatus described in the first aspect, the method comprising: Test bar clamping and high-speed microscopic initial imaging: The torsional fatigue test bar to be tested is mounted on the clamp of the torsional fatigue testing machine, so that the predetermined area of ​​the test bar surface to be observed is within the observation range of the high-speed microscopic components. The high-speed camera, microscope tube, microscope objective and light source are adjusted to obtain a clear initial microscopic image of the area to be observed. Macroscopic positioning component positioning and focusing compensation relationship calibration: Using the macroscopic positioning component, the corresponding positions of positioning features in the micro-area of ​​the surface being captured by the high-speed microscope component in the macroscopic image are identified and recorded. The calibration relationship between the position of the positioning feature and the optimal focal plane of the high-speed microscope component is established, and the conversion relationship between the change in the macroscopic position of the positioning feature and the compensation displacement of the linear motor along the optical axis of the microscope is established. Torsional fatigue loading and real-time macroscopic position identification: The torsional fatigue testing machine is started and a cyclic torsional load is applied to the test bar; during the loading process, the macroscopic positioning component acquires images of the test bar surface in real time and identifies the corresponding positional changes of the predetermined area being captured by the high-speed microscopy component in the macroscopic field of view. Automatic focusing compensation along the optical axis: The host computer calculates the focusing compensation displacement required by the high-speed microscope component based on the position change information obtained by the macro positioning component and the pre-established conversion relationship, and sends control commands to the linear motor. The linear motor moves along the optical axis of the microscope, driving the high-speed microscope imaging component or its mounting platform to approach or move away from the surface of the test rod, so that the area to be observed re-enters the depth of field range or the optimal focal plane of the high-speed microscope component. High-speed microscopic image acquisition: After focusing compensation, the high-speed camera continuously or intermittently acquires microscopic images of the predetermined area to be observed on the surface of the test rod.

[0021] Preferably, depending on the experimental requirements, the high-speed camera is connected to a torsional fatigue testing machine, an encoder, or a trigger sensor, so that it can acquire images under the same torsional phase or a specified cycle period, thereby obtaining comparable crack evolution images.

[0022] Preferably, the method further includes crack evolution information extraction and data output: the host computer synchronously or correspondingly records the high-speed microscopic image, macroscopic position detection results, linear motor compensation displacement, torsion cycle number and loading parameters, and identifies and analyzes the crack in the microscopic image to obtain the crack first visibility time, crack length, crack direction, crack propagation path, crack propagation rate and crack deflection and merging information, so as to realize in-situ monitoring of crack evolution on the test bar surface during torsional fatigue.

[0023] As can be seen from the above description of the present invention, the present invention has the following beneficial effects: Clear microscopic images are maintained during torsional fatigue: Traditional microscopic observation is prone to defocusing and image blurring when the test bar undergoes periodic torsion or slight positional changes. This invention uses a macroscopic positioning component to identify the corresponding position of the high-speed microscopic imaging area in real time and controls a linear motor to perform precise focusing compensation along the optical axis of the microscope, so that the area to be observed is always kept within the depth of field range or the optimal focal plane of the microscope objective, fundamentally solving the defocusing problem. This invention achieves real-time acquisition and intelligent identification of crack information: It employs a high-speed microscopic imaging system to continuously or at set cyclic intervals acquire in-situ images of minute areas on the surface of the test specimen. Combined with upper-computer image processing software, the acquired microscopic images are automatically analyzed, enabling real-time identification of cracks on the specimen surface and automatic extraction of geometric parameters such as crack length, crack width, crack direction, crack number, and crack location. Simultaneously, it comprehensively records the evolution process of crack initiation, propagation, deflection, and fusion. Compared to traditional methods of observation during downtime or post-test fracture analysis, this invention can continuously acquire crack evolution information during the experiment without frequent interruptions to the fatigue test, greatly improving the real-time performance, automation, and data acquisition efficiency of crack detection. This provides more complete and reliable experimental data for the study of fatigue crack initiation mechanisms and propagation laws. Attached Figure Description

[0024] The accompanying drawings, which are provided to further illustrate the invention and constitute a part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention.

[0025] in: Figure 1 An axonometric view of a high-speed microcrack detection device based on macroscopic positioning and focusing compensation. Figure 1 ; Figure 2 An axonometric view of a high-speed microcrack detection device based on macroscopic positioning and focusing compensation. Figure 2 ; Figure 3 An axonometric view of a high-speed microcrack detection device based on macroscopic positioning and focusing compensation. Figure 3 ; Figure 4 This is a partial schematic diagram of a high-speed microcrack detection device based on macroscopic positioning and focusing compensation; Figure 5 It is a microcrack identification image; Figure 6 This is a flowchart of the detection device's workflow; Figures 1 to 6 The markings are as follows: 1. Test bar; 2. Test bar fixture; 3. Torsional fatigue testing machine; 4. High-speed camera; 5. Microscope tube; 6. Microscope objective; 7. Linear motor; 8. Macroscopic inspection camera; 9. Telecentric lens; 10. Base. Detailed Implementation

[0026] To make the technical problems, technical solutions, and beneficial effects of this invention clearer and more understandable, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0027] Please see Figures 1 to 4 This embodiment provides a high-speed microcrack detection device based on macroscopic positioning and focusing compensation, including a torsion fatigue testing machine 3, a high-speed microscopic component, a macroscopic positioning component, and a host computer.

[0028] The torsional fatigue testing machine 3 is used to apply cyclic torsional load to the test bar 1. It is equipped with a test bar clamp 2, which can firmly clamp both ends of the test bar 1 to ensure that the torque can be accurately transmitted to the working section of the test bar.

[0029] The high-speed microscopy assembly, used to acquire high-resolution crack images, includes a high-speed camera 4, a microscope tube 5, and a microscope objective 6. The high-speed camera 4 has a high frame rate and high sensitivity, enabling it to capture a large number of images in a short time to record the dynamic process of the test rod rotating rapidly. The microscope tube 5 and the microscope objective 6 are mounted at the front end of the lens of the high-speed camera 4, forming a microscopic imaging system for high-magnification magnification of a small area (predetermined area) on the surface of the test rod 1 to observe micron-level cracks. The microscope tube 5 may contain a zoom or focusing mechanism.

[0030] The light source is positioned directly opposite the microscope objective 6 and on the other side of the test bar 1, providing sufficient and uniform illumination for microscopic imaging and improving image contrast.

[0031] The high-speed camera 4 is mounted on the base 10 via a linear motor 7. The linear motor 7 can precisely drive the high-speed camera 4 to make small, rapid reciprocating linear movements along its optical axis (i.e., the direction perpendicular to the surface of the test rod) according to the control signal, thereby achieving automatic focusing.

[0032] The macroscopic positioning component is used to provide a reference frame with a macroscopic field of view to track the shooting position of the high-speed microscopic component in real time. It includes a macroscopic inspection camera 8 and a telecentric lens 9, and may also be equipped with a light source. The telecentric lens 9 is mounted on the lens of the macroscopic inspection camera 8. The telecentric lens 9 has the characteristics of low distortion and constant magnification. Even within a certain object distance range, it can ensure the accuracy of image size, which is very suitable for precise measurement of position changes.

[0033] The field of view of the macroscopic positioning component covers the entire area near the test bar fixture 2, and the overall outline of the test bar 1 and the small area focused by the high-speed microscopic component (including positioning features, such as notches) can be clearly seen.

[0034] Please see Figure 6 The working principle and workflow of the device provided in this embodiment include: S10. Initial Imaging and Localization Feature Selection Before conducting the fatigue test, the test bar 1 is first installed on the test bar fixture 2. The position of the high-speed microscopic component is adjusted so that it is aligned with the predetermined area to be observed on the test bar 1. The high-speed camera 4, microscope tube 5, and microscope objective lens 6 are adjusted manually or automatically, and the optimal focal plane is found in conjunction with the linear motor 7 to obtain a clear initial microscopic image. The position of the linear motor 7 is recorded by the host computer at this time. ; Simultaneously, the host computer receives images from the macroscopic inspection camera 8. The operator or software algorithm selects a positioning feature in the macroscopic image that has a fixed spatial correspondence with a predetermined area captured by the high-speed microscopic component. The positioning feature can be a prominent feature point at the bottom of the notch of the test specimen, the center of the notch outline, an artificially engraved cross mark, or an inherent and stable texture feature on the surface of the test specimen. The initial pixel coordinates of the positioning feature are recorded. ; S20, Calibration Conversion Relationship To establish the mathematical relationship between the offset of the localization feature pixels in the macroscopic image and the compensation displacement of the linear motor 7, calibration is required. The specific steps are as follows: S21. Through a precision displacement platform or the fine-tuning mechanism of the testing machine itself, the test bar 1 is made to produce a series of known small displacements along the optical axis of the microscope.

[0035] S22. For each set of displacements, the macroscopic positioning component acquires a macroscopic image, and the host computer extracts the new pixel coordinates of the positioning features using image processing algorithms (such as template matching and feature point recognition). .

[0036] S23. Simultaneously, adjust the linear motor 7 to bring the microscopic image back to its clearest state, and record the position of the linear motor at this time. .

[0037] S24. Repeat steps S21-S23 to obtain multiple sets of data. Based on these data, the host computer calculates the projection unit vector of the microscope optical axis direction in the macroscopic image coordinate system. Then, calculate the effective pixel offset for each group of data. and motor compensation displacement Finally, linear regression or higher-order fitting methods (when there is a non-linear relationship between the change in macroscopic image position and the motor compensation displacement) are used to establish the conversion relationship between the two. Alternatively, a linear function can be used to establish the mapping relationship between the two (when the geometric relationship of the devices is approximately linear). Where k is the conversion coefficient from the effective pixel offset of the macroscopic image to the actual compensated displacement of the linear motor, and b is the correction term corresponding to the system installation error and zero-point error; the coefficients k and b are calculated using the least squares method based on multiple sets of calibration data. .

[0038] S30, Fatigue Testing and Real-Time Compensation Start the torsional fatigue testing machine 3 and apply a cyclic torsional load to the test bar 1.

[0039] During the experiment: S31. The macroscopic positioning component acquires macroscopic images in real time at a fixed frequency (e.g., at the same phase in each torsion cycle).

[0040] S32, the host computer's software system processes each frame of the macroscopic image, identifies positioning features, and obtains its current coordinates. .

[0041] S33. Calculate the current effective pixel offset. .

[0042] S34. Calculate the required compensation displacement based on the calibrated conversion relationship. .

[0043] S35, the host computer sends a command to the driver of linear motor 7 to set its target position. The linear motor 7 responds quickly, driving the high-speed microscope components to move and bringing the area to be observed back to the optimal focal plane.

[0044] To filter out noise, the offsets of consecutive frames are averaged, median-filtered, or low-pass-filtered, and only when... The focusing action is only performed when the dead zone exceeds a set threshold.

[0045] S40, High-speed image acquisition and analysis After each focus compensation is completed, the high-speed camera 4 immediately performs high-speed imaging of a predetermined area on the surface of the test rod 1 to acquire a clear microscopic image. The image processing software on the host computer processes the microscopic image (such as...) Figure 5 The system analyzes and automatically identifies cracks, extracts geometric parameters such as crack length, width, direction, and area in real time, and records the entire process of crack initiation, propagation, deflection, and merging.

[0046] All data (including images, crack parameters, number of cycles, load magnitude, compensation displacement, etc.) are stored synchronously for further in-depth analysis.

[0047] Through the above closed-loop control, the device of the present invention can continuously and stably acquire high-definition microscopic images of the same small area throughout the entire torsional fatigue test, even in the face of periodic rotation, minor deformation or thermal expansion of the test bar, providing an unprecedentedly powerful tool for the scientific study of fatigue cracks.

[0048] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

[0049] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0050] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0051] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0052] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0053] In this invention, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0054] Although the above embodiments have been shown and described, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Any changes, modifications, substitutions and variations made to the above embodiments by those skilled in the art are within the protection scope of the present invention.

Claims

1. A high-speed microcrack detection device based on macroscopic positioning and focusing compensation, characterized in that, Includes torsional fatigue testing machine, high-speed microscopy components, and macroscopic positioning components; The torsional fatigue testing machine includes a test bar clamp; The high-speed microscopy assembly includes a high-speed camera, a microscope tube, a microscope objective, a light source, and a linear motor. The lens of the high-speed camera is sequentially mounted on the microscope tube and the microscope objective, and faces the test bar on the test bar holder. The light source is directly opposite the microscope objective and located on the other side of the test bar. The linear motor drives the high-speed camera to move closer to or away from the test bar to adjust the high-speed camera to the optimal focal plane and acquire a microscopic image of a predetermined area. The macroscopic positioning component includes a macroscopic detection camera and a telecentric lens. The macroscopic detection camera is equipped with a telecentric lens and is oriented towards the test bar. During the loading process, the macroscopic positioning component acquires images of the test bar surface in real time and obtains macroscopic images. The macroscopic positioning component identifies the positional changes of the predetermined area being captured by the high-speed microscopy component in the macroscopic images. The linear motor drives the high-speed camera to adjust focus by compensating for displacement based on position changes, so as to maintain the optimal focal plane state and the clarity of the microscopic image.

2. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 1, characterized in that, The macroscopic detection camera identifies a predetermined region by using positioning features in the microscopic image, and determines the corresponding position and positional changes of the predetermined region in the macroscopic field of view.

3. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 2, characterized in that, The positioning features include feature points at the bottom of the notch, the center of the notch contour, artificial positioning marks, or stable texture features on the surface of the test bar. The position recognition method of the positioning features adopts feature point recognition, template matching, edge detection, contour recognition, gray-scale centroid calculation, or image difference.

4. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 2, characterized in that, The conversion relationship between the positional change of the positioning feature and the compensation displacement of the high-speed camera is established through multi-position calibration.

5. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 4, characterized in that, The steps for establishing the transformation relationship include: The high-speed microscopy component acquires an initial microscopic image and records the position of the linear motor at that time. Furthermore, localization features with a fixed spatial correspondence to the predetermined region are selected from the macroscopic image, and their initial pixel coordinates are recorded. ; The test bar is sequentially subjected to several known displacements relative to the high-speed microscopy assembly along the microscope's optical axis. For each displacement, the macroscopic positioning assembly acquires a macroscopic image and extracts the pixel coordinates of the positioning features. Simultaneously, the linear motor is adjusted to restore the clear imaging state of the microscopic image, and the corresponding linear motor position z is recorded to obtain calibration data and calibration images between the positional changes of multiple positioning features in the macroscopic image and the compensation displacement of the motor at the optimal focus. Based on the motion trajectory of the positioning features in multiple sets of calibration images, determine the projection unit vector of the microscope optical axis direction in the macroscopic image coordinate system. In the i-th set of calibration data, the effective pixel offset of the localization feature position relative to the initial position. The corresponding compensation displacement of the linear motor ; When the geometric relationship of the devices is approximately linear, a linear function is used to establish the mapping relationship between them: Where k is the conversion coefficient from the effective pixel offset of the macroscopic image to the actual compensated displacement of the linear motor, and b is the correction term corresponding to the system installation error and zero-point error; the coefficients k and b are calculated using the least squares method based on multiple sets of calibration data. ; When there is a non-linear relationship between the change in position of the macroscopic image and the compensation displacement of the motor, a transformation relationship can be established by using quadratic or higher-order polynomial fitting, piecewise linear interpolation, or lookup tables. .

6. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 1, characterized in that, During the torsional fatigue test, macroscopic images are acquired within the same torsional phase or a set angle range to obtain the current positioning feature coordinates. And calculate the current effective pixel offset. ; The host computer calculates the required compensation amount based on the conversion relationship. And set the target position of the linear motor as .

7. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 6, characterized in that, The offset of multiple consecutive frames is averaged, median filtered, or low-pass filtered, and the linear motor is driven only when the compensation exceeds a set threshold.

8. The high-speed microcrack detection device based on macroscopic positioning and focusing compensation according to claim 5, characterized in that, A known displacement is achieved by using a precision displacement platform, a fine-tuning mechanism for the testing machine fixture, or a standard shim.

9. A high-speed microcrack detection method based on macroscopic positioning and focusing compensation, characterized in that, The method employs the apparatus according to any one of claims 1 to 8, and the method comprises: Test bar clamping and high-speed microscopic initial imaging: The torsional fatigue test bar to be tested is mounted on the clamp of the torsional fatigue testing machine, so that the predetermined area of ​​the test bar surface to be observed is within the observation range of the high-speed microscopic components. The high-speed camera, microscope tube, microscope objective and light source are adjusted to obtain a clear initial microscopic image of the area to be observed. Macroscopic positioning component positioning and focusing compensation relationship calibration: Using the macroscopic positioning component, the corresponding positions of positioning features in the micro-area of ​​the surface being captured by the high-speed microscope component in the macroscopic image are identified and recorded. The calibration relationship between the position of the positioning feature and the optimal focal plane of the high-speed microscope component is established, and the conversion relationship between the change in the macroscopic position of the positioning feature and the compensation displacement of the linear motor along the optical axis of the microscope is established. Torsional fatigue loading and real-time macroscopic position identification: The torsional fatigue testing machine is started and a cyclic torsional load is applied to the test bar; during the loading process, the macroscopic positioning component acquires images of the test bar surface in real time and identifies the corresponding positional changes of the predetermined area being captured by the high-speed microscopy component in the macroscopic field of view. Automatic focusing compensation along the optical axis: The host computer calculates the focusing compensation displacement required by the high-speed microscope component based on the position change information obtained by the macro positioning component and the pre-established conversion relationship, and sends control commands to the linear motor. The linear motor moves along the optical axis of the microscope, driving the high-speed microscope imaging component or its mounting platform to approach or move away from the surface of the test rod, so that the area to be observed re-enters the depth of field range or the optimal focal plane of the high-speed microscope component. High-speed microscopic image acquisition: After focusing compensation, the high-speed camera continuously or intermittently acquires microscopic images of the predetermined area to be observed on the surface of the test rod.

10. A high-speed microcrack detection method based on macroscopic positioning and focusing compensation according to claim 9, characterized in that, According to experimental requirements, a high-speed camera is connected to a torsional fatigue testing machine, encoder or trigger sensor to acquire images under the same torsional phase or specified cycle period, thereby obtaining comparable crack evolution images. The method also includes crack evolution information extraction and data output: the host computer synchronously or correspondingly records the high-speed microscopic image, macroscopic position detection results, linear motor compensation displacement, torsion cycle number and loading parameters, and identifies and analyzes the cracks in the microscopic image to obtain the first visible time of the crack, crack length, crack direction, crack propagation path, crack propagation rate, and crack deflection and merging information, so as to realize in-situ monitoring of crack evolution on the surface of the test bar during torsional fatigue.