Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/pr-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request:
types: [closed]

jobs:
clean-gh-pages:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: analogdevicesinc/doctools/gh-pages-rm-path@action
with:
path: pull/${{ github.event.number }}
52 changes: 7 additions & 45 deletions .github/workflows/top-level.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,56 +69,18 @@ jobs:

deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [build-doc]
permissions:
contents: write
if: >
github.ref == 'refs/heads/main' ||
github.event_name == 'pull_request' ||
github.ref_type == 'tag'

steps:
- run: |
git config --global user.name "${{ github.event.head_commit.committer.name }}"
git config --global user.email "${{ github.event.head_commit.committer.email }}"

- uses: actions/checkout@v4
- name: Create gh-pages branch
run: >
git ls-remote --exit-code --heads origin refs/heads/gh-pages ||
(
git reset --hard ;
git clean -fdx ;
git checkout --orphan gh-pages ;
git reset --hard;
git commit -m "empty" --allow-empty ;
git push origin gh-pages:gh-pages
)

- uses: actions/checkout@v4
with:
ref: 'gh-pages'
lfs: 'false'

- name: Empty gh-pages
run: |
git rm -r . --quiet || true

- uses: actions/download-artifact@v4
- uses: analogdevicesinc/doctools/gh-pages-deploy@action
with:
new_tag: ${{ github.ref_type == 'tag' }}
tag: ${{ github.ref_name }}
name: html

- name: Patch doc build
run: |
rm -r _sources
touch .nojekyll

- name: Commit gh-pages
run: |
author=$(git log -1 --pretty=format:'%an')
email=$(git log -1 --pretty=format:'%ae')
commit=$(git rev-parse --short HEAD)

git add . >> /dev/null
git commit -m "deploy: ${GITHUB_SHA}" --allow-empty

- name: Push to gh-pages
run: >-
git push origin gh-pages:gh-pages
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
Fluorescence Measurement Demo
==============================

Fluorescence occurs when the electrons of certain chemical compounds are excited

Check warning on line 6 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Passive:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:6:70 'are excited' may be passive voice. Use active voice if you can.
by beam of light causing them to emit light at a different and typically longer
wavelength. The intensity of the emitted fluorescent light is linear for a broad
range of concentration of the substance. The method of measuring fluorescence
intensity to obtain the concentration of the material is advantageous over

Check warning on line 10 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.TooWordy:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:10:58 'advantageous' is too wordy.
standard colorimetry due to its specificity and resistance to noise. Since only

Check failure on line 11 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:11:10 Did you really mean 'colorimetry'?
the target chemical compound emits light at a different wavelength, using a
detector or optical filter which detects or passes narrowband light centered at

Check failure on line 13 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:13:52 Did you really mean 'narrowband'?
that wavelength decreases interference from the source or incident light.

General Description
Expand All @@ -22,12 +22,12 @@
fluorescence involves either directly measuring the emitted light from the
compound or from an added a reagent which introduced fluorescent material
proportional to the concentration of the target compound. The sensor used is
the fluorescence photodiode placed perpendicular to the light path from the

Check failure on line 25 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:25:18 Did you really mean 'photodiode'?
source LED. This photodiode is sensitive to longer wavelength light than the

Check failure on line 26 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:26:18 Did you really mean 'photodiode'?
transmit photodiode placed directly in the light path. Its position and

Check failure on line 27 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:27:10 Did you really mean 'photodiode'?

Check warning on line 27 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.TooWordy:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:27:1 'transmit' is too wordy.
spectral sensitivity help to remove any interference from the source LED to
the fluorescent light samples. Additionally, an optical fluorescent filter
(narrowband longpass filter) is inserted in the slot in front of the sensor to

Check warning on line 30 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Passive:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:30:30 'is inserted' may be passive voice. Use active voice if you can.

Check failure on line 30 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:30:13 Did you really mean 'longpass'?

Check failure on line 30 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:30:2 Did you really mean 'narrowband'?
further isolate fluorescent light from noise.

The demo shows how directly measuring fluorescent light from tonic water
Expand All @@ -39,9 +39,9 @@
Demo Requirements
-----------------

The following is a list of items needed in order to replicate this demo.

Check warning on line 42 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.TooWordy:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:42:41 'in order to' is too wordy.

- :adi:`CN0503`, completely assembled (see :ref:`Hardware User Guide<eval-cn0503-ardz>`)

Check warning on line 44 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Weasel:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:44:18 'completely' is a weasel word!
- :adi:`EVAL-ADICUP3029` with firmware (see :ref:`Software User Guide<cn0503-software>`)
- Host computer with CN0503 software (see :download:`Quick Setup Guide <cn0503_gui_quick_start_guide.docx>`)
and Microsoft Excel (Optional for setting up computation of concentration)
Expand All @@ -50,14 +50,14 @@
Setting Up the EVAL-CN0503-ARDZ
-------------------------------

Before starting with these steps, please check the :ref:`Hardware User
Guide<eval-cn0503-ardz>` for the steps to assembling the :adi:`CN0503`.
Additionally, please check the :ref:`Software User Guide<cn0503-software>` for
the steps in setting up the firmware and the :download:`Quick Setup Guide
<cn0503_gui_quick_start_guide.docx>` for running the software. This demo
assumes that you already have an assembled board with a working firmware
already programmed on the :adi:`EVAL-ADICUP3029` and a ready-to-run software in
the host computer.
Before starting with these steps, please check the
:ref:`Hardware User Guide<eval-cn0503-ardz>` for the steps to assembling the
:adi:`CN0503`. Additionally, please check the :ref:`Software User Guide <cn0503-software>`
for the steps in setting up the firmware and the
:download:`Quick Setup Guide <cn0503_gui_quick_start_guide.docx>`
for running the software. This demo assumes that you already have an assembled
board with a working firmware already programmed on the :adi:`EVAL-ADICUP3029`
and a ready-to-run software in the host computer.

Configure the on-board jumper shunt connection as below:

Expand Down Expand Up @@ -121,13 +121,13 @@

#. Add empty cuvette/s (or filled with distilled water) to the cuvette holder
assembly, and insert to path 1. Set the jumper connection of P1ASEL
temporarily to 0DEG. This uses the transmit photodiode directly in the path

Check failure on line 124 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:124:48 Did you really mean 'photodiode'?

Check warning on line 124 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.TooWordy:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:124:39 'transmit' is too wordy.
of light from LED1 to check and measure the intensity of the light source.

.. image:: fl_optimizeled.jpg

#. Click the ``Optimize LED`` button. This properly sets the LED current in the path so that
the light intensity measured by the photodetector is close to 50%.

Check failure on line 130 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:130:40 Did you really mean 'photodetector'?
#. Return the P1ASEL jumper connection to 90DEG and click ``Okay`` here and on the
settings window to go back to the main. Remove the empty cuvette or distilled
water sample.
Expand All @@ -140,11 +140,11 @@
.. image:: fl_cuvette.jpg

#. Select path 1, set display mode to INS1, and press ``Start Measurement``. The
concentration of quinine in g/L will be shown in a live plot as shown below.

Check warning on line 143 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Passive:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:143:41 'be shown' may be passive voice. Use active voice if you can.

.. image:: fl_data.png

For quick demo purposes, the system was configured in path 1, by default,

Check warning on line 147 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Passive:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:147:40 'was configured' may be passive voice. Use active voice if you can.
using a polynomial approximation. Check the Computing Concentration
section for more details.

Expand All @@ -160,9 +160,9 @@
-----------------------

The CN0503 measures the intensity of the fluorescent light through a right
angle photodiode and the intensity of the incident light through a reference

Check failure on line 163 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:Vale.Spelling:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:163:7 Did you really mean 'photodiode'?
photodiode. A polynomial approximation for computing quinine concentration can
be modeled using the ratios of the two intensities measured from samples of

Check warning on line 165 in docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst

View workflow job for this annotation

GitHub Actions / check-doc

vale:write-good.Passive:docs/solutions/reference-designs/eval-cn0503-ardz/fluorescence-measurement/index.rst:165:1 'be modeled' may be passive voice. Use active voice if you can.
known values.

.. important::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ Setting the EVAL-CN0503-ARDZ
Before starting with these steps, please check the :ref:`Hardware User Guide
<eval-cn0503-ardz>` for the steps to assemble the CN0503. Additionally, please
check the :ref:`Software User Guide <cn0503-software>` for the steps in setting
up the firmware and the :download:`Quick Setup Guide
<cn0503_gui_quick_start_guide.docx>` for running the software. This demo
assumes that you already have an assembled board with a working firmware
already programmed on the :adi:`EVAL-ADICUP3029` and a ready-to-run software in
the host computer.
up the firmware and the :download:`Quick Setup Guide <cn0503_gui_quick_start_guide.docx>`
for running the software. This demo assumes that you already have an assembled
board with a working firmware already programmed on the :adi:`EVAL-ADICUP3029`
and a ready-to-run software in the host computer.

Configure the onboard jumper shunt connection as below:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,15 +561,20 @@ and entering the break points into the table on the left. The maximum signal
level is 500 mV pk-pk. Right-click on the table to bring up a menu which will
help edit the data in the table.

.. figure: lib1_bodeinjlvl.png
.. figure:: lib1_bodeinjlvl.png

Setting the Bode Plot Injection Level

+----------------------------------------------+-----------------------------------------------+
| .. figure:: lib2_bodeinjlvl.png | .. figure:: lib3_bodeinjlvl.png |
| | |
| Tapered vs. Constant 20 mV Injection Levels | Tapered vs. Constant 100 mV Injection Levels |
+----------------------------------------------+-----------------------------------------------+
.. grid::
:widths: 50% 50%

.. figure:: lib2_bodeinjlvl.png

Tapered vs. Constant 20 mV Injection Levels

.. figure:: lib3_bodeinjlvl.png

Tapered vs. Constant 100 mV Injection Levels

With a constant 20 mV pk-pk injection level, both the gain and phase
measurements are noticeably noisier at low frequencies because of the small
Expand Down Expand Up @@ -796,12 +801,17 @@ Upper Limit combo boxes.
If the voltage waveform remains inside the box, the limit text will turn green,
otherwise the text will be red.

+--------------------------------------+--------------------------------------+
| .. figure:: lib2_limidisp.png | .. figure:: lib3_limidisp.png |
| | |
| **Transient Analysis Passing Set | **Transient Analysis Failing Set |
| Limits indicated by Green Text** | Limits indicated by Red Text** |
+--------------------------------------+--------------------------------------+
.. grid::
:widths: 50% 50%

.. figure:: lib2_limidisp.png

Transient Analysis Passing Set Limits indicated by Green Text

.. figure:: lib3_limidisp.png

Transient Analysis Failing Set Limits indicated by Red Text


Transient Analysis Tab
~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -950,7 +960,7 @@ Time combo boxes. The rise times are programmable only when the Low Current is
set to a minimum value other than zero in order to overcome the offset of the
amplifier in the current control loop on the current probe.

.. figure::lib1_rifati.png
.. figure:: lib1_rifati.png

Transient Rise Time Comparison

Expand Down