Ongoing digitalization in metrology and the ever-growing complexity of measurement systems have increased the effort required to create complex software for uncertainty estimation. To address this issue, a general structure for uncertainty estimation software will be presented in this work. The structure was derived from the Virtual Coordinate Measuring Machine (VCMM), which is a well-established tool for uncertainty estimation in the field of coordinate metrology. To make it easy to apply the software structure to specific projects, a supporting software library was created. The library is written in a portable and extensible way using the C++ programming language. The software structure and library proposed can be used in different domains of metrology. The library provides all the components necessary for uncertainty estimation (i.e., random number generators and GUM S1-compliant routines). Only the project-specific parts of the software must be developed by potential users. To verify the usability of the software structure and the library, a Virtual Planck-Balance, which is the digital metrological twin of a Kibble balance, is currently being developed.
The Planck-Balance is a table-top version of a Kibble balance, developed in a collaboration between the PTB and TU Ilmenau. In contrast to most Kibble balances, where the motion range is of up to several centimeters in the velocity mode, in the Planck-Balance it is below 100 μm. For a reliable determination of the force factor, the voice coil is set into harmonic oscillation, resulting in an induced AC voltage. The amplitude of the first harmonic is then taken to determine the force factor. However, due to the non-linear magnetic field across the motion range, the first harmonic is subject to a bias, and higher harmonics are excited. Those higher harmonics contain the information about the relative magnitude of the bias in the first harmonic, and can be used for a correction. In this paper we present an analytical model and show its application with real measurements. The estimated relative bias amounts to , with a residual relative uncertainty of , for an oscillation amplitude of 20 μm. This method is especially of importance for Kibble balances with short motion range and working with harmonic oscillation. After such a correction is applied, a table-top version of a Kibble balance can be used as a conventional balance calibrated by means of E2 mass standards in the whole E2 class mass range.