Line-Features-Based Pose Estimation Method for the Disc Cutter Holder of Shield Machine
Abstract
:1. Introduction
2. Introduction to Hardware Framework
3. Proposed Method
3.1. Rounded Edge Model
3.1.1. Strongly Illuminated Edge Model
3.1.2. Weakly Illuminated Edge Model
3.1.3. Edge Search Box
3.2. Edge Search Box Generation Method Based on Improved Region Growing
3.3. RANSAC Linear Fitting Algorithm Based on Preprocessing
- A.
- Continuity Processing
- B.
- Linearity Processing
- C.
- Co-linear Processing
4. Simulation for Pose Calculation Algorithms
5. Experimental Results
5.1. Line Detection Experiment
5.2. Accuracy Verification Experiment
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Conflicts of Interest
References
- Li, L.P.; Sun, S.Q.; Wang, J.; Song, S.G.; Fang, Z.D.; Zhang, M.G. Development of compound EPB shield model test system for studying the water inrushes in karst regions. Tunn. Undergr. Space Technol. 2020, 101, 103404. [Google Scholar] [CrossRef]
- Shen, X.; Chen, X.; Fu, Y.; Cao, C.; Yuan, D.; Li, X.; Xiao, Y. Prediction and analysis of slurry shield TBM disc cutter wear and its application in cutter change time. Wear 2022, 498, 204314. [Google Scholar] [CrossRef]
- Wang, Z.; Liu, C.; Jiang, Y.; Dong, L.; Wang, S. Study on Wear Prediction of Shield Disc Cutter in Hard Rock and Its Application. KSCE J. Civ. Eng. 2022, 26, 1439–1450. [Google Scholar] [CrossRef]
- Copur, H.; Cinar, M.; Okten, G.; Bilgin, N. A case study on the methane explosion in the excavation chamber of an EPB-TBM and lessons learnt including some recent accidents. Tunn. Undergr. Space Technol. 2012, 27, 159–167. [Google Scholar] [CrossRef]
- Du, L.; Yuan, J.; Bao, S.; Guan, R.; Wan, W. Robotic replacement for disc cutters in tunnel boring machines. Autom. Constr. 2022, 140, 104369. [Google Scholar] [CrossRef]
- Yuan, J.; Guan, R.; Guo, D.; Lai, J.; Du, L. Discussion on the Robotic Approach of Disc Cutter Replacement for Shield Machine. In Proceedings of the IEEE International Conference on Real-time Computing and Robotics (IEEE-RCAR), Electr Network, Hokkaido, Japan, 28–29 September 2020; pp. 204–209. [Google Scholar]
- Jiang, J.; Wu, F.; Zhang, P.; Wang, F.; Yang, Y. Pose Estimation of Automatic Battery-Replacement System Based on ORB and Improved Keypoints Matching Method. Appl. Sci. 2019, 9, 237. [Google Scholar] [CrossRef] [Green Version]
- Zhang, Z.M.; Zhang, S.H.; Li, Q. Robust and Accurate Vision-Based Pose Estimation Algorithm Based on Four Coplanar Feature Points. Sensors 2016, 16, 2173. [Google Scholar] [CrossRef] [Green Version]
- Zhou, K.; Huang, X.; Li, S.G.; Li, H.Y.; Kong, S.J. 6-D pose estimation method for large gear structure assembly using monocular vision. Measurement 2021, 183, 109854. [Google Scholar] [CrossRef]
- Teng, X.; Yu, Q.; Luo, J.; Wang, G.; Zhang, X. Aircraft Pose Estimation Based on Geometry Structure Features and Line Correspondences. Sensors 2019, 19, 2165. [Google Scholar] [CrossRef] [Green Version]
- Zhang, Y.Q.; Li, X.; Liu, H.B.; Shang, Y.; Yu, Q.F. Pose optimization based on integral of the distance between line segments. Sci. China-Technol. Sci. 2016, 59, 135–148. [Google Scholar] [CrossRef]
- Von Gioi, R.G.; Jakubowicz, J.; Morel, J.M.; Randall, G. LSD: A Fast Line Segment Detector with a False Detection Control. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 722–732. [Google Scholar] [CrossRef]
- Cho, N.G.; Yuille, A.; Lee, S.W. A Novel Linelet-Based Representation for Line Segment Detection. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 1195–1208. [Google Scholar] [CrossRef]
- Duda, R.O.; Hart, P.E. Use of Hough Transformation to Detect Lines and Curves in Pictures. Commun. ACM 1972, 15, 11–15. [Google Scholar] [CrossRef]
- Canny, J. A computational approach to edge detection. In Readings in Computer Vision; Fischler, M.A., Firschein, O., Eds.; Morgan Kaufmann: San Francisco, CA, USA, 1987; pp. 184–203. [Google Scholar]
- Qu, Z.G.; Wang, P.; Gao, Y.H.; Wang, P.; Shen, Z.K. Fast SUSAN edge detector by adapting step-size. Optik 2013, 124, 747–750. [Google Scholar] [CrossRef]
- Wan, S.Y.; Higgins, W.E. Symmetric region growing. IEEE Trans. Image Process. 2003, 12, 1007–1015. [Google Scholar]
- Jma, B.; Cg, C.; Jk, C.J.C.V.; Understanding, I. Robust Detection of Lines Using the Progressive Probabilistic Hough Transform–ScienceDirect. Comput. Vis. 2000, 78, 119–137. [Google Scholar]
- Akinlar, C.; Topal, C. EDLines: A real-time line segment detector with a false detection control. Pattern Recognit. Lett. 2011, 32, 1633–1642. [Google Scholar] [CrossRef]
- Lu, X.H.; Yao, J.; Li, K.; Li, L. Cannylines: A Parameter-Free Line Segment Detector. In Proceedings of the IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada, 27–30 September 2015; pp. 507–511. [Google Scholar]
- Fischler, M.A.; Bolles, R.C. Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography–ScienceDirect. Read. Comput. Vis. 1987, 726–740. [Google Scholar] [CrossRef]
- Zheng, Y.Q.; Sugimoto, S.; Okutomit, M. ASPnP: An Accurate and Scalable Solution to the Perspective-n-Point Problem. IEICE Trans. Inf. Syst. 2013, E96D, 1525–1535. [Google Scholar] [CrossRef] [Green Version]
- Zheng, Y.Q.; Kuang, Y.B.; Sugimoto, S.; Astrom, K.; Okutomi, M. Revisiting the PnP Problem: A Fast, General and Optimal Solution. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Sydney, Australia, 1–8 December 2013; pp. 2344–2351. [Google Scholar]
- Wang, P.; Xu, G.L.; Cheng, Y.H.; Yu, Q.D. A simple, robust and fast method for the perspective-n-point Problem. Pattern Recognit. Lett. 2018, 108, 31–37. [Google Scholar] [CrossRef]
- Gong, X.R.; Lv, Y.W.; Xu, X.P.; Wang, Y.X.; Li, M.D. Pose Estimation of Omnidirectional Camera with Improved EPnP Algorithm. Sensors 2021, 21, 4008. [Google Scholar] [CrossRef] [PubMed]
- Wang, P.; Chou, Y.X.; An, A.M.; Xu, G.L. Solving the PnL problem using the hidden variable method: An accurate and efficient solution. Vis. Comput. 2022, 38, 95–106. [Google Scholar] [CrossRef]
- Zhou, L.P.; Koppel, D.; Kaess, M. A Complete, Accurate and Efficient Solution for the Perspective-N-Line Problem. IEEE Robot. Autom. Lett. 2021, 6, 699–706. [Google Scholar] [CrossRef]
- Pribyl, B.; Zemcik, P.; Cadik, M. Absolute pose estimation from line correspondences using direct linear transformation. Comput. Vis. Image Underst. 2017, 161, 130–144. [Google Scholar] [CrossRef] [Green Version]
- Peng, D.D.; Zhu, G.L.; Xie, Z.; Liu, R.; Zhang, D.L. An Improved Monocular-Vision-Based Method for the Pose Measurement of the Disc Cutter Holder of Shield Machine. In Proceedings of the 14th International Conference on Intelligent Robotics and Applications (ICIRA), Yantai, China, 22–25 October 2021; pp. 678–687. [Google Scholar]
- Peng, D.D.; Zhu, G.L.; Zhang, D.L.; Xie, Z.; Liu, R.; Hu, J.L.; Liu, Y. Pose Determination of the Disc Cutter Holder of Shield Machine Based on Monocular Vision. Sensors 2022, 22, 467. [Google Scholar] [CrossRef]
Input: | The grayscale image of the disc cutter holder |
Step1: | Set the image center point to the seed and add it to the sequence to be grown. |
Step2: | Take a point from and calculate the mean gray value of a square pixel area centered on . The growth threshold at is set as |
Step3: | Repeat Step (2) if there are remaining points in . |
Step4: | After the growth is completed, mark all points in as 1 and other points as 0 in a new binary image to reach a background binary image. |
Step5: | Extracts the outer contour of the background binary image, which is the inner contour edge of the disc cutter holder |
Output: | The inner contour edge of the disc cutter holder |
Input: | The inner contour edge of the disc cutter holder |
Step1: | For each edge point in the inner contour, calculate the sum of the absolute values of the gradient difference in the X direction as: |
Step2: | Set a distance threshold and a count threshold . If the number of edge points between two edge segments in the same direction is less than , as the same edge segment is considered, all edge segments are retained containing more edge points than . |
Step3: | Take the leftmost vertical edge section as the starting mark, and mark all the edge sections as the corresponding edge of the disc cutter holder in order. |
Step4: | For each edge of the disc cutter holder, calculate the rectangle that can completely wrap it, and then expand the shorter side of the rectangle three times to generate the edge search box. |
Output: | The edge search box of each edge. |
Input: | The sequence of edge points . |
Step1: | Calculate the sequence value difference between each edge point and the previous edge point as follows: |
Step2: | For each point in , judge whether its absolute value exceeds the given difference threshold . If , determine it as a mutation point , and the edge points between two mutation points and form a continuous interval of edge points . The set of all continuous intervals is denoted as . |
Step3: | For each continuous interval in , calculate the interval length of as , and determine whether the number of edge points included in exceeds the given length threshold . If , remove from . Finally, we can obtain a set of continuous intervals that satisfy the length requirement. |
Output: | The set of continuous intervals . |
Input: | The set of continuous intervals . |
Step1: | For each in , perform linear fitting by least squares with the sequence number of each edge point as and the sequence value as . |
Step2: | Calculate the mean square error () of the residual of the fitted straight line from each point in as |
Step3: | Judge whether exceeds the threshold , and if , remove from . The lastly retained is denoted as the set of linear intervals . |
Output: | The set of continuous intervals . |
Input: | The set of continuous intervals . |
Step1: | Calculate the “Line Segment Distance” for every two linear intervals as shown in Figure 12. We define “Line Segment Distance” as the minimum distance between two parallel lines that completely contain two line segments. In practice, the linear interval is approximated as the line segment represented by the two endpoints. For example, note that and are the endpoints of a line segment , and note that and are the endpoints of another line segment . If form a quadrilateral , is the distance from to the line , is the distance from to the line , the minimum distance of the line and its parallel line which can completely envelop two line segments can be written as . Similarly, we can obtain the minimum distance between lines and there corresponding parallel lines that can completely envelop the line segment and . Thus, we can obtain the line segment distance between and as . |
Step2: | If the line segment distance between two linear intervals is less than the threshold value , the two linear intervals are considered to have a common line relationship and are retained, and the linear interval that does not have a co-linear relationship is deleted from . Retain the longest interval if the line segment of all linear interval pairs is greater than the threshold value. Save all edge points corresponding to linear intervals in as a good set of edge points . |
Output: | The good edge point set . |
Method | Iteration Time (ms) | Fitting Error (pixel) |
---|---|---|
RANSAC line fitting | 38.251 | 0.482 |
RANSAC line fitting with pre-processing | 8.810 | 0.408 |
Step1: | Complete the calibration of the intrinsic matrix of the camera before the experiment. |
Step2: | Randomly move the robot equipped with the vision measurement system to a certain pose within the pose range to be measured. |
Step3: | Place the target ball on the hole of the calibration plate at six different positions within the field of view. Measure the coordinates of the target ball center in the laser tracker coordinate system and the coordinates of the calibration plate in the camera coordinate system, respectively. |
Step4: | Calculate the conversion matrix between the camera coordinate system and the laser tracker coordinate system in the measurement system. Calculate the transformation matrix between the disc cutter holder coordinate system and the camera coordinate system. |
Step5: | Repeat the step1—step4 to obtain the coordinate system transformation matrix under the second pose of the robot. |
Step6: | Calculate the theoretical transformation matrix between the disc cutter holder coordinate system and the camera coordinate system under the second pose of the robot, and calculate the difference between the poses and corresponding to and as the measurement error. |
Method | α-Error (°) | β-Error (°) | γ-Error (°) | x-Error (mm) | y-Error (mm) | z-Error (mm) | Runtime (s) |
---|---|---|---|---|---|---|---|
Our proposed method | 0.336 | 0.291 | 0.032 | 0.711 | 0.704 | 0.882 | 1.309 |
Conventional processing | 0.925 | 0.848 | 0.230 | 1.735 | 1.328 | 0.976 | 1.858 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Xie, Z.; Zhu, G.; Zhang, D.; Peng, D.; Hu, J.; Sun, Y. Line-Features-Based Pose Estimation Method for the Disc Cutter Holder of Shield Machine. Sensors 2023, 23, 1536. https://doi.org/10.3390/s23031536
Xie Z, Zhu G, Zhang D, Peng D, Hu J, Sun Y. Line-Features-Based Pose Estimation Method for the Disc Cutter Holder of Shield Machine. Sensors. 2023; 23(3):1536. https://doi.org/10.3390/s23031536
Chicago/Turabian StyleXie, Zhe, Guoli Zhu, Dailin Zhang, Dandan Peng, Jinlong Hu, and Yueyu Sun. 2023. "Line-Features-Based Pose Estimation Method for the Disc Cutter Holder of Shield Machine" Sensors 23, no. 3: 1536. https://doi.org/10.3390/s23031536