Author Topic: Analog Discovery SDK for creating custom instrument functions?  (Read 1945 times)

0 Members and 1 Guest are viewing this topic.

Offline AcHmed99Topic starter

  • Contributor
  • Posts: 35
  • Country: 00
Analog Discovery SDK for creating custom instrument functions?
« on: February 28, 2016, 01:10:49 pm »
Does anyone know of any examples of using the Analog Discovery SDK for creating custom instrument functions?
What I would like to do is be able to set the amplitude over frequency ranges in the network analyzer. For example, I might want an amplitude of 800mV over 10Hz to 400Hz then 50mV over 401Hz to 100kHz then back to 800mV.

The application is for Loop injection for DC/DC converters.
https://www.maximintegrated.com/en/app-notes/index.mvp/id/3245

At low frequency and beyond the crossover the signals (Vo/Vi) can vary by 40dB or better. Trying to pick off a 1mV or so signal in a noisy say switching converter would be difficult to say the least. Variable amplitude over frequency is how dedicated FRA’s deal with this problem.

An example picture of the problem is below.



I am using high-speed op-amps (OPA2354 or OPA365) AC coupled through BNC connectors to the test circuit. I’m using these as 5x gain block.

I’m also open to alternate suggestions, other than buy a $10k FRA of course.  I’m not being overly ambitious a frequency range from 100Hz to say 500kHz would be fine. I already have a transformer that gives me a flat response over 400Hz to 1 MHz.
 

Offline jaxbird

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Analog Discovery SDK for creating custom instrument functions?
« Reply #1 on: May 23, 2016, 01:40:46 pm »
I was just searching for some of my Analog Discovery related threads and saw yours in the list. I've done quite a lot of development using the Analog Discovery API (impedance analyzer, audio analyzer etc), I realize it's an old question, if you are still interested feel free to ask, I have created a managed wrapper for the API for use in C# if you are interested.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 

Offline jaxbird

  • Frequent Contributor
  • **
  • Posts: 778
  • Country: 00
Re: Analog Discovery SDK for creating custom instrument functions?
« Reply #2 on: May 28, 2016, 04:34:20 pm »

I was just looking for any example from language,compiler to installing it in waveforms. The software comes with script examples but no examples (that I could find) on how to install them so they are accessible within waveforms. Right now I don't even know where to start. The only software I've done in about ten years is for micros in assembly and C. I was taught C++ and Java Script back in college but proobably forgot most of it.

I've been following your impedance analyzer thread nice work.

Thanks for responding.

Sorry I have no experience writing plugins for the Waveforms software, all my projects have been based on the direct API, but always happy to add new uses to this instrument. It sounds like all you'd need is a network analyzer where you can specify a list of start/stop frequencies with an associated output level.

Thanks, the impedance analyzer has been an interesting project.

Analog Discovery Projects: http://www.thestuffmade.com
Youtube random project videos: https://www.youtube.com/user/TheStuffMade
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf