A Composite Vision-Based Method for Post-Assembly Dimensional Inspection of Engine Oil Seals

طريقة مركبة قائمة على الرؤية للفحص البُعدي لأختام زيت المحرك بعد التجميع

👤 Yu Li, Jing Zhao, Xingyu Gao, Weiming Li, Rongtong Jin, Guohao Tang, Yang Huang, Shuibiao Chen 📄 Machines, 2025 · Vol. 13, 261 🔗 10.3390/machines13040261 ✓ CC BY 4.0

الملخص

يتسم الفحص اليدوي لأبعاد تجميع أختام زيت المحرك بالبطء والذاتية، ويصعب أتمتة الكشف المباشر عن فروق الارتفاع بعد التجميع. تقترح هذه الورقة طريقة مركبة قائمة على الرؤية للفحص البُعدي بعد التجميع تتيح قياسًا ثلاثي الأبعاد غير تلامسي ومباشر للأختام المركبة على المحرك. تُحصل مراكز القطع الناقص ومحاوره الكبرى/الصغرى بالتطابق التدريجي للقوالب والمربعات الصغرى؛ وبعد التحجيم على المحاور، تُجزأ الصورة بالعتبة بين القمة والوادي إلى قناع منطقة اهتمام حلقي يُبسط الصورة. ثم تحسب تقنية قياس الأطوار بإزاحة الطور رباعية الخطوات ثلاثية الترددات مع خوارزمية RANSAC محسنة لملاءمة المستويات فرق الارتفاع بين الحلقتين الداخلية والخارجية وعمق الكبس بدقة مع رفض المناطق غير المستهدفة. وتُظهر التجارب تفوق الطريقة على القياس اليدوي في السرعة بكثير، بانحرافات نسبية محصورة في 0.33% و1.45%، ومعدل نجاح كشف 96.35% على 1415 عينة، وحل عملي موثوق للمراقبة اللحظية للتجميع بإمكانات صناعية قوية.

1. المقدمة

تُعد أختام زيت المحرك عناصر إحكام حرجة تمنع تسرب الزيت ودخول الغبار؛ وجودة تجميع ختم عمود المرفق تؤثر مباشرة في عمر المحرك وأدائه، فدقة الكشف بعد التجميع حرجة [1]. وتُقاس أربع مناطق من الخارج للداخل — مقعد الختم والحلقة الخارجية المطاطية والحلقة الداخلية المعدنية ونهاية عمود المرفق — بثلاثة ارتفاعات: D1 (نهاية العمود إلى الحلقة الداخلية) وD2 وD3 (المقعد إلى الحلقة الخارجية). ومع ذلك ما يزال فحص ما بعد التجميع يعتمد على القياس اليدوي التلامسي البطيء الذاتي الأخطاء. وتستهدف معظم أعمال الأختام الجودة قبل التجميع — الإحكام الهيكلي ونتوءات الحلقة [2] والاستدارة [3] وخدوش السطح [4] — أو التحليل التصميمي كتحسين التسرب بالعناصر المحددة وديناميكا الموائع [1] وتشخيصات أختام العمود [5]، بينما يعالج التجميع بالعنقدة الإنتروبية والفروق الحلقية [6] وكشف العيوب بمعالجة الصور [7، 8] الأختام غير المجمعة أيضًا.

تحفز منهجيات الضوء الهيكلي ثلاثية الأبعاد (مداس الإطارات [11] وفجوات جلد الطائرات [12] وفجوات أبواب المقصورة [14] وتجاويف لوحة القيادة [17] ومخاريط كابلات الجهد [16] وارتخاء البراغي [15]) نهجًا مركبًا يدمج استخراج منطقة الاهتمام مع قياس الأطوار بإزاحة الطور [18، 19] وفك الالتفاف متعدد الترددات [20] ومطابقة القوالب [22، 23] والمعايرة [24، 25]. وإسهام الورقة هو خط متكامل مباشر — مطابقة تدريجية للقوالب وتقنيع حلقي لمنطقة الاهتمام وإعادة بناء ثلاثية الأبعاد بإزاحة الطور وملاءمة مستويات RANSAC معدلة — مُتحقق منه مقابل اليدوي والبدائل على خط محركات حقيقي.

2. المبدأ

2.1. أساسيات قياس الأطوار بإزاحة الطور

قياس الأطوار بإزاحة الطور (PSP) طريقة ضوء هيكلي فعّالة [18، 19]: تُسقط أنماط هامشية جيبية على سطح الختم فتتشوه بتضاريسه وتلتقطها كاميرا CCD؛ ويستعيد فك التضمين الطور، ويعطي تحويل الطور-إلى-ارتفاع الإحداثيات ثلاثية الأبعاد (الشكل 2). ومقارنة بقياس فورييه والتموج والتداخل الضوئي الأبيض والليزر زمن الطيران، يوفر PSP دقة ومتانة أعلى — بكلفة إسقاطات متعددة يُحسنها مخطط الترددات الثلاثة والخطوات الأربع للسرعة.

2.2. مطابقة القوالب التدريجية المتعددة

يبدأ التموضع الدقيق للحلقتين بالمطابقة التدريجية للقوالب [22، 23]: مطابقة من الخشن للدقيق عبر المقاييس والتدوير تجد الختم، وملاءمة القطع الناقص بالمربعات الصغرى تستخرج المركز والمحاور، والتوسيع المتحجم محوريًا يحدد الحلقة، والعتبة بين القمة والوادي تجزئ قناع المنطقة الحلقية — كابتة الخلفية والمناطق غير المستهدفة قبل إعادة البناء. وتُسترشد تنقيحات الملاءمة بسمات حواف المنطقة [21] وتحليل الشكل بالمكونات الرئيسية [26].

2.3. إعادة البناء الثلاثي المركب مع RANSAC المعدلة

يفك مخطط إزاحة الطور ثلاثي الترددات رباعي الخطوات الطور المطلق دون التباس [18، 20]، منتجًا سحب نقاط كثيفة لداخل مبيت الحدافة؛ وتتبع معايرة المسقط منهجيات تحويل الطور [25] مع طريقة تشانغ المرنة [24] كمرجع. ثم تلائم خوارزمية RANSAC المحسنة مستويات مناطق الاهتمام الأربع بمتانة — مُخفضة وزن القيم الشاذة من الانعكاسات والاحتجابات — ويعطي حساب المسافة بين المستويات الملاءمة D1/D2/D3 وعمق الكبس، مع تنقيحات دون البكسل مستوحاة من التعرف على البصمات بالضوء الهيكلي [27].

3. التجارب والنتائج

3.1. إعداد التجربة

رُتبت الحساسات (مسقط وكاميرات لوحية) على خط تجميع المحركات: تُسقط خريطة بلا هامش و12 خريطة هامشية (ثلاثة ترددات × أربع خطوات) لكل فحص؛ وتكتمل إعادة البناء الثلاثية الكاملة لداخل مبيت الحدافة في 17.655 ثانية بـ118,001 نقطة. وبما أن محور الكاميرا لا يبقى عموديًا تمامًا على السطح، تميل السحابة الخام عن مستوي XOY — مما يبرر نهج ملاءمة المستويات بدل المقاطع.

3.2. تحليل القياس ومقارنة الطرق

مقابل ثلاثة بدائل [14، 15، 27]، تتفوق الطريقة المقترحة حاسمًا (الشكل 11): فتقاطع المقطع في الطريقة I [14] يفشل حيث الفروق التدرجية صغيرة والنقاط المتناثرة تضخم أخطاء الارتفاع المحلية؛ والترشيح المباشر في الطريقة II [27] لا يفصل الهدف عن سحب التداخل المتداخلة ارتفاعًا ومكانًا؛ وملاءمة المستوى للعنقود الغالب ثم التدوير للتوازي مع XOY تُبقي انحيازًا متبقيًا. وحدها الخط المركب — قناع المنطقة الحلقية مع RANSAC المعدلة — يعزل المناطق الأربع بنظافة، مُبقيًا الانحرافات النسبية لفرق الارتفاع وعمق الكبس ضمن 0.33% و1.45% على 1415 عينة بنسبة نجاح 96.35%.

4. المناقشة والاستنتاجات

تتفوق طريقة الرؤية المركبة لفحص أختام الزيت بعد التجميع — المطابقة التدريجية للقوالب للمنطقة الحلقية وإزاحة الطور ثلاثية الترددات للإعمار وRANSAC المعدلة لملاءمة المستويات — على القياس اليدوي في السرعة بكثير مع تلبية متطلبات التكرارية والموثوقية: فانحرافات فرق الارتفاع وعمق الانضغاط المقاسة ضمن 0.3323% و1.4461%، والقياس الآلي على 1415 وحدة يبلغ نجاح 98.16% مقابل تفاوت تجميع 0.2 مم، مما يثبت موثوقية الخط الحقيقي. وتبقى قيود: فالحساسات عالية الدقة والحوسبة الثقيلة ترفع التكاليف على المنشآت الصغيرة/المتوسطة، والإضاءة القاسية أو الأسطح المعقدة (كاختلاف المعاملات الحرارية) قد تسبب عدم تطابق.

ستخفض الأعمال المستقبلية التكاليف بمساقط أصغر وكاميرات لوحية، وتُقصر الحوسبة عبر التوازي/الخطية لتحسين المنطقة مع إعادة بناء المناطق الأربع معًا، وتضيف تعويض الإضاءة والتكيف البيئي (كإزالة فرط التعرض بشرائط متعددة التعريض)، وتدمج الذكاء الاصطناعي/تعلم الآلة للتجزئة الدقيقة لمنطقة الختم [4] — موسعة الفحص الكفء الموثوق لسيناريوهات صناعية أوسع.

Abstract

Manual inspection of engine oil-seal assembly dimensions is slow and subjective, and automating online detection of post-assembly height discrepancies is difficult. This paper proposes a composite vision-based method for post-assembly dimensional inspection enabling non-contact, online three-dimensional measurement of oil seals already installed on the engine. Center points and major/minor axes are obtained by ellipse fitting with progressive template matching and least squares; after scaling along the axes, the image is segmented by peak–valley thresholding into an annular ROI mask that reduces complexity. Three-frequency four-step phase-shifting profilometry with an improved RANSAC plane-fitting algorithm then accurately computes inner/outer-ring height difference and press-in depth while rejecting non-target regions. Experiments show the method far outperforms manual measurement in speed, with relative deviations of height difference and press-in depth confined within 0.33% and 1.45%, a 96.35% detection success rate over 1415 samples, and a practical, reliable solution for real-time assembly monitoring with strong industrial potential.

1. Introduction

Engine oil seals are critical mechanical seals preventing oil leakage and dust ingress; crankshaft-seal assembly quality directly affects engine life and performance, so post-assembly detection accuracy is critical [1]. Four zones are measured from outside in — oil-seal seat, rubber outer ring, metal inner ring, crankshaft end — with three heights D1 (crankshaft end to inner ring), D2 and D3 (seat to outer ring). Yet post-assembly inspection still relies on contact-based manual measurement with long inspection times and large subjective errors. Most existing oil-seal work targets pre-assembly quality — structural sealing, outer-ring burrs [2], roundness [3], surface scratches [4] — or design-stage analysis such as Park et al.'s finite-element/CFD leakage optimization [1] and Bzura et al.'s crankshaft-seal diagnostics [5], while entropy-rate clustering and ring-band differencing [6] and image-processing defect detection [7, 8] likewise address unassembled seals.

Structured-light 3D methods (tire tread [11], aircraft skin gaps [12], cabin-door gaps [14], dashboard concavities [17], HV-cable cones [16], bolt loosening [15]) motivate a composite approach fusing ROI extraction with phase-shifting profilometry [18, 19] and multi-frequency unwrapping [20], template matching [22, 23] and calibration [24, 25]. The paper's contribution is a full online pipeline — progressive template matching, annular ROI masking, three-frequency four-step PSP reconstruction, and modified-RANSAC plane fitting — validated against manual and alternative methods on a real engine line.

