Close
0%
0%

Photo-acoustic Spectroscopy

Creating an at home photo-acoustic spectroscopy system

Similar projects worth following
Photo-acoustic spectroscopy is an alternative detection methodology for traditional absorption or scattering spectroscopy. In a traditional system the input light is detected with some type of direct detection device such as a photodiode, photomultiplier tube, etc. in photo-acoustic spectroscopy the input light is modulated to produce the photo-acoustic effect, with the resulting sound being demodulated and detected. This allows for measurement of in-situ or in-vivo samples, well as detection of small concentrations of material that would saturate a typical sensor. Applications and variations on the basic scheme are similar to traditional spectroscopy.

Guiding Design Goals and Philosophy for Lock in Amplifier:

Similar capabilities to the sr530. This is a common, workhorse instrument that I would love to have on my bench. The big features i’m going for are:

Expense: this should be “affordable”. I don’t have a hard number, but I want these to be maybe $30-$50 ea. in singles.

Extensibility and limitation of features: This is intended to be both a general purpose instrument, and a “first pass” design. This means I’m not going overboard with high expense or difficult LNA designs, crazy filter topologies, etc. for example, I haven’t selected a tuned JFET LNA, or the lmc6001 transimpedance amplifier for this reason. I’m also not adding a lot of microcontroller measurement or display systems. These can be reserved for either a version 2.0 design or external modules.

Specific key features:

nanoVolt sensitivity, single ended or differential.

femtoAmp sensitivity.

I’ll be happy if I get within an order of magnitude of these targets. It is acceptable to add an external preamplifier with a better noise figure if I really need it.

Selectable gain from nV to mV

PLL:

Modulation frequency selectable from 1 Hz to 100kHz. The ADA2200 requires a clock frequency 64X the modulation frequency, so that puts the PLL output at 64Hz to 6.4MHz. This is a weird frequency range to cover. I have not found any existing products that cover this use case that I’m happy with.

Input waveforms:

“Arbitrary” waveforms (within reason). The sr530 can lock to any input waveform that has sufficient pk-pk range and crosses it’s midpoint twice per cycle. This permits common logic schemes like TTL, as well as “real world” waveforms like a chopper wheel modulated photodiodes.

Since I’m ultimately looking to do photoacoustic spectroscopy, an optical chopper wheel is a very likely modulation scheme. This is a key feature that I want in an end system.

Filters:

Line filter

Adjustable bandpass filter around modulation frequency. I get this for free from the ADA2200, so I don’t intend to add dedicated filters, but this would be a good idea for a future version.

  • 1 × ADA2200 Synchronous Demodulator
  • 1 × AD8428 Amplifier and Linear ICs / Instrumentation Amplifiers

  • PLL Debug

    JasMoH01/09/2018 at 20:43 0 comments

    Back from the holidays, and back into the swing of things. This post is rather rough because I don't feel like cleaning up my personal notes, but here's some raw, unfiltered black tar debugging. as always, the TL;DR is I'm an idiot who can't read letters...

    Double check your footprints kiddos!

    Pll testing notes:

    Initial checkout:

    Input midpoint tracker works at a variety of frequency down to the 10HZ range - coo.

    Comparator is not comparatoring - uncool.

    I’m thinking that this is a hysterisis problem. Pull up r88 - consider new values for r87

    and r88 - or remove entirely and use on board hysterisis (dpending on low freq. performance?)

    Pulled off r88 (feedback resistor). In process noticed issues with solder bridges on comp. Pins.

    It has worked intermittently, but appears to have issues w/ manufacturing (wrong footprint).

    That was an ordering problem. I ordered sc70 (.65 pitch) package - i laid out sot-23 (.95)

    Next time: include nicer grounding studs for scope probes!

    1/8/18

    Replaced comparator with correctly packeged part. Always fun to do smt rework with my heated screwdriver soldering iron...

    Midpoint tracking issues -

    Seem to have issues with the input midponit tracking, even on 1KHz. Unsure why that was working before but not now.

    measured 3v3 at non-inverting input (about 10x), and railing at output. Colud this be due to tolarance issues w/ rc?

    Quick’n’dirty spice-y sims say that it shouldn’t be that sensativ eat 1k (20% mismatch between the input and output)

    Op amp damage?

    Loading effects from comp?

    5000 rA input bias current, 10^13 input resistance. Should be good fine.

    Op amp lifted off due to incorrect footprint sizing. Likely under stress… fix that and try agin...

    1/9/18

    Repaired input midpoint tracking opamp (u7) and it works again. So that’s cool.

    Still no PLL lock though. Comparator is just railing out...

    Quick midpoint characterization. “Decent” at 10 Hz, falls appart in the single Hz range.

    This should be good enough for a first pass, it’s unlikely to ever be used bellow 20Hz due to 1/f noise.

    Sceenshots:

     I bought the wrong footprint. Fucking again. I am not a clever man

  • PLL prototype test board in

    JasMoH12/26/2017 at 22:32 0 comments

    Prototype board and top solder stencil for PLL. The design goals are 

    support ~1Hz - 100kHz input frequency

    "arbitrary" waveform that is between +-5V and crosses its midpoint twice per cycle.

    outputs 64x the input frequency for the ADA2200 demodulator

    phase shifts output to allow manual phase adjustment.

    I'll be populating and testing this out in the next few days. I may decide to OBE the phase shifter in favor of just having 2x ADA2200, and support I and Q demodulation and digital phase shifting.


  • PLL test board ordered - LNA board started

    JasMoH12/15/2017 at 00:31 0 comments

    Test boards and stencils for the PLL subsystem are on order. This includes a CD4046 based design with divide by 64 capability for the ADA2200's clocking requirement. It also can phase shift the output by steps using a digital delay line in the feedback loop. 

    The input conditioning logic will track the midpoint of the input clock and use that as the reference for a comparator. This should allow flexible inputs from the "real world".

    I've also begun laying out the front-end, which has by far the most stringent layout requirements. Both the transimpedance amplifier (pictured), and the instrumentation amplifier require guard rings for mitigating stray surface charge migration. I have both of them under their own cans.

  • Initial Design Review

    JasMoH12/07/2017 at 21:50 0 comments

    I have the initial schematic for the analog front end done! I'm currently soliciting design reviews from basically everybody I know.

    See the design here: https://github.com/JasMoH/Photoacoustic/tree/DR1/lock_in_amplifier

  • Another Weekly Status Update

    JasMoH12/04/2017 at 20:30 0 comments

    Progress from last week:

    LNA and transimpedance amplifier schematic complete

    Power supply complete

    Initial high gain amplifier design complete. Gain selection scheme complete.

    Selected mechanical switches for user input.

    ADA2200 added, input protection and indication created.

    Connector scheme complete

    RF can for LNA selected

    Design for manufacture/test begun. (test point addition, 0 ohm resistors to isolate or modify circuit, resistor / capacitor component minimization).

    Found some real cute 0603 smt test points that’ll let me sprinkle tones of TPs without taking up too much board space for down the line debugging.

    Outstanding todo:

    PLL - find/ implement/ build. It’s looking like I’ll need to do at least some signal conditioning on the front to accommodate flexible input signals, and may need to build large portions of it due to low frequency range

    Line filter - choose a 60Hz line filter implementation. It’s for sure going to be put at the input to the high gain amplifier chain, after the LNA. Debating stand alone active filter, integrating into the high gain amp, others.

    Op amp selection review - I have some “lazy” op amp choices. I’m currently using the OP1177 as a “performance” amplifier and the lm358 as the “cheapo” amplifier. The OP1177 is expensive (~$2.50), and the lm358 is kinda crap (1.1MHz GBWP). I’m adding a lot more op amp applications than expected. These include: reference voltage buffer, guard trace driver, and amp overload indicator. I expect that I may need a few more to complete the design, such as an active line filter.  I would like to get a cheaper “performance” amp and a better “cheapo” amp than my current selection.. I’m considering the lm833, which is similar in price to the lm358 and has similar performance numbers (GBWP, input noise) to the OP1177.

    Select power connector: just something cheap, dual supply (+-12V), and polarized so it can’t be inserted backwards...

    Design for test / manufacture:

    Sprinkle more test points

    Add 0 ohm resistors for isolating subcircuits, adding flexibility, etc.

  • Shopping for PLLs and Transimpedance Amplifiers

    JasMoH11/29/2017 at 13:40 0 comments

    I have completed the schematic for the power supply and filtering system. I have a first pass at the amplifier chain design, at least for single endend and differential voltage inputs.

    Many lock in amplifiers include a transimpedance amplifier to make current measurements, for instance with photodiodes. From looking at some demonstrations on youtube (link below), many of these units are capable of femptoAmp sensitivities. I'm currently shopping for a transimpedance amplifier design with sufficiently low noise to support these measurements.

    I am also looking for a PLL system for the demodulator. I'm using the ADA2200, which requires a reference clock at 64x the modulating frequency. So I'm looking for a PLL that will lock at low frequency; Ideally down to 10Hz or less for maximum flexibility, but 100Hz is probably more realistic due to flicker noise.

  • Lock In Amp TODO

    JasMoH11/27/2017 at 16:34 0 comments

    I've been letting this project lie fallow for the last couple weeks. I intend on getting a dedicated lock in amplifier board built. here is the todo list for that effort.

    • Characterize components:
      • Put up a resistor / pot bridge, see what sensitivity we get and whatnot…
      • Just do the lock in portion.
      • Add back in pre-amp - don’t worry ‘bout rail protection for today - monitor
        • Change midpoint resistors!
        • See if ad8429 works with shorted Rg for 10,000x gain? Should be like 0.6 ohm (check math)?
    • Possible re-design of input amp?
    • amp cascade - LNA + “normal” amp
      • Nominal goal for 1 nV sensitivity with long enough time base; 1nV -> ~1V
        • 1e9 v/v system gain.
        • Ad8429 does 1e4 v/v, leaving 1e5 remaining
          • Run noise budget trade; friis.
          • 1e2 + 1e3 cascade (order)
          • 1e4 , 1e1 cascade?
          • Run LNA at lower gain (i.e. 1e3 for each stage?)
            • Datasheet + friis to make trade
            • Multiple 1e3 stages would be more user friendly. Just a chain of amps w/ a single switch to enable (1e3 v/v) or disable (1 v/v).
      • Noise budget for additional esd protection at input?
        • Diode noise acceptable?
        • Or just not do it and label as esd sensitive? Cheap enough components to blow...
      • LNA selection
        • Reason not to pick AD8429?
      • Secondary amp selection
    • PLL w/ divide for lock in?
      • F, 2F modes
      • PLL lock / unlock indicator LED
      • Component selection, again...
    • Line filter at input - concerns with saturation
      • Switched enable - dip or jumper
    • Power supply
      • LDO selection, +5, -5, +3v3? Unless others necessary
        • 7805 serries
        • others
      • Line filter - maybe?
      • Pi filters from current design should be good.
      • Beef up bulk caps
      • Move indicator diodes to clean side of supply
      • Reverse bias protection w/ fets - clean side / dirty side?
      • Supply connector w/ bias protection
    • Output integration / lpf
      • Switched time constant / output buffer
        • Long time constants (~10s) desireable
    • Output monitor connectors
      • Amplified signal
      • Demodulated signal, I/Q components
      • LPF output
    • Phase shifters - include or not?
      • How to even implement?
    • Indicators, dials, connectors, etc. start pretending at being a “real instrument”

  • Amplifier Initial Functional test

    JasMoH11/09/2017 at 22:24 0 comments

    After tweaking my solder setup, I got one of my three prototype boards to work. This one is populated with the AD8429 (variable gain amplifier) and a trip pot so I can get an idea for the gain necessary for my application.

    My totally low noise haywire setup. PC sound card on lowest volume stimulating a 440Hz sine wave for input.

    Results with a low gain applied.

  • Amplifier Boards In

    JasMoH11/07/2017 at 19:31 0 comments

    Boards and components have arrived. thanks to the good people at mram I have the miscellaneous cables 'n' things that I forgot.

    Power filtering and reference voltage driver circuit passed smoke test and initial functional test, so that's nice. I have a soldering defect somewhere on the signal side, so now it's rework time!

  • Instrumentation Amplifier Prototype to Fab

    JasMoH10/27/2017 at 22:23 0 comments

    Sent out PCB to OSHpark, have parts on order. simple board to breakout the AD842x, add reference voltage. has enough lands for passives to permit flexible notch filters / gain adjustment / RFI filtration, and the like.

View all 11 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates