Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

A modular and customizable open-source package for quantum voltage standards operation and control

  • Paolo Durandetto ,

    Contributed equally to this work with: Paolo Durandetto, Andrea Sosso

    Roles Conceptualization, Investigation, Methodology, Software, Validation, Writing – original draft, Writing – review & editing

    p.durandetto@inrim.it

    Affiliations INRiM - Istituto Nazionale di Ricerca Metrologica, Torino, Italy, Politecnico di Torino, Torino, Italy

  • Andrea Sosso

    Contributed equally to this work with: Paolo Durandetto, Andrea Sosso

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Supervision, Writing – original draft, Writing – review & editing

    Affiliation INRiM - Istituto Nazionale di Ricerca Metrologica, Torino, Italy

Abstract

This paper presents an open-source package developed in Python that controls and drives a programmable Josephson array to synthesize dc and ac quantum-accurate voltages. Programmable arrays are devices subdivided into independent subsections, each counting a number of series connected Josephson junctions that follows a binary sequence (1, 2, 4, 8, …) to control the output voltage. Our software allows to independently measure the current-voltage characteristics of each subsection by means of a set of arbitrary waveform generators and a nanovoltmeter that measures the voltage across the whole array with high sensitivity. A quantization test tool is also provided to check with sub-microvolt resolution whether the array is operating on its quantum margins. The code is modular and easily expandable with the support of many libraries, allowing prompt reconfiguration for different calibration and testing purposes. It is aimed at being a starting point for cooperation between National Metrology Institutes towards the realization of a shared quantum voltage calibration infrastructure.

Introduction

The Josephson effect [1] is a macroscopic quantum phenomenon that occurs in devices made with two superconducting elements separated by a thin metallic or insulating layer. These are known as Josephson junctions and find application in many different research fields, from quantum voltage metrology to accurate magnetic flux measurements, from supercomputers to quantum information. In voltage metrology applications, Josephson junctions are operated under the irradiation of an rf-field: this high-frequency excitation causes the appearance of quantum voltage steps in the Josephson junction current-voltage characteristic (Fig 1), known as Shapiro steps [2], whose value is given by: (1) where n = 0, ±1, ±2, … is the Shapiro step order, h is Planck constant, e is the elementary charge and frf is the rf frequency. The amplitude of each step depends on several factors, as junction electrical parameters, rf power and operating temperature.

thumbnail
Fig 1. Ideal current to voltage characteristic of a Josephson junction under rf irradiation.

Quantized steps of order n = 0 and n = ±1 are clearly visible, along with their bias currents operating margins (blue shaded area).

https://doi.org/10.1371/journal.pone.0209246.g001

For a typical rf-field of 70 GHz, the voltage VJ,1 across a single Josephson junction is about 145 μV, hence thousands of them are connected in series to attain practical voltages of at least 1 V.

For decades National Metrology Institutes (NMIs) have been taking advantage of the universality of Eq 1 [3] and of the high accuracy of frequency standards (up to 10−15) [4] to employ Josephson arrays as primary standards capable of providing dc voltages up to 10 V with accuracy up to 10−9 [5].

For the calibration of ac voltages with Josephson devices, to date, the most successful solution is represented by Programmable Josephson Voltage Standards (PJVSs). As shown in Fig 2, a PJVS array is split into subsections, each having a number of junctions equal to a power of two [6].

thumbnail
Fig 2. Schematics of a PJVS binary-divided array.

A single Josephson junction is represented by ×. Each subsection is individually biased on its n = 0 or n = ±1 quantum step by adjusting the current Ii,n.

https://doi.org/10.1371/journal.pone.0209246.g002

Following the operating principle of conventional digital-to-analog converters, PJVSs enable the synthesis of stepwise ac voltage signals by properly driving each subsection on its n = 0 or n = ±1 quantum step, i.e. selectively turning subsections off or on. PJVS devices capable of generating voltage signals up to 20 V have been realized [7], with a frequency limitation of few kHz due to the switching of bias electronics during transients between quantum steps [8].

Nowadays, PJVSs are commercialized by Supracon AG [9, 10] and National Institute of Standards and Technology (NIST) [11] in cutting-edge calibration systems for dc and ac voltages up to 10 V and frequencies up to the kHz range. When employed for calibrating sinusoidal voltages, such systems are usually named ac quantum voltmeters: a fast digitizer samples the difference between an ac voltage signal provided by the instrument under test and a synchronized stepwise-approximated version of the same sine wave generated by the PJVS. The digitizer works as a null detector, thus improving the overall accuracy, and its output is used as a correction term, so that the rms of the waveform under calibration can be accurately calculated from the measured difference samples and the perfectly known reference waveform steps of PJVS [12, 13]. Ac quantum voltmeters allow high-stability ac voltage sources to be calibrated with relative accuracies up to the 10−7 level [14]. Proprietary software is distributed as key component of such quantum-based voltage calibration systems: these are generally developed in LabView and are mostly oriented toward calibration activities rather than research needs, where a direct access to the source code is generally preferred. They typically provide the user with a wide variety of functions, as the check of the PJVS electrical characteristic, the automatic search of the optimal operating conditions (microwave power, bias currents) and the most accurate calibration of dc and ac voltages.

Despite the proven success and the promising continuous development of the, more recent, pulse-driven Josephson standards [15, 16], research on PJVS is still ongoing. Furthermore, only few NMIs employ PJVS devices for calibration purposes so far.

The spread among and outside NMIs of measurement capabilities provided by Josephson devices is in fact the central goal of the ACQ-PRO EURAMET project [17]. In this context, software plays a key role, as it represents a main component of the measurement procedure. Yet, most metrologists involved in primary standards research prefer, when possible, to develop their own software as a way of keeping full control of the measurement procedure and total flexibility in the experimental setup [18]. On the other hand, writing code for complex tasks is time-consuming and tricky: in order to avoid replications, increase reliability and speed-up debugging, a standardized code offers great advantages. The development of software for shared use has been recently addressed in quantum voltage metrology. In particular, the need for a shared and coordinated software development is clearly witnessed in the activities planned in several ongoing EURAMET projects [19, 20]. The open-source approach offers a well-known and tested framework for these needs.

Among the most successful open-source results, Python is a programming language widely used for scientific applications. It is an interpreted high-level general-purpose language aimed at code readability, whose syntax allows to minimize lines of code [21]. Python runs on interpreters that are available for almost all operating systems and provides access to a huge and comprehensive scientific library, from signal processing to instrument interfacing.

In the following we present an open-source Python software package for testing and operating PJVS and its applications in the synthesis of quantum-based ac voltage signals. It is then expected to be used by researchers and metrologists with suitable expertises and technical skills in the operation of PJVSs. The program is modular, fully customizable and easily expandable, e.g. to include additional instruments or data processing to provide, for instance, real-time noise and uncertainty analyses. The software is currently in its alpha-stage, hence the users are invited to cooperate with us in its further development and refinement: the source code is publicly available under GNU-GPLv3 license on GitHub [22].

Experimental setup

In its current version, the software is suited for the control of four 4-channels arbitrary voltage waveforms generators (AWGs), Active Technologies AT-AWG 1104 in our implementation (brand names are used for identification purposes, such use implies neither endorsement by INRiM nor assurance that the equipment is the best available) and a nanovoltmeter (Keithley 2182A) to properly drive a 13-bit 1 V PJVS [23] for the synthesis of staircase-approximated quantum voltages and for junctions testing purposes. Employing different instruments is feasible and straightforward just by modifying few functions in the code.

The 13-bit PJVS in use consists of 8192 Josephson junctions subdivided into fourteen sub-arrays. As shown in Fig 3, the ith subsection counts NJ(i) junctions, where NJ = [64, 32, 16, 8, 4, 2, 1, 1, 128, 256, 512, 1024, 2048, 4096] and i is an integer number between 1 and 14. The reason of this apparently atypical arrangement is related to the optimal rf transmission along the Josephson array [24]. Fifteen AWG channels (four AT-AWG1104 modules) are required and, in order to exploit all the software potentialities, connections should be done as shown in Fig 3. Two subsections counting a single junction are necessary for having two equal branches, each with 4096 junctions. This feature gains fundamental importance when accurate quantization test is required, as explained in the following. Again, the software is readily customizable in order to comply with PJVS arrays of different structure, as is the case of the 10 V PJVS [25].

thumbnail
Fig 3. Circuital representation of the 13-bit PJVS system connected to fifteen independent AWG channels (Vin,i).

The blue shaded area shows the PJVS array and the rectangular boxes specify the number of junctions of each subsection. Ri is the output resistance of the ith AWG channel, which can be selected among 50 Ω, high impedance (open circuit) and low impedance (short circuit) in order to accomplish the desired operating mode.

https://doi.org/10.1371/journal.pone.0209246.g003

Software description

We describe here the software package from both final user and developer’s points of view.

User’s point of view: The Graphic User Interface

The program execution follows the flow described by the chart in Fig 4.

thumbnail
Fig 4. Flow chart of the Python software for the PJVS controlled operation.

https://doi.org/10.1371/journal.pone.0209246.g004

The package is aimed at full customization including the Graphic User Interface (GUI), that consists of three main forms:

  • PJVS Waveform Synthesis
  • PJVS IV-characteristics
  • PJVS Quantization Test

The PJVS Waveform Synthesis is the first GUI panel displayed (Fig 5). It provides for the initialization of the AWGs required for proper operation in the generation of quantum waveforms. We move its detailed description to the end of this section, since usually, a complete check of the PJVS behavior is required before proceeding with the waveforms synthesis. To that aim, two main tools are generally adopted, namely current-voltage characteristics and quantization test. Two dedicated forms are present in our software and both can be opened from the first one.

thumbnail
Fig 5. PJVS Waveform Synthesis GUI.

The graph displays the expected output waveform. On the right, the form for setting, saving and loading bias currents is shown.

https://doi.org/10.1371/journal.pone.0209246.g005

After the proper initialization of the nanovoltmeter, the PJVS IV-characteristics form (Fig 6) allows the user to set few main parameters of the current-voltage characteristic to be displayed. These are current span, number of points and voltmeter number of power line cycles (NPLC). An interesting feature is the capability of separately checking current-voltage curves of individual subsections or a group of them. This is obtained by “flagging” specific checkboxes that set which sub-arrays have to be current-biased, with the constraint of being adjacent. In addition, the software allows to average an indefinite number of curves in order to get rid of possible background noise. Finally, voltage and current data points are displayed in a real-time graph that can be saved together with the data values.

thumbnail
Fig 6. PJVS IV-characteristics GUI.

The graph displays the averaged current-voltage characteristics of fourteen Josephson junctions subdivided in three consecutive sub-arrays.

https://doi.org/10.1371/journal.pone.0209246.g006

The quantization test consists in measuring the voltage across the whole PJVS array when half of it (counting 4096 junctions) is biased on the n = +1 step and the second half on the n = −1 step (or vice versa), thus it is expected to be zero over a certain current range. The PJVS Quantization Test form (Fig 7) allows the user to perform this measurement and to vary the bias current of each subsection in order to determine the array operating margins, which are directly related to steps width. Two real-time graphs and textboxes help the user to monitor the PJVS output voltage measured by the nanovoltmeter and its running standard deviation.

thumbnail
Fig 7. PJVS Quantization Test GUI.

The two graphs display the voltage measurement and its running standard deviation.

https://doi.org/10.1371/journal.pone.0209246.g007

After this checking phase, the user can go back to the PJVS Waveform Synthesis GUI for setting input parameters and the properties of the desired output waveforms. Input parameters are the frequency of the microwave excitation (frf), necessary for the correct calculation of the voltage across each subsection, and bias currents for driving each sub-array on its n step. A dedicated form (right side of Fig 5) enables the user to set, save and load currents for each subsection and for each quantum step. The main output parameters are signal frequency, amplitude, offset, phase and number of points. After having successfully loaded the required voltage values on each AWG, the expected output waveform is displayed in the graph. At this point the system can be run and quantum voltage waveforms can be viewed and analyzed by any external oscilloscope or sampler.

Developer’s point of view

The software is made up by four major functional blocks, all developed in Python. A short description of each module and of its main functions is presented below.

Math Functions.py.

This script defines the functions to determine the AWGs output voltages for waveform synthesis and quantization test. Its main functions are:

  • EvalParameters: calculates PJVS maximum output voltage and resolution via Eq 1.
  • CalcQuantumVolt: converts a generic voltage into the closest quantized value obtainable with PJVS, determines which sub-arrays have to be switched on and calculates the required AWG voltages according to the electrical network analysis described in the last section of this paper.
  • CalcSine, CalcSquare and CalcTriang: respectively sample ideal sine, square and triangular waves into a number of user-defined equally time-spaced points and quantize them via CalcQuantumVolt function.
  • QuantumTest: calculates the AWG voltages required to bias one PJVS half on n = +1(−1) and the second half on n = −1(+1) quantum steps.

Devices Control.py.

This script is responsible of the communication between the computer and the devices in use. It imports the interfacing libraries (GPIB-PyVISA [26] and AWG’s dll) and implements all remote-controlled operations (initialization, configuration, data I/O) of bias sources and voltmeter. Its main functions are:

  • InitAWGs: initializes the AWGs and sets each channel as master or slave.
  • Load: loads the calculated voltage samples for the waveform synthesis, sets the sampling frequency and the required output resistances for each AWG channel. Furthermore, it manages the trigger event between master and slaves.
  • Run and Stop: respectively run and stop the generation of the AWGs loaded voltage samples.
  • InitVoltmeter: initializes the voltmeter in use and sets its NPLC parameter.
  • SetOutputImpedance: sets the required AWGs output impedances.
  • SetDCVoltages: sets a dc voltage to each AWG channel given by a list of values passed as function arguments.

Graphics.py.

This script is responsible of the creation of the GUIs and of their elements’ properties and functionalities. It is based on MicroSoft Developer Network (MSDN) .NET System.Windows.Forms [27] and System.Drawing [28] namespaces. It imports Devices_Control.py for linking any device functions (initialization, loading, etc.) to a graphic interactive element (button, textbox, checkbox, etc.). It imports Math_Functions.py for passing user input parameters as mathematical functions’ arguments. It performs and displays current-voltage characteristics following the procedure described in the last section of this paper.

Main.py.

This script defines fundamental parameters that are used throughout the whole program, such array structure NJ and maximum AWG output voltage, and runs program execution by opening the main form.

Further considerations and improvements

Thanks to its modularity, the program can be easily modified or integrated with new features by slightly revising few functional blocks. As an example, one can freely develop the GUIs adopting an alternative Python package, as PyQt5, PyQt4, wxPython or Tk. Furthermore, different instruments can be controlled by updating the main functions in Devices_Control.py. Indeed, interfacing with potentially any instrument is possible through the PyVisa GPIB library, or via USB with the PyUSB library, or by using directly the manufacturers dll libraries through Python for .NET [29]. As anticipated, fitting the software to different array structures is extremely straightforward, as it is accomplished just by varying one code line in Main.py.

As is well known, software packages are always improvable and continuously updated with new functionalities, and this is not an exception. Among the many possible enhancements, the most requested and useful feature for our package is the integration of a fast digital sampling voltmeter for a direct and real-time processing of the output quantum waveforms. This is of fundamental importance in the view of fully exploiting the high accuracy and reliability of Josephson arrays for ac voltage calibrations [12].

Integrating a temperature measurement and control system is another interesting upgrade, particularly useful when closed-cycle refrigeration is exploited [30, 31]. Josephson junctions electrical parameters are strictly dependent on temperature and its proper control is required to guarantee optimal operation.

Insights on PJVS system settings and electrical network analysis

In the following, a detailed analysis of the electrical system is presented, by reference to the circuit in Fig 3. It is useful to better understand what the implemented main functions perform for calculating the output voltages Vin,i that properly drive PJVS.

Waveform synthesis and quantization test system settings

When waveform synthesis is run, AWGs output resistances from R1 to R14 are set to 50 Ω, while R0 = 0 Ω (low impedance). As regards voltages, values from Vin,1 to Vin,14 have to be properly evaluated from the circuit Kirchhoff analysis, while V0 = 0 V. This means that subsection “64” is grounded. The reason why a dedicated channel is employed for this grounded connection will be apparent when current-voltage curves implementation is discussed in the next section.

Knowing the voltage across the ith sub-array VJ,i,n = nNJ(i)hfrf/2e, the current IJ,i,n for biasing it on n = 0 or ±1 quantum step and applying Kirchhoff rules we get: (2) where currents IJ,i,n are taken as positive when circulating from Vout,+ to Vout,− according to Fig 3.

A particular case occurs when quantization test is carried out: here n = +1(−1) for i = 1 to 13, whereas n = −1(+1) for i = 14.

Current-voltage characteristics

As previously described, current-voltage curves of one or more consecutive subsections can be performed and visualized. This is achieved by properly setting output resistance and voltage of each AWG channel. To current-bias consecutive subsections from j to k, with 1 ≤ j ≤ 14 and jk ≤ 14, output resistances and voltages are to be set as follow: (3) Therefore, the current IJ,j÷k flowing into the selected subsections is given by (4) and a IJ,j÷k to Vout curve is obtained for different Vin,k values. As can be seen, only two channels at time are used since all the others are set to high-impedance.

Conclusion

An open-source modular and easily customizable Python package for PJVS operation and control was presented. The software allows the synthesis of quantum-based voltage waveforms through automated control of four AWGs, the check of sub-arrays correct operation via current-voltage characteristics and quantization tests by means of a nanovoltmeter. The package can be fully reconfigured and readily expanded to suit any practical needs, such as the replacement of the setup instruments or the integration of additional tests and functions.

The software, shared on GitHub [22], is aimed at being developed and tested in cooperation with all interested NMIs. It can also be run in simulation mode, allowing the interested user to directly check its features without the need of a real experimental setup.