2. Principle

2.1. Basics of phase-shifting profilometry

Phase-shifting profilometry (PSP) is an active structured-light method [18, 19]: sinusoidal/cosinusoidal fringe patterns are projected onto the seal surface, deform with its topography, and are captured by a CCD camera; demodulation recovers phase, phase-to-height mapping yields 3D coordinates (Figure 2). Versus Fourier-transform profilometry, moiré, white-light interferometry and ToF laser ranging, PSP offers superior accuracy and robustness — at the cost of multiple pattern projections, which the three-frequency four-step scheme optimizes for speed.

2.2. Multiple progressive template matching

Accurate inner/outer-ring localization starts with progressive template matching [22, 23]: coarse-to-fine matching over scales and rotations finds the seal, least-squares ellipse fitting extracts center and axes, axis-scaled expansion defines the annulus, and peak–valley thresholding segments the annular ROI mask — suppressing background and non-target regions before reconstruction. ROI edge line features [21] and PCA shape analysis [26] inform the fitting refinements.

2.3. Composite 3D reconstruction with modified RANSAC

Three-frequency four-step phase shifting unwraps absolute phase without ambiguity [18, 20], producing dense point clouds of the flywheel-housing interior; projector calibration follows phase-mapping methods [25] with Zhang's flexible technique [24] as reference. The improved RANSAC plane-fitting algorithm then fits the four ROI region planes robustly — down-weighting outliers from reflections and occlusions — and distance calculation between fitted planes yields D1/D2/D3 and the press-in depth, with fingerprint-recognition structured-light refinements [27] informing sub-pixel handling.

3. Experiments and Results

3.1. Experimental setup

Sensors (projector plus board-level cameras) are arranged on the engine assembly line: one fringe-free map and 12 three-frequency four-step fringe maps are projected per inspection; full 3D reconstruction of the flywheel-housing interior completes in 17.655 s with 118,001 points. Because the camera axis cannot stay perfectly normal to the surface, the raw cloud tilts off the XOY plane — motivating the plane-fitting (rather than cross-section) approach.

3.2. Measurement analysis and method comparison

Against three alternatives [14, 15, 27], the proposed method wins decisively (Figure 11): Method I's cross-section intersection [14] fails where gradient differences are small and sparse points inflate local height errors; Method II's straight pass-through filtering [27] cannot separate target from interference clouds overlapping in height and space; plane-fitting the dominant cluster then rotating to XOY-parallel still leaves residual bias. Only the composite pipeline — annular ROI mask plus modified RANSAC — isolates all four regions cleanly, holding relative deviations of height difference and press-in depth within 0.33% and 1.45% across 1415 samples at 96.35% success.

4. Discussion and Conclusions

The composite vision method for post-assembly oil-seal inspection — progressive template matching for the annular ROI, three-frequency four-step phase shifting for reconstruction, modified RANSAC for plane fitting — far exceeds manual measurement in speed while meeting repeatability and reliability demands: measured height-difference and compression-depth deviations lie within 0.3323% and 1.4461%, and automatic measurement over 1415 units reaches 98.16% success against the 0.2 mm assembly tolerance, proving real-line reliability. Limitations remain: high-precision sensors and heavy computation raise costs for small/medium enterprises, and extreme lighting or complex workpiece surfaces (e.g., differing heat treatments) can cause mismatch.

Future work will cut costs with smaller projectors and board-level cameras, shorten compute via parallel/linear ROI optimization with simultaneous four-region rebuilding, add light-compensation and environmental adaptation (e.g., multi-exposure stripe removal of overexposure), and incorporate AI/ML for precise seal-area segmentation [4] — extending efficient, reliable inspection to broader industrial scenarios.

