Submitted:
15 September 2025
Posted:
17 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Gradient-free search: PSO operates without derivatives, suitable for noisy, piecewise-constant objective functions defined over intervals.
Contributions
- (i)
- A mathematical formulation of curvature-based recognition as a discrete constrained optimization problem in space under ISO 1101.
- (ii)
- An adaptive discrete PSO algorithm with feasibility-preserving projection, adaptive inertia, and stratified updates.
- (iii)
- Theoretical analysis of feasibility preservation, noise-bounded separability, and mean-field convergence of the swarm.
- (iv)
- A reproducible simulation framework on synthetic plane, sphere, cylinder, and cone datasets, comparing analytic baselines, random search, and PSO-optimized classifiers.
2. Background and Related Work
2.1. Automatic Metrology for ZDM
2.2. Curvature Signatures and Tolerancing
2.3. PSO for Discrete, Constraint-Rich Search
3. Problem Formulation, Mathematical Core
3.1. Curvature Estimators
Analytic Signatures
3.2. Curvature-Rule Classifier and Constraints
Feasible Set
3.3. Objective, Fitness and Optimization Goal
3.4. Discrete PSO Representation and Updates
3.5. Assumptions
- (A1)
- Bounded curvature estimation error. For each sampled point , the estimated curvatures satisfywhere are the analytic values on the ideal surface and is a known noise bound.
- (A2)
- Analytic separability. Ideal signatures of different classes in are separated by a positive margin , i.e.,
- (A3)
- (A4)
- (A5)
3.6. New Coupling Constraint and Repair Optimality
Curvature Coupling
Repair as Euclidean Projection
3.7. Generalization Capacity of Rectangular Curvature Rules
3.8. Feasibility preservation and separability
4. Algorithm: Discrete PSO for Curvature Rules
| Algorithm 1:Discrete PSO for Curvature-Rule Optimization |
|

