/nmr-spectrometer

My master thesis at D-CHAB (ETH Zürich) - Building a 25MHz NMR spectrometer

Primary LanguageG-codeGNU General Public License v3.0GPL-3.0

BioNMR Group Logo
Building a 25MHz NMR spectrometer
01.04.2023 - 30.09.2023

Status License


magnETHical is a simple low-cost low-field 0.6T NMR spectrometer based on a RedPitaya and custom hardware. This repository contains everything to build your own. This includes simulations, specifications, full hardware descriptions and CAD designs, Python control code and reproducible measurement results.

📝 Table of Contents

🧐 About

Since the discovery of the Zeeman effect in 1896 and its first use for spectroscopy in the 1940s a lot of technological advancements enabled the capture of increasingly better spectrums and the development of increasingly advanced techniques. Unfortunately, this advancement isn't cheap. Modern NMR spectroscopes cost a fortune, limiting access to this technology to well-funded research institutes, keeping out institutes from the southern hemisphere and limiting its exposure.

magnETHical seeks to provide a low-cost low-field NMR system not only capable of relaxometry but also spectroscopy for a price about an order of magnitude lower than existing devices. It's an open-source well-documented system that can be fully assembled in-house and consists of flexible components that are easily and readily available. 90% of the current ~10k€ price tag is comprised of the magnet with room for at least halving the price in the foreseeable future.

This repository seeks to provide everything needed to order, assemble and operate your own magnETHical NMR spectrometer.

🏁 Getting Started

✅ Prerequisites

Great care has been taken to only use widely available free and open-source software so that this project may be built by anyone without any software licensing fees.

Throughout this README and the linked READMEs below a basic familiarity with the used software is assumed. However, anyone with some time on their hands should be able to follow them without much trouble after a very basic introduction to these programs. If you have trouble understanding any of the instructions, please feel free to open an issue - it's likely an error in this documentation and not on your side.

🔧 Hardware

The hardware consists of five main parts

Each of these parts can be built, assembled and verified independently of each other. For instructions on building these sub-systems, see the respective READMEs linked in the list above.

With all parts built, the final system needs to be assembled according to the following schematic.

Block diagram of the different high-level parts of the spectrometer

The final assembly then looks something like this

Picture of the final measurement setup

🖥️ Software

Having built the hardware above the Python control software can be used to capture spectra. See the linked article for a detailed guide on how to set up the software. We recommend a dedicated computer setup to run the experiments.

⚙️ Running the tests

The simplest test is running marcos test without/with water. measure coil ringing

Explain how to run the automated tests for this system.

🧪 Usage

To record spectra...

How to use the software/hardware. Recomenndations on analysis (Jupyter...) Add notes about how to use the system.

⛏️ Built Using

  • Hardware
    • KiCAD - ECAD for PCB Design
    • FreeCAD - MCAD for Enclosures
    • OpenSCAD - Parametric CAD for the probe
    • LTSpice - Simulation of electronic circuits
  • Software
    • MaRCoS - Low-level control software for the RedPitaya and FPGA
    • NumPy/SciPy/Matplotlib - High-level control software and analysis
  • Documentation
    • LaTeX - Advanced typesetting system
    • Sphinx - Beautiful documentation

✍️ Authors

🎉 Acknowledgements

BioNMR Group Logo