User Guide

This Project has three main Components:

  1. Taking Measurements
  2. Analyse the Data
  3. Results and Documentation

Taking a measurement

For all measurments working with the standard TCMC Lib the notbook Measurements offers a simple interface. My TwinCat project for that can be found here.

Requierments:

  1. TwinCat Project setup acording to ESS dokumentation
  2. All libraryies installed (requirents.txt)
  3. Static paths on top of every file set
  4. Correct AMS-net Id for PLC set in metrology_functions (line52)
  5. Using the microscope X02DA-PG-USB:cam1
  6. The X-Axis needs to be linked to the reference Axis 2

pip install -r requirements.txt

If another microscope is used which can use the same epics interface, the ID can be changed in the AD.py file

Location of static Paths:

  1. Y_Axis_Meas (line 31,36,39,55)
  2. myutility (line 58)
  3. metrology_functions (line 13-16)

Scripts/Y_Axis_Meas.py

Meaurement types suprted by the Notebook:

  1. Image Test
  2. Static short term
  3. Static long term
  4. Repetability
  5. Repability motors of
Descriptions of the measurements can be found in the Results notebook

Y-Axis Measurements

The used file to execute the measurement is the Y_AxisMeas.py

For the Y-Axis a new interface over ADS was needed. To minimize the required time for Testing the Y-Axis was developed with as little cohesion to the other measurement scripts as possible. On the beckhof side no TCMC/ESS lib was used. The interface consists of functions of the Beckhof Motion Liba linked to variables and some custom functions for communicating states. The communication was done with the ADS protocol writing/reading from GVLs. The project can be found under: https://gitea.psi.ch/berti_r/Coupling_ADS.git

Requirements:

  1. Custom TwinCat Project
  2. All libraries installed (requirents.txt)
  3. Static paths adjusted in Y_Axis_Meas.py
  4. Correct AMS-net Id for PLC set in metrology_functions (line52)
  5. Using the microscope X02DA-PG-USB:cam1
  6. Vertical Axis are linked to reference Axis 1 and 4

pip install -r requirements.txt
#!/bin/bash


# Install package directly from GitHub
pip install https://gitea.psi.ch/berti_r/Motion_lib/raw/branch/main/dist/mfl-0.0.3.tar.gz


Analyzing new Data

For analyzing new data the notebook Measurements Analysis offers some functionalities. The temperature measurement needs to be added manually. In generally the newest measurement is selected by default. If no "conf_YearMoDa.json" is generated automatically with the measurement it must be copied from another measurement and the name needs to be adjusted. Especially important is the pixel size variable.

Results

Overall result of the measurements can be found in the Results notebook. Intermediate results are Documented in MessberichtXXXXXX notebooks where also a quick overview of the controller tuning process can be found.

Description
Jupiter script of goals, performance and stuff
Readme 54 MiB
Languages
Jupyter Notebook 69.2%
HTML 28.3%
Python 2.5%