Skip to content

Lock-in and PID application for RedPitaya enviroment (only with harmonic modulation)

License

Notifications You must be signed in to change notification settings

Gacosta2/rp_lock-in_pid_h

 
 

Repository files navigation

Red Pitaya Lock-in+PID Application with HARMONIC modulation

This started being a striped version of lock-in+PID project. Now it incorporated some new features that make it another App.

Example of usage

Features

  • Lock-in amplifier
  • in-phase and quadrature Demodulation
    • Demodulation for arbitrary phase
    • Demodulatión for double and triple frequency
  • Two PID filters, for loop back stabilization
  • Ramp/Scan controller for response analysis
  • Lock control for automatic scan-stop / PID start
  • Streaming system for continued acquisition of two channels
  • Remote control through HTTP API  

New Interface for lock-in R & Phase :

New iface

Lock-in and PID application for RedPitaya environment

This is an application built for the Red Pitaya STEMlab 125-14 board (RP). The board is closed-hardware and open-software. You can buy the board and build your own software.

If you have a RP board you can install the Lock-in+PID application by copying the lock_in+pid_harmonic folder (that comes with this tar/zip file) to the /opt/redpitaya/www/apps folder (inside the RP).

For more information about installing procedure, refer to: https://marceluda.github.io/rp_lock-in_pid/TheApp/install/

Development

To build of modify the App you need a linux development environment with:

  • Vivado 2015.2
  • gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf (installed on /opt/linaro/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/)

Run on terminal:

source settings.sh
make

Or form App folder lock_in_mtm :

source ../settings.sh

and then...

For web controller building:

make app

For FPGA implementation:

make fpga

For tar.gz packaging

make tar

For cleaning:

make clean       # clean all
make clean_app   # clean only C objects
make clean_fpga  # clean only FPGA implementation temp files and .bin

Upload App to Red Pitaya device

UnZip / UnTar the App folder. Execute from terminal:

./upload_app.sh rp-XXXXXX.local

Replace rp-XXXXXX.local by your RP localname or IP address

Also, you can use your own SSH client and upload the lock_in+pid_harmonic folder the the RedPiaya folder: /opt/redpitaya/www/apps

About

Lock-in and PID application for RedPitaya enviroment (only with harmonic modulation)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 26.0%
  • Python 23.4%
  • Verilog 23.2%
  • HTML 19.3%
  • SystemVerilog 4.1%
  • Tcl 2.0%
  • Other 2.0%