/SimSPR

Open-source simulator for Surface Plasmon Resonance (SPR) applications implemented in C++ language.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

logo

An Open-Source Simulator for Surface Plasmon Resonance Applications

Description:

We present our free, open-source simulator for Surface Plasmon Resonance (SPR) applications implemented in C++ language.

Characteristics:

  • Number of Layers: N layers;
  • Configuration: Otto (a), Kretschmann (b) and Optical Fiber (c);
  • License: Open-Source;
  • Language: C++;
  • Operation: Angular Interrogation Mode (AIM) and Wavelength Interrogation Mode (WIM).

Prerequisites:

  • G++ Compile (C++11 version);
  • Linux Terminal to compile Sim-SPR;
  • Git subversion;
  • GNUplot to plot waveforms.

Getting Started (Download Sim-SPR):

$ git clone https://github.com/eltonbrasil/SimSPR.git 

Running Applications

You can compile Sim-SPR using Makefile technique, given by following commands:

First, go to testbench on Sim-SPR folder as:

$ cd testbench

If you need some help:

$ make help

To compile your testbench using G++ tools:

$ make test

To run your simulation:

$ make run

After to run your simulation, you will be presented to the "Welcome to Sim-SPR", in which you can choose the SPR sensor configuration.

To clean unnecessary files:

$ make clean

This command also clean hidden files, using rm -i .*

Full Sequence Diagram of the Sim-SPR

Sim-SPR Current Status and Future Improvements

  • Kretschmann and Otto configurations
  • Optical Fiber
  • Laser Light Source
  • N layers
  • Angular Interrogation Mode: Kretschmann, Otto and optical fiber configurations
  • Wavelength Interrogation Mode: only for optical fiber using gold as metal layer
  • Sensitivity Angular Interrogation Mode
  • Sensitivity Wavelength Interrogation Mode
  • LED Light Source
  • Anisotropy
  • Graphical Interface

Sim-SPR

For more details, please refer to our article: Sim-SPR: an Open-Source Surface Plasmon Resonance Simulator for Academic and Industrial Purposes

Author