Search found 22 matches

by _Wim_
Tue Mar 05, 2019 7:04 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

In the meantime, if your curious, another thing you can experiment with is Noise Reject mode. Since your scope has such a large sample buffer, you can select Noise Reject mode and narrow the NR bandwidth setting and significantly increase your processing gain. I think the default is 100 Hz, but you...
by _Wim_
Tue Mar 05, 2019 6:56 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Kai, First of all many thanks for the very detailed reply (twice!). Some of it I will take a bit of reading for me to fully understand, but will definitely try to understand all details. This indeed covers much more than my original question, and will try to work something out in my app using you...
by _Wim_
Mon Mar 04, 2019 8:16 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Wim, the calculation is much easier and more clearly represented, when you do it in complex math (numbers/functions) and only changing to real and imaginary parts in the end, when you want to extract resistance and reactance or conductance and susceptance or things like tan(delta) resp. loss-fac...
by _Wim_
Sun Mar 03, 2019 8:56 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

At the EEVBlog forum I posted my calculation principle how to possibly perform a calibration of the test jig (see http://www.eevblog.com/forum/testgear/rlc-impedance-viewer-for-picoscope-bode-plot-data/msg2238570/#msg2238570) with this software. If anyone who is good with math would like to review t...
by _Wim_
Sun Mar 03, 2019 7:53 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Kai, Sorry I missed the fact that it started at 40 Hz, just read 10 Hz in the text and jumped to a conclusion. On my scope (picoscope 5442B) I cannot reproduce the periodic phase ripples for a 10µF 1000 ohm combination. I do get more random noise without additional settling time. When I increase ...
by _Wim_
Thu Feb 28, 2019 9:06 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

New version:

Bugfix:
- was not possible any longer to open multiple FRA4Pico plots (was always opening new plot).

Other changes:
- cursor info always same nr of lines (so chart does not move when right mouse button is used)
- pompt on exit when unsaved files are present
by _Wim_
Thu Feb 28, 2019 8:17 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi, I am using a PicoScope 2204A with FRA4PicoScope V. 0.6.2b.RC4, assuming that it is the newest version. In recent weeks I have used this for impedance measurement on capacitors and inductances in the range 1 Hz to 100 kHz. The setup is apparently the same as the one posted by _Wim_ on Feb 10, 20...
by _Wim_
Tue Feb 26, 2019 9:18 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Updated version with the fixed message log.
by _Wim_
Tue Feb 26, 2019 7:27 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, I solved the problem of returning the message log. I declared the P/Invoke to return and InPtr, and converted this InPtr using Marshal.PtrToStringUni(ptr) directly instead of calling Marshal.ReadIntPtr(pptr) first as I found in interop examples. Now it works perfectly, and I learned a bi...
by _Wim_
Tue Feb 26, 2019 10:04 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Attached a version with a basic user interface to control the picoscope directly. As posted above, reading the status log does not work yet, but is default disabled in the app. Source code is on Github
by _Wim_
Sun Feb 24, 2019 12:57 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, I have a basic version working with your API (I can perform the measurement from my app), but I am strugling with the GetMessageLog() function. Depending on timing when I call the GetMessageLog(), I get one of the following reactions: - message is returned correctly - message contains ra...
by _Wim_
Thu Feb 14, 2019 6:44 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, Thanks for your comments. I was not aware an API version of your app was available. I will definitely look into that. I briefly first considered changing your app, but as I am not a C++ guy, and also not familiar with the PLPlot lib, that seemed a bit too much work. Wrapping a dll and us...
by _Wim_
Mon Feb 11, 2019 8:16 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

Thanks for uploading the file here also. For me, the file limit was/is limited to 256K?! Could this be related to the number of post? Just tried again to upload a dummy file of 5mB, could not attach it..
by _Wim_
Sun Feb 10, 2019 12:13 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 420
Views: 166536

Re: Frequency Response Analyzer with Bode Plots

(copied from my post at EEVBlog) I have been a big fan of using the app FRA4Picoscope to generate bode plots. This for me makes the Pico products much more useful. By using a reference resistor in series with a DUT, it is possible to calculate the impedance from the DUT. For this a made a small tool...