Software Downloads (MMM)
Data Fusion and Network Design Simulation Software: Release 1
This software can be used to simulate distributed measuring systems and networks in which sensors may be faulty, noisy or interdependent. The software can be used to study network design, to compare data fusion algorithms and to evaluate measurement uncertainties associated with aggregated data in networks.
We have produced a suite of MATLAB modules and Microsoft Excel workbooks that users can employ to study design of sensor networks and to investigate measurement uncertainty in networks. Users select the modules that are relevant to the task of interest and then combine them in a manner suitable for their application. In some cases it may be necessary for users to provide a limited amount of additional code of their own.
We provide a set of examples that demonstrate how to use the software:
- Simulation of a small network of sensors in which the response of one class of sensors is dependent on the physical quantity being measured by a second class of sensors and some sensors may be intermittently faulty.
- Simulation of a dynamic measurement task in which the sensors are modelled as second order systems and Kalman filtering is employed as the data fusion methodology.
- Simulation based on a real wireless sensor network that was employed to make a distributed temperature measurement.
Lock-In Amplifier Simulation Software: Release 2
A new version of the software is available for users who require the additional functionality we have added to the software. These additions include:
- Additional methods of defining simulated test signals, including defining signals in terms of their Fourier series.
- Random number generation using the Wichmann-Hill algorithm.
- Modelling noise using power law process and autoregressive processes. These are advanced options for users who have substantial digital signal processing knowledge.
Release 2 was developed using LabVIEW version 2009 and compiled into a standalone Windows executable.
As for Release 1, two versions of the software are provided, one for users who already have LabVIEW 2009 or the LabVIEW 2009 Run-Time Engine installed on their PC. This version is contained within the ZIP file lia_r2_excrte.zip.
A second version, lia_r2_incrte.zip, is for users who do not have a LabVIEW Run-Time Engine currently installed on their PC.
After you have downloaded and unzipped the file appropriate to your PC, follow the installation instructions to be found in the text file readme.txt.
Lock-In Amplifier Simulation Software: Release 1
The objective of the simulation software is to help answer questions about how well a lock-in amplifier can recover a signal from noise (the 'accuracy' of the result provided by the instrument) and about the possible dispersion of values obtained (the 'precision' of the result). The software allows users to investigate the performance and limitations of ideal and imperfect instruments applied to simulated and real test signals.
The software was developed using LabVIEW version 8.5 and compiled into a standalone Windows executable.
Two versions of the software are provided:
- One for users who already have LabVIEW or the LabVIEW 8.5 Run-Time Engine installed on their PC. This version is contained within the ZIP file lia_r1_excrte.zip.
- A second version, lia_r1_incrte.zip, is for users who do not have a LabVIEW Run-Time Engine currently installed on their PC.
After you have downloaded and unzipped the file appropriate to your PC, follow the installation instructions to be found in the text file readme.txt.
XLGENLINE (v1.1)
This software allows the user to calculate the best-fit low degree (1, 2, 3 or 4) polynomial calibration function to a set of (X, Y) measurement data, taking uncertainties associated with the data into account. Then, given measured Y-values and their associated uncertainties, the calibration function can be used to obtain estimates of the corresponding X-values and their associated uncertainties.
The uncertainty structures that can be accounted for are:
- Uncertainties are associated with the measured Y-values only.
- Uncertainties are associated with both the measured X- and Y-values and all covariances associated with the data are zero.
The software was developed in Microsoft Excel 2000 (calling a FORTRAN DLL) and is downloaded as a zip file. Please start by reading the file readme.txt within that zip file.
XGENLINE (8.1)
This software allows the user to calculate the best fit low degree (1, 2, 3 or 4) polynomial calibration function to a set of (X, Y) measurement data, taking uncertainties and covariances associated with the data into account. Then, given measured Y-values and their associated uncertainties, the calibration function can be used to obtain estimates of the corresponding X-values and their associated uncertainties.
The uncertainty structures that can be accounted for are:
- Uncertainties are associated with the measured Y-values only.
- Uncertainties are associated with both the measured X- and Y-values and all covariances associated with the data are zero.
- Uncertainties are associated with both the measured X- and Y-values and there are covariances associated with pairs of corresponding measured X- and Y-values.
The software was developed in MATLAB and compiled into a standalone Windows executable and is downloaded as a zip file. Please start by reading the file readme.txt within that zip file.
Software to Support ISO/TS 28037:2010(E)
This software supports the ISO Technical Specification (TS) Determination and use of straight-line calibration functions.
The software allows the user to fit a straight-line calibration function to a set of (X, Y) measurement data, allowing for any uncertainty structure associated with the data. Then, given measured Y-values and their associated uncertainties, the calibration function can be used to obtain estimates of the corresponding X-values and their associated uncertainties.
The uncertainty structures that can be accounted for are:
- Uncertainties are associated with the measured Y-values only.
- Uncertainties are associated with both the measured X- and Y-values and all covariances associated with the data are zero.
- Uncertainties are associated with both the measured X- and Y-values and there are covariances associated with pairs of corresponding measured X- and Y-values.
- Uncertainties are associated with the measured Y-values only and there are covariances associated with pairs of measured Y-values.
- Uncertainties are associated with the measured X- and Y-values and there are covariances associated with pairs of measured values.
The software was developed in MATLAB, is provided in both M-file and published HTML file formats, and is downloaded as a zip file. Please start by reading the file README.txt within that zip file.
Wichmann-Hill Random Number Generator
In 1982, the authors produced a pseudo-random number generator that has been widely used, but now has been shown to be inadequate by today's standards. In producing a revised generator, extensive use has been made of a test package TestU01 for random number generators. Using this, criteria have been devised for the revised generator - also other high quality generators have been identified. Facilities have been devised to allow the new generator to be used in a highly parallel environment, which is likely to be a feature of many future applications.
EUnit
A test harness to implement unit testing for Excel. EUnit is specific to Excel and is implemented as part of Excel, so it can not be used with other spreadsheet packages. Therefore, unlike the rest of this guide, this appendix is only applicable to Excel and not to other spreadsheet packages.
Software for Measurement Uncertainty Evaluation
NPLUnc_101 is software developed at NPL to promote and support the use of the Guide to the expression of uncertainty in measurement (GUM) and the first supporting document to the GUM, GUM Supplement 1, concerned with the use of a Monte Carlo method for uncertainty evaluation.
The software is available in two forms:
- As four stand-alone Windows programs that enable users to apply the approaches to measurement uncertainty evaluation described in the GUM and GUM Supplement 1 to the four example problems considered in GUM Supplement 1. The software is intended to allow users to reproduce the results presented in tables and figures contained within GUM Supplement 1. It is also intended to help users learn about the methods for uncertainty evaluation described in the GUM and GUM Supplement 1 by enabling them to experiment with (a) different information about the input quantities in the models defining the example problems, and (b) different values for the parameters controlling the application of those methods. To run the software, the user must install MATLAB's Component Runtime (MCR) libraries, which are provided separately on request.
- As (open) source code developed in MATLAB that enables users to apply the approaches to measurement uncertainty evaluation described in the GUM and GUM Supplement 1 to a general measurement problem defined by a measurement function with a single output quantity and any number of uncorrelated input quantities. The software is provided in both M-file and (published) HTML file formats. Users of MATLAB may run the software directly for a particular problem of uncertainty evaluation. They may also modify the definition of the problem, including the measurement function, and apply the methods for uncertainty evaluation described in the GUM and GUM Supplement 1 to the modified problem. The source code is provided with extensive commenting to help practitioners develop their own implementations of the software.
NPLUnc_102 is software developed at NPL to promote and support the use of the second supporting document to the GUM, GUM Supplement 2, concerned with extending the GUM and GUM Supplement 1 to measurement models with any number of output quantities. The software is available as two stand-alone Windows programs that enable users to apply the approaches to measurement uncertainty evaluation described in the GUM and GUM Supplement 2 to two of the example problems considered in GUM Supplement 2. As described above, to run the software, the user must install MATLAB's Component Runtime (MCR) libraries, which are provided separately on request.
NPLUnc_101 and NPLUnc_102 are downloaded together as a compressed ZIP folder. Please start by reading the readme.txt files within that folder. The software comes with supporting documentation, including user manuals and a report giving specifications of the software. The software should be used in conjunction with the GUM, GUM Supplement 1 and GUM Supplement 2, which are available from here.





