Method, system and terminal for identifying sampling port specification of exhaust gas sampling port of stationary pollution source

By integrating imaging modules, attitude perception modules, and deep learning models, efficient and accurate identification of sampling ports of exhaust stacks from stationary pollution sources is achieved. This solves the problems of low efficiency and large measurement errors in the standardization verification of sampling ports in existing technologies, and meets the standard requirements for environmental monitoring.

CN123175155APending Publication Date: 2026-11-27ANHUI QINGYAN TESTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611675889.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, the standardization verification of the sampling port of the exhaust stack of stationary pollution sources relies on manual visual inspection and separate measurement using multiple tools, which is inefficient and poses safety risks. Furthermore, laser rangefinders cannot accurately identify the actual landing point of the light spot, resulting in large measurement errors.

Method used

The system employs an integrated imaging module, attitude perception module, GPS positioning module, and barometric altimeter, combined with a deep learning model for simultaneous acquisition of image semantic segmentation and laser ranging values. The laser ranging values ​​are corrected or discarded by controlling the exhaust stack structure area obtained through semantic segmentation, thereby achieving the fusion and optimization of multi-source data.

Benefits of technology

It improves the accuracy of distance measurement between the sampling port and elbows, valves or reducers, reduces systematic measurement errors caused by abnormal landing points and attitude differences, and meets the requirements for sampling port height specification verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175155A_ABST
    Figure CN123175155A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of environmental monitoring, and in particular to a fixed pollution source exhaust gas exhaust pipe sampling port specification identification method, system and terminal. The present application performs semantic segmentation on the exhaust pipe image and locates the laser spot landing point. According to the straight pipe section, elbow, reducing pipe or non-representative structure region to which the laser spot landing point belongs, the laser ranging value is respectively collected, geometrically corrected or discarded. For the elbow and reducing pipe, the geometric features are extracted using the corresponding segmentation mask and the spatial offset relative to the straight pipe section reference structure is calculated. The laser ranging value is corrected using the spatial offset. Further, the multiple ranging samples under different attitudes are projected to the same reference direction, and the landing point position and signal-to-noise ratio are combined for weighted fusion. The actual distance between the sampling port and the upstream and downstream structures is calculated and the specification is determined, thereby improving the accuracy and reliability of the long-distance non-contact verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of environmental monitoring technology, specifically relating to a method, system, and terminal for standardized identification of sampling ports of exhaust stacks from stationary pollution sources. Background Technology

[0002] When conducting environmental monitoring of exhaust gas emissions from stationary pollution sources, the location and setup of the sampling port must comply with relevant technical specifications. Otherwise, the representativeness of the collected samples will be directly affected, leading to invalid monitoring data or invalid monitoring reports. According to the current "Technical Specification for Monitoring of Exhaust Gas from Stationary Sources" (HJ / T 397-2007) and "Technical Specification for Setting Up Monitoring Points at Pollutant Discharge Outlets of Pollutant Discharge Units" (HJ 1405-2024), the sampling port should be set in the vertical or horizontal section of a regular circular or rectangular exhaust stack. Following the airflow direction, the upstream distance from components such as elbows, valves, and reducers should be no less than four times the flue diameter, and the downstream distance should be no less than two times the flue diameter (i.e., the "4-forward, 2-backward" principle). Simultaneously, internal structural components that may affect the detection, such as tie rods, should be avoided.

[0003] Currently, environmental enforcement personnel or on-site monitoring and sampling personnel mainly rely on the following methods to verify the standardization of exhaust stack sampling ports: manual visual judgment, which relies on personal experience to observe whether the sampling port is located far enough downstream of components such as elbows and reducers, which is highly subjective and prone to disputes; manual climbing measurement, which involves carrying tools such as tape measures or measuring tapes to climb to the exhaust stack platform for on-site measurement, which is not only extremely inefficient but also poses safety risks of working at height; and the separate use of multiple tools, which involves using tools such as laser rangefinders, compasses, and cameras to take measurements separately, and then manually recording, calculating, and judging, which is time-consuming, labor-intensive, and prone to errors.

[0004] To address the aforementioned issues, this invention proposes a method, system, and terminal for standardized identification of sampling ports at exhaust stacks of stationary pollution sources. Summary of the Invention

[0005] To address the problems in long-distance non-contact measurement, such as the inability of laser rangefinders to identify the actual landing point structure of the laser spot, the potential for abnormal landing points to introduce systematic ranging deviations, and the difficulty in directly fusing samples with different postures, this invention provides a method, system, and terminal for standardized identification of sampling ports of exhaust stacks from fixed pollution sources.

[0006] To achieve the above-mentioned objectives, the technical solution adopted by this invention is as follows:

[0007] Standardized identification methods for sampling ports of exhaust stacks from stationary pollution sources include:

[0008] Simultaneously acquire images of the exhaust stack, laser rangefinder values, and the pitch and azimuth angles of the instrument's optical axis. The images include the laser spot and the sampling port.

[0009] Perform semantic segmentation on the image to obtain segmentation masks for at least straight pipe sections, elbows, reducers, and sampling ports, and determine the structural region to which the laser spot falls.

[0010] The laser ranging values ​​are processed by region based on the structural area: when the point of impact is located in the effective measurement area of ​​a straight pipe section, the current ranging value is accepted; when the point of impact is located in the area of ​​an elbow or reducer, the geometric features of the area are extracted using the segmentation mask, the spatial offset relative to the reference plane or reference axis of the straight pipe section is calculated, and the current ranging value is corrected accordingly; when the point of impact is located in a non-representative structure other than a straight pipe section, elbow, or reducer, the current ranging value is discarded.