5. Simulation Study
5.1. Data Generation
5.2. Evaluation Protocol
- 1.
- Analytic rules: thresholds derived from nominal curvature signatures (Eqs. (9)–()), aligned with ISO 1101 tolerances.
- 2.
- Random search: 1000 feasible decision rules sampled uniformly within physical bounds.
- 3.
- PSO-optimized rules: Algorithm 1 with swarm size , up to iterations, inertia , and acceleration coefficients , within the stability region [15].
5.3. Results and analysis
5.4. Visualization
- (a) Combined K–H signatures with ideal analytic markers, highlighting class separation.
- (b) Per-geometry scatter grids for plane, sphere, cylinder, and cone, enabling fine-grained inspection.
- (c) Accuracy across methods and noise levels, with error bars reflecting trial variability and aligning with Table 2.
- (d) Convergence of PSO fitness across iterations, averaged over three trials per .
6. Discussion
6.1. Advantages and Contributions
- (a)
- Noise-robust classification. Analytic rules achieved near-perfect accuracy in the noise-free regime but deteriorated rapidly once . In contrast, PSO-optimized rules maintained accuracy above even at (Table 2, Fig. Figure 2c), showing adaptability to perturbations typical of optical or CT-based metrology.
- (b)
- Constraint-aware optimization. Embedding ISO 1101 tolerancing and feasibility-preserving repairs into the PSO search ensured that candidate solutions remained interpretable and standard-compliant. This feature parallels recent successes of constraint-aware PSO in algebraic coding theory [13].
- (c)
- Transparency and interpretability. Unlike black-box learning methods, the optimized rules remain human-readable as curvature intervals. This aligns with industrial requirements for traceability, where decision boundaries must be justified under tolerancing standards.
- (d)
- Transferability of methodology. The framework demonstrates how concepts from differential geometry, stochastic optimization, and metrology can be unified. The analogy to MRD code construction highlights the broader applicability of discrete PSO in structured, constraint-rich domains.
6.2. Limitations
- (a)
- Computational cost. Evaluating fitness requires curvature estimation across dense point clouds. While feasible in simulation, real industrial datasets may impose heavier computational demands, particularly in high-resolution CT or full-field optical scans.
- (b)
- Restricted geometry set. The present study considers only the four classical EFGs (plane, sphere, cylinder, cone). More complex primitives (e.g., tori, ruled surfaces, freeform patches) are not yet addressed, limiting applicability in advanced manufacturing scenarios.
- (c)
- Finite trial coverage for PSO. Due to runtime constraints, PSO was simulated on fewer trials (5 for accuracy, 3 for convergence curves) than analytic or random search (20 trials). While trends are clear, full statistical parity remains to be explored.
- (d)
- Simplified noise model. Gaussian noise was adopted for simulation, but real measurement systems exhibit structured errors (surface reflectivity, occlusion, calibration bias) that may affect performance differently.
6.3. Future Directions
- (a)
- Scaling to richer geometry classes. Extending the optimization to non-developable and freeform surfaces, possibly using higher-dimensional curvature descriptors or tensor invariants.
- (b)
- Hybrid optimization. Combining PSO with evolutionary strategies, surrogate models, or reinforcement learning to accelerate convergence in high-dimensional decision spaces.
- (c)
- Integration with industrial data. Validating the framework on real datasets from coordinate metrology, optical scanners, or CT systems to benchmark industrial robustness beyond Gaussian perturbations.
- (d)
- Parallel and hierarchical strategies. Leveraging GPU parallelization or coarse-to-fine interval refinement to address computational costs in dense datasets.
- (e)
- Towards adaptive metrology pipelines. Embedding PSO-driven classifiers into Metrology 4.0 digital twin architectures for real-time feedback and adaptive defect prevention.
6.4. Overall Perspective
7. Conclusions
References
- Cascón-Morán, I.; Gómez, M.; Fernández, D.; Gil Del Val, A.; Alberdi, N.; González, H. Towards Zero-Defect Manufacturing Based on Artificial Intelligence through the Correlation of Forces in 5-Axis Milling Process. Machines 2024, 12. [Google Scholar] [CrossRef]
- Psarommatis, F.; May, G.; Azamfirei, V. Zero Defect Manufacturing in 2024: A Holistic Literature Review for Bridging the Gaps and Forward Outlook. International Journal of Production Research, 2024; 1–37. [Google Scholar] [CrossRef]
- Dreyfus, P.; Psarommatis, F.; May, G.; Kiritsis, D. Virtual Metrology as an Approach for Product Quality Estimation in Industry 4.0: A Systematic Review and Integrative Conceptual Framework. International Journal of Production Research 2021, 60, 742–765. [Google Scholar] [CrossRef]
- Costa, C.; Mendonça, J. Towards Zero Defects Manufacturing: Metrological Automatic Recognition of Elementary Functional Geometries. In Proceedings of the Proceedings of the ASME International Mechanical Engineering Congress and Exposition (IMECE), Portland, OR, USA, 2024. [CrossRef]
- Hocken, R.; Pereira, P. (Eds.) Coordinate Measuring Machines and Systems, 2nd ed.; CRC Press: Boca Raton, 2012. [Google Scholar] [CrossRef]
- De Chiffre, L.; Carmignato, S.; Kruth, J.P.; Schmitt, R.; Weckenmann, A. Industrial Applications of Computed Tomography. CIRP Annals 2014, 63, 655–677. [Google Scholar] [CrossRef]
- Buratti, A.; Bredemann, J.; Pavan, M.; Schmitt, R.; Carmignato, S., Applications of CT for Dimensional Metrology. In Industrial X-Ray Computed Tomography; Carmignato, S.; Dewulf,W.; Leach, R., Eds.; Springer International Publishing: Cham, 2018; pp. 333–369. [CrossRef]
- Carmignato, S.; Dewulf, W.; Leach, R., Eds. Industrial X-Ray Computed Tomography; Springer, 2018.
- Leach, R. Advances in Optical Form and Coordinate Metrology; IOP Publishing, 2021. [CrossRef]
- Yao, A.W.L. Applications of 3D Scanning and Reverse Engineering Techniques for Quality Control of Quick Response Products. International Journal of Advanced Manufacturing Technology 2005, 26, 1284–1288. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the Proceedings of the ICNN’95 - International Conference on Neural Networks, Perth, WA, Australia, 1995. [CrossRef]
- Blackwell, T.; Kennedy, J.; Poli, R. Particle Swarm Optimization. Swarm Intelligence 2007, 1, 33–57. [Google Scholar] [CrossRef]
- Dehghani, B.; Sakhaie, A. PSO-Guided Construction of MRD Codes for Rank Metrics. Mathematics 2025, 13, 2756. [Google Scholar] [CrossRef]
- van Zyl, J.; Engelbrecht, A. Set-Based Particle Swarm Optimisation: A Review. Mathematics 2023, 11, 2980. [Google Scholar] [CrossRef]
- Clerc, M.; Kennedy, J. The Particle Swarm — Explosion, Stability, and Convergence in a Multidimensional Complex Space. IEEE Transactions on Evolutionary Computation 2002, 6, 58–73. [Google Scholar] [CrossRef]
- Trelea, I. The Particle Swarm Optimization Algorithm: Convergence Analysis and Parameter Selection. Information Processing Letters 2003, 85, 317–325. [Google Scholar] [CrossRef]
- Jiang, Z.; Zhu, D.; Li, X.Y.; Han, L.B. A Hybrid Adaptive Particle Swarm Optimization Algorithm for Enhanced Performance. Applied Sciences 2025, 15, 6030. [Google Scholar] [CrossRef]
- Sekyere, Y.O.M.; Effah, F.B.; Okyere, P.Y. An Enhanced Particle Swarm Optimization via Adaptive Dynamic Inertia Weight and Acceleration Coefficients. Journal of Electronics and Electrical Engineering, 2024; 53–67. [Google Scholar] [CrossRef]
- Savio, E.; De Chiffre, L.; Carmignato, S.; Meinertz, J. Economic Benefits of Metrology in Manufacturing. CIRP Annals 2016, 65, 495–498. [Google Scholar] [CrossRef]
- Archenti, A.; Gao, W.; Donmez, A.; Savio, E.; Irino, N. Integrated Metrology for Advanced Manufacturing. CIRP Annals 2024, 73, 639–665. [Google Scholar] [CrossRef]
- Pellegrino, J.; Makila, T.; McQueen, S.; Taylor, E. Measurement Science Roadmap for Polymer-Based Additive Manufacturing. Technical Report 100-5, National Institute of Standards and Technology, 2016. [CrossRef]
- Wright, L.; Davidson, S. How to Tell the Difference Between a Model and a Digital Twin. Advanced Modeling and Simulation in Engineering Sciences 2020, 7, 13. [Google Scholar] [CrossRef]
- do Carmo, M. Differential Geometry of Curves and Surfaces: Revised and Updated Second Edition; Courier Dover: Mineola, NY, USA, 2016. [Google Scholar]
- ISO. Geometrical Product Specifications (GPS) — Geometrical Tolerancing — Tolerances of Form, Orientation, Location and Run-Out. ISO 1101:2012 Standard, 2012.
- Samuel, G.; Shunmugam, M. Evaluation of sphericity error from form data using computational geometric techniques. International Journal of Machine Tools and Manufacture 2002, 42, 405–416. [Google Scholar] [CrossRef]
- Wen, X.L.; Huang, J.C.; Sheng, D.H.; Wang, F.L. Conicity and cylindricity error evaluation using particle swarm optimization. Precision Engineering 2010, 34, 338–344. [Google Scholar] [CrossRef]
- Law, A.; et al. Curvature-Based Segmentation of Powder Bed Point Clouds for In-Process Monitoring 2018. [CrossRef]
- Imkamp, D.; Berthold, J.; Heizmann, M.; Kniel, K.; Manske, E.; Peterek, M.; Schmitt, R.; Seidler, J.; Sommer, K.D. Challenges and trends in manufacturing measurement technology - the "Industrie 4.0" concept. Journal of Sensors and Sensor Systems 2016, 5, 325–335. [Google Scholar] [CrossRef]
- Lazzari, A.; Pou, J.; Dubois, C.; Leblond, L. Smart Metrology: The Importance of Metrology of Decisions in the Big Data Era. IEEE Instrumentation & Measurement Magazine 2017, 20, 22–29. [Google Scholar] [CrossRef]
- Catalucci, S.; et al. Optical Metrology for Digital Manufacturing: A Review. International Journal of Advanced Manufacturing Technology, 2022; 4271–4290. [Google Scholar] [CrossRef]
- Shi, Y.; Eberhart, R.C. Parameter Selection in Particle Swarm Optimization. In Proceedings of the Evolutionary Programming VII. Springer, Vol. 1447, Lecture Notes in Computer Science; 1998; pp. 591–600. [Google Scholar] [CrossRef]
- Coello Coello, C.A. Theoretical and Numerical Constraint-Handling Techniques Used with Evolutionary Algorithms: A Survey of the State of the Art. Computer Methods in Applied Mechanics and Engineering 2002, 191, 1245–1287. [Google Scholar] [CrossRef]
- Deb, K. An Efficient Constraint Handling Method for Genetic Algorithms. Computer Methods in Applied Mechanics and Engineering 2000, 186, 311–338. [Google Scholar] [CrossRef]
- Runarsson, T.P.; Yao, X. Stochastic Ranking for Constrained Evolutionary Optimization. IEEE Transactions on Evolutionary Computation 2000, 4, 284–294. [Google Scholar] [CrossRef]
- Powell, D.J.; Magnanini, M.C.; Colledani, M.; Myklebust, O. Advancing Zero Defect Manufacturing: A State-of-the-Art Perspective and Future Research Directions. Computers in Industry 2022, 132, 103596. [Google Scholar] [CrossRef]
- Vapnik, V.N. Statistical Learning Theory; Wiley: New York, 1998. [Google Scholar]
- Anthony, M.; Bartlett, P.L. Neural Network Learning: Theoretical Foundations; Cambridge University Press: Cambridge, 1999. [Google Scholar] [CrossRef]
- Barlow, R.E.; Bartholomew, D.J.; Bremner, J.M.; Brunk, H.D. Statistical Inference under Order Restrictions: The Theory and Application of Isotonic Regression; John Wiley & Sons: New York, 1972. [Google Scholar]
- Bauschke, H.H.; Combettes, P.L. Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2 ed.; CMS Books in Mathematics, Springer: Cham, 2017. [Google Scholar] [CrossRef]

| Symbol | Meaning |
|---|---|
| Surface patch (Monge representation ) | |
| Grid spacings in x and y directions | |
| Partial derivatives of f (finite differences) | |
| First fundamental form coefficients | |
| Second fundamental form coefficients | |
| Gaussian and mean curvature | |
| Principal curvatures of the surface | |
| Geometry classes (plane, sphere, cylinder, cone) | |
| Curvature-interval parameter vector for all | |
| Interval bounds for class g | |
| Feasible set of intervals (ISO 1101 and physical constraints) | |
| Convex polyhedron of ordered and bounded curvature intervals | |
| Sampled points with estimates | |
| Accuracy, error, and complexity measures | |
| Fitness function (objective) | |
| Particle and global best solutions in PSO | |
| w | Inertia weight in PSO updates |
| (or ) | Cognitive and social acceleration coefficients |
| Random scalars sampled from | |
| Velocity of particle i at iteration t | |
| Position (curvature-rule parameters) of particle i at iteration t | |
| , | Repaired vs. tentative parameter vectors |
| Swarm size and iteration horizon | |
| Euclidean norm in | |
| Separation margin between analytic curvature signatures | |
| Bound on curvature estimation error (noise level) | |
| Tolerance parameter for spherical coupling | |
| Lower bound of mean curvature interval for class g | |
| Projection (repair) operators onto feasible sets | |
| Hypothesis class of axis-aligned rectangles in | |
| VC dimension of | |
| True risk and empirical risk of classifier h | |
| n | Sample size |
| Confidence parameter in risk bounds | |
| C | Universal constant in VC inequality |
| Method | ||||
|---|---|---|---|---|
| Analytic rules | 0.993 ± 0.004 | 0.911 ± 0.026 | 0.812 ± 0.037 | 0.701 ± 0.052 |
| Random search | 0.978 ± 0.013 | 0.902 ± 0.031 | 0.805 ± 0.041 | 0.694 ± 0.057 |
| PSO-optimized | 0.995 ± 0.003 | 0.956 ± 0.019 | 0.923 ± 0.022 | 0.881 ± 0.027 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).