References

  1. [1] Park, W. et al. Oil-Sealing Performance Evaluation of Labyrinth Seal. Lubricants 2023, 11, 400.
  2. [2] Jiang, L.; Zhang, X. Inspection algorithm based on Gaussian filtering for oil seal spring. Opt. Eng. 2014, 53, 102–108.
  3. [3] Wu, Z.J. et al. An Online Visual Inspection System for Oil-Seal Dimension. Appl. Mech. Mater. 2012, 130–134, 3548–3552.
  4. [4] Xia, G.F.; Yu, Z.L. Oil Seal Defect Detection Method Based on Deep Learning. J. Mech. Electr. Eng. 2023, 40, 69–75.
  5. [5] Bzura, P. Diagnostic Model of Crankshaft Seals. Pol. Marit. Res. 2019, 26, 39–46.
  6. [6] Liu, J. et al. Oil seal defect detection based on entropy rate clustering and ring-band differencing. Modul. Mach. Tool 2018, 8, 90–92.
  7. [7] Zhang, G. et al. Image processing in oil seal defect detection. Inf. Technol. Informat. 2020, 11, 72–73.
  8. [8] Shi, L.; Yu, Z.L. Oil seal defect detection based on image processing. J. Changchun Univ. Sci. Technol. 2021, 44, 48–54.
  9. [9] Del Olmo, A. et al. Tool wear monitoring of high-speed broaching. Mech. Syst. Signal Process. 2022, 172, 109003.
  10. [10] Aldekoa, I. et al. Early detection of tool wear in electromechanical broaching machines. Mech. Syst. Signal Process. 2023, 204, 110773.
  11. [11] Xu, L.; Pang, M. Tire tread depth measurement based on structured light. Laser J. 2022, 43, 179–183.
  12. [12] Xu, D.S.; Du, F.Z. Gap and step measurement of aircraft skin seams based on line structured light. Aerosp. Manuf. Technol. 2017, 5, 77–81.
  13. [13] Yu, S. et al. Depth Measurement Error Analysis of Structured Light Depth Imager. Photonics 2024, 11, 396.
  14. [14] Zhao, H. et al. Aircraft cabin door gap measurement based on planar structured light. Sci. Technol. Eng. 2024, 24, 1045–1051.
  15. [15] Li, S.Y. et al. Bolt loosening angle measurement based on 3D point cloud. Automat. Constr. 2024, 168, 105785.
  16. [16] Zheng, Z.H. et al. Dimensional measurement of anti-stress cone of HV cable joints based on 3D point cloud. Meas. Sci. Technol. 2023, 34, 115009.
  17. [17] Wang, C.Y. et al. Measurement of concave polygon of automotive dashboard based on planar structured light. J. Appl. Opt. 2023, 43, 143–149.
  18. [18] Wang, J. et al. Noise-induced phase error comparison in multi-frequency phase-shifting profilometry. Opt. Laser Technol. 2023, 159, 109034.
  19. [19] Yan, H. et al. Microscopic fringe projection profilometry: A review. Opt. Lasers Eng. 2020, 135, 106192.
  20. [20] Tomislav, P. et al. Selection of optimal frequencies in multiple-frequency fringe projection profilometry. Opt. Lasers Eng. 2023, 163, 107455.
  21. [21] Duan, S.S. ROI edge image straight line feature for belt deviation detection. China Min. Mag. 2024, 33, 162–167.
  22. [22] Han, Y. Reliable Template Matching for Image Detection in Vision Sensor Systems. Sensors 2021, 21, 8176.
  23. [23] Wang, S.C. et al. Automatic laser profile recognition and fast tracking using deep learning and template matching. Measurement 2021, 169, 108362.
  24. [24] Zhang, Z.Y. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334.
  25. [25] Liu, Y. et al. Improved Projector Calibration by Phase Mapping Based on Fringe Projection Profilometry. Sensors 2023, 23, 1142.
  26. [26] Shui, W.Y. et al. A PCA-Based method for craniofacial relationship and sexual dimorphism. Comput. Biol. Med. 2017, 90, 33–49.
  27. [27] Huang, J. et al. Fingerprint Precision Recognition Based on Structured Light. J. Appl. Opt. 2025, in press.