Numerical Methods

Outline

Introduction

Linear
Equations

Interpolation

Numerical
Solutions

Computer
Measurement

- PyVISA
- Establishing communication
Communicating with instruments

      

Heinzinger PTN 125-40 magnet power supply

The Heinzinger PTN 125-40 is a DC power supply that can provide voltages of up to 125 V and currents of up to 40 A. In the magnet laboratory it is used to provide the current for the Bruker Magnet B-E 15 electromagnet. The magnet can be driven with a maximum continuous current of 30 A. It has two coils with a total resistance of 3 Ohm (1.5 Ohm each) so the voltage needed for maximal magnetic field is at 90 V. Changing the current through the magnet suddenly can lead to significant inductive voltage spikes. Diodes in the magnet are designed to prevent the voltage spikes but it is strongly advised to ever only slowly increase or decrease the current through the magnet with a rate of maximal 1 A/s.

Safety

The upper end of the voltage range of the Heinzinger PTN 125-40 is at 125 V which is just high enough to surpass the extra-low voltage range (< 120 V DC, < 50 Vrms AC), which carries a low risk of dangerous electrical shock, into the Low voltage range with a risk of electric shock.

Communication with the Heinzinger PTN 125-40 using Python

The Heinzinger PTN 125-40 is connected to the computer via LAN cable. Below is a sample script that makes measurements of the magnetic field with a FH 54 Magnetometer while sweeping the magnetic field.


B_field_sweep.py

Refer to the Python library Heinzinger.py for more details on communicating with the power supply.