A shield machine tail clearance measurement method, device, equipment and medium
Using laser source and image processing technology to automatically measure the tail gap of the shield machine solves the problems of low efficiency and safety hazards in the existing technology, and achieves efficient and safe shield construction.
Patent Information
- Application Number
- CN202210886016.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-07-26
AI Technical Summary
In the existing technology, the measurement efficiency of the tail gap of the shield machine is low and there are safety risks, which may lead to the wear of the sealing brush at the tail of the shield machine and the misalignment or damage of the segment, which may lead to problems such as tunnel leakage and surface subsidence.
The laser source and image processing technology are used to obtain the image of the inner wall of the shield shell. The laser intersection point and the inner edge of the shield shell are determined through the target detection model. The distance value of the shield tail gap is calculated to achieve automated measurement and reduce manual intervention.
Real-time, continuous and regular measurement of the shield tail gap is achieved, which improves measurement efficiency, reduces safety hazards and ensures the efficiency and safety of shield construction.
Smart Images

Figure CN115420207B
Abstract
Description
Background Art
[0002] Nowadays, with the rapid development of economy, urban rail transit has become the most popular mode of travel among traditional means of transportation such as cars and trains. In recent years, in order to meet the urgent needs of underground engineering construction such as large-scale urban rail transit, shield machine construction technology and equipment have been widely used. Real-time measurement and monitoring of the gap at the tail edge of the shield machine is a key technology in shield machine construction. It plays a vital role in controlling the working posture of the shield machine and ensuring the efficiency and safety of the shield machine excavation. Specifically, the gap at the tail of the shield machine refers to the gap distance between the outer edge of the shield shell and the inner edge of the shield shell of the shield machine. Once the gap at the tail of the shield machine exceeds the predetermined limit, it will cause excessive extrusion between the tail of the shield machine and the segment, accelerate the wear of the sealing brush at the tail of the shield machine, reduce the excavation speed, and even cause the segment to be out of adjustment or damaged, thereby leading to tunnel leakage, surface subsidence and other serious consequences. Therefore, in order to ensure the efficiency and safety of shield construction, it is necessary to measure the gap at the tail of the shield machine in real time, continuously and regularly.
[0003] The existing technology usually uses manual measurement methods to measure the gap at the tail of the shield, but the manual measurement method is low in efficiency and has many safety hazards. Summary of the invention
[0004] In order to overcome the problems of low efficiency and many potential safety hazards in the existing manual measurement of the tail gap of a shield machine, the present invention provides a method, device and electronic equipment for measuring the tail gap of a shield machine.
[0005] In a first aspect, in order to solve the above technical problems, the present invention provides a method for measuring the tail clearance of a shield machine, comprising the following steps:
[0006] Acquire an image to be detected, where the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source;
[0007] According to the image to be detected, a first target area in the image to be detected is determined, wherein the first target area includes a first laser intersection point, a second laser intersection point and an inner wall of the shield shell, wherein the first laser intersection point represents a first intersection point formed on the inner wall of the shield shell by the laser emitted by the first laser source, and the second laser intersection point represents a second intersection point formed on the inner wall of the shield shell by the laser emitted by the second laser source;
[0008] According to the first target area, the first laser intersection point, the second laser intersection point and the inner edge of the shield shell are extracted to obtain a target image, wherein the inner edge of the shield shell represents the edge corresponding to the inner diameter of the inner wall of the shield shell;
[0009] Determine a first distance value, a second distance value, and a third distance value according to the target image, wherein the first distance value represents the straight-line distance between the first laser intersection point and the second laser intersection point in the target image, the second distance value represents the vertical distance from the first laser intersection point to the inner edge of the shield shell in the target image, and the third distance value represents the vertical distance from the second laser intersection point to the inner edge of the shield shell in the target image;
[0010] The tail clearance of the shield machine is determined according to the first distance value, the second distance value and the third distance value.
[0011] The beneficial effect of a shield machine tail gap measurement method provided by the present invention is: obtaining an image to be detected, then determining a first target area from the image to be detected, obtaining a target image from the first target area based on the first target area, and finally obtaining a first distance value, a second distance value and a third distance value required to determine the shield machine tail gap from the target image. The present application does not require workers to go on-site for measurement, thereby solving the problem of low efficiency and many safety hazards in manually measuring the shield machine tail gap.
[0012] On the basis of the above technical solution, a shield machine tail clearance measurement method of the present invention can also be improved as follows.
[0013] Further, the step of determining the first target area in the image to be detected according to the image to be detected includes:
[0014] According to the image to be detected, a first target area is determined by a target detection model, wherein the target detection model is obtained by SSD network training.
[0015] The beneficial effect of adopting the above further solution is that the first target area is obtained by the target detection model obtained through training, which is more efficient.
[0016] Furthermore, the above method also includes:
[0017] According to the first target area, the image effect of the first target area is enhanced to obtain a second target area;
[0018] According to the first target area, the first laser intersection point, the second laser intersection point and the inner edge of the shield are extracted to obtain a target image, including:
[0019] The second target area is converted into a grayscale image, and the first laser intersection point, the second laser intersection point and the inner edge of the shield shell are extracted according to the grayscale image to obtain a target image.
[0020] The beneficial effect of adopting the above further solution is: the image effect of the first target area is enhanced to obtain the second target area, so as to facilitate subsequent acquisition of a clearer and more accurate target image from the second target area.
[0021] Further, according to the first target area, the image effect of the first target area is enhanced to obtain the second target area, including:
[0022] S31, according to the first target area, obtain the reflectance image contrast corresponding to the first target area by using a first formula, wherein the first formula is:
[0023] R(x,y)=logI(x,y)-log(I(x,y)*G(x,y));
[0024]
[0025] Wherein, R(x, y) represents the reflectance image contrast, I(x, y) represents the first target area, G(x, y) represents the Gaussian smoothing operator, and σ represents the first preset value;
[0026] S32, according to the reflectivity image contrast, the reflectivity image contrast is corrected by a second formula to obtain a perceived reflectivity, wherein the second formula is:
[0027] R p (x, y)=max[0, R(x, y)+1];
[0028] Among them, R p (x, y) represents the perceived reflectance;
[0029] S33, obtaining the perceived illumination according to the perceived reflectivity by using a third formula, wherein the third formula is:
[0030]
[0031] Among them, L p represents the perceived illumination;
[0032] S34, according to the perceived illumination, correct the perceived illumination by using a fourth formula to obtain the perceived illumination, wherein the fourth formula is:
[0033]
[0034] Among them, L m represents the perceived illumination, γ represents the second preset value;
[0035] S35, obtaining an exposure ratio map corresponding to the first target area according to the perceived illumination through a fifth formula, wherein the fifth formula is:
[0036]
[0037] Among them, K represents the exposure ratio map;
[0038] S36, according to the exposure ratio diagram, the image effect of the first target area is enhanced by a sixth formula to obtain a second target area, wherein the sixth formula is:
[0039]
[0040] Among them, I e (x, y) represents the second target area, a represents the third preset value, and b represents the fourth preset value.
[0041] The beneficial effect of adopting the above further scheme is: through the first formula to the sixth formula, the effect of the first target area is enhanced, so that the overall brightness of the first target area becomes more uniform and the details are clearer, thereby obtaining a second target image with better image effect.
[0042] Further, the above-mentioned extraction of the first laser intersection point and the second laser intersection point according to the grayscale image includes:
[0043] S41, according to a preset first threshold, extracting pixels in the grayscale image whose pixels are greater than the first threshold to obtain a plurality of target pixels;
[0044] S42, aggregating each target pixel to form a line segment, thereby obtaining each target line segment;
[0045] S43, acquiring target intersection points between target line segments, where the target intersection points include a first laser intersection point and a second laser intersection point.
[0046] The beneficial effect of adopting the above further scheme is: through the first threshold, the pixels in the grayscale image that are greater than the first threshold are extracted to obtain multiple target pixels, and then the target pixels are aggregated to form line segments to obtain each target line segment, and finally the target line segments intersect to form a target intersection point. Through the above method, the first laser intersection point and the second laser intersection point can be quickly extracted from the grayscale image.
[0047] Furthermore, the above-mentioned extraction of the inner edge of the shield shell according to the grayscale image includes:
[0048] S51, convolving the grayscale image with a preset gradient operator to obtain a convolved image;
[0049] S52, according to a preset second threshold, extracting pixels in the convolution image that are greater than the second threshold to obtain a foreground image;
[0050] S53, extracting a plurality of target edge lines from the foreground image;
[0051] S54, obtaining the slope of each target edge line on the coordinate axis corresponding to the foreground image and the intercept with the Y axis;
[0052] S55, selecting a target edge line with the smallest absolute value of slope and the largest intercept from each target edge line as the inner edge of the shield.
[0053] The beneficial effect of adopting the above further scheme is: convolving the grayscale image with the gradient operator to obtain a convolution image, and then extracting pixels in the convolution image that are greater than the second threshold according to the second threshold to obtain a foreground image, extracting the target edge line from the foreground image, and finally selecting the target edge line with the smallest difference between the slope and 0 and the largest intercept as the inner edge of the shield shell according to the slope of the target edge line on the coordinate axis corresponding to the foreground image and the intercept with the Y axis. Through the above method, the inner edge of the shield shell can be quickly extracted from the grayscale image.
[0054] Furthermore, the method further comprises:
[0055] Obtaining a fourth distance value between the first laser light source and the second laser light source, a thickness value of the inner wall of the shield shell, a fifth distance value from the first laser intersection point to the inner wall of the shield shell, and a sixth distance value from the second laser intersection point to the inner wall of the shield shell, wherein the fourth distance value represents the straight-line distance between the first laser light source and the second laser light source, the fifth distance value represents the straight-line distance from the first laser intersection point to the inner wall of the shield shell, and the sixth distance value represents the straight-line distance from the second laser intersection point to the inner wall of the shield shell;
[0056] According to the first distance value, the second distance value and the third distance value, the tail clearance of the shield machine is determined, including:
[0057] According to the first distance value, the second distance value, the third distance value, the fourth distance value, the fifth distance value, the sixth distance value and the thickness value, the shield machine tail clearance is determined by the seventh formula, wherein the seventh formula is:
[0058] g=I 1 +d 1 -h;
[0059] g=I 2 +d 2 -h;
[0060]
[0061]
[0062] Where g represents the clearance at the tail of the shield machine, P W represents the first distance value, represents the second distance value, represents the third distance value, w represents the fourth distance value, I 1 Represents the fifth distance value, I 2 represents the sixth distance value, h represents the thickness value, d1 Indicates the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, d 2 Indicates the actual distance from the second laser intersection point to the inner edge of the shield in the field.
[0063] The beneficial effect of adopting the above further scheme is: through the seventh formula, the first distance value, the second distance value and the third distance value for determining the tail clearance of the shield machine can be quickly obtained, and finally the tail clearance of the shield machine can be determined by the first distance value, the second distance value and the third distance value.
[0064] In a second aspect, the present invention provides a shield machine tail clearance measurement system device, comprising:
[0065] An acquisition module is used to acquire an image to be detected, where the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source;
[0066] A first determination module is used to determine a first target area in the image to be detected according to the image to be detected, wherein the first target area includes a first laser intersection point, a second laser intersection point and an inner wall of the shield shell, wherein the first laser intersection point represents a first intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell, and the second laser intersection point represents a second intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell;
[0067] The second determination module is used to extract the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the first target area to obtain a target image, wherein the inner edge of the shield shell represents the edge corresponding to the inner diameter of the inner wall of the shield shell;
[0068] a third determination module, for determining a first distance value, a second distance value and a third distance value according to the target image, wherein the first distance value represents a straight-line distance between a first laser intersection point and a second laser intersection point in the target image, the second distance value represents a vertical distance from the first laser intersection point to an inner edge of the shield shell in the target image, and the third distance value represents a vertical distance from the second laser intersection point to an inner edge of the shield shell in the target image;
[0069] The fourth determination module is used to determine the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value.
[0070] The beneficial effects of the automatic image annotation device provided by the present invention are: obtaining an image to be detected, then determining a first target area from the image to be detected, obtaining a target image from the first target area based on the first target area, and finally obtaining a first distance value, a second distance value and a third distance value required for determining the tail gap of a shield machine from the target image. The present application does not require workers to go on-site for measurement, thereby solving the problem of low efficiency and many safety hazards in manually measuring the tail gap of a shield machine.
[0071] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a program stored in the memory and running on the processor, wherein when the processor executes the program, steps of a method for measuring the tail gap of a shield machine are implemented.
[0072] In a fourth aspect, the present invention further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of a method for measuring the tail gap of a shield machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0074] Figure 1 A schematic diagram of a method for measuring the tail clearance of a shield machine according to an embodiment of the present invention;
[0075] Figure 2 It is a structural schematic diagram of an image acquisition device;
[0076] Figure 3 It is the image taken by the CCD camera when the pixel utilization is low;
[0077] Figure 4 It is the image taken by the CCD camera when the pixel utilization rate is high;
[0078] Figure 5 A flowchart for performing image enhancement effect on a first target area;
[0079] Figure 6 A flow chart for obtaining a target image based on a grayscale image;
[0080] Figure 7 This is the geometric model diagram of the tail gap of the shield machine;
[0081] Figure 8 This is the shield machine posture simulation diagram;
[0082] Fig. 9 The present invention is a schematic structural diagram of a shield machine tail gap measurement device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0083] The following examples are provided to further explain and supplement the present invention and do not constitute any limitation to the present invention.
[0084] like Figure 1 As shown, a shield machine tail clearance measurement method according to an embodiment of the present invention comprises the following steps:
[0085] S1, acquiring an image to be detected, where the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source.
[0086] In this embodiment, the image to be detected is acquired by the image acquisition device. During the normal excavation of the shield machine, it is generally in a harsh environment full of oily sludge, extreme temperature and humidity, severe vibration and impact, and is also limited by the restricted space at the tail of the shield machine. Therefore, the installation space of the image acquisition device is extremely narrow. Considering the interference of various external factors, the image acquisition device adopts an integrated setting. The monitoring device adopts a new mechanical structure, which can adapt to the harsh on-site environment and can be easily installed in a small space. Figure 2 The image acquisition device shown includes an industrial camera 1, a laser rangefinder, a first laser source 2, a second laser source 3, a light source, a miniature circuit breaker and a transformer. All the equipment contained in the image acquisition device is fixed in a completely enclosed protective cover (with a length of 180 mm, a width of 110 mm and a height of 90 mm through a fixing plate 4 and a bracket 5. Since the protective cover is a transparent structure, the protective cover is not drawn). The front part of the protective cover is made of high-transmittance, high-strength acrylic glass. The power supply and foil twisted pair communication cables pass through two holes of different diameters and are locked with a waterproof connector at the rear end of the protective cover. The protective cover is fixed to the foundation by four shock-absorbing screws.
[0087] In addition, the image acquisition device uses a miniature circuit breaker as a switch to automatically cut off the circuit current to ensure that the devices in the image acquisition device will not be overloaded. The transformer can convert 220 volts of AC power into different voltages according to the voltage requirements of each device in the image acquisition device.
[0088] In addition, the image acquisition device is connected to the control unit via a transmission unit, wherein the transmission unit includes an Ethernet switch and a network switch. In this embodiment, Gigabit Ethernet is specifically used.
[0089] In addition, the control unit consists of an industrial personal computer, a display and other necessary computer equipment. The control unit is mainly used to calculate data, run various software and send control commands.
[0090] In addition, industrial cameras are the most widely used CCD cameras in tunnel defect monitoring based on machine vision. CCD cameras can capture images faster and more accurately. Due to the needs of underground tunnel construction, CCD cameras have the following characteristics: they can be used for video recording in harsh working environments, extreme temperature and humidity, shock and vibration conditions, have zoom functions at different measurement distances, and have a long service life. In practical applications, uneven tunnel lighting will reduce image quality and thus affect the measurement results. In order to eliminate this negative impact, when the CCD camera is triggered, COB light is used as a light source for auxiliary lighting (the COB light is installed on the protective cover, so it is not drawn).
[0091] In addition, the laser rangefinder (installed on the protective cover, so it is not drawn) is used during the tunneling process of the shield machine. After the assembly of each ring segment is completed, the shield machine must continue to advance. Under a fixed focal length, as the distance between the first laser source and the second laser source and the inner wall of the shield shell increases, the object distance gradually increases, and the depth of field (degree of freedom) of the image collected by the CCD camera also increases. At this time, useful information only occupies a small part of the entire image, and the pixel utilization rate is very low. For example, Figure 3 This is the image captured by the CCD camera when the pixel utilization is low, such as Figure 4 The image is collected by the CCD camera when the pixel utilization rate is high, which increases the difficulty of image processing and reduces the accuracy of the measurement result. According to the imaging principle of the CCD camera, by changing the focal length, the depth of field of the camera at different object distances can be kept unchanged. Under this principle, the laser rangefinder can be used to measure the distance between objects (i.e., the first laser source, the second laser source and the inner wall of the shield shell) in real time during the tunneling process of the shield machine, and the current focal length of the CCD camera can be adjusted according to the distance between the real-time measured objects to improve the pixel utilization rate at the same pixel size.
[0092] S2, according to the image to be detected, determine the first target area in the image to be detected, the first target area includes a first laser intersection point, a second laser intersection point and the inner wall of the shield shell, the first laser intersection point represents the first intersection point formed on the inner wall of the shield shell by the laser emitted by the first laser source, and the second laser intersection point represents the second intersection point formed on the inner wall of the shield shell by the laser emitted by the second laser source.
[0093] Optionally, determining a first target area in the image to be detected according to the image to be detected includes:
[0094] According to the image to be detected, a first target area is determined by a target detection model, wherein the target detection model is obtained by SSD network training.
[0095] Optionally, the SSD network training process is as follows:
[0096] Step 1: Collect 500 original images, which include images of the first laser source and the second laser source irradiating the inner wall of the shield;
[0097] Step 2: Use an annotation tool to draw a marking box on the original image, where the marking box represents the range of the first laser intersection point and the second laser intersection point on the original image;
[0098] Step 3: Use the original image with the object bounding box as a training set;
[0099] Step 4: Use the training set to input the SSD network for training to obtain the target detection model.
[0100] In addition, in order to improve the accuracy and reliability of the target detection model in the new environment, new original images obtained from different project locations will be obtained and used as training sets to iteratively update the target detection model.
[0101] Optionally, also include:
[0102] According to the first target area, the image effect of the first target area is enhanced to obtain a second target area;
[0103] In this embodiment, in order to reduce the negative impact of poor lighting conditions in the tunnel, the image acquisition device uses COB light as a light source for auxiliary lighting. However, it cannot guarantee that the impact of uneven lighting will be eliminated. The images collected by the CCD camera still have problems such as uneven brightness, low image contrast, and insufficient details. Therefore, before performing subsequent operations, image enhancement technology should be used to enhance image details and improve image quality.
[0104] Optional, such as Figure 5 As shown, the image effect of the first target area is enhanced according to the first process to obtain the second target area, wherein the first process includes:
[0105] S31, according to the first target area, obtain the reflectance image contrast corresponding to the first target area by using a first formula, wherein the first formula is:
[0106] R(x,y)=logI(x,y)-log(I(x,y)*G(x,y));
[0107]
[0108] Wherein, R(x, y) represents the reflectance image contrast, I(x, y) represents the first target area, G(x, y) represents the Gaussian smoothing operator, and σ represents the first preset value;
[0109] S32, according to the reflectivity image contrast, using the SSR algorithm and the second formula, correcting the reflectivity image contrast to obtain the perceived reflectivity, wherein the second formula is:
[0110] R p (x, y)=max[0, R(x, y)+1];
[0111] Among them, R p (x, y) represents the perceived reflectance;
[0112] S33, according to the perceived reflectivity, using the Retinex theory algorithm, that is, the third formula, to obtain the perceived illumination, wherein the third formula is:
[0113]
[0114] Among them, L p represents the perceived illumination;
[0115] S34, according to the perceived illumination, the perceived illumination is corrected in the light adjustment model, i.e., the fourth formula, to obtain the perceived illumination, wherein the fourth formula is:
[0116]
[0117] Among them, L m represents the perceived illumination, γ represents the second preset value;
[0118] S35, obtaining an exposure ratio map corresponding to the first target area according to the perceived illumination through a fifth formula, wherein the fifth formula is:
[0119]
[0120] Among them, K represents the exposure ratio map;
[0121] S36, according to the exposure ratio map, using the Multi-exposure fusion framework algorithm, that is, the sixth formula, to enhance the image effect of the first target area to obtain the second target area, wherein the sixth formula is:
[0122]
[0123] Among them, I e (x, y) represents the second target area, a represents the third preset value, and b represents the fourth preset value.
[0124] S3, extracting the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the first target area to obtain a target image, wherein the inner edge of the shield shell represents the edge corresponding to the inner diameter of the inner wall of the shield shell.
[0125] Optionally, according to the first target area, extracting the first laser intersection point, the second laser intersection point and the inner edge of the shield shell to obtain a target image includes:
[0126] The second target area is converted into a grayscale image, and the first laser intersection point, the second laser intersection point and the inner edge of the shield shell are extracted according to the grayscale image to obtain a target image.
[0127] Optional, such as Figure 6 As shown, Figure 6 The first picture in the first row represents the image to be detected (Orignal image), the second picture represents the first target region (ROI) obtained according to the target detection model, and the third picture represents the second target region (enhancement image) obtained by image enhancement (image enhancement) on the first target region. In addition, it also includes grayscale processing of the second target region, grayscale processing of the second target region using RGB to Gray algorithm, and denoising of the second target region after grayscale processing using Gaussian filter to obtain a grayscale image (Gray image).
[0128] Optional, such as Figure 6 As shown, Figure 6 The second line in FIG. 1 shows a second process of extracting the first laser intersection point and the second laser intersection point according to the grayscale image, wherein the second process includes:
[0129] S41, according to a preset first threshold, extracting pixels in the grayscale image whose pixels are greater than the first threshold to obtain a plurality of target pixels;
[0130] S42, clustering target pixels to form line segments, and obtaining target line segments; S43, obtaining target intersections (Recognize intersections) between target line segments, wherein the target intersections include a first laser intersection and a second laser intersection.
[0131] See also Figure 6 As shown, each white target pixel is formed into a plurality of white line segments. Figure 6 The two intersection points in are the first laser intersection point and the second laser intersection point.
[0132] Optionally, in S41, a gray histogram may be used to count the frequency of occurrence of the gray value of each pixel in the gray image, and then 5.3% of the global brightness may be selected as the first threshold according to the frequency.
[0133] Optionally, in S41, a threshold segmentation method is used to extract each target pixel. Optionally, in S42, a probabilistic Hough transform (PPHT) is used to aggregate each target pixel to form a line segment.
[0134] Optionally, in S42, before using the probabilistic Hough transform (PPHT), a morphological opening operation may be used to weaken discrete points and eliminate some interfering target pixels to improve the efficiency of the probabilistic Hough transform (PPHT). Figure 6 As shown, the third row represents the third process of extracting the inner edge of the shield shell according to the grayscale image, wherein the third process includes:
[0135] S51, convolving the grayscale image with a preset gradient operator (Edge detection operator GY) to obtain a convolved image;
[0136] S52, according to a preset second threshold, extracting pixels in the convolution image that are greater than the second threshold to obtain a foreground image;
[0137] S53, extracting a plurality of target edge lines from the foreground image (Select line);
[0138] S54, obtaining the slope of each target edge line on the coordinate axis corresponding to the foreground image and the intercept with the Y axis;
[0139] S55, selecting a target edge line with the smallest absolute value of slope and the largest intercept from each target edge line as the inner edge of the shield.
[0140] Optionally, in S51, a morphological erosion algorithm (Erode) may be used to erode the convolution image to further remove noise interference.
[0141] Optionally, in S52, 5.3% of the global brightness is selected as the second threshold, and the OTSU algorithm is used to extract pixels to obtain a foreground image.
[0142] Optionally, in S53, a plurality of target edge lines are extracted from the foreground image using Hough transform (PPHT).
[0143] Optionally, in S55, for example, if the slopes of the target edge lines are 0.14, 0.12, and -0.11, the target edge line with a slope of -0.11 is selected.
[0144] Optionally, after obtaining the first laser intersection point, the second laser intersection point and the inner edge of the shield shell, the first laser intersection point, the second laser intersection point and the inner edge of the shield shell are extracted (Extracted features) to obtain a target image, and finally, the subsequent shield tail clearance calculation (Calculation model of shield tailclearance) and the result of the shield tail clearance (Measurement result of shield tailclearance) are performed based on the target image.
[0145] S4, determining a first distance value, a second distance value and a third distance value according to the target image, wherein the first distance value represents the straight-line distance between the first laser intersection point and the second laser intersection point in the target image, the second distance value represents the vertical distance from the first laser intersection point to the inner edge of the shield shell in the target image, and the third distance value represents the vertical distance from the second laser intersection point to the inner edge of the shield shell in the target image.
[0146] Optionally, the calculation principle of the shield machine tail clearance in this embodiment is as follows:
[0147] like Figure 7 As shown in the figure, it is a geometric model diagram constructed based on the tail gap of the shield machine taken, where the innerwall of shield shall represent the inner wall of the shield, segment represents the arched part of the shield, Laser Intersection represents the first laser intersection point and the second laser intersection point, and the inner edge of segment represents the inner edge of the shield. According to the geometric model diagram, it can be seen that:
[0148] g=I 1 +d 1 -h;
[0149] g=I 2 +d 2 -h;
[0150] Among them, g represents the clearance at the tail of the shield machine, d 1 Indicates the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, d 2 It represents the actual distance from the second laser intersection point to the inner edge of the shield shell in the field, h represents the thickness value, I 1 Indicates the fifth distance value from the first laser intersection point to the inner wall of the shield, I 2Indicates the sixth distance value from the second laser intersection point to the inner wall of the shield shell.
[0151] Because h, I 1 ,I 2 are all known values, so we only need to determine d 1 and d 2 The value of the shield machine tail clearance can be obtained by referring to the principle of physical distance and pixel distance, and the pixel distance can be obtained from the image, and then the physical distance can be deduced back. The principle is as follows:
[0152]
[0153]
[0154] in, Characterizes the vertical distance from the first laser intersection point to the inner edge of the shield in the target image. It represents the vertical distance from the second laser intersection point to the inner edge of the shield in the target image, P W represents the straight-line distance between the first laser intersection point and the second laser intersection point in the target image, and w represents the fourth distance value between the first laser light source and the second laser light source. Since W is a known value, S1-S4 of the present application can be used to obtain and P W .
[0155] S5, determining the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value.
[0156] Optionally, also include:
[0157] Obtaining a fourth distance value between the first laser light source and the second laser light source, a thickness value of the inner wall of the shield shell, a fifth distance value from the first laser intersection point to the inner wall of the shield shell, and a sixth distance value from the second laser intersection point to the inner wall of the shield shell, wherein the fourth distance value represents the straight-line distance between the first laser light source and the second laser light source, the fifth distance value represents the straight-line distance from the first laser intersection point to the inner wall of the shield shell, and the sixth distance value represents the straight-line distance from the second laser intersection point to the inner wall of the shield shell;
[0158] According to the first distance value, the second distance value and the third distance value, the tail clearance of the shield machine is determined, including:
[0159] According to the first distance value, the second distance value, the third distance value, the fourth distance value, the fifth distance value, the sixth distance value and the thickness value, the shield machine tail clearance is determined by the seventh formula, wherein the seventh formula is:
[0160] g=I 1 +d 1 -h;
[0161] g=I 2 +d 2 -h;
[0162]
[0163]
[0164] Where g represents the clearance at the tail of the shield machine, P W represents the first distance value, represents the second distance value, represents the third distance value, w represents the fourth distance value, I 1 Represents the fifth distance value, I 2 represents the sixth distance value, h represents the thickness value, d 1 Indicates the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, d 2 Indicates the actual distance from the second laser intersection point to the inner edge of the shield in the field.
[0165] Optionally, after obtaining the tail clearance of the shield machine, the posture of the shield machine can also be simulated through the tail clearance of the shield machine, including:
[0166] The tail gap of the shield machine provides an important reference for the excavation direction and segment combination of the shield machine. However, obtaining the tail gap of the shield machine is not the ultimate goal of tunnel excavation. On the contrary, further detailed research can be carried out based on the measurement of the tail gap of the shield machine. The research results can provide a basis for the risk prediction of underground engineering. By measuring the tail gap of the shield machine at different positions, the relative position between the segment ring center and the shield shell is calculated, and then the posture of the shield machine is simulated.
[0167] This embodiment adopts the least squares approximate fitting method for fitting the segment ring and determining the center point, such as Figure 8 As shown in FIG. 1 , firstly, a plane Cartesian coordinate system is established with the center of the shield as the coordinate origin o, and the position of the shield in this coordinate system is plotted. Then, a circle with a radius smaller than the shield radius is drawn inside the shield as the initial position of the segment ring. Secondly, the extension line between the coordinate origin of the image acquisition device and the installation position ( Figure 8 The middle dotted line represents multiple extension lines, and the angle between one of the extension lines and the X-axis is represented by Installation Angle. They intersect with the shield shell and the segment ring at points A1 and B1 respectively. The coordinates of A1 and B1 are calculated based on the calculated shield tail clearance. Using the same method, the coordinates of different intersection points on the line segment ring, namely B2, B3 and B4, can be obtained in turn. Finally, based on these coordinates, the least squares method is used to fit the circle closest to the segment ring, namely the new segment ring. The center of the new segment ring is at point N.
[0168] By comparing the relative positions of the center of the shell and the center of the segment ring, the current tunneling posture of the shield machine can be simulated in real time, providing more critical and sufficient information for the tunneling process of the shield machine.
[0169] like Fig. 9 As shown, a shield machine tail clearance measurement system device according to an embodiment of the present invention includes:
[0170] An acquisition module 202 is used to acquire an image to be detected, where the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source;
[0171] The first determination module 203 is used to determine a first target area in the image to be detected according to the image to be detected, wherein the first target area includes a first laser intersection point, a second laser intersection point and an inner wall of the shield shell, wherein the first laser intersection point represents a first intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell, and the second laser intersection point represents a second intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell;
[0172] The second determination module 204 is used to extract the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the first target area to obtain a target image, wherein the inner edge of the shield shell represents the edge corresponding to the inner diameter of the inner wall of the shield shell;
[0173] The third determination module 205 is used to determine a first distance value, a second distance value and a third distance value according to the target image, wherein the first distance value represents the straight-line distance between the first laser intersection point and the second laser intersection point in the target image, the second distance value represents the vertical distance from the first laser intersection point to the inner edge of the shield shell in the target image, and the third distance value represents the vertical distance from the second laser intersection point to the inner edge of the shield shell in the target image;
[0174] The fourth determination module 206 is used to determine the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value.
[0175] Optionally, the first determination module 202 determines a first target area in the image to be detected through a first unit, wherein the first unit is specifically configured to:
[0176] According to the image to be detected, a first target area is determined by a target detection model, wherein the target detection model is obtained by SSD network training.
[0177] Optionally, the first determining module 203 further includes:
[0178] The second target area determination module is used to enhance the image effect of the first target area according to the first target area to obtain the second target area.
[0179] Optionally, the second target area is determined by a second unit, wherein the second unit is specifically configured to:
[0180] S31, according to the first target area, obtain the reflectance image contrast corresponding to the first target area by using a first formula, wherein the first formula is:
[0181] R(x,y)=logI(x,y)-log(I(x,y)*G(x,y));
[0182]
[0183] Wherein, R(x, y) represents the reflectance image contrast, I(x, y) represents the first target area, G(x, y) represents the Gaussian smoothing operator, and σ represents the first preset value;
[0184] S32, according to the reflectivity image contrast, the reflectivity image contrast is corrected by a second formula to obtain a perceived reflectivity, wherein the second formula is:
[0185] R p (x, y)=max[0, R(x, y)+1];
[0186] Among them, R p (x, y) represents the perceived reflectance;
[0187] S33, obtaining the perceived illumination according to the perceived reflectivity by using a third formula, wherein the third formula is:
[0188]
[0189] Among them, L p represents the perceived illumination;
[0190] S34, according to the perceived illumination, correct the perceived illumination by using a fourth formula to obtain the perceived illumination, wherein the fourth formula is:
[0191]
[0192] Among them, L m represents the perceived illumination, γ represents the second preset value;
[0193] S35, obtaining an exposure ratio map corresponding to the first target area according to the perceived illumination through a fifth formula, wherein the fifth formula is:
[0194]
[0195] Among them, K represents the exposure ratio map;
[0196] S36, according to the exposure ratio diagram, the image effect of the first target area is enhanced by a sixth formula to obtain a second target area, wherein the sixth formula is:
[0197]
[0198] Among them, I e (x, y) represents the second target area, a represents the third preset value, and b represents the fourth preset value.
[0199] Optionally, the second determining module 204 further includes:
[0200] A grayscale conversion module, used for converting the second target area into a grayscale image;
[0201] A first extraction module, used for extracting a first laser intersection point and a second laser intersection point according to the grayscale image;
[0202] The second extraction module is used to extract the inner edge of the shield shell according to the grayscale image.
[0203] Optionally, the first extraction module extracts the first laser intersection point and the second laser intersection point through a third unit, wherein the third unit is specifically used to:
[0204] S41, according to a preset first threshold, extracting pixels in the grayscale image whose pixels are greater than the first threshold to obtain a plurality of target pixels;
[0205] S42, aggregating each target pixel to form a line segment, thereby obtaining each target line segment;
[0206] S43, acquiring target intersection points between target line segments, where the target intersection points include a first laser intersection point and a second laser intersection point.
[0207] Optionally, the second extraction module extracts the inner edge of the shield shell through a fourth unit, wherein the fourth unit is specifically used to:
[0208] S51, convolving the grayscale image with a preset gradient operator to obtain a convolved image;
[0209] S52, according to a preset second threshold, extracting pixels in the convolution image that are greater than the second threshold to obtain a foreground image;
[0210] S53, extracting a plurality of target edge lines from the foreground image;
[0211] S54, obtaining the slope of each target edge line on the coordinate axis corresponding to the foreground image and the intercept with the Y axis;
[0212] S55, selecting a target edge line with the smallest absolute value of slope and the largest intercept from each target edge line as the inner edge of the shield.
[0213] Optionally, the fourth determining module 206 further includes:
[0214] A parameter acquisition module is used to acquire a fourth distance value between the first laser light source and the second laser light source, a thickness value of the inner wall of the shield shell, a fifth distance value from the first laser intersection point to the inner wall of the shield shell, and a sixth distance value from the second laser intersection point to the inner wall of the shield shell, wherein the fourth distance value represents the straight-line distance between the first laser light source and the second laser light source, the fifth distance value represents the straight-line distance from the first laser intersection point to the inner wall of the shield shell, and the sixth distance value represents the straight-line distance from the second laser intersection point to the inner wall of the shield shell.
[0215] The calculation module is used to determine the tail clearance of the shield machine according to the first distance value, the second distance value, the third distance value, the fourth distance value, the fifth distance value, the sixth distance value and the thickness value by using the seventh formula, wherein the seventh formula is:
[0216] g=I 1 +d 1 -h;
[0217] g=I 2 +d 2 -h;
[0218]
[0219]
[0220] Where g represents the clearance at the tail of the shield machine, P W represents the first distance value, represents the second distance value, represents the third distance value, w represents the fourth distance value, I 1 Represents the fifth distance value, I 2 represents the sixth distance value, h represents the thickness value, d 1 Indicates the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, d 2 Indicates the actual distance from the second laser intersection point to the inner edge of the shield in the field.
[0221] An electronic device according to an embodiment of the present invention comprises a memory, a processor and a program stored in the memory and running on the processor. When the processor executes the program, some or all steps of the above-mentioned shield machine tail gap measurement method are implemented.
[0222] Among them, the electronic device can be a computer, a mobile phone, etc. Correspondingly, its program is a computer software or a mobile phone APP, etc., and the above-mentioned parameters and steps in an electronic device of the present invention can refer to the parameters and steps in the embodiment of a shield machine tail gap measurement method mentioned above, which will not be repeated here.
[0223] Those skilled in the art know that the present invention can be implemented as a device, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, generally referred to as "circuit", "module" or "device" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code. Computer-readable storage media can be, for example, but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, devices or components, or any combination of the above.
[0224] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0225] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A shield machine tail clearance measurement method, characterized in that: The following steps are involved: Acquire an image to be detected, where the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source; According to the image to be detected, a first target area in the image to be detected is determined, wherein the first target area includes a first laser intersection point, a second laser intersection point, and an inner wall of a shield shell, wherein the first laser intersection point represents a first intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell, and the second laser intersection point represents a second intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell; According to the first target area, the first laser intersection point, the second laser intersection point and the inner edge of the shield shell are extracted to obtain a target image, wherein the inner edge of the shield shell represents an edge corresponding to the inner diameter of the inner wall of the shield shell; Determine a first distance value, a second distance value, and a third distance value according to the target image, wherein the first distance value represents a straight-line distance between the first laser intersection point and the second laser intersection point in the target image, the second distance value represents a vertical distance from the first laser intersection point to the inner edge of the shield shell in the target image, and the third distance value represents a vertical distance from the second laser intersection point to the inner edge of the shield shell in the target image; Determine the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value; The method further includes: According to the first target area, enhancing the image effect of the first target area to obtain a second target area; The step of extracting the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the first target area to obtain a target image includes: Converting the second target area into a grayscale image, and extracting the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the grayscale image to obtain a target image; According to the first target area, enhancing the image effect of the first target area to obtain a second target area includes: S31, according to the first target area, obtaining the reflectance image contrast corresponding to the first target area by a first formula, wherein the first formula is: R(x,y)=logI(x,y)-log(I(x,y)*G(x,y)); Wherein, R(x, y) represents the reflectance image contrast, I(x, y) represents the first target area, G(x, y) represents the Gaussian smoothing operator, and σ represents the first preset value; S32, according to the reflectivity image contrast, correct the reflectivity image contrast by a second formula to obtain a perceived reflectivity, wherein the second formula is: R p (x,y)=max[0,R(x,y)+1]; Among them, R p (x,y) represents the perceived reflectivity; S33, obtaining the perceived illumination according to the perceived reflectivity by using a third formula, wherein the third formula is: Among them, L p represents the perceived illumination; S34, according to the perceived illumination, correct the perceived illumination by using a fourth formula to obtain a perceived illumination, wherein the fourth formula is: Among them, L m represents the perceived illumination, γ represents the second preset value; S35, obtaining an exposure ratio map corresponding to the first target area according to the perceived illumination through a fifth formula, wherein the fifth formula is: Among them, K represents the exposure ratio map; S36, according to the exposure ratio map, enhancing the image effect of the first target area by a sixth formula to obtain the second target area, wherein the sixth formula is: Among them, I e (x, y) represents the second target area, a represents the third preset value, and b represents the fourth preset value; The method further includes: Acquire a fourth distance value between the first laser source and the second laser source, a thickness value of the inner wall of the shield shell, a fifth distance value from the first laser intersection to the inner wall of the shield shell, and a sixth distance value from the second laser intersection to the inner wall of the shield shell, wherein the fourth distance value represents the straight-line distance between the first laser source and the second laser source, the fifth distance value represents the straight-line distance from the first laser intersection to the inner wall of the shield shell, and the sixth distance value represents the straight-line distance from the second laser intersection to the inner wall of the shield shell; Determining the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value includes: According to the first distance value, the second distance value, the third distance value, the fourth distance value, the fifth distance value, the sixth distance value and the thickness value, the shield machine tail clearance is determined by the seventh formula, wherein the seventh formula is: g = I1 + d1 - h; g = I2 + d2 - h; Where g represents the clearance at the tail of the shield machine, P W represents the first distance value, Indicates the second distance value represents the third distance value, w represents the fourth distance value, I1 represents the fifth distance value, I2 represents the sixth distance value, h represents the thickness value, d1 represents the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, and d2 represents the actual distance from the second laser intersection point to the inner edge of the shield shell in the field.
2. The method according to claim 1, characterized in that The step of determining a first target area in the image to be detected according to the image to be detected includes: According to the image to be detected, the first target area is determined by a target detection model, wherein the target detection model is obtained by SSD network training.
3. The method according to claim 1, characterized in that: Extracting the first laser intersection point and the second laser intersection point according to the grayscale image includes: S41, according to a preset first threshold, extracting pixels in the grayscale image whose pixels are greater than the first threshold to obtain a plurality of target pixels; S42, aggregating each of the target pixels to form a line segment, to obtain each target line segment; S43, determining target intersection points between the target line segments, wherein the target intersection points include the first laser intersection points and the second laser intersection points.
4. The method according to claim 3, characterized in that: According to the grayscale image, the inner edge of the shield is extracted, including: S51, convolving the grayscale image with a preset gradient operator to obtain a convolved image; S52, according to a preset second threshold, extracting pixels in the convolution image that are greater than the second threshold to obtain a foreground image; S53, extracting a plurality of target edge lines from the foreground image; S54, obtaining the slope of each target edge line on the coordinate axis corresponding to the foreground image and the intercept with the Y axis; S55, selecting a target edge line with the smallest absolute value of slope and the largest intercept from the target edge lines as the inner edge of the shield.
5. A shield machine tail clearance measurement system device, characterized in that: include: An acquisition module, used for acquiring an image to be detected, wherein the image to be detected is an image irradiated on the inner wall of the shield by the first laser source and the second laser source; A first determination module is used to determine a first target area in the image to be detected according to the image to be detected, wherein the first target area includes a first laser intersection point, a second laser intersection point and an inner wall of a shield shell, wherein the first laser intersection point represents a first intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell, and the second laser intersection point represents a second intersection point of the laser emitted by the first laser source and the laser emitted by the second laser source on the inner wall of the shield shell; A second determination module is used to extract the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the first target area to obtain a target image, wherein the inner edge of the shield shell represents an edge corresponding to the inner diameter of the inner wall of the shield shell; A third determination module is used to determine a first distance value, a second distance value and a third distance value according to the target image, wherein the first distance value represents a straight-line distance between the first laser intersection point and the second laser intersection point in the target image, the second distance value represents a vertical distance from the first laser intersection point to the inner edge of the shield shell in the target image, and the third distance value represents a vertical distance from the second laser intersection point to the inner edge of the shield shell in the target image; A fourth determination module, used to determine the tail clearance of the shield machine according to the first distance value, the second distance value and the third distance value; The first determination module (203) further includes: A second target area determination module, configured to enhance the image effect of the first target area according to the first target area to obtain a second target area; The second determination module is specifically used for: Converting the second target area into a grayscale image, and extracting the first laser intersection point, the second laser intersection point and the inner edge of the shield shell according to the grayscale image to obtain a target image; The second target area is determined by the second unit, wherein the second unit is specifically used for: S31, according to the first target area, obtain the reflectance image contrast corresponding to the first target area by using a first formula, wherein the first formula is: R(x,y)=logI(x,y)-log(I(x,y)*G(x,y)); Wherein, R(x, y) represents the reflectance image contrast, I(x, y) represents the first target area, G(x, y) represents the Gaussian smoothing operator, and σ represents the first preset value; S32, according to the reflectivity image contrast, the reflectivity image contrast is corrected by a second formula to obtain a perceived reflectivity, wherein the second formula is: R p (x,y)=max[0,R(x,y)+1]; Among them, R p (x,y) represents the perceived reflectivity; S33, obtaining the perceived illumination according to the perceived reflectivity by using a third formula, wherein the third formula is: Among them, L p represents the perceived illumination; S34, according to the perceived illumination, correct the perceived illumination by using a fourth formula to obtain the perceived illumination, wherein the fourth formula is: Among them, L m represents the perceived illumination, γ represents the second preset value; S35, obtaining an exposure ratio map corresponding to the first target area according to the perceived illumination through a fifth formula, wherein the fifth formula is: Among them, K represents the exposure ratio map; S36, according to the exposure ratio diagram, the image effect of the first target area is enhanced by a sixth formula to obtain a second target area, wherein the sixth formula is: Among them, I e (x, y) represents the second target area, a represents the third preset value, and b represents the fourth preset value; The fourth determination module (206) further includes: A parameter acquisition module, used to acquire a fourth distance value between the first laser source and the second laser source, a thickness value of the inner wall of the shield shell, a fifth distance value from the first laser intersection to the inner wall of the shield shell, and a sixth distance value from the second laser intersection to the inner wall of the shield shell, wherein the fourth distance value represents the straight-line distance between the first laser source and the second laser source, the fifth distance value represents the straight-line distance from the first laser intersection to the inner wall of the shield shell, and the sixth distance value represents the straight-line distance from the second laser intersection to the inner wall of the shield shell; The calculation module is used to determine the tail clearance of the shield machine according to the first distance value, the second distance value, the third distance value, the fourth distance value, the fifth distance value, the sixth distance value and the thickness value by using the seventh formula, wherein the seventh formula is: g = I1 + d1 - g; g = I2 + d2 - h; Where g represents the clearance at the tail of the shield machine, P W represents the first distance value, represents the second distance value, represents the third distance value, w represents the fourth distance value, I1 represents the fifth distance value, I2 represents the sixth distance value, h represents the thickness value, d1 represents the actual distance from the first laser intersection point to the inner edge of the shield shell in the field, and d2 represents the actual distance from the second laser intersection point to the inner edge of the shield shell in the field.
6. An electronic device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of a shield machine tail gap measurement method as described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the steps of a shield machine tail gap measurement method as described in any one of claims 1 to 4.