[0011] Multiple range measurement samples acquired under different attitudes, after being accepted or corrected, are projected onto the same reference direction, taking into account their pitch and azimuth angles. The weights are determined based on the proximity of the spot landing point of each sample to the horizontal plane where the sampling port is located and the signal-to-noise ratio of the range measurement signal. The projected distance values ​​are then weighted and fused to obtain the optimized distance value.

[0012] Based on the optimized distance value and the position of the sampling port relative to the upstream and downstream elbows, valves or reducers determined by the segmentation mask, the actual distance between the sampling port and the upstream and downstream elbows, valves or reducers, the diameter of the exhaust stack and the net height of the sampling port relative to the ground are calculated, and compared with the preset standard threshold, and the judgment conclusion on whether the sampling port setting is standardized is output.

[0013] Preferably, before the synchronous acquisition of the exhaust pipe image, the method further includes: placing the calibration plate within the common field of view of the camera and the laser rangefinder, acquiring the calibration plate image and the laser ranging value of the corresponding feature point, extracting the pixel coordinates of the corner point of the calibration plate, and solving the rotation matrix and translation vector of the laser rangefinder coordinate system relative to the camera coordinate system to determine the correspondence between the laser spot and the image pixel.

[0014] Preferably, the effective measurement area of ​​the straight pipe section is the smooth outer wall area of ​​the straight pipe section that avoids bends, reducers, welds, sampling ports, and auxiliary structures; the non-representative structures include welds, sampling ports, or auxiliary structures.

[0015] Preferably, the geometric features are extracted using the segmentation mask of the region, and the spatial offset relative to the reference plane or reference axis of the straight pipe section is calculated, including: using the least squares method to perform arc fitting on the outer boundary pixel set of the elbow segmentation mask to obtain the radius of curvature, and combining the calibration relationship between the laser rangefinder and the camera to determine the angle of the light spot deviating from the straight pipe section; determining the length of the variable diameter pipe according to the pixel span and spatial scale conversion ratio of the variable diameter pipe segmentation mask along the exhaust stack axis, and determining the tilt angle by the angle between the variable diameter pipe generatrix and the axis of the straight pipe section.

[0016] Preferably, projecting multiple ranging samples onto the same reference direction and determining their weights includes: using the normal direction of the horizontal plane where the sampling port is located or the radial direction at the corresponding height of the exhaust pipe as the reference direction; determining the position weight based on the height difference between the spot landing point of each sample and the horizontal plane where the sampling port is located; determining the signal-to-noise ratio weight based on the signal-to-noise ratio of the laser ranging signal of each sample; and determining the sample weight by multiplying the position weight and the signal-to-noise ratio weight.

[0017] Preferably, GPS elevation data and barometric altitude data are also collected simultaneously; the GPS elevation data and barometric altitude data are fused, with GPS elevation as the absolute reference and the relative height change of the barometric altimeter to compensate for GPS elevation error, and the fused ground elevation is obtained through complementary filtering; the absolute altitude of the sampling port is calculated based on the optimized distance value, and the net height of the sampling port relative to the ground is obtained by subtracting the ground elevation from the absolute altitude.

[0018] Preferably, the boundary line between the elbow and the straight pipe section, the starting and ending ends of the reducer, and the opening edge of the sampling port are determined according to the segmentation mask, and the position of the valve is determined in combination with the target recognition result; the image pixel distance between the sampling port and the nearest upstream or downstream elbow, valve or reducer is converted into the corresponding actual straight-line distance using the optimized distance value and camera intrinsic parameters.

[0019] Preferably, the preset standard thresholds include a minimum allowable distance of four times the diameter of the exhaust stack from the sampling port to the upstream elbow, valve, or reducer, and a minimum allowable distance of twice the diameter of the exhaust stack from the sampling port to the downstream elbow, valve, or reducer; the actual straight-line distance is compared with the corresponding minimum allowable distance, and the net height of the sampling port relative to the ground is compared with the preset minimum height.

[0020] This invention also discloses a standardized identification system for sampling ports of exhaust stacks from stationary pollution sources, comprising:

[0021] An integrated imaging module, including a laser rangefinder and an optical zoom camera, is used to simultaneously acquire laser rangefinder values ​​and images containing the exhaust pipe and laser spot.

[0022] The attitude sensing module, including a tilt sensor and a digital compass, is used to acquire the pitch and azimuth angles of the instrument's optical axis.

[0023] GPS positioning module and barometric altimeter are used to acquire GPS elevation data and barometric altimeter data of the measurement point;

[0024] The data processing unit is configured as follows:

[0025] The system uses a deep learning model to analyze images in real time, outputting target detection boxes, semantic segmentation masks, and laser spot classification results. Based on the spot classification results, it verifies and corrects laser ranging values, and fuses multiple ranging samples after attitude normalization to output optimized distance values. Based on the optimized distance values ​​and the location of the sampling port in the image, it performs spatial geometric calculations to determine the actual straight-line distance from the sampling port to upstream and downstream elbows, valves, or reducers, the net height of the sampling port relative to the ground, and the diameter of the exhaust stack. Finally, it compares these key parameters with preset standard thresholds and outputs a judgment on whether the sampling port settings are up to standard.

[0026] This invention also discloses a standardized identification terminal for sampling ports of exhaust stacks from stationary pollution sources, comprising:

[0027] Processor; memory, used to store executable instructions;

[0028] When the executable instructions are executed by the processor, the method for standardized identification of sampling ports of exhaust stacks of stationary pollution sources is implemented.

[0029] Beneficial effects