References

  1. 1. Josephson BD. Possible new effects in superconductive tunnelling. Physics Letters. 1962;1(7):251–253.
  2. 2. Shapiro S. Josephson currents in superconducting tunneling: The effect of microwaves and other observations. Physical Review Letters. 1963;11(2):80.
  3. 3. Tsai JS, Jain AK, Lukens JE. High-precision test of the universality of the Josephson voltage-frequency relation. Physical Review Letters. 1983;51(4):316.
  4. 4. Diddams SA, Bergquist JC, Jefferts SR, Oates CW. Standards of time and frequency at the outset of the 21st century. Science. 2004;306(5700):1318–1324. pmid:15550659
  5. 5. Hamilton CA. Josephson voltage standards. Review of Scientific Instruments. 2000;71(10):3611–3623.
  6. 6. Benz SP, Hamilton CA, Burroughs CJ, Harvey TE, Christian LA. Stable 1 volt programmable voltage standard. Applied Physics Letters. 1997;71(13):1866–1868.
  7. 7. Müller F, Scheller T, Wendisch R, Behr R, Kieler O, Palafox L, et al. NbSi barrier junctions tuned for metrological applications up to 70 GHz: 20 V arrays for programmable Josephson voltage standards. IEEE Transactions on Applied Superconductivity. 2013;23(3):1101005–1101005.
  8. 8. Benz SP, Hamilton CA. Application of the Josephson effect to voltage metrology. Proceedings of the IEEE. 2004;92(10):1617–1629.
  9. 9. AC Quantum Voltmeter. Available from: http://www.supracon.com/en/ac_quantum_voltmeter.html.
  10. 10. Practical Training ACQ-PRO. In: Workshop on AC Quantum Voltage Standards, PTB, Braunschweig, Germany, June 2015, Collection of training materials; 2015. Available from: http://acqpro.cmi.cz/index.php/results/22-collection-of-training-materials.
  11. 11. SRI 6000 Series Programmable Josephson Voltage Standard (PJVS). Available from: https://www.nist.gov/sri/standard-reference-instruments/sri-6000-series-programmable-josephson-voltage-standard-pjvs.
  12. 12. Lee J, Behr R, Palafox L, Katkov A, Schubert M, Starkloff M, et al. An ac quantum voltmeter based on a 10 V programmable Josephson array. Metrologia. 2013;50(6):612.
  13. 13. Rüfenacht A, Burroughs CJ, Dresselhaus PD, Benz SP. Differential sampling measurement of a 7 V RMS sine wave with a programmable Josephson voltage standard. IEEE Transactions on Instrumentation and Measurement. 2013;62(6):1587–1593.
  14. 14. Schubert M, Starkloff M, Lee J, Behr R, Palafox L, Wintermeier A, et al. An AC Josephson voltage standard up to the kilohertz range tested in a calibration laboratory. IEEE Transactions on Instrumentation and Measurement. 2015;64(6):1620–1626.
  15. 15. Kieler OF, Behr R, Wendisch R, Bauer S, Palafox L, Kohlmann J. Towards a 1 V Josephson Arbitrary Waveform Synthesizer. IEEE Transactions on Applied Superconductivity. 2015;25(3):1–5.
  16. 16. Flowers-Jacobs NE, Fox AE, Dresselhaus PD, Schwall RE, Benz SP. Two-volt Josephson arbitrary waveform synthesizer using Wilkinson dividers. IEEE Transactions on Applied Superconductivity. 2016;26(6):1–7.
  17. 17. Towards the propagation of AC Quantum Voltage Standards. Available from: http://acqpro.cmi.cz/.
  18. 18. Avilés CD, Medina J, Navarrete E. The CENAM Programmable Josephson Voltage Standard. In: Precision Electromagnetic Measurements (CPEM 2014), 2014 Conference on. IEEE; 2014. p. 528–529.
  19. 19. Waveform metrology based on spectrally pure Josephson voltages. Available from: https://www.ptb.de/empir/quadc-project.html.
  20. 20. Traceability Routes for Electrical Power Quality Measurement. Available from: http://tracepqm.cmi.cz/project.php.
  21. 21. Lutz M. Learning Python: Powerful Object-Oriented Programming. O’Reilly Media, Inc.; 2013.
  22. 22. Durandetto P, Sosso A. PJVS-driving-tool. Available from: https://github.com/pdurandetto/PJVS-driving-tool.
  23. 23. Lacquaniti V, De Leo N, Fretto M, Sosso A, Müller F, Kohlmann J. 1 V programmable voltage standards based on SNIS Josephson junction series arrays. Superconductor Science and Technology. 2011;24(4):045004.
  24. 24. Müller F, Scheller TJ, Lee J, Behr R, Palafox L, Schubert M, et al. Microwave design and performance of PTB 10 V circuits for the programmable Josephson voltage standard. World Journal of Condensed Matter Physics. 2014;4(03):107.
  25. 25. Mueller F, Behr R, Palafox L, Kohlmann J, Wendisch R, Krasnopolin I. Improved 10 V SINIS series arrays for applications in AC voltage metrology. IEEE Transactions on Applied Superconductivity. 2007;17(2):649–652.
  26. 26. PyVISA: Control your instruments with Python. Available from: https://pyvisa.readthedocs.io/en/stable/.
  27. 27. Microsoft Developer Network System.Windows.Forms Namespace. Available from: https://msdn.microsoft.com/en-us/library/system.windows.forms(v=vs.110).aspx.
  28. 28. Microsoft Developer Network System.Drawing Namespace. Available from: https://msdn.microsoft.com/en-us/library/system.drawing(v=vs.110).aspx.
  29. 29. Python for .NET. Available from: https://pythonnet.github.io/.
  30. 30. Trinchera B, Lacquaniti V, Sosso A, Fretto M, Durandetto P, Monticone E. On the synthesis of stepwise quantum waves using a SNIS programmable Josephson array in a cryocooler. IEEE Transactions on Applied Superconductivity. 2017;27(4):1–5.
  31. 31. Rüfenacht A, Howe LA, Fox AE, Schwall RE, Dresselhaus PD, Burroughs CJ, et al. Cryocooled 10 V programmable Josephson voltage standard. IEEE Transactions on Instrumentation and Measurement. 2015;64(6):1477–1482.