Skip to content
/ HRT Public

Controll system for my master thesis - Experimental setup for hemilarynx characterization. It uses LabJackU6 DAQ card with python

Notifications You must be signed in to change notification settings

karbenatek/HRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HRT

This project was developed as an enhancement to an existing experimental setup to study a voice production at excised larynx specimens. This experiment is based at voice research laboratory which is part of experimental physics department at Palacky University in Olomouc.

But big credits also becomes to:

Experimental Setup

Desctiprion

The project is written in Python 3.xx solely for Linux operating system as the Windows does not suppor the used multithreading (iOS was not tested).

Python Modules Used

Here is the list of Python modules used in this project:

Please make sure to install these modules before running the project.

Usage

To calibrate the forcemeter the script futek.py is used. Based on position of the forcemeter, use:

  • python3 futek l to calibrate left winder
  • python3 futek m to calibrate middle winder
  • python3 futek r to calibrate right winder

Before starting the calibration process, make sure there is no load on the forcemeter and leave it hanging. When the calibration process is started, data for no force are taken so make sure to not affect the masurement. After that, the program asks for calibration weight (in grams) which should be hanged under the forcemeter. This can be done for multiple weight values. When sufficient amount of calibration points is taken, type stop instead the weight and program will automatically fit the calibration points with line and save it's parameters to file calib.json. When starting the main controll program, the calibration parameters are loaded automatically.

To start the main application with GUI run:

python3 HRT.py

The following application window should pop up: GUI This user interface allows to controll each of the stepper motors in two regimes:

  1. steps - stepper motors can be set to wind or unwind with +/- buttons, or sent to specific position (relative to one default one which is set to 0 at program initialization)
  2. PID - stepper motors are automatically controlled with PID loot to achieve specific force. To use, write te force into Set force entry and confirm by pressing <enter>. After that the Toggle PID button can be pressed and motor will automatically chase the defined position. To controll the left and right winder simultaneously (i.e. almost symetrically), togle the Entangle button. But make sure that for each of the two, some force was set before a (just by clicking into force entry and pressing <enter>) and both PID buttons are switched off.

About

Controll system for my master thesis - Experimental setup for hemilarynx characterization. It uses LabJackU6 DAQ card with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages