Skip to content

Commit

Permalink
added apps, examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha Cankar committed Nov 28, 2016
1 parent 49d7ae7 commit 36cde88
Show file tree
Hide file tree
Showing 113 changed files with 3,424 additions and 145 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
*.i*86
*.x86_64
*.hex
# backups
*~
62 changes: 11 additions & 51 deletions doc/appsFeatures/apps-featured/apps-featured.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,14 @@
Applications
############

.. TODO zamenjaj linke z vsebino
`Oscilloscope & Signal Generator <http://redpitaya.com/apps/oscilloscope/>`_
******************************************************************************

`Spectrum Analyzer <http://redpitaya.com/apps/spectrum-analyzer/>`_
******************************************************************************

`Bode Analyzer <http://redpitaya.com/apps/bode-analyzer/>`_
******************************************************************************

`Logic Analyzer <http://redpitaya.com/apps/logic-analyzer/>`_
******************************************************************************

`LCR meter <http://redpitaya.com/apps/lcr-meter/>`_
******************************************************************************

`Marketplace applications <http://redpitaya.com/marketplace-applications/>`_
******************************************************************************


.. (slike, opis, primer uporabe)
.. osciloscope in signal generator isti tekst
.. TODO http://redpitaya.com/apps/oscilloscope/
dodaj tabelo specsov
.. logic analyzer
.. itd.
.. Bode analyzer
.. *************
..
.. Bode analyzer enables measurements of Amplitude and Phase response of the desired [tippy title=”DUT”]Device Under Test[/tippy].
.. The measurements are not in real time.
.. Frequency range and number of steps are adjustable.
.. How to connect DUT to the Red Pitaya when using Bode analyser is shown in picture below.
..
.. .. image:: Bode_analyzer_connections.png
..
.. Frequency Response analyzer
.. ***************************
..
.. Frequency response analyzer enables measurements of frequency amplitude response of desired DUT (Device Under Test).
.. The measurements of frequency response are in range from 0Hz to 60MHz.
.. Measurements are in real time and the frequency range is NOT adjustable.
.. Measurement can be done for each channel independently, i.e it enables simultaneously measurements of two DUTs.
.. How to connect DUT to the Red Pitaya when using Frequency Response analyser is shown in picture below.
..
.. .. image:: Frequency_response_analyzer_connections.png
..
.. toctree::
:maxdepth: 6
:numbered:

./oscSigGen/osc.rst
./spectrum/spectrum.rst
./bode/bode.rst
./logic/logic.rst
./lcr_meter/lcr_meter.rst
../marketplace/marketplace.rst

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions doc/appsFeatures/apps-featured/bode/bode.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
Bode Analyzer
#############

.. image:: 01_iPad_Combo_Bode.jpg

This application will turn your STEMLab into an affordable Bode analyzer. It is the perfect tool for educators,
students, makers, hobbyists and professionals seeking affordable, highly functional test and measurement equipment.
The Bode analyzer is an ideal application for measuring frequency responses of the passive/active filters, complex
impedances and any other electronic circuit. The Gain/Phase frequency response can be used to characterize any device
under test completely, you can perform linear and logarithmic sweeps. Gain and Phase can be measured from 1Hz to
60MHz. The basic user interface enables quick interaction and parameter settings. The Bode analyzer can be used for
the measurement of Stability of control circuits such as the DC/DC converters in power supplies, Influence of
termination on amplifiers or filters, Ultrasonic and piezo electric systems and similar. All Red Pitaya applications
are web-based and don’t require the installation of any native software. Users can access them via a browser using
their smartphone, tablet or a PC running any popular operating system (MAC, Linux, Windows, Android and iOS).
The graphical user interface of the Bode analyzer application is shown below.

The graphical interface is divided into 5 areas:

.. image:: BA_Slika_01.png

1. **Stop/Run button:** It is used to start and stop measurement. **Calibrate button:** When the selected calibration
of the setup is started.
2. **Measurement settings panel:** It is used for setting the measurement parameters such as the frequency range,
scale, number of steps, excitation signal amplitude, excitation signal DC bias and averaging number.

.. image:: BA_Slika_02.png

3. **Plot settings panel:** It is used to set the Gain and Phase graph ranges as also manual or auto scale mode.

.. image:: BA_Slika_03.png

4. **Gain graph:** The Gain frequency response of the DUT (device under test) is plotted for the selected frequency
range.
#. **Phase graph:** The Phase frequency response of the DUT (device under test) is plotted for the selected frequency
range.

FEATURES
********

Main feature of the Bode analyzer application are described below:

- Measured parameters: Gain, Phase
- The Bode analyzer application will enable you to measure the gain and phase frequency response for the desired
DUT (device under test)
- The frequency sweep range of the Bode analyzer application is from 1Hz to 60MHz with a 1Hz resolution
- Linear and Logarithmic Frequency sweep modes are available. The Logarithmic sweep mode (scale) enables
measurements in large frequencies range, while the linear sweep mode is used for measurement in the small
frequencies range.
- excitation signal parameters (amplitude and DC bias) can be adjusted to make measurements in different
sensitivities and conditions (amplifiers etc.).
- The calibration function enables calibrating long leads and to remove leads and cables effect on final
measurements. The calibration will also calibrate your STEMLab if any parasitics effects are present.

.. image:: BA_Slika_05.png


Specifications
**************

+--------------------------------------------+-------------------------------+--------------------------------+
| | STEMlab 125 - 10 | STEMlab 125 - 14 |
+--------------------------------------------+-------------------------------+--------------------------------+
| Frequency span | 1Hz-50MHz | 1Hz-60MHz |
+--------------------------------------------+-------------------------------+--------------------------------+
| Frequency resolution | 1Hz | 1Hz |
+--------------------------------------------+-------------------------------+--------------------------------+
| Excitation signal amplitude | 0 - 1 V | 0 - 1 V |
+--------------------------------------------+-------------------------------+--------------------------------+
| Excitation signal DC bias | 0 - 0.5 V | 0 - 0.5 V |
+--------------------------------------------+-------------------------------+--------------------------------+
| Resolution | 10bit | 14bit |
+--------------------------------------------+-------------------------------+--------------------------------+
| Maximum number of steps per measurement | 1000 | 1000 |
+--------------------------------------------+-------------------------------+--------------------------------+
| Max input amplitude | | ± 1 V (LV jumper settings), | | ± 1 V (LV jumper settings), |
| | | ± 20 V (HV jumper settings) | | ± 20 V (HV jumper settings) |
+--------------------------------------------+-------------------------------+--------------------------------+
| Measured parameters | Gain, Phase | Gain, Phase |
+--------------------------------------------+-------------------------------+--------------------------------+
| Frequency sweep modes | Linear/Logarithmic | Linear/Logarithmic |
+--------------------------------------------+-------------------------------+--------------------------------+

HW connections
**************

When using the Bode analyzer application, please follow the connection diagram described below. Also use the 50 Ohm
termination on the OUT1.

.. image:: BA_Slika_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 93 additions & 1 deletion doc/appsFeatures/apps-featured/lcr_meter/lcr_meter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,98 @@
LCR meter
*********

.. image:: 01_iPad_Combo_LCR.jpg

This application will turn your STEMLab into an affordable LCR meter. It is the perfect tool for educators, students,
makers, hobbyists and professionals seeking affordable, highly functional test and measurement equipment. The
Resistor, Capacitors and Inductors are basic components of all electrical circuits and working on your projects you
will definitely need to measure some components laying around on your working bench. The STEMLab LCR meter will enable
you to do that quickly and accurately just by switching from one application to another.

.. note::

To use the LCR meter application an additional extension module is needed. The LCR meter
`extension module <http://store.redpitaya.com/red-pitaya-shield-23.html>`_ is available on our web store,
`http://store.redpitaya.com/ <http://store.redpitaya.com/>`.

All Red Pitaya applications are web-based and don’t require the installation of any native software. Users can access
them via a browser using their smartphone, tablet or a PC running any popular operating system (MAC, Linux, Windows,
Android and iOS). The elements on the LCR meter application are arranged logically and offer a familiar user interface
similar to bench LCR meters.

.. image:: Slika_01_LCR_meter_WEB_page.png

The graphical interface is divided into 6 main areas:

1. **Hold/Run button:** It is used to start and stop measuring. Log data button: When selected, the measurements
of parameters selected in the “Data options” field are logged in the table shown in area 6.

2. **Data options panel:** It is used for selecting the desired parameter for which the measurement will be
displayed on the Main window panel shown on area 4.

3. **Measurement option panel:** It is used to select a measuring frequency, range mode and range value. The user
can select between the Parallel and Series measuring modes as well as between the Tolerance, Relative or Normal
modes (modes described in the features section)

4. **Main display:** On this panel the measurements of parameter selected in “Data option” field are shown. Where
the Primary parameter is shown with a larger font and the secondary parameter with smaller one. This is a very
common practice since by reading values from the display the user can automatically see the most important
results.
5. **Secondary display:** On the secondary display the main settings are shown: current selected parameters,
measuring frequency and range mode. Also the Min, Max and Average value or Primary parameters are shown.

6. **Logging table:** Is used to log and export measured data. Logging is started by selecting the “Log data”
button.

7. **Option buttons field:** I used to manipulate with the table. The “Clear Min/Max” button will reset the Min
and Max value on the Secondary display.



FEATURES
********

The main features of the LCR meter applications are described below:

MEASURED PRIMARY PARAMETERS: Z, L, C, R
=======================================

LCR meter application will enable you to measure basic parameters of the passive electrical components:
R – resistance, C – capacitance, L – inductance and Z – impedance.

MEASURED SECONDARY PARAMETERS: P, D, Q, E
=========================================

Alongside main parameters the secondary parameters are also measured and calculated. These parameters are common in
describing the properties and the quality of the passive components. P – phase of the impedance (phase between current
and voltage on measured component), D – dissipation factor (often used to quantify the quality of the capacitor),
Q – quality factor (often used to quantify the quality of the inductor), ESR – equivalent series resistance

SELECTABLE FREQUENCIES: 100HZ, 1KHZ, 10KHZ, 100KHZ
==================================================

LCR meter enables measurements at 4 different frequencies (100Hz, 1kHz, 10kHz, 100kHz). The user can select desired
frequency and the LCR application will use sine signals with the selected frequency to measure the impedance.

RANGE MODES: AUTO, MANUAL
=========================

Since the measured values are unknown, the LCR meter will adjust the measuring range providing the best accuracy. If
the user expects some value in creating ranges, then the Manual mode can be used.

- Measurements modes: Tolerance, Relative, Normal The “Tolerance” and “Relative” buttons are used for measuring in
the Tolerance and Relative mode. When deselected, the LCR meter measures in the Normal mode.
- Tolerance mode: the last value measured before clicking the Tolerance button is saved and used to calculate the
percentage difference between the new value and the saved one.
- Relative mode: the last value measured before clicking the Relative button is saved and used to calculate
relative difference between the new value and the saved one. Equivalent Parameters calculation circuit:
Parallel, Series The Parallel and Series measuring modes refer to using the Series or Parallel equivalent
circuit for the parameters (R, C, L...) calculation from the measured Impedance Z \*. LCR meters will only
measure Z as the complex value Z=\|Z\|e^(jP) where P is the measured phase and \|Z\| is the impedance amplitude.
All other parameters are calculated from the Series or the Parallel equivalent circuit.
- Export of measured data in .csv format
- Min, Max, Average measurements

.. image:: LCR_range.png

Frequency response analyzer enables measurements of frequency amplitude response of desired DUT (Device Under Test).
Expand All @@ -24,4 +116,4 @@ Keysight precision LCR meter. From this plots you can extract basic Red Pitaya a

Impedance analyzer application can be used without LCR Extension module using manual setting of shunt resistor. This option is described below. Notice that you will need to change “C_cable” parameter in the code when using your setup.

.. image:: Impedance_analyzer_manaul_R_Shunt.png
.. image:: Impedance_analyzer_manaul_R_Shunt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 36cde88

Please sign in to comment.