A device and method for measuring surface target space features and machining errors
By using a measurement device that includes a command module, a data module, a parameter configuration module, a cache module, and a host computer, the problems of low measurement accuracy and resource waste of ship outer plates are solved, and fast and accurate measurement of the spatial features and dimensional errors of curved targets is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING INST OF TECH
- Filing Date
- 2022-10-26
- Publication Date
- 2026-04-21
AI Technical Summary
Existing technologies suffer from low accuracy, slow speed, and significant resource waste when measuring the spatial characteristics and dimensional errors of ship outer plates.
A measurement device comprising a command module, a data module, a parameter configuration module, a cache module, and a host computer is used to calculate three-dimensional dimensional information through grayscale information acquisition and distance information calculation, and to perform noise reduction filtering to accurately measure the spatial characteristics and processing errors of curved surface targets.
It enables accurate and rapid measurement of curved surfaces, improving measurement precision and efficiency while reducing resource waste.
Smart Images

Figure CN115682984B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of curved surface target measurement, and particularly relates to a measuring device for the spatial characteristics and processing errors of curved surface targets, as well as a method for optimizing the measurement performance of a three-dimensional laser imager. Background Technology
[0002] The curved surface target in this invention mainly refers to the outer plate of a ship. Generally speaking, during the forming process of the outer plate of a ship, it is necessary to strictly control the spatial characteristics such as curvature and the processing errors such as dimensional errors. At present, the spatial characteristics and dimensional errors of the outer plate of a ship are mainly measured by methods such as stencils and sample boxes.
[0003] The method of using templates and sample boxes to measure the spatial characteristics and dimensional errors during the forming process of ship outer plates has the following drawbacks:
[0004] 1. Low accuracy and slow speed;
[0005] 2. The low reuse rate of pallets and sample boxes results in serious waste of resources. Summary of the Invention
[0006] To overcome the shortcomings of the prior art, the technical problem to be solved by the present invention is to provide a measuring device for the spatial features and processing errors of curved surface targets, which can accurately and quickly measure the spatial features and dimensional errors of curved surface targets.
[0007] The technical solution of the present invention is: a measurement device for the spatial features and processing errors of curved surface targets, comprising: a command module (1), a data module (2), a parameter configuration module (3), a cache module (4), and a host computer (5);
[0008] The command module includes: a command cache unit (101), a command processing unit (102), and a function selection unit (103); the data module (2) includes a DCS cache unit (201), an image enhancement unit (202), a calculation unit (203), and a data cache unit (204); the command module (1) is connected to the data module (2), the parameter configuration module (3) is connected to the data module (2), the cache module (4) is connected to the DCS cache unit (201), the image enhancement unit (202), and the data cache unit (204) respectively, and the host computer (5) is connected to the command cache unit (101) and the data cache unit (204) respectively;
[0009] The device continuously collects grayscale information. When a marker point is detected, it switches to distance acquisition mode and transmits the distance information to the host computer, thereby enabling the measurement of spatial features and processing errors of the curved surface target.
[0010] This invention connects the command module to the data module, the parameter configuration module to the data module, and the cache module to the DCS cache unit, image enhancement unit, and data cache unit. The host computer is connected to the command cache unit and the data cache unit. Based on the distance *d* between the farthest point of the curved target and the device, the laser modulation frequency *f* is calculated to ensure the curved target is within the device's depth of field. The grayscale acquisition mode is activated, and marker points are pasted at the start and end points of the object being measured. Grayscale information is continuously acquired. When two marker points are detected simultaneously, it indicates that the object being measured is completely within the field of view. The image enhancement unit reads the enhancement parameters and activates the distance acquisition mode. In the DCS cache unit, DCS information is transmitted to the image enhancement unit for further processing, and simultaneously transmitted to the cache unit. The storage module performs backups. The image enhancement unit reads the current frame DCS information from the DCS cache module according to the configuration, reads the historical frame DCS information from the cache module and processes it. The processed result is simultaneously transmitted to the cache module and the distance calculation unit. The distance calculation unit calculates the distance information and transmits it to the cache module through the data cache unit. The cache module transmits the distance information to the host computer. The host computer calculates based on the obtained distance information to obtain three-dimensional size information, and performs noise reduction and filtering on the three-dimensional size information to calculate relevant spatial features, including: surface curvature, surface area, and surface normal; as well as processing errors, including: size error, shape error, and position error. Therefore, it can accurately and quickly measure the spatial features and size errors of the curved surface target.
[0011] A method for optimizing the measurement performance of a three-dimensional laser imager is also provided, which includes the following steps:
[0012] (1) The host computer requests a test data packet. The data module generates a data packet according to formula (1) and sends it to the host computer. If the test is correct, proceed to step (2). If the data cannot be matched, check whether the electrical connection is normal and whether the data connection is good. After troubleshooting, repeat step (1).
[0013] (2) Calculate the laser modulation frequency f based on the distance d between the farthest end of the curved target and the device, ensure that the curved target is within the depth of field of the device, and start the grayscale acquisition mode.
[0014] (3) Paste the markers to the beginning and end of the object being measured and continuously collect grayscale information. When two markers are detected at the same time, it indicates that the object being measured is completely within the field of view. The image enhancement unit reads the enhancement parameters and starts the distance acquisition mode.
[0015] (4) In the DCS cache unit, DCS information is transmitted to the image enhancement unit for further processing, and at the same time transmitted to the cache module for backup. The image enhancement unit reads the current frame DCS information from the DCS cache module according to the configuration, reads the historical frame DCS information from the cache module and processes it. The processed result is transmitted to the cache module and the distance calculation unit at the same time.
[0016] (5) The distance calculation unit calculates the distance information and transmits it to the cache module through the data cache unit. The cache module then transmits the distance information to the host computer.
[0017] (6) The host computer calculates the distance information to obtain the three-dimensional size information, and performs noise reduction and filtering on the three-dimensional size information.
[0018] (7) Based on the three-dimensional dimensional information obtained in step (6), calculate the relevant spatial features, including: surface curvature, surface area, and surface normal; and the machining errors, including:
[0019] Size error, shape error, position error. Attached Figure Description
[0020] Figure 1 This is a schematic diagram illustrating the working principle of the measuring device for the spatial characteristics and machining errors of curved targets according to the present invention.
[0021] Figure 2 This is a schematic diagram illustrating the pseudo-random code generation principle according to the present invention.
[0022] Figure 3 This is a flowchart of the phase calculation method according to the present invention.
[0023] Figure 4 This is a schematic diagram of the marker point according to the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0025] To make the description of this disclosure more detailed and complete, illustrative descriptions of embodiments and specific examples of the present invention are provided below; however, these are not the only forms of implementing or utilizing the specific examples of the present invention. The embodiments cover features of multiple specific examples and methods and steps for constructing and operating these specific examples, and their order. However, other specific examples may also be used to achieve the same or equivalent functions and order of steps.
[0026] like Figure 1As shown, this device for measuring the spatial features and machining errors of curved targets includes: a command module 1, a data module 2, a parameter configuration module 3, a cache module 4, and a host computer 5.
[0027] The command module includes a command cache unit 101, a command processing unit 102, and a function selection unit 103; the data module 2 includes a DCS cache unit 201, an image enhancement unit 202, a calculation unit 203, and a data cache unit 204; the command module 1 is connected to the data module 2, the parameter configuration module 3 is connected to the data module 2, the cache module 4 is connected to the DCS cache unit 201, the image enhancement unit 202, and the data cache unit 204 respectively, and the host computer 5 is connected to the command cache unit 101 and the data cache unit 204 respectively.
[0028] The device continuously collects grayscale information. When a marker point is detected, it switches to distance acquisition mode and transmits the distance information to the host computer, thereby enabling the measurement of spatial features and processing errors of the curved surface target.
[0029] This invention connects the command module to the data module, the parameter configuration module to the data module, and the cache module to the DCS cache unit, image enhancement unit, and data cache unit. The host computer is connected to the command cache unit and the data cache unit. Based on the distance *d* between the farthest point of the curved target and the device, the laser modulation frequency *f* is calculated to ensure the curved target is within the device's depth of field. The grayscale acquisition mode is activated, and marker points are pasted at the start and end points of the object being measured. Grayscale information is continuously acquired. When two marker points are detected simultaneously, it indicates that the object being measured is completely within the field of view. The image enhancement unit reads the enhancement parameters and activates the distance acquisition mode. In the DCS cache unit, DCS information is transmitted to the image enhancement unit for further processing, and simultaneously transmitted to the cache unit. The storage module performs backups. The image enhancement unit reads the current frame DCS information from the DCS cache module according to the configuration, reads the historical frame DCS information from the cache module and processes it. The processed result is simultaneously transmitted to the cache module and the distance calculation unit. The distance calculation unit calculates the distance information and transmits it to the cache module through the data cache unit. The cache module transmits the distance information to the host computer. The host computer calculates based on the obtained distance information to obtain three-dimensional size information, and performs noise reduction and filtering on the three-dimensional size information to calculate relevant spatial features, including: surface curvature, surface area, and surface normal; as well as processing errors, including: size error, shape error, and position error. Therefore, it can accurately and quickly measure the spatial features and size errors of the curved surface target.
[0030] Preferably, the data module's calculation unit includes two calculation modes: a distance calculation mode and a grayscale calculation mode. The distance calculation mode acquires a depth image as distance information, while the grayscale calculation mode acquires a two-dimensional grayscale image as intensity information within the same field of view. Both modes acquire information in real time.
[0031] Preferably, the function selection unit of the command module 1 performs six tasks, namely, data packet testing, DCS raw data transmission, grayscale information transmission, and depth information transmission; wherein the data packet testing mode generates pseudo-random codes using a 9-level shift register, and the generation method is based on formulas (1), (2), and (3):
[0032]
[0033]
[0034]
[0035] in, Indicates t j Output value at time 10:00 Indicates at t j Time x i The value of .
[0036] Preferably, the laser modulation frequency of the device is obtained according to formula (4):
[0037]
[0038] Where f is the laser modulation frequency, c is the speed of light, and d is the distance between the farthest end of the curved target and the device.
[0039] Preferably, marker points are extracted based on grayscale information to determine whether the target being measured is within the field of view of the device.
[0040] Preferably, the image enhancement module 202 of the data module 2 is configured according to the image enhancement parameters in the parameter configuration module 4.
[0041] Preferably, the cache module 4 is connected to the DCS cache unit 201, the image enhancement unit 202 and the data cache unit 204 simultaneously, and the resources are allocated and reused in time, while the storage resources do not interfere with each other in space.
[0042] A method for optimizing the measurement performance of a three-dimensional laser imager is also provided, which includes the following steps:
[0043] (1) The host computer requests a test data packet. The data module generates a data packet according to formula (1) and sends it to the host computer. If the test is correct, proceed to step (2). If the data cannot be matched, check whether the electrical connection is normal and whether the data connection is good. After troubleshooting, repeat step (1).
[0044] (2) Calculate the laser modulation frequency f based on the distance d between the farthest end of the curved target and the device, ensure that the curved target is within the depth of field of the device, and start the grayscale acquisition mode.
[0045] (3) Paste the markers to the beginning and end of the object being measured and continuously collect grayscale information. When two markers are detected at the same time, it indicates that the object being measured is completely within the field of view. The image enhancement unit reads the enhancement parameters and starts the distance acquisition mode.
[0046] (4) In the DCS cache unit, DCS information is transmitted to the image enhancement unit for further processing, and at the same time transmitted to the cache module for backup. The image enhancement unit reads the current frame DCS information from the DCS cache module according to the configuration, reads the historical frame DCS information from the cache module and processes it. The processed result is transmitted to the cache module and the distance calculation unit at the same time.
[0047] (5) The distance calculation unit calculates the distance information and transmits it to the cache module through the data cache unit. The cache module then transmits the distance information to the host computer.
[0048] (6) The host computer calculates the distance information to obtain the three-dimensional size information, and performs noise reduction and filtering on the three-dimensional size information.
[0049] (7) Based on the three-dimensional dimensional information obtained in step (6), calculate the relevant spatial features, including: surface curvature, surface area, and surface normal; and the machining errors, including:
[0050] Size error, shape error, position error.
[0051] Preferably, such as Figure 3 As shown, in step (5), the arctangent phase is calculated by combining a lookup table and an iterator, and the distance is calculated according to formula (5).
[0052]
[0053] Where d is the distance, c is the speed of light, and f is the laser modulation frequency. For phase.
[0054] Preferably, in step (7), based on the three-dimensional size information obtained from the measurement of the curved target, a spatial model of the curved target is established, and the relevant spatial features of the curved target are calculated based on the spatial model; based on the known three-dimensional size information of the curved target, the error generated during the processing of the curved target is calculated by comparing it with the measured three-dimensional size information.
[0055] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A method for measuring the spatial features and machining errors of a curved surface target, characterized in that: The measurement device for the spatial features of the curved surface target and the processing error includes: command module (1), data module (2), parameter configuration module (3), cache module (4), and host computer (5); The command module includes: a command cache unit (101), a command processing unit (102), and a function selection unit (103); the data module (2) includes a DCS cache unit (201), an image enhancement unit (202), a calculation unit (203), and a data cache unit (204); the command module (1) is connected to the data module (2), the parameter configuration module (3) is connected to the data module (2), the cache module (4) is connected to the DCS cache unit (201), the image enhancement unit (202), and the data cache unit (204) respectively, and the host computer (5) is connected to the command cache unit (101) and the data cache unit (204) respectively; The device continuously collects grayscale information. When a marker point is detected, it switches to distance acquisition mode and transmits the distance information to the host computer, thereby enabling the measurement of spatial features and processing errors of the curved surface target. The method includes the following steps: (1) The host computer requests a test data packet. The data module generates a data packet according to formula (1) and sends it to the host computer. If the test is correct, proceed to step (2). If the data cannot be matched, check whether the electrical connection is normal and whether the data connection is good. After troubleshooting, repeat step (1). (2) Based on the distance between the farthest end of the curved surface target and the device d Calculate the laser modulation frequency f, ensure the curved target is within the depth of field of the device, and start the grayscale acquisition mode; (3) Paste the markers to the beginning and end of the object being measured and continuously collect grayscale information. When two markers are detected at the same time, it indicates that the object being measured is completely within the field of view. The image enhancement unit reads the enhancement parameters and starts the distance acquisition mode. (4) In the DCS cache unit, DCS information is transmitted to the image enhancement unit for further processing, and at the same time transmitted to the cache module for backup. The image enhancement unit reads the current frame DCS information from the DCS cache module according to the configuration, reads the historical frame DCS information from the cache module and processes it. The processed result is transmitted to the cache module and the distance calculation unit at the same time. (5) The distance calculation unit calculates the distance information and transmits it to the cache module through the data cache unit. The cache module then transmits the distance information to the host computer. (6) The host computer calculates the distance information to obtain the three-dimensional size information, and performs noise reduction and filtering on the three-dimensional size information; (7) Based on the three-dimensional dimensional information obtained in step (6), calculate the relevant spatial features, including: surface curvature, surface area, surface normal; and the processing errors, including: dimensional error, shape error, and position error.
2. The method for measuring the spatial features and machining errors of a curved surface target according to claim 1, characterized in that: The data module's calculation unit includes two calculation modes: distance calculation mode and grayscale calculation mode, wherein the distance calculation mode acquires a depth image as distance information; Both grayscale resolution modes acquire two-dimensional grayscale images as intensity information within the same field of view, and both modes acquire information in real time.
3. The method for measuring the spatial features and machining errors of a curved surface target according to claim 2, characterized in that: The function selection unit of the command module (1) performs six tasks: data packet testing, DCS raw data transmission, grayscale information transmission, and depth information transmission. The data packet testing mode generates pseudo-random codes using a 9-level shift register, with the generation method based on formulas (1), (2), and (3): (1) (2) (3) in, express Output value at time 10:00 Indicates in time The value of .
4. The method for measuring the spatial features and machining errors of a curved surface target according to claim 3, characterized in that: The laser modulation frequency of the device is obtained according to formula (4): (4) Where f is the laser modulation frequency, c is the speed of light, and d is the distance between the farthest end of the curved target and the device.
5. The method for measuring the spatial features and machining errors of a curved surface target according to claim 4, characterized in that: Based on the grayscale information, the marker points are extracted to determine whether the target being measured is within the field of view of the device.
6. The method for measuring the spatial features and machining errors of a curved surface target according to claim 5, characterized in that: The image enhancement unit (202) of the data module (2) is configured according to the image enhancement parameters in the parameter configuration module (3).
7. The method for measuring the spatial features and machining errors of a curved surface target according to claim 6, characterized in that: The cache module (4) is connected to the DCS cache unit (201), the image enhancement unit (202) and the data cache unit (204) at the same time, and the resources are allocated and reused in time, while the storage resources do not interfere with each other in space.
8. The method for measuring the spatial features and machining errors of a curved surface target according to claim 7, characterized in that: In step (5), the arctangent phase is calculated by combining a lookup table and an iterator, and the distance is calculated according to formula (5). (5) Where d is the distance, c is the speed of light, and f is the laser modulation frequency. For phase.
9. The method for measuring the spatial features and machining errors of a curved surface target according to claim 8, characterized in that: In step (7), based on the three-dimensional size information obtained from the measurement of the curved target, a spatial model of the curved target is established, and the relevant spatial features of the curved target are calculated based on the spatial model; based on the known three-dimensional size information of the curved target, the error generated during the processing of the curved target is calculated by comparing it with the measured three-dimensional size information.
Citation Information
Patent Citations
Ship steel plate curved surface dimension on-line measurement system and method
CN105783774A
Image calibration method and device applied to three-dimensional camera
CN109242901A