This application provides a modern PyQt5 GUI for real-time characterization of field-effect transistors using Keithley 2401 and Keithley 2635A SourceMeter units.
- Output Curves: Id vs Vd measurements with multiple gate voltages
- Transfer Curves: Id vs Vg measurements at fixed drain voltages
- Multiple Measurement Modes: Single measurements or multiple parameter sweeps
- Real-time Plotting: Live updating PyQtGraph plots with dark theme
- Automatic CSV Logging: Comprehensive data logging with timestamps
- Calculation Tab: Load and visualize any CSV measurement data
- Interactive Linear Region Selection: Drag-and-drop region selection for linear fitting
- FET Parameter Extraction: Automatic calculation of threshold voltage and transconductance
- Mobility Calculation: Extract carrier mobility from linear region analysis with device geometry
- Flexible Column Selection: Choose any CSV columns for X/Y plotting
- Multi-curve Visualization: Group data by parameters for family curves
- Modern Dark Theme: Professional appearance with grid lines
- Non-blocking Interface: Measurements run in separate threads
- Device Configuration: Easy VISA resource scanning and selection
- Progress Tracking: Real-time voltage display and measurement progress
- Error Handling: User-friendly error messages and validation
- Keithley 2401: Primary drain/source measurement unit
- Keithley 2635A: Back-gate bias control
- Demo Mode: Mock instruments for development without hardware
- Flexible Configuration: Support for different instrument combinations
# Clone or download the repository
cd fet_characterization
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
# Install dependencies
pip install -r requirements.txt
# Run the application
python main.py- Demo Mode: Enable "Demo mode" checkbox for testing without hardware
- Connect Devices: Click "Connect Devices..." to configure VISA resources
- Output Directory: Set your preferred data output folder
- NPLC Setting: Adjust integration time for measurement speed vs. noise
- Configure drain voltage sweep parameters (start, stop, step)
- Set gate voltage values (single or multiple)
- Choose measurement timing (dwell time, stabilization)
- Real-time Id vs Vd curves with different colors for each Vg
- Configure gate voltage sweep parameters
- Set drain voltage values (single or multiple)
- Real-time Id vs Vg curves showing transfer characteristics
- Ideal for threshold voltage and transconductance analysis
- Load CSV Data: Browse and select measurement files
- Column Selection: Choose X-axis, Y-axis, and grouping columns
- Auto-detect FET: Automatically configure for standard FET data
- Linear Analysis:
- Enable "Linear Region Selection"
- Drag region boundaries to select linear portion
- Click "Fit Linear" for automatic parameter extraction
- View threshold voltage, transconductance, and fit statistics
- Mobility Calculation:
- Input device geometry (channel width, length, oxide thickness)
- Automatic mobility extraction from transconductance
- Support for both field-effect and Hall mobility calculations
- Real-time mobility display with proper units (cm²/V·s)
- Interactive Selection: Drag-and-drop region boundaries on plots
- Statistical Analysis: R-squared, correlation, p-value, standard error
- FET Parameters: Automatic calculation of Vth and gm
- Mobility Extraction: Calculate carrier mobility using device geometry parameters
- Visual Feedback: Red dashed line showing linear fit
- Comprehensive Results: Detailed parameter display with proper units
- Flexible CSV Export: Single files or separate files per measurement set
- Timestamp Naming: Automatic file naming with date/time stamps
- User-selectable Directories: Choose output location for organized data
- Multiple Formats: Support for various CSV column arrangements
- Speed Control: Adjustable point dwell time and stabilization delays
- Progress Monitoring: Real-time voltage display and set counting
- Safe Operation: Proper instrument initialization and error handling
- Interrupt Capability: Stop measurements safely at any time
fet_characterization/
├── main.py ── Application entry point
├── gui.py ── Main window with three tabs
├── measurement_worker.py ── Background measurement thread
├── plotter.py ── Real-time plotting with dark theme
├── keithley2401_controller.py ── Keithley 2401 SCPI driver
├── keithley2635a_controller.py ── Keithley 2635A TSP driver
├── mock_controller.py ── Virtual instruments for demo
├── requirements.txt ── Python dependencies
└── README.md ── This documentation
- PyQt5: Modern GUI framework
- PyQtGraph: High-performance plotting
- PyVISA: Instrument communication
- NumPy: Numerical computations
- Pandas: Data manipulation and CSV handling
- SciPy: Statistical analysis and linear fitting
- Pint: Unit conversion and physical quantity handling
- SymPy: Symbolic mathematics for mobility calculations
- Use appropriate NPLC values (higher for low noise, lower for speed)
- Allow sufficient stabilization time for gate voltage changes
- Choose appropriate voltage ranges for your device characteristics
- Select the most linear portion of your transfer curves
- Ensure sufficient data points in the selected region
- Check R-squared values to validate fit quality
- Use transconductance values to compare device performance
- Input accurate device geometry for reliable mobility calculations
- Consider oxide capacitance and dielectric constant for your specific device
- Use descriptive output directory names
- Enable separate files for multiple measurements when needed
- Keep measurement parameters consistent for comparative analysis
- VISA Errors: Ensure instruments are properly connected and powered
- Demo Mode: Use for testing interface without hardware
- CSV Loading: Check file format and column names
- Linear Fitting: Ensure selected region contains sufficient data points
- Mobility Calculation: Verify device geometry parameters are in correct units (μm for dimensions, nm for oxide thickness)
MIT