Temperature drift compensation method and system of structured light three-dimensional scanning system
By simulating thermal deformation and establishing a temperature drift compensation model in the simulation system, the problem of poor measurement accuracy and stability of traditional 3D structured light scanners at different temperatures is solved, and high-precision measurements in different temperature environments are achieved.
Patent Information
- Application Number
- CN202410582878.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional 3D structured light scanners have poor measurement accuracy and stability in different temperature environments, causing thermal deformation to cause deviation or failure of measurement results.
By system calibration of the 3D scanning system under constant ambient temperature, a 3D scanning system model is established, thermal deformation is simulated in the simulation system, virtual measurement data is recorded, the temperature drift compensation coefficient is calculated and a temperature drift compensation model is established, which can be applied in actual operation. Perform temperature drift compensation.
It improves the measurement accuracy and stability of the 3D structured light scanner at different temperatures without changing the hardware structure or using a temperature-changing device, which enhances the accuracy and reliability of the system.
Smart Images

Figure CN118565377A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature drift compensation, and in particular to a temperature drift compensation method and system for a structured light three-dimensional scanning system. Background Art
[0002] Three-dimensional (3D) structured light scanners are advanced measurement devices that play an important role in many fields such as science, engineering and medicine. By combining digital cameras, structured light projectors and sturdy mechanical frames, they can quickly and accurately capture the three-dimensional geometric information of objects. The widespread application of this technology is due to its high accuracy and efficiency. Due to its excellent measurement capabilities and efficiency, 3D structured light scanners have become an indispensable tool in many fields. The formulation of international standards and recommendations further ensures the accuracy and reliability of this technology, providing solid support for its application in various industries. Whether in scientific research, engineering design, medical diagnosis or industrial manufacturing, 3D structured light scanners have shown great potential and value.
[0003] In the field of 3D scanning technology, temperature changes pose a significant challenge to the accuracy and stability of structured light scanners. When faced with temperature changes, the mechanical foundation of traditional 3D structured light scanners will undergo thermal deformation, resulting in deviations in measurement results or even complete failure.
[0004] Therefore, traditional 3D structured light scanners have problems with poor measurement accuracy and stability under different temperature environments. Summary of the invention
[0005] Based on this, in order to solve the above technical problems, a temperature drift compensation method and system for a structured light three-dimensional scanning system are provided, which can improve the measurement accuracy and stability of the 3D structured light scanner at different temperatures.
[0006] A method for compensating temperature drift of a structured light three-dimensional scanning system, the method comprising:
[0007] Perform system calibration on the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters;
[0008] Based on the system calibration parameters, a three-dimensional scanning system model is established in the simulation system;
[0009] Based on the three-dimensional scanning system model, simulating thermal deformation of the three-dimensional scanning system at different ambient temperatures, and recording virtual measurement data of the three-dimensional scanning system model;
[0010] Calculating a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establishing a temperature drift compensation model according to the temperature drift compensation coefficient;
[0011] The temperature drift compensation model is applied to the three-dimensional scanning system, and temperature drift compensation is performed when the three-dimensional scanning system is running.
[0012] In one embodiment, the three-dimensional scanning system includes a camera, a projector, a temperature sensor, and a mechanical base; the camera and the projector are respectively arranged at the top of both ends of the mechanical base, and the temperature sensor is arranged on the mechanical base; the three-dimensional scanning system is calibrated at a constant ambient temperature to obtain system calibration parameters, including:
[0013] Determine a constant ambient temperature by means of the temperature sensor, and control the camera and the projector to reach thermal equilibrium at the constant ambient temperature;
[0014] The camera and the projector are calibrated respectively under thermal equilibrium to obtain internal and external parameters and distortion parameters of the camera and the projector;
[0015] The internal and external parameters and the distortion parameters are used as system calibration parameters.
[0016] In one embodiment, the establishing of a three-dimensional scanning system model in a simulation system based on the system calibration parameters includes:
[0017] Determining relative position information of the camera and the projector on the mechanical base;
[0018] A three-dimensional scanning system model is established in a simulation system according to the relative position information, the internal and external parameters, and the distortion parameters.
[0019] In one embodiment, simulating the thermal deformation of the three-dimensional scanning system at different ambient temperatures based on the three-dimensional scanning system model and recording the virtual measurement data of the three-dimensional scanning system model includes:
[0020] In the simulation system, thermal deformation simulation is performed on the three-dimensional scanning system model to obtain a three-dimensional coordinate point set of each virtual workpiece in the three-dimensional scanning system model at different ambient temperatures;
[0021] In the simulation system, the temperature of each base on the mechanical base at different ambient temperatures is collected based on the temperature sensor;
[0022] The three-dimensional coordinate point set and each base temperature are used as virtual measurement data.
[0023] In one embodiment, calculating a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establishing a temperature drift compensation model according to the temperature drift compensation coefficient, includes:
[0024] According to the virtual measurement data, a corresponding relationship between each base temperature and the three-dimensional coordinate point set is established;
[0025] A temperature drift compensation coefficient is calculated based on the corresponding relationship, and a temperature drift compensation model is established according to the temperature drift compensation coefficient.
[0026] In one embodiment, calculating the temperature drift compensation coefficient based on the corresponding relationship includes:
[0027] Based on the corresponding relationship, the temperature drift compensation coefficient is calculated by using the least square method or the direct linear transformation method.
[0028] In one embodiment, applying the temperature drift compensation model to the three-dimensional scanning system and performing temperature drift compensation when the three-dimensional scanning system is running includes:
[0029] Determine the current position information of the camera and the projector, and collect temperature data in real time through the temperature sensor;
[0030] The current position information and the temperature data are input into the temperature drift compensation model, and temperature drift compensation is performed to obtain the target position information after temperature drift compensation.
[0031] A temperature drift compensation system for a structured light three-dimensional scanning system, the system comprising:
[0032] A calibration module, used to calibrate the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters;
[0033] A three-dimensional model building module, used to build a three-dimensional scanning system model in a simulation system based on the system calibration parameters;
[0034] A thermal deformation simulation module, used to simulate the thermal deformation of the three-dimensional scanning system at different ambient temperatures based on the three-dimensional scanning system model, and record virtual measurement data of the three-dimensional scanning system model;
[0035] a temperature drift compensation model establishment module, used to calculate a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and to establish a temperature drift compensation model according to the temperature drift compensation coefficient;
[0036] The temperature drift compensation module is used to apply the temperature drift compensation model to the three-dimensional scanning system and perform temperature drift compensation when the three-dimensional scanning system is running.
[0037] The temperature drift compensation method and system of the structured light three-dimensional scanning system above establishes a three-dimensional scanning system model in a simulation system, simulates thermal deformation through software, and establishes a temperature drift compensation model after collecting virtual measurement data. Therefore, when the three-dimensional scanning system is actually used, temperature drift compensation can be performed in different temperature environments. There is no need to change the hardware structure of the three-dimensional scanning system, and there is no need for an actual temperature variable device to collect thermal deformation data, so that the measurement accuracy and stability of the 3D structured light scanner at different temperatures can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A diagram showing an application environment of a temperature drift compensation method for a structured light three-dimensional scanning system in one embodiment;
[0039] Figure 2 A schematic flow chart of a method for compensating for temperature drift of a structured light three-dimensional scanning system in one embodiment;
[0040] Figure 3 A structural block diagram of a temperature drift compensation system of a structured light three-dimensional scanning system in one embodiment;
[0041] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The temperature drift compensation method of the structured light three-dimensional scanning system provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1As shown, the application environment includes a computer device 110 and a three-dimensional scanning system 120, and the computer device 110 is connected and communicated with the three-dimensional scanning system 120. The three-dimensional scanning system 120 is calibrated at a constant ambient temperature, and the computer device 110 can obtain system calibration parameters; based on the system calibration parameters, the computer device 110 can establish a three-dimensional scanning system model in the simulation system; based on the three-dimensional scanning system model, the computer device 110 can simulate the thermal deformation of the three-dimensional scanning system at different ambient temperatures and record the virtual measurement data of the three-dimensional scanning system model; the computer device 110 can calculate the temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establish a temperature drift compensation model according to the temperature drift compensation coefficient; the computer device 110 can apply the temperature drift compensation model to the three-dimensional scanning system, and perform temperature drift compensation when the three-dimensional scanning system is running. Among them, the computer device 110 can be, but not limited to, various personal computers, laptops, smart phones, robots, unmanned aerial vehicles, tablet computers and other devices.
[0044] In one embodiment, Figure 2 As shown, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, comprising the following steps:
[0045] Step 202: calibrate the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters.
[0046] In one embodiment, Figure 1 As shown, the three-dimensional scanning system 120 includes a camera 122, a projector 124, a temperature sensor 126, and a mechanical base 128; the camera 122 and the projector 124 are respectively arranged at the top of both ends of the mechanical base 128, and the temperature sensor 126 is arranged on the mechanical base 128. Among them, the projector 124 can be regarded as an inverse camera. Specifically, the temperature sensor 126 can be arranged around the camera 122 and around the mechanical base 128 of the projector 124.
[0047] The temperature sensor 126 can collect temperature data in real time to ensure that the entire 3D scanning system is in a constant ambient temperature. After the 3D scanning system reaches thermal equilibrium at a constant ambient temperature, the 3D scanning system can be calibrated to obtain system calibration parameters.
[0048] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, which may also include a system calibration process, wherein the specific process includes: determining a constant ambient temperature through a temperature sensor, and controlling a camera and a projector to reach thermal equilibrium at the constant ambient temperature; calibrating the camera and the projector respectively under thermal equilibrium to obtain internal and external parameters and distortion parameters of the camera and the projector; and using the internal and external parameters and distortion parameters as system calibration parameters.
[0049] Step 204: Establish a three-dimensional scanning system model in the simulation system based on the system calibration parameters.
[0050] The camera and projector are placed on a long mechanical base. When the ambient temperature changes, the mechanical base will be thermally deformed, which will cause the originally calibrated system parameters to become invalid and the error of 3D scanning to increase significantly. Therefore, based on the system calibration parameters of the 3D scanning system, a virtual 3D scanning system, namely the 3D scanning system model, can be established in the simulation software.
[0051] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, which may also include a process of establishing a three-dimensional scanning system model. The specific process includes: determining the relative position information of a camera and a projector on a mechanical base; and establishing a three-dimensional scanning system model in a simulation system based on the relative position information, internal and external parameters, and distortion parameters.
[0052] Based on the calibrated 3D scanning system, the camera parameters, projector parameters, and the relative position information of the camera and projector on the mechanical base can be obtained. Based on this information, a virtual 3D scanning system model can be built in the simulation system 3DsMax software environment, allowing advanced rendering using a physical camera.
[0053] Among them, the virtual 3D scanning system model constructed in the simulation system has the same function as the actual 3D scanning system. The rendered image can be recalculated in the 3DMADMAC software used to control the 3D structured light scanning system to obtain a point cloud set of the virtual 3D scanning system. This virtual 3D scanning system is a real model of the real 3D scanning system.
[0054] Step 206 , based on the 3D scanning system model, simulate the thermal deformation of the 3D scanning system at different ambient temperatures, and record virtual measurement data of the 3D scanning system model.
[0055] Specifically, in order to determine the impact of temperature on the mechanical base of the scanner, the thermal deformation of the mechanical base can be simulated, and the CAD model of the scanner can be defined using the generative structural analysis workbench in the Dassault Catia V5 platform; in order to calculate the impact of the thermal deformation of the mechanical base on the position and direction of the projector and camera, the VirtualRigidPart function of the generative structural analysis workbench can be used, and the thermal deformation of the mechanical base is simulated under several different ambient temperatures.
[0056] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, which may also include a thermal deformation data recording process, the specific process including: in a simulation system, performing thermal deformation simulation on a three-dimensional scanning system model to obtain a three-dimensional coordinate point set of each virtual workpiece in the three-dimensional scanning system model at different ambient temperatures; in the simulation system, collecting the temperatures of each base on a mechanical base at different ambient temperatures based on a temperature sensor; and using the three-dimensional coordinate point set and each base temperature as virtual measurement data.
[0057] Specifically, in this embodiment, virtual measurements of the three-dimensional scanning system model at different temperatures can be performed in the simulation software to obtain the virtual workpiece XYZ three-dimensional coordinate point sets of the three-dimensional scanning system model at different temperatures. The simulation software can be 3DsMax.
[0058] After obtaining the direction information and three-dimensional coordinate point sets of each virtual workpiece in the three-dimensional scanning system model under different ambient temperatures, the position and direction of the camera and projector in 3DsMax can be changed. Specifically, each virtual workpiece can be placed in the measurement range of the virtual three-dimensional scanning system model, and a set of three-dimensional scans can be performed at different simulated temperatures to obtain a set of virtual measurement data representing the virtual workpiece in the three-dimensional scanning system model at different temperatures; the data obtained from the virtual measurement of the virtual workpiece is used to calculate the temperature drift compensation model of the real three-dimensional scanning system.
[0059] Step 208 , calculating a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establishing a temperature drift compensation model according to the temperature drift compensation coefficient.
[0060] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, which may also include a process of establishing a temperature drift compensation model. The specific process includes: establishing a corresponding relationship between each base temperature and a three-dimensional coordinate point set based on virtual measurement data; calculating a temperature drift compensation coefficient based on the corresponding relationship, and establishing a temperature drift compensation model based on the temperature drift compensation coefficient.
[0061] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system may further include a process of calculating a temperature drift compensation coefficient. The specific process includes: based on the corresponding relationship, using the least squares method or the direct linear transformation method (DLT) to calculate the temperature drift compensation coefficient.
[0062] Among them, based on the corresponding relationship between the base temperature and the three-dimensional coordinate point set and direction information, the polynomial coefficients of Qx, Qy, and Qz can be calculated, and the solution method can be the least squares method or the direct linear transformation method (DLT).
[0063] Among them, the temperature drift compensation model can be expressed as:
[0064] Xcompensated=Qx(Xuncompensated, Yuncompensated, Zuncompensated, T)
[0065] Ycompensated=Qy(Xuncompensated, Yuncompensated, Zuncompensated, T)
[0066] Zcompensated=Qz(Xuncompensated, Yuncompensated, Zuncompensated, T)
[0067] Among them, Xcompensated, Ycompensated, and Zcompensated are the coordinate values after temperature drift compensation; Xuncompensated, Yuncompensated, and Zuncompensated are the original coordinate values without temperature drift compensation; Qx, Qy, and Qz are the nth-order polynomials of Xcompensated, Ycompensated, Zcompensated and Xuncompensated, Yuncompensated, and Zuncompensated with respect to the mechanical base temperature T, respectively.
[0068] Step 210: Apply the temperature drift compensation model to the three-dimensional scanning system, and perform temperature drift compensation when the three-dimensional scanning system is running.
[0069] In one embodiment, a temperature drift compensation method for a structured light three-dimensional scanning system is provided, which may also include a process of applying a temperature drift compensation model to the three-dimensional scanning system. The specific process includes: determining the current position information of a camera and a projector, and collecting temperature data in real time through a temperature sensor; inputting the current position information and temperature data into the temperature drift compensation model, and performing temperature drift compensation to obtain the target position information after temperature drift compensation.
[0070] In actual use, the temperature data at any time can be obtained by using the temperature sensor next to the mechanical base of the camera and projector. By substituting the current position information and temperature data into the Qx, Qy, Qz polynomials, the three-dimensional coordinates Xcompensated, Ycompensated, and Zcompensated after temperature drift compensation can be obtained.
[0071] The temperature drift compensation method of the above-mentioned structured light 3D scanning system establishes a 3D scanning system model in a simulation system, simulates thermal deformation through software, and establishes a temperature drift compensation model after collecting virtual measurement data. Therefore, when the 3D scanning system is actually used, temperature drift compensation can be performed under different temperature environments. There is no need to change the hardware structure of the 3D scanning system, and the measurement accuracy and stability of the 3D structured light scanner at different temperatures can be improved.
[0072] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0073] In one embodiment, Figure 3 As shown, a temperature drift compensation system of a structured light 3D scanning system is provided, including: a calibration module 310, a 3D model building module 320, a thermal deformation simulation module 330, a temperature drift compensation model building module 340 and a temperature drift compensation module 350, wherein:
[0074] The calibration module 310 is used to calibrate the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters;
[0075] A three-dimensional model building module 320 is used to build a three-dimensional scanning system model in the simulation system based on system calibration parameters;
[0076] The thermal deformation simulation module 330 is used to simulate the thermal deformation of the three-dimensional scanning system at different ambient temperatures based on the three-dimensional scanning system model, and record the virtual measurement data of the three-dimensional scanning system model;
[0077] A temperature drift compensation model establishment module 340 is used to calculate a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establish a temperature drift compensation model according to the temperature drift compensation coefficient;
[0078] The temperature drift compensation module 350 is used to apply the temperature drift compensation model to the three-dimensional scanning system and perform temperature drift compensation when the three-dimensional scanning system is running.
[0079] In one embodiment, a three-dimensional scanning system includes a camera, a projector, a temperature sensor, and a mechanical base; the camera and the projector are respectively arranged at the top of both ends of the mechanical base, and the temperature sensor is arranged on the mechanical base; the calibration module 310 is also used to determine the constant ambient temperature through the temperature sensor, and control the camera and the projector to reach thermal equilibrium at the constant ambient temperature; the camera and the projector are calibrated respectively under thermal equilibrium to obtain the internal and external parameters and distortion parameters of the camera and the projector; the internal and external parameters and the distortion parameters are used as system calibration parameters.
[0080] In one embodiment, the 3D model building module 320 is also used to determine the relative position information of the camera and the projector on the mechanical base; and to build a 3D scanning system model in the simulation system according to the relative position information, internal and external parameters, and distortion parameters.
[0081] In one embodiment, the thermal deformation simulation module 330 is also used to perform thermal deformation simulation on the three-dimensional scanning system model in the simulation system to obtain a three-dimensional coordinate point set of each virtual workpiece in the three-dimensional scanning system model under different ambient temperatures; in the simulation system, the temperatures of each base on the mechanical base at different ambient temperatures are collected based on a temperature sensor; and the three-dimensional coordinate point set and each base temperature are used as virtual measurement data.
[0082] In one embodiment, the temperature drift compensation model establishment module 340 is also used to establish a correspondence between each base temperature and a three-dimensional coordinate point set according to virtual measurement data; calculate a temperature drift compensation coefficient based on the correspondence, and establish a temperature drift compensation model according to the temperature drift compensation coefficient.
[0083] In one embodiment, the temperature drift compensation model building module 340 is further used to calculate the temperature drift compensation coefficient based on the corresponding relationship by using a least square method or a direct linear transformation method.
[0084] In one embodiment, the temperature drift compensation module 350 is also used to determine the current position information of the camera and projector, and collect temperature data in real time through a temperature sensor; the current position information and temperature data are input into the temperature drift compensation model, and temperature drift compensation is performed to obtain the target position information after temperature drift compensation.
[0085] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for temperature drift compensation of a structured light three-dimensional scanning system is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0086] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0087] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps of a temperature drift compensation method for a structured light three-dimensional scanning system when executing the computer program.
[0088] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for compensating temperature drift of a structured light three-dimensional scanning system are implemented.
[0089] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0090] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0091] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for compensating temperature drift of a structured light three-dimensional scanning system, characterized in that: The method comprises: Perform system calibration on the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters; Based on the system calibration parameters, a three-dimensional scanning system model is established in the simulation system; Based on the three-dimensional scanning system model, simulating thermal deformation of the three-dimensional scanning system at different ambient temperatures, and recording virtual measurement data of the three-dimensional scanning system model; Calculating a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establishing a temperature drift compensation model according to the temperature drift compensation coefficient; The temperature drift compensation model is applied to the three-dimensional scanning system, and temperature drift compensation is performed when the three-dimensional scanning system is running.
2. The temperature drift compensation method of the structured light 3D scanning system according to claim 1, characterized in that: The three-dimensional scanning system includes a camera, a projector, a temperature sensor, and a mechanical base; the camera and the projector are respectively arranged at the top of both ends of the mechanical base, and the temperature sensor is arranged on the mechanical base; The three-dimensional scanning system is calibrated at a constant ambient temperature to obtain system calibration parameters, including: Determine a constant ambient temperature by means of the temperature sensor, and control the camera and the projector to reach thermal equilibrium at the constant ambient temperature; The camera and the projector are calibrated respectively under thermal equilibrium to obtain internal and external parameters and distortion parameters of the camera and the projector; The internal and external parameters and the distortion parameters are used as system calibration parameters.
3. The temperature drift compensation method of the structured light 3D scanning system according to claim 2, characterized in that: The method of establishing a three-dimensional scanning system model in a simulation system based on the system calibration parameters includes: Determining relative position information of the camera and the projector on the mechanical base; A three-dimensional scanning system model is established in a simulation system according to the relative position information, the internal and external parameters, and the distortion parameters.
4. The temperature drift compensation method of the structured light 3D scanning system according to claim 2, characterized in that: The method of simulating thermal deformation of the three-dimensional scanning system at different ambient temperatures based on the three-dimensional scanning system model and recording virtual measurement data of the three-dimensional scanning system model includes: In the simulation system, thermal deformation simulation is performed on the three-dimensional scanning system model to obtain a three-dimensional coordinate point set of each virtual workpiece in the three-dimensional scanning system model at different ambient temperatures; In the simulation system, the temperature of each base on the mechanical base at different ambient temperatures is collected based on the temperature sensor; The three-dimensional coordinate point set and each base temperature are used as virtual measurement data.
5. The temperature drift compensation method of the structured light 3D scanning system according to claim 4, characterized in that: The step of calculating a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and establishing a temperature drift compensation model according to the temperature drift compensation coefficient, comprises: According to the virtual measurement data, a corresponding relationship between each base temperature and the three-dimensional coordinate point set is established; A temperature drift compensation coefficient is calculated based on the corresponding relationship, and a temperature drift compensation model is established according to the temperature drift compensation coefficient.
6. The temperature drift compensation method of the structured light 3D scanning system according to claim 5, characterized in that: The calculating the temperature drift compensation coefficient based on the corresponding relationship includes: Based on the corresponding relationship, the temperature drift compensation coefficient is calculated by using the least square method or the direct linear transformation method.
7. The temperature drift compensation method of the structured light 3D scanning system according to claim 5, characterized in that: The applying the temperature drift compensation model to the three-dimensional scanning system and performing temperature drift compensation when the three-dimensional scanning system is running includes: Determine the current position information of the camera and the projector, and collect temperature data in real time through the temperature sensor; The current position information and the temperature data are input into the temperature drift compensation model, and temperature drift compensation is performed to obtain the target position information after temperature drift compensation.
8. A temperature drift compensation system for a structured light three-dimensional scanning system, characterized in that: The system comprises: A calibration module, used to calibrate the three-dimensional scanning system at a constant ambient temperature to obtain system calibration parameters; A three-dimensional model building module, used to build a three-dimensional scanning system model in a simulation system based on the system calibration parameters; A thermal deformation simulation module, used to simulate the thermal deformation of the three-dimensional scanning system at different ambient temperatures based on the three-dimensional scanning system model, and record virtual measurement data of the three-dimensional scanning system model; a temperature drift compensation model establishment module, used to calculate a temperature drift compensation coefficient corresponding to the three-dimensional scanning system according to the virtual measurement data, and to establish a temperature drift compensation model according to the temperature drift compensation coefficient; The temperature drift compensation module is used to apply the temperature drift compensation model to the three-dimensional scanning system and perform temperature drift compensation when the three-dimensional scanning system is running.
9. The temperature drift compensation system of the structured light 3D scanning system according to claim 8, characterized in that: The three-dimensional scanning system includes a camera, a projector, a temperature sensor, and a mechanical base; the camera and the projector are respectively arranged at the top of both ends of the mechanical base, and the temperature sensor is arranged on the mechanical base; the calibration module is also used to determine the constant ambient temperature through the temperature sensor, and control the camera and the projector to reach thermal equilibrium under the constant ambient temperature; the camera and the projector are calibrated respectively under thermal equilibrium to obtain the internal and external parameters and distortion parameters of the camera and the projector; the internal and external parameters and distortion parameters are used as system calibration parameters.
10. The temperature drift compensation system of the structured light 3D scanning system according to claim 9, characterized in that: The three-dimensional model building module is also used to determine the relative position information of the camera and the projector on the mechanical base; and to build a three-dimensional scanning system model in the simulation system according to the relative position information, the internal and external parameters, and the distortion parameters.
Citation Information
Cited By
Temperature drift compensation and precision calibration method for ultrasonic scanning mechanical arm
CN121830938A
Ultrasonic scanning robot arm temperature drift compensation and precision calibration method
CN121830938B
