Skip to content

PV-Lab/ASHE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fused Geometric-Machine Leaning Model for Transparent Substrate Placement Detection

./workflow_diagram_R4.png

Authors: Kelsey Fontenot kelfon@mit.edu and Anjali Gorti agorti@mit.edu

Overview

Self-driving laboratories (SDLs) are beginning to aid the chemistry and materials discovery process by automating time-consuming and repetitive tasks. Though many SDLs are emerging, there does not yet exist a methodology for handling delicate and transparent substrates for such experiments. Toward this end, we develop we propose a method of Automated Substrate Handling and Exchange (ASHE) for transparent substrates within SDLs. ASHE utilizes a robotic arm with custom designed grippers, a dual-actuated substrate dispenser, and a fused geometric and deep learning vision detection model to accurately unload used substrates and load fresh substrates fully automatically within a self-driving laboratory. In 130 independent trials of ASHE reloading substrates into a self-driving laboratory, the systems demonstrates 98.5% placement accuracy with only two substrate misplacements. ASHE automatically detects these misplaced substrates and corrects their placements. Although ASHE demonstrates promising performance results towards the advancement of automated transparent substrate manipulation, vision detection, and error correction, several limitations exist in its cost and its generalizability as the system is heavily designed around substrates of specific sizes. Despite these limitations, ASHE helps to close the research gap in fragile and transparent substrate manipulation for self-driving materials laboratories.

Repository Structure

File/Folder Description
examples.ipynb Jupyter notebook demonstrating the pipeline and usage examples of the fused geometric-machine learning model for transparent substrate detection.
cnn_model.py Python module with the machine learning model.
geometric_model.py Python module with the geometric model.
standard_test.xlsx Results from the full 130 placement ASHE run.
test_images Folder containing test images to demonstrate models.

Requirements

To run the code in this repository, you will need the following dependencies:

  • python=3.11.11
  • torch==2.5.1
  • opencv-python==4.11.0.86
  • shapely==2.1.0
  • pyrealsense2==2.55.1.6486
  • numpy==2.0.1
  • torchaudio==2.5.1
  • torchvision==0.20.1
  • pillow==11.1.0

Installation

  1. Download Anaconda Navigator & open the prompt terminal.
  2. In the terminal, create a new virtual environment by entering:
conda create -n <env-name>
  1. Then, activate the environment:
conda activate <env-name>
  1. In the environment, install the correct version of python with conda. Then, install the rest of the dependencies with pip:
conda install python=3.11.11
pip install -r requirements.txt

Quick Start

Model Architecture

./model_workflows_R1.png

To detect whether the substrate has been successfully placed into the transporter, we propose a fused computer vision model approach. The first model uses the segmented geometry of the substrate compared to the target slot of the transporter to determine larger macro-scale errors in placement. The second model uses a deep learning convolutional neural network to determine smaller micro-scale errors in placement. The fused model approach enables robust and high-accuracy failure detection of transparent substrate placements.

Results

By fusing the geometric and deep learning model approaches, reliable detection of transparent substrate placement failures is achieved across a sweep of realistic error modes. The GM is used as the initial rejection model for large, obvious errors, while the CNN is used to determine small errors nearly imperceptible to the human eye. However, a successful placement is not confirmed unless the GM and CNN both output a success.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •