A common control and data layer for automated electron microscopy
This paper introduces NIMBUS, an open platform that unifies control for JEOL and Thermo Fisher Scientific electron microscopes through a generalized API, ensuring safe, unattended operation and standardized data recording to enable automated, agentic characterization workflows.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer
In the modern race to discover new materials, scientists have built laboratories that can mix chemicals and synthesize compounds faster than a human hand could ever move. These self-driving labs can plan and execute experiments with little help, churning out samples at a dizzying pace. Yet, a bottleneck has emerged: while we can make these new materials quickly, we cannot look at them fast enough to understand what they are. The most powerful tool for this inspection is the transmission electron microscope, a machine that uses a beam of electrons to see the arrangement of atoms inside a solid. It is the ultimate magnifying glass, revealing the structure and composition that determine how a material behaves. However, using this machine has traditionally been a slow, delicate art. It requires a highly skilled operator to guide the beam, adjust the focus, and switch between different modes of imaging, all while ensuring the delicate sample is not damaged. Because the conditions of the microscope can drift or change between users, repeating an experiment exactly is nearly impossible, and the record of how a measurement was taken is often incomplete or lost.
To solve this problem, a team of researchers has developed a new software platform called NIMBUS, designed to make these complex microscopes run themselves safely and reliably. The system acts as a universal translator and a set of guardrails, allowing a single computer program to control microscopes from two different major manufacturers, JEOL and Thermo Fisher Scientific, without needing to be rewritten for each one. The researchers demonstrated that this platform can run the same automated workflow on both types of machines, guiding them through a sequence of taking images, analyzing chemical composition, and mapping crystal structures without human intervention. Crucially, the system does not just take pictures; it writes a complete, standardized diary of every single step the machine took, including exactly what settings were used and what information the machine could not report. This ensures that even when a robot is running the show, the results are trustworthy, reproducible, and ready for other scientists to use.
The heart of the challenge lies in the fact that every microscope manufacturer builds its own unique control system, like different brands of cars with different steering wheels and pedals. A script written to control one brand of microscope cannot drive another, forcing scientists to learn multiple languages just to automate their work. Furthermore, when an automated system runs without a human watching, the risk of error increases. If a robot makes a mistake, such as moving a stage to the wrong position or failing to notice that a detector is missing, the resulting data can be useless or even damage the expensive instrument. Previous attempts to automate these machines often relied on a single safety layer or required a human to check every decision, which slowed down the process. The NIMBUS team realized that to truly automate electron microscopy, they needed a system that could understand the capabilities of the machine it was controlling and refuse to perform actions that were unsafe or impossible, all while keeping a perfect record of the experiment.
The researchers built NIMBUS with a simple but powerful architecture. Instead of installing heavy software directly onto the microscope's computer, which is often restricted and offline, they placed a small, lightweight server on the machine. This server acts as a bridge, translating the microscope's native commands into a common language that a separate workstation can understand. The workstation then sends instructions to the microscope through this bridge. Before any experiment begins, the system checks the microscope to see what tools it has available, such as specific detectors or cameras, and ensures that the planned experiment matches the machine's capabilities. If a step requires a piece of hardware that is missing, the system stops the experiment before it starts, preventing wasted time and potential errors. This approach allows the same code to run on a JEOL microscope in Germany and a Thermo Fisher microscope in the United States, with the system automatically adjusting to the differences between the two machines.
To prove that this system works, the team ran two distinct types of experiments on microscopes at different institutions. In the first experiment, they directed the microscopes to take a high-resolution image of a tiny region, then immediately switch to measuring the chemical elements present in that same spot, and finally capture a diffraction pattern to reveal the crystal structure. They performed this entire sequence on a JEOL JEM-F200 and a Thermo Fisher ThemIS, using the exact same software workflow for both. The system successfully navigated the different control interfaces of each machine, moving detectors in and out, adjusting the beam, and collecting data without any human clicking buttons. The results showed that the platform could seamlessly switch between imaging, chemical analysis, and structural mapping, producing consistent data from two completely different machines.
The second experiment was even more complex, involving electron tomography, a technique that builds a three-dimensional model of a material by taking many images as the sample is tilted at different angles. This process is notoriously difficult to automate because the sample must be perfectly centered and focused at every single angle; if it shifts even slightly, the final 3D image will be blurry. The researchers programmed NIMBUS to handle this by breaking the process into small, repeatable steps. For each tilt angle, the system would move the stage, check the position, refocus the beam, and then take a picture. They ran this automated sequence on the Thermo Fisher microscope, tilting the sample from negative 70 degrees to positive 70 degrees in five-degree steps. The system collected 29 images without a single human intervention, correcting for shifts and focus changes as it went. The resulting data was used to reconstruct a clear 3D volume of the sample, demonstrating that the platform could manage long, intricate sequences that would be exhausting and error-prone for a human operator.
Perhaps the most significant achievement of the NIMBUS platform is how it handles the record of the experiment. In traditional microscopy, data is saved in a manufacturer-specific format, and converting it to a standard format often requires guessing or manually filling in missing details later. This can lead to lost information, such as not knowing exactly what the beam settings were when a picture was taken. NIMBUS solves this by writing a standardized record, called an NXem file, at the exact moment each piece of data is collected. As the microscope takes a picture, the system simultaneously saves the image along with a snapshot of the machine's state: the magnification, the beam current, the detector settings, and the position of the stage. If the machine cannot report a certain value, the system explicitly notes that the information is missing, rather than leaving a blank space that could be misinterpreted. This creates a complete, unambiguous history of the experiment that anyone can read, regardless of which microscope was used.
The system also includes robust safety features designed to protect the instrument during unattended operation. It operates on a set of clear rules that prevent the software from making dangerous changes, such as altering the high voltage or running vacuum cycles, which are left to human experts. It also ensures that the microscope is never left in a state where a measurement could be mislabeled; for example, if the machine is in imaging mode, the system will not save a diffraction pattern as if it were an image. If a command is sent that the machine cannot execute, the system refuses it and reports the error clearly, rather than silently ignoring it. This approach allows the automation to run for hours, even days, with the confidence that any failure will be caught and recorded, preventing the loss of valuable sample time or damage to the equipment.
By separating the decision-making process from the actual control of the machine, NIMBUS provides a foundation for the future of automated science. It allows researchers to write a single workflow that can be tested on different microscopes and shared across the scientific community. The platform is designed to work with both traditional computer algorithms and the emerging field of artificial intelligence agents, which can make decisions based on the data they see. Because the system provides a clear, standardized record of every measurement, an artificial intelligence can look at the data, decide what to measure next, and send the command back to the microscope without needing to understand the complex, manufacturer-specific details of how the machine works. This opens the door to fully autonomous laboratories where machines can not only make new materials but also characterize them, analyze the results, and plan the next experiment entirely on their own.
The researchers have made the source code for NIMBUS available to the public, allowing other scientists to install it on their own microscopes and contribute to its development. The system has already been deployed at three different institutions, proving that it can work in real-world laboratory settings with different hardware and software environments. As the field of materials science continues to push for faster discovery, tools like NIMBUS offer a way to remove the bottlenecks that have slowed progress for decades. By making electron microscopy automated, safe, and reproducible, the platform ensures that the incredible power of these machines can be fully utilized, turning the slow, manual process of looking at atoms into a fast, reliable, and collaborative scientific endeavor. The result is a future where the pace of discovery is limited only by the questions we ask, not by the speed at which we can look at the answers.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.