[0030] 1. This invention does not simply use image recognition and laser ranging side by side, but directly controls the acceptance, correction or rejection of laser ranging values ​​by using the exhaust pipe structure area obtained by semantic segmentation: the radius of curvature, length or tilt angle of elbows and reducers are extracted from the segmentation mask, and the spatial offset relative to the straight pipe section reference structure is calculated to correct the ranging value, forming a closed loop of image semantic information to constrain laser ranging; on this basis, multiple ranging samples with different postures are subjected to unified reference projection and weighted fusion, thereby reducing the systematic measurement error caused by abnormal landing points and posture differences.

[0031] 2. This invention introduces a semantic segmentation branch into the deep learning model to perform pixel-level classification of the exhaust pipe region in the image, accurately distinguishing target boundaries such as the outer wall contour of the straight pipe section of the exhaust pipe, the outer wall contour of the elbow, the outer wall contour of the reducer, and the edge contour of the sampling port. The geometric center of the segmentation mask or a specific boundary point is used to replace the center point of the detection box as the accurate position of the sampling port in the image, solving the problem of large distance measurement deviation caused by approximate position estimation based on the detection box, thereby improving the accuracy of distance measurement between the sampling port and the elbow, valve or reducer.

[0032] 3. This invention integrates and corrects GPS elevation data with barometric altimeter data, using GPS elevation as the absolute reference and leveraging the high relative accuracy of the barometric altimeter to compensate for the absolute error of GPS elevation. It then outputs an optimized elevation value through a complementary filtering algorithm. This solves the problem that when GPS elevation is used alone, the elevation accuracy is insufficient due to factors such as satellite geometric distribution and atmospheric delay, which makes it impossible to meet the requirements for sampling port height specification verification. Attached Figure Description

[0033] Figure 1 This is a flowchart of the method of the present invention;

[0034] Figure 2 This is a system module diagram of the present invention. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments. It should be understood that the specific embodiments described herein are merely for explaining the invention and are not intended to limit the scope of protection of the invention.

[0036] Example 1

[0037] Please see Figure 1 As shown in the figure, this embodiment provides a method for identifying the sampling port specifications of exhaust gas stacks from stationary pollution sources. The method includes the following steps:

[0038] S1. Equipment preparation and calibration;

[0039] Before performing measurements, it is preferable to perform intrinsic parameter calibration and distortion correction on the camera to obtain the camera's intrinsic parameter matrix and distortion coefficients, thereby establishing the correspondence between image pixel coordinates and spatial angles. These calibration parameters are stored in the data processing unit for subsequent spatial geometry calculations.

[0040] Simultaneously, the extrinsic parameters between the laser rangefinder and the camera are jointly calibrated to establish the spatial transformation relationship between the laser rangefinder coordinate system and the camera pixel coordinate system, so as to determine the theoretical projection position of the laser spot in the image.

[0041] Preferably, the checkerboard calibration method is used for external parameter calibration, specifically:

[0042] A checkerboard calibration board is placed within the shared field of view of a laser rangefinder and a camera. Multiple images of the calibration board in different poses are captured by the camera, while the distance data of multiple feature points on the calibration board plane is measured using the laser rangefinder. The pixel coordinates of the checkerboard corner points in the images are extracted, and combined with the corresponding distance values ​​measured by the laser rangefinder, the rotation matrix and translation vector of the laser rangefinder coordinate system relative to the camera coordinate system are calculated. This establishes the spatial mapping relationship between the theoretical projection position of the laser spot in the image and the laser ranging direction. The extrinsic parameter calibration result is stored in the data processing unit for use in S4 for semantic localization of the laser spot landing point and correction of the ranging value.

[0043] S2. Equipment startup and aiming;

[0044] After the measurement command is triggered, the data processing unit controls the integrated imaging module and attitude sensing module to synchronously perform multi-source data acquisition. Specifically, this includes the following: measuring the straight-line distance from the instrument to the exhaust stack wall using a laser rangefinder, denoted as... Simultaneously, the laser rangefinder forms a visible or invisible light spot on the outer surface of the exhaust stack, which is synchronously imaged into the acquired image by the camera. A high-resolution optical zoom camera acquires high-definition images of targets including the exhaust stack, sampling port, elbow, valve, reducer, sampling platform, ladder, and laser spot. The tilt angle of the instrument's optical axis relative to the horizontal plane is obtained by the tilt sensor in the attitude sensing module, denoted as... The azimuth angle of the instrument's optical axis relative to the reference direction is obtained through the digital compass in the attitude sensing module, and denoted as... The latitude and longitude coordinates and ground elevation data of the current measurement point are obtained through the GPS positioning module and denoted as follows: Simultaneously, the barometric altitude data of the current measurement point is obtained through a barometric altimeter and recorded as follows: .

[0045] All the above data are collected synchronously after the same measurement command is triggered to ensure consistency in time. Specifically, the image data captured by the camera is then sent to S3 for image recognition and semantic segmentation processing, while the laser ranging distance... Pitch angle Azimuth GPS elevation and air pressure altitude Non-image data is temporarily stored in the cache of the data processing unit and will be called during S4 spatial geometry calculation.

[0046] S3. Automatic image target recognition and semantic segmentation based on deep learning;

[0047] After receiving image data from the camera in S2, the system performs real-time analysis of the images by calling a pre-trained deep learning model. This model simultaneously outputs results from three branches: object detection boxes, semantic segmentation masks, and laser spot classification.

[0048] In the object detection branch, the model automatically identifies sampling points in the image and outputs the pixel coordinates of the center point of its detection box. Simultaneously, it identifies various target components in the image related to the standardization of the sampling port, including elbows, valves, reducers, diameter changers (the exhaust outlet is considered a diameter changer), sampling platforms, escalators, etc., and outputs the position information of each target detection box. Based on these identification results, the relative positional relationship between the sampling port and each related target component in the image is further determined.

