Applied Sciences (May 2021)

Speeding up Statistical Tolerance Analysis to Real Time

  • Peter Grohmann,
  • Michael S. J. Walter

DOI
https://doi.org/10.3390/app11094207
Journal volume & issue
Vol. 11, no. 9
p. 4207

Abstract

Read online

Statistical tolerance analysis based on Monte Carlo simulation can be applied to obtain a cost-optimized tolerance specification that satisfies both the cost and quality requirements associated with manufacturing. However, this process requires time-consuming computations. We found that an implementation that uses the graphics processing unit (GPU) for vector-chain-based statistical tolerance analysis scales better with increasing sample size than a similar implementation on the central processing unit (CPU). Furthermore, we identified a significant potential for reducing runtime by using array vectorization with NumPy, the proper selection of row- and column- major order, and the use of single precision floating-point numbers for the GPU implementation. In conclusion, we present open source statistical tolerance analysis and statistical tolerance synthesis approaches with Python that can be used to improve existing workflows to real time on regular desktop computers.

Keywords