Search found 30 matches

by Barnett
Wed Apr 17, 2019 7:16 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 631
Views: 3291491

Re: Frequency Response Analyzer with Bode Plots

Hello Aaron,
It has been a while. I am back in the power supply mode. When we last spoke I was working with version 0.6.1b. I just installed your version 0.6.2b RC4. Could you tell me some of the changes in this latest version. I have a 2208B USB Pico Scope. Thanks / Charles
by Barnett
Mon Oct 08, 2018 4:31 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello to Lab!FYI, Thanks for all the explaining. Here is what I have found. Equation 1: acos(integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B))))/Pi*180 A. The part that was hard to understand is that integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B)) uses the ratio of the slopes. This is ho...
by Barnett
Wed Oct 03, 2018 4:07 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello Benno, Thanks for the links on the amps. I used the OPA548T op amp because it can go above the audio range which would be necessary to deliver fast rise and fall times for pulses. It may not work as expected. My circuit boards should be here this week. I am using two 12V supplies to get the +/...
by Barnett
Tue Oct 02, 2018 7:30 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Thanks very much for your very good help and patience. I hope all of my questions did not cross the line. My next project is to construct a 10 watt booster amp that can be plugged into the output of the AWG of the scope. Thanks / Barnett
by Barnett
Mon Oct 01, 2018 6:29 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello and thanks again. I have put all your comments, links, and papers into one large paper. This has really helped me to understand the math. When it comes to simulation would you say that an Arduino that has two sinewave outputs so that you could delay one of them to get the 44 deg shift? Thanks ...
by Barnett
Fri Sep 28, 2018 5:51 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello and thanks for the great help. In the earlier simulations you did how were you able to shift chB red trace around 60 degrees or so?
Sim 1.JPG
Here is the actual data. Do both waves need to be sinewaves?
Xfmr E&I.JPG
Thanks / Barnett
by Barnett
Thu Sep 27, 2018 3:47 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Thanks very much for explaining this. In your code you use T. Where is the T in the equation below?
To calculate an integral you have to have a T don't you.

phase shift degrees = acos(integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B))))/Pi*180
by Barnett
Wed Sep 26, 2018 5:55 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello, Would you check to see if my math is correct. Almost have it. phase shift degrees = acos(integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B))))/Pi*180 Correlation formula: (integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B)))) (integral(A*B)/(A rms*B rms)) this will give a value between ...
by Barnett
Tue Sep 25, 2018 2:58 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Thanks very much for explaining this. This is similar to the formula for rms [ sqrt(integral((A)^2)/T) ]
It is easy to see this because the T is the amount of time along the X axis of the display. In the correlation formula how is it able to work without a T? Thanks / Barnett
by Barnett
Mon Sep 24, 2018 5:04 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Thanks for all who have helped on phase shift measurement. When I use (acos(integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B))))/Pi*180) I get up to a 30% error. When I use ((((atan(1/tan(pi*(A/10000)))/pi)+(A/10000))*-((atan(1/tan(pi*(B/10000)))/pi)+(B/10000)))+0.25)/0.002777777 it matches the ...
by Barnett
Wed Sep 19, 2018 8:56 pm
Forum: PicoScope 6 for Windows
Topic: Phase shift measurement
Replies: 25
Views: 36741

Re: Phase shift measurement

Hello,
I am trying to get used to the math functions in 2208B scope. Can you explain the steps in the phase calculation or point me to a paper? It works well. I would like to understand the steps.
acos(integral(A*B)/(sqrt(integral(A*A))*sqrt(integral(B*B))))/Pi*180
by Barnett
Tue Sep 04, 2018 4:10 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 631
Views: 3291491

Re: Frequency Response Analyzer with Bode Plots

Hello Aaron, ran a bunch of Bode plots on a guitar amp over the weekend. FRA ran really well. Thanks / Charles
by Barnett
Fri Aug 31, 2018 3:21 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 631
Views: 3291491

Re: Frequency Response Analyzer with Bode Plots

Hello Aaron, Thanks for helping me get the FRA going. Would you say this program is a VNA (vector network analyzer) due the the real and imaginary numbers it uses in the Goertzel math? Thanks / Charles
by Barnett
Thu Aug 30, 2018 3:23 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 631
Views: 3291491

Re: Frequency Response Analyzer with Bode Plots

Hello Aaron, Decided to put computer back like it was 4 days back using restore. The original problem came back to where if I opened FRA using the desktop icon it would not make the plot and give the error: PLplot error generating Bode plot: Unable to either (1) open/find or (2) allocate memory for ...
by Barnett
Wed Aug 29, 2018 3:13 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 631
Views: 3291491

Re: Frequency Response Analyzer with Bode Plots

Hello Aaron, 2017 Windows 10 Pro / Version 1709 (OS Build 16299.192) It started working last night. The only thing I may have done wrong is I made a shortcut from an older install. During the uninstall it left the old icon on the desktop. Then I installed the next version. When I used the old icon t...