[0049] In the semantic segmentation branch, the model performs pixel-level classification of the exhaust stack region in the image, distinguishing at least the outer wall contours of the straight pipe section, the outer wall contours of the elbow, the outer wall contours of the reducer, and the edge contours of the sampling port, and outputs pixel-level segmentation masks for each target. The data processing unit calculates the geometric center coordinates, precise boundary positions, and local geometric features (such as the curvature of the elbow region and the tilt angle of the reducer region) of each target based on these segmentation masks, which serve as inputs for subsequent spatial geometric solutions.

[0050] In the laser spot landing point classification branch, the model locates the laser rangefinder's spot landing point in the image and determines whether the landing point is located within the "effective measurement area" of the straight pipe section of the exhaust stack. The "effective measurement area" is defined as the smooth outer wall area of ​​the straight pipe section of the exhaust stack, excluding elbows, reducers, welds, sampling ports, and other non-representative structures.

[0051] If the spot falls on a bend, the semantic segmentation branch further outputs the curvature information of that bend; if the spot falls on a reducer, it outputs the tilt angle information of that reducer; if the spot falls on a weld, sampling port, or other auxiliary structure, its structure type is marked accordingly.

[0052] The pixel-level classification results output by semantic segmentation are used to accurately determine the boundary positions of each target in subsequent spatial geometric calculations, replacing or correcting approximate position estimations based on detection boxes, thereby effectively improving the accuracy of distance measurement. Furthermore, the laser spot impact point classification results will be used to verify and correct the validity of the laser ranging values, forming a reverse verification mechanism between image recognition results and laser ranging.

[0053] To achieve robust identification of exhaust pipes with varying diameters (from 0.5 meters to several meters) and heights (from over ten meters to tens of meters), this deep learning object detection model preferably employs a multi-scale feature extraction network structure. Specifically:

[0054] The multi-scale feature extraction network structure adopts a feature pyramid network architecture. Based on the backbone network, deep semantic information is transferred to shallow high-resolution feature maps through top-down paths and lateral connections. This allows for the accurate identification of small targets such as the exhaust pipe, which exhibits a wide range of scale variations in images, as well as sampling ports and diameter-changing sections at different shooting distances. Preferably, the backbone network uses a lightweight MobileNetV3 structure to balance detection accuracy and the computational resources of the terminal device; for scenarios with sufficient computational resources, ResNet-50 can also be used as the backbone network.

[0055] Furthermore, for small targets such as sampling ports, short variable-diameter sections, and laser spots, this deep learning model preferentially adopts a small target detection optimization strategy during the training phase, that is, increasing the weight coefficient of small targets in the loss function. Specifically:

[0056] The weight coefficient for small targets is set to 2.0, which is twice the weight of regular targets. At the same time, the proportion of training samples for small targets is increased by cropping and scaling in the training data. The increased proportion of training samples for small targets is no less than 30% of the total training samples, in order to improve the model's detection recall and localization accuracy for small sampling ports, short variable diameter sections and laser spots.

[0057] The aforementioned deep learning object detection model was trained using supervised learning, employing a large number of labeled images of exhaust stacks as training samples. Specifically, the training samples came from exhaust stack images collected at least five different regions and industries, including thermal power generation, steel smelting, chemical engineering, and building materials. The images covered various lighting conditions (front lighting, backlighting, and cloudy days), shooting distances (10 to 100 meters), and exhaust stack diameters (0.5 to 5 meters), totaling at least 5000 images. The annotations included the category and location of each target, pixel-level segmentation masks for each target, and the location and validity category labels of the laser spot impact points. The model parameters were iteratively optimized using a backpropagation algorithm to simultaneously improve the accuracy of object detection, semantic segmentation, and laser spot impact point classification.

[0058] Optionally, when the automatic recognition results are inaccurate or obstructed, users can manually correct or reselect the location of targets such as sampling ports, elbows, and reducers via the touch screen, or manually correct the boundary results of semantic segmentation and the classification results of laser spot landing points to replace or supplement the automatic recognition results.

[0059] S4. Spatial geometric solution and key parameter calculation;

[0060] Based on the collected multi-source data and the output image recognition, semantic segmentation, and spot classification results, spatial geometric calculation and key parameter calculation are further performed. This process is implemented through a spatial geometric calculation model. Specifically, a virtual-real cross-verification closed loop is formed between laser ranging and image semantic segmentation, as detailed below:

[0061] Based on the output of the laser spot landing point classification branch, determine whether the current laser spot is located within the effective measurement area of ​​the straight pipe section of the exhaust stack;

[0062] If the spot falls on the smooth outer wall of the straight pipe section, then the current laser ranging distance is... It is directly recognized as a valid value and proceeds to the subsequent spatial geometry solution steps;

[0063] If the light spot falls on the bend area, the data processing unit extracts the bend's outer boundary pixel set based on the bend area segmentation mask output by the semantic segmentation branch, fits an arc using the least squares method, and calculates the radius of the fitted arc, which is the bend's radius of curvature. And calculate the angle of the light spot deviating from the straight pipe section. Based on the extrinsic parameter calibration results between the laser rangefinder and the camera, the spatial offset of the elbow surface at the spot landing point relative to the extended surface of the straight pipe section is calculated. For the current laser ranging value Perform geometric corrections to calculate the equivalent distance that would be required if the location fell on the extended surface of the straight pipe section. The corrected formula is:

[0064]

[0065] in, Based on the radius of curvature of the elbow and the angle of the light spot deviating from the straight pipe section Sure:

[0066]

[0067] and with Alternative Participate in subsequent solution calculations.

[0068] If the light spot falls within the variable diameter pipe region, the data processing unit extracts the pixel span of the variable diameter pipe region along the exhaust stack axis based on the variable diameter pipe region segmentation mask output by the semantic segmentation branch. Combined with spatial scale conversion ratio Calculate the length of the reducer. And obtain the tilt angle of the variable diameter pipe. The inclination angle of the reducing pipe. This is the angle between the generatrix of the reducer (i.e., the outline of the reducer's outer wall along the airflow direction) and the axis of the straight section of the exhaust stack. Calculate the spatial deviation of the reducer surface relative to the axis of the straight section at the point where the light spot falls. The laser ranging value is then corrected accordingly. The correction formula is:

[0069]

[0070] in, According to the length of the reducer and tilt angle Sure:

[0071]

[0072] If the spot falls on a weld, sampling port, or other auxiliary structure, the system determines that the current laser ranging value cannot be used for subsequent calculations and prompts the user on the touch screen to reselect the measurement position or manually adjust the terminal posture.

[0073] Based on the validity verification and correction of a single laser ranging value, to further eliminate systematic errors that may be introduced by poor landing point position in single-point measurement, the data processing unit guides the user (or through the automatic pan-tilt control terminal) to acquire multiple laser ranging samples at different height positions on the same straight pipe section of the exhaust stack, denoted as follows: Furthermore, the semantic segmentation branch was used to confirm whether the spot landing points of each sample were all within the effective measurement area.

[0074] Each time a laser ranging sample is acquired, the data processing unit simultaneously records the elevation angle at that moment. and azimuth Because the spatial position and pointing orientation of the terminal are different when the user collects samples at different measurement locations, the original distance values ​​measured by each sample correspond to different spatial directions and are not directly comparable to each other.

[0075] Based on the above, before performing the weighted average, the data processing unit will measure the distance values ​​of each sample. Together with their respective attitude data ( , Substituting the values ​​into the spatial geometric solution model, the distance values ​​are normalized to the same reference direction (e.g., the normal direction of the horizontal plane where the sampling port is located or the radial direction of the exhaust pipe at that height), thus obtaining the equivalent projected distance of each sample in that reference direction. This ensures that the distance values ​​of each sample are comparable under a unified reference frame. The normalization formula is:

[0076]

[0077] in, and These are the elevation and azimuth angles in the reference direction, respectively.

[0078] After normalization and alignment, the data processing unit determines the weighting coefficient of each sample based on the proximity of the spot landing point of each sample to the horizontal plane where the sampling port is located, as well as the signal-to-noise ratio of the laser ranging signal of each sample. The specific determination method is as follows:

[0079] Calculate the absolute value of the height difference between the landing point of each sample spot and the horizontal plane where the sampling port is located. And calculate the position weights accordingly. ,in The preset dimensional parameters are preferably between 0.5 meters and 2.0 meters, and more preferably the diameter of the exhaust pipe. The value is 0.5 times; this value ensures a weight close to 1 when the height difference between the spot's landing point and the horizontal plane of the sampling port is within 0.5 meters, and the weight significantly decreases to below 0.1 when the height difference exceeds 2 meters. Simultaneously, the data processing unit adjusts the weight based on the signal-to-noise ratio of each sample's laser ranging signal. Calculate signal-to-noise ratio weights ,in This represents the maximum signal-to-noise ratio (SNR) among the samples in the current batch. Final weighting coefficients. It is determined by the product of the location weight and the signal-to-noise ratio weight, i.e. The data processing unit then calculates the normalized equivalent projected distance accordingly. Perform a weighted average and output the final distance value optimized by multi-spot fusion. The weighted average formula is:

[0080]

[0081] This final distance value has higher accuracy and reliability compared to a single measurement.

[0082] After distance validity verification and optimization, the data processing unit performs spatial geometry calculations. Based on the pre-calibrated camera intrinsic parameter matrix and distortion coefficients, the pixel coordinates of the center point of the obtained sampling port detection frame are calculated. Converted to the horizontal offset angle of the sampling port relative to the camera's optical axis and vertical offset angle The conversion formula is based on the pinhole imaging model:

[0083]

[0084]

[0085] in, Let be the coordinates of the camera's optical center in the pixel coordinate system. and The cameras are respectively and The equivalent focal length in the direction. Alternatively, based on the segmentation mask of the sampling port edge contour output by semantic segmentation, the geometric center or specific boundary point of the segmentation mask is used to replace the center point of the detection box as the precise position of the sampling port in the image, so as to reduce the positioning error caused by the approximation of the detection box.

[0086] Based on this, combined with the final distance after the above virtual-real cross-validation closed-loop verification and optimization, (or equivalent distance after correction for a single measurement) ) and tilt sensor pitch angle And the vertical offset angle of the sampling port relative to the optical axis in the image. Calculate the spatial vector of the sampling port relative to the instrument. The formula for calculating the spatial vector is:

[0087]

[0088] in, This term is used to correct the coupling effect of the vertical offset angle on the horizontal spatial vector components when the camera optical axis has a pitch angle. It also incorporates the digital compass azimuth angle. And the horizontal offset angle of the sampling port relative to the optical axis in the image. The horizontal orientation information of the sampling port relative to the instrument is determined, and this horizontal orientation information is used to construct the complete spatial vector in the subsequent coordinate transformation.

[0089] In terms of altitude measurement, ground elevation fusion correction is first performed, which involves using GPS elevation data... and barometric altimeter data By merging the data, the optimized ground elevation of the measurement points is obtained. .

[0090] The fusion process uses GPS elevation data. As an absolute benchmark, barometric altimeter data is calibrated in real time. The high relative accuracy of the barometric altimeter (capable of sensitively reflecting altitude changes from centimeters to decimeters) is used to compensate for absolute errors of several meters to tens of meters introduced by factors such as satellite geometric distribution and atmospheric delay in GPS elevation. The fused elevation value is then output through a complementary filtering algorithm. .

[0091] The fusion formula for complementary filters is:

[0092]

[0093] in, The complementary filter coefficients are preferably between 0.7 and 0.9. The value is determined based on the standard deviation of GPS elevation measurement noise. and barometric altimeter drift rate Sure: When GPS signal is good, When smaller (e.g., less than 5 meters), A smaller value (0.7) is chosen to enhance the high-frequency response of the barometric altimeter; in situations where GPS signal is poor, When it is large, A larger value (0.9) was chosen to enhance the absolute reference function of GPS. This fusion accuracy is significantly higher than using GPS elevation alone or barometric altimeter alone.

[0094] After fusing the ground elevation, and then combining it with the aforementioned spatial vector of the sampling port relative to the instrument... The absolute altitude of the sampling port was calculated through coordinate transformation. This allows us to obtain the net height of the sampling port relative to the ground. The calculation formula is:

[0095]

[0096] In addition, the data processing unit also combines the identified exhaust pipe top position or exhaust pipe outlet edge with the distance value optimized through virtual-real cross-validation closed loop verification. and pitch angle Calculate the total height of the exhaust pipe. The calculation formula is:

[0097]

[0098] in, The height difference between the top of the exhaust pipe and the horizontal plane where the laser spot falls is calculated from the pixel distance between the top edge of the exhaust pipe and the spot in the image.

[0099] The above is the calculation of highly relevant parameters; based on this, further calculations are made of parameters such as the exhaust stack diameter and the horizontal distance between the sampling port and the elbow and reducer.

[0100] In diameter measurement, the final distance is calculated based on the pixel positions of the identified exhaust stack edges in the image, or the segmentation mask of the outer wall contour of the straight pipe section of the exhaust stack output by semantic segmentation, combined with the final distance optimized by virtual-real cross-validation closed-loop verification. Using camera internal parameters, calculate the diameter of the exhaust pipe. The calculation formula is:

[0101]

[0102] in, This refers to the pixel width of the two edges of the exhaust pipe in the image. If automatic image recognition is not possible, the user can optionally manually input the exhaust pipe diameter via touchscreen. The value. The diameter of the exhaust pipe. This will be used as the benchmark parameter for calculating 4 times the diameter and 2 times the diameter in the standard comparison.

[0103] In terms of distance measurement, based on the segmentation masks of the elbow outer wall contour and the reducer outer wall contour output by semantic segmentation, the precise boundary positions of the elbow and reducer in the image are determined respectively. Based on this, the pixel distance between the sampling port detection box or segmentation mask and the elbow / reducer segmentation mask is calculated. Combining the aforementioned spatial scale conversion ratio, the actual straight-line distance from the sampling port to its nearest upstream elbow, valve, or reducer is calculated respectively. And the actual straight-line distance to the nearest downstream elbow, valve, or reducer. The calculation formula is:

[0104]

[0105]

[0106] in, This is a scale conversion ratio for spatial dimensions. and These represent the pixel distances between the sampling port and the upstream and downstream targets in the image, respectively. The precise boundary locations determined by the semantic segmentation include, but are not limited to, the boundary line between the elbow and the straight section of the exhaust stack, the starting and ending ends of the reducer, and the edge of the sampling port on the outer wall of the exhaust stack.

[0107] S5. Standardize automatic database comparison and compliance assessment;

[0108] After calculating each key parameter, the data processing unit compares each parameter with the technical specification thresholds in a pre-stored specification database. The comparison includes the following five items:

[0109] The actual straight-line distance between the sampling port and the upstream elbow, valve, or reducer. Compare this distance with the minimum allowable distance specified in the standard, which is the diameter of the exhaust stack. Four times, that is, required ≥4D;

[0110] The actual straight-line distance between the sampling port and the downstream elbow, valve, or reducer. Compare this distance with the minimum allowable distance specified in the standard, which is the diameter of the exhaust stack. Twice, that is, required ≥2 ;

[0111] The net height of the sampling port relative to the ground Minimum height required by the specification To perform a comparison, that is, to require ≥ ;

[0112] Total height of the exhaust pipe Minimum height required by the specification To perform a comparison, that is, to require ≥ The radial location of the sampling port on the cross-section of the exhaust stack is compared with the radial location requirements specified in the standard.

[0113] After the above comparisons are completed, all items that do not meet the requirements are listed, and an overall judgment on whether the sampling port settings are in compliance with the requirements is output based on the comparison results.

[0114] S6. Real-time display of results and generation / uploading of standardized reports;

[0115] Throughout the entire process of identification, calculation, and comparison, the data processing unit simultaneously displays the viewfinder, the bounding box markers and semantic segmentation boundaries of the identified targets, the validity markers of the laser spot landing points, the current measurement data, and the intermediate results and final conclusions of the standardization judgment in real time through the touch screen of the human-computer interaction module.

[0116] After completing all calculations and comparisons, the report generation module automatically generates a standardized electronic report. This report must include at least the following information: on-site photographs, images with target annotations and segmentation boundaries, verification records of the effectiveness of laser spot impact points (including comparisons of distance values ​​before and after correction for each sample and pose data for each sample), and records of normalized alignment and weighted average of multi-spot fusion (including positional weights for each sample). Signal-to-noise ratio weight and final weight ), various measurement data and calculation basis, GPS location coordinates and elevation fusion data (including original GPS elevations) Barometric altimeter raw data Complementary filter coefficients and the elevation after fusion The data includes: measurement timestamps, applicable regulatory clauses, comparison results, and compliance conclusions.

[0117] The electronic report is preferably in PDF format or other tamper-proof standardized file formats, and can be previewed, exported, or printed via a touchscreen. Furthermore, smart terminals can upload the electronic report to the environmental monitoring cloud platform in real time via a built-in 4G / 5G communication module, enabling remote storage and unified management of on-site data.

[0118] Example 2

[0119] Please see Figure 2 As shown, this embodiment provides a system for identifying the specifications of sampling ports for exhaust gas from stationary pollution sources, including the following modules:

[0120] The integrated imaging module includes a laser rangefinder and a high-resolution optical zoom camera. This module is configured to: measure the straight-line distance from the system to the exhaust stack wall using the laser rangefinder and form a light spot on the outer surface of the exhaust stack; and acquire high-definition images of targets including the exhaust stack, sampling port, elbow, valve, reducer, sampling platform, ladder, and the laser spot using the high-resolution optical zoom camera.

[0121] The attitude sensing module includes a digital compass and a tilt sensor. This module is configured to: acquire the pitch angle of the system's optical axis relative to the horizontal plane via the tilt sensor; and acquire the azimuth angle of the system's optical axis relative to a reference direction via the digital compass.

[0122] The GPS positioning module is configured to acquire the latitude and longitude coordinates and ground elevation data of the current measurement point.

[0123] The barometric altimeter is configured to acquire barometric altimeter data at the current measurement point for fusion and correction with GPS elevation data.

[0124] The data processing unit is configured as follows:

[0125] Before performing the measurement, the data processing unit performs intrinsic parameter calibration and distortion correction on the camera, obtains the intrinsic parameter matrix and distortion coefficients of the camera, and performs joint calibration on the extrinsic parameters between the laser rangefinder and the camera, establishing the spatial transformation relationship between the coordinate system of the laser rangefinder and the pixel coordinate system of the camera.

[0126] During the measurement process, the data processing unit calls a pre-trained deep learning model to analyze the acquired images in real time, and outputs the results of three branches: target detection box, semantic segmentation mask, and laser spot landing point classification.

[0127] Among them, the target detection branch identifies the sampling port and various target components and outputs the detection box position information; the semantic segmentation branch performs pixel-level classification of the exhaust pipe area and outputs the segmentation mask of each target; and the laser spot landing point classification branch locates the spot landing point position and determines whether it is within the effective measurement area.

[0128] The data processing unit performs spatial geometric calculations and key parameter calculations based on the collected multi-source data and image recognition results. Specifically, laser ranging and image semantic segmentation form a closed loop for virtual-real cross-verification.

[0129] The data processing unit determines the validity of the distance measurement value based on the classification results of the spot landing point, performs geometric correction on the distance measurement value when the landing point is located in the area of ​​elbow, valve or reducer, and performs attitude normalization alignment and weighted average fusion after acquiring multiple distance measurement samples at different heights, and outputs the optimized distance value.

[0130] Based on this, the data processing unit converts the pixel coordinates of the sampling port into a spatial offset angle according to the camera's intrinsic parameters. It then calculates the spatial vector of the sampling port relative to the system by combining the optimized distance value and pitch angle. In addition, it calculates the net height of the sampling port relative to the ground and the total height of the exhaust pipe, as well as the diameter of the exhaust pipe and the actual straight-line distance of the sampling port from the upstream and downstream bends, valves, or reducers.

[0131] After completing the calculation of key parameters, the data processing unit compares each parameter with the technical specification thresholds in the pre-stored specification database, and outputs an overall judgment on whether the sampling port settings are in compliance with regulations.

[0132] The human-computer interaction module includes a touch screen. The human-computer interaction module is configured as follows:

[0133] Before measurement, a real-time view is displayed so that the user can align the crosshair with the target exhaust pipe. During the entire process of recognition, calculation and comparison, the view, the bounding box marker of the recognized target and the semantic segmentation boundary, the validity marker of the laser spot landing point, the current measurement data, and the intermediate and final results of the standardization judgment are displayed in real time. At the same time, if the automatic recognition result is inaccurate or there is occlusion, the user can manually correct or re-select the target position through the touch screen, or manually correct the boundary result of semantic segmentation and the classification result of the laser spot landing point.

[0134] The report generation module is configured as follows:

[0135] After all calculations and comparisons are completed, a standardized electronic report is automatically generated. This report includes at least the following: on-site photos, images with target labels and segmentation boundaries, verification records of the validity of laser spot landing points, normalized alignment and weighted average records of multi-spot fusion, various measurement data and calculation basis, GPS location coordinates and elevation fusion data, measurement timestamps, applicable standard clauses, various comparison results, and compliance conclusions.

[0136] The 4G / 5G communication module is configured to upload electronic reports to the environmental protection supervision cloud platform in real time, enabling remote storage and unified management of on-site data.

[0137] Example 3

[0138] This embodiment provides a standardized identification terminal for sampling ports of exhaust stacks from stationary pollution sources, including:

[0139] Processor; memory for storing executable instructions; a method for identifying the sampling port specifications of a stationary pollution source exhaust stack when the executable instructions are executed.

[0140] Preferably, the terminal also includes an integrated imaging module, an attitude perception module, a GPS positioning module, a barometric altimeter, a human-computer interaction module, a report generation module, and a 4G / 5G communication module, which are respectively connected to the processor to provide hardware support for multi-source data acquisition and interactive communication for the execution of the method.

[0141] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for standardized identification of sampling ports of exhaust stacks from stationary pollution sources, characterized in that, Includes the following steps: Simultaneously acquire images of the exhaust stack, laser rangefinder values, and the pitch and azimuth angles of the instrument's optical axis. The images include the laser spot and the sampling port. Perform semantic segmentation on the image to obtain segmentation masks for at least straight pipe sections, elbows, reducers, and sampling ports, and determine the structural region to which the laser spot falls. The laser ranging value is divided into zones according to the structural region: when the landing point is located in the effective measurement area of ​​the straight pipe section, the current ranging value is accepted; when the landing point is located in the elbow or reducer area, the geometric features are extracted using the segmentation mask of the area, the spatial offset relative to the reference plane or reference axis of the straight pipe section is calculated, and the current ranging value is corrected accordingly. When the landing point is located on a non-representative structure other than a straight pipe section, elbow, or reducer, the current distance measurement value is discarded. Multiple range measurement samples acquired under different attitudes, after being accepted or corrected, are projected onto the same reference direction, taking into account their pitch and azimuth angles. The weights are determined based on the proximity of the spot landing point of each sample to the horizontal plane where the sampling port is located and the signal-to-noise ratio of the range measurement signal. The projected distance values ​​are then weighted and fused to obtain the optimized distance value. Based on the optimized distance value and the position of the sampling port relative to the upstream and downstream elbows, valves or reducers determined by the segmentation mask, the actual distance between the sampling port and the upstream and downstream elbows, valves or reducers, the diameter of the exhaust stack and the net height of the sampling port relative to the ground are calculated, and compared with the preset standard threshold, and the judgment conclusion on whether the sampling port setting is standardized is output.

2. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 1, characterized in that, Before the synchronous acquisition of the exhaust pipe image, the method further includes: placing the calibration plate within the common field of view of the camera and the laser rangefinder, acquiring the calibration plate image and the laser ranging value of the corresponding feature point, extracting the pixel coordinates of the corner point of the calibration plate, and solving the rotation matrix and translation vector of the laser rangefinder coordinate system relative to the camera coordinate system to determine the correspondence between the laser spot and the image pixel.

3. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 1, characterized in that, The effective measurement area of ​​the straight pipe section is the smooth outer wall area of ​​the straight pipe section that avoids bends, reducers, welds, sampling ports, and auxiliary structures; the non-representative structures include welds, sampling ports, or auxiliary structures.

4. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 1, characterized in that, Geometric features are extracted using the segmentation mask of this region, and its spatial offset relative to the reference plane or reference axis of the straight pipe section is calculated. This includes: using the least squares method to perform arc fitting on the outer boundary pixel set of the elbow segmentation mask to obtain the radius of curvature, and determining the angle of the light spot deviating from the straight pipe section by combining the calibration relationship between the laser rangefinder and the camera; determining the length of the variable diameter pipe according to the pixel span and spatial scale conversion ratio of the variable diameter pipe segmentation mask along the exhaust stack axis, and determining the tilt angle by the angle between the variable diameter pipe generatrix and the axis of the straight pipe section.

5. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 1, characterized in that, Projecting multiple ranging samples onto the same reference direction and determining their weights includes: using the normal direction of the horizontal plane where the sampling port is located or the radial direction at the corresponding height of the exhaust pipe as the reference direction; determining the position weight based on the height difference between the spot landing point of each sample and the horizontal plane where the sampling port is located; determining the signal-to-noise ratio weight based on the signal-to-noise ratio of the laser ranging signal of each sample; and determining the sample weight by multiplying the position weight and the signal-to-noise ratio weight.

6. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 1, characterized in that, It also collects GPS elevation data and barometric altitude data simultaneously; it fuses the GPS elevation data and barometric altitude data, using the GPS elevation as the absolute reference and the relative height change of the barometric altimeter to compensate for the GPS elevation error, and obtains the fused ground elevation through complementary filtering; it calculates the absolute altitude of the sampling port based on the optimized distance value, and obtains the net height of the sampling port relative to the ground by subtracting the ground elevation from the absolute altitude.

7. The method for standardized identification of sampling ports of exhaust stacks from stationary pollution sources according to claim 1, characterized in that, The boundary line between the elbow and the straight pipe section, the starting and ending ends of the reducer, and the opening edge of the sampling port are determined based on the segmentation mask. The position of the valve is determined by combining the target recognition results. The image pixel distance between the sampling port and the nearest upstream or downstream elbow, valve, or reducer is converted into the corresponding actual straight-line distance using the optimized distance value and camera intrinsic parameters.

8. The method for standardized identification of sampling ports of stationary pollution source exhaust stacks according to claim 7, characterized in that, The preset standard thresholds include a minimum allowable distance of four times the diameter of the exhaust stack from the sampling port to the upstream elbow, valve, or reducer, and a minimum allowable distance of twice the diameter of the exhaust stack from the sampling port to the downstream elbow, valve, or reducer. The actual straight-line distance is compared with the corresponding minimum allowable distance, and the net height of the sampling port relative to the ground is compared with the preset minimum height.

9. A system for identifying the standardized sampling port of a stationary pollution source exhaust stack, characterized in that, The device includes an integrated imaging module, an attitude sensing module, and a data processing unit. The integrated imaging module includes a laser rangefinder and a camera, used to simultaneously acquire laser ranging values ​​and images containing the exhaust pipe and laser spot. The attitude sensing module is used to acquire the pitch angle and azimuth angle of the instrument's optical axis. The data processing unit is configured to perform the method for identifying the sampling port of the exhaust pipe of a stationary pollution source as described in any one of claims 1 to 8.

10. A standardized identification terminal for sampling ports of exhaust stacks of stationary pollution sources, characterized in that, The method includes a processor and a memory for storing executable instructions, which, when executed by the processor, implement the method for standardized identification of sampling ports of exhaust stacks of stationary pollution sources as described in any one of claims 1 to 8.