Bode/Nyquist plot.....

05142015, 10:15 AM
Post: #21




RE: Bode/Nyquist/Nichols plot.....Fully functional
Frequency response plots corresponding to G =
s + 1  s^2 + 0.2 s + 1 BODE(ƒ1,ƒ2,[numerator],[denominator]) enter Home Screen. (all functions are executed from Home screen) BODE(2,2,[1 1],[1 .2 1]) enter Use VIEW key for Plot selection VIEW>>START to refresh Soft menu to Zoom.... App is based on Statistics_2Var_Copy. Code:


05142015, 10:17 AM
(This post was last modified: 05142015 10:38 AM by alexzkter.)
Post: #22




RE: Bode/Nyquist plot.....
Okay, I get it now.
I tried BODE(1,1,[1],[1 0.2 1]) and got {5} View>start takes me to an empty home screen. View>Nyquist, Magnitude and Phase don't do anything.... edit1: I was trying with Statistics 1Var, just tried with Statistics 2Var and same result. What am I missing? Edit: Can't get it to compile without Sintax error on physical Prime. And my Prime is just formated, in English. Copied the 2Var Statistics, renamed it to Statistics_2Var_Copy and on HP Connectivity kit went to Program tab for the Statistics_2Var_Copy app, and replaced the code with the proper one. Did the same thing on Virtual Calculator and got no sintax error (No errors in program)............. 

05142015, 10:42 AM
(This post was last modified: 05142015 10:45 AM by toshk.)
Post: #23




RE: Bode/Nyquist plot.....
App is based on Statistics_2Var_Copy.
recompile it on your calculator...check for bug (no bugs)and then exit. launch the App again, home screen enter your BODE(1,1,[1],[1 0.2 1]) View and choose a plot and then hit PLOT to plot it. soft menu to zoom. to plot another graph back out to home and hit VIEW for options. View >> Start/Info will refresh it hit View>> (for options) works here..... 

05142015, 10:48 AM
(This post was last modified: 05142015 10:50 AM by alexzkter.)
Post: #24




RE: Bode/Nyquist plot.....
(05142015 10:42 AM)toshk Wrote: App is based on Statistics_2Var_Copy. On just formated Virtual Prime, did just that, and when hitting PLOT button it shows "S1  Error: Statistics data size not equal": :/ 

05142015, 10:52 AM
(This post was last modified: 05142015 11:05 AM by toshk.)
Post: #25




RE: Bode/Nyquist plot.....
View>>Start/info
and try again...work here. or hit symb key and see whats the parameters? 

05142015, 11:17 AM
(This post was last modified: 05142015 11:17 AM by alexzkter.)
Post: #26




RE: Bode/Nyquist plot.....
(05142015 10:52 AM)toshk Wrote: View>>Start/info View>Start/Info, takes me to an empty white page. I hit View again, and the previous page shows up again (the one with the BODE[.....]) so I hit View once again, choose Niquist for instance, nothing happens, hit plot and this shows up: hit Escape and this shows up: and if I hit Symb this is what comes up: 

05142015, 11:32 AM
Post: #27




RE: Bode/Nyquist plot.....
(05142015 11:17 AM)alexzkter Wrote:launch the App...you will see empty page(), press any key to go home. enter BODE with your arguments and enter. view>>choose a plot and then hit plot. soft menu for auto scale......(05142015 10:52 AM)toshk Wrote: View>>Start/info if you happen to see error, manually change settings >>press the Symb key and also the plot setup and hit plot gain..., latest firmware? 

05142015, 10:57 PM
(This post was last modified: 05142015 10:59 PM by alexzkter.)
Post: #28




RE: Bode/Nyquist plot.....  
05162015, 03:57 AM
(This post was last modified: 05162015 04:08 AM by toshk.)
Post: #29




RE: Bode/Nyquist plot.....Fixed
Using your Wolfram in question...
BODE(.01,100, [1],[1 1]) .1 and 100 are the frequency range you want to analyze. all plots/bode() executions shd be entered from Home screen. Use VIEW>> {Start/Info, Magnitude, Phase, Nyquist, Nichols} HOME SCREEN VIEW>>Start/Info (refreshes Statistics_2Var_Copy parameters...hit any Key to get You to Home Screen again) Use VIEW>> {Start/Info, Magnitude, Phase, Nyquist, Nichols} again for the same BODE(). use soft Menu zoom (autoscale)to zone in on plots. (just because i can't graphs to center on the screen) help needed on that!!! This App is based on Statistics_2Var_Copy. You need to recompile before your first use of this App. Code:


05162015, 09:41 AM
(This post was last modified: 05162015 09:46 AM by alexzkter.)
Post: #30




FOUND BUG COMPILING WITH DIGIT GROUPING
Hi again,
I just found out why I was getting Sintax error when compiling in my physical Prime (7820 fw.) I realized that if you compile your program when the 123456,789 digit grouping is selected (the one we use in Spain), you get a Sintax error which doesn't happen if you have the default one (123,456.789). I have to say the digit grouping feature was a really bad idea, it only has given me a lot of trouble :/ By the way, thanks for your last post, will try all that as soon as posible! 

05162015, 10:53 AM
Post: #31




RE: Bode/Nyquist plot.....
Hi again, I didn't know f1 and f2 was the frequency range (rad/s). You typing [1,1] and [2,2] on some examples confused me since negative frequencies don't exist.
I've been trying to plot this: and I got this: But, I don't understand why the 'x' takes negative values, since that's the frequency axis. How am I supposed to read the frequency values, mate? Thanks in advance 

05162015, 03:56 PM
(This post was last modified: 05162015 05:20 PM by toshk.)
Post: #32




RE: Bode/Nyquist plot.....
Use Trace to read values.....or Num key. (the numerical values are really spot on.)
remember is a log10 scale: values on the Xaxis: values Trace on the Xaxis shd be 10^(Xvalue) .(for magnitude,phase plots) so your negative values on Xaxis are pretty much fractions. so instead of 1, 1 just enter .1,10 all in rad/sec. BODE(.1,10 [1],[1 1]) is what you really have to enter. on the Info tab in Conkit just paste the below instructions and recompile the App, this will give you the info when u do start the App or press VIEW>>Start/Info: Frequency response plots corresponding to G = s + 1  s^2 + 0.2 s + 1 BODE(ƒ1,ƒ2,[numerator],[denominator]) enter BODE(0.01,100,[1 1],[1 .2 1]) enter Use VIEW key for Plot selection VIEW>>START to refresh 

05162015, 10:51 PM
(This post was last modified: 05162015 10:55 PM by toshk.)
Post: #33




RE: Bode/Nyquist plot.....
added Response time.....(Time delay....'t')
Code:


05172015, 12:40 AM
(This post was last modified: 05172015 01:08 AM by toshk.)
Post: #34




RE: Bode/Nyquist plot.....
added Response time.....(Time delay....'t')! and adjusted the effect on the phase/Nichols plot
Code:


10102015, 10:25 PM
Post: #35




RE: Bode/Nyquist plot.....
(05162015 10:53 AM)alexzkter Wrote: Hi again, I didn't know f1 and f2 was the frequency range (rad/s). You typing [1,1] and [2,2] on some examples confused me since negative frequencies don't exist. I haven't studied the graph, but some physicists argue that negative frequencies exist, much like negative distances or displacements. Consider for example a clock, with a second hand rotating clockwise. Apply a negative rotational force  the frequency that the second hands sweeps clockwise will reduce and eventually reach 0. continue to apply the force. The second hand will begin to sweep anticlockwise at a positive frequency  or clockwise at a negative frequency, if you like. Just like walking 5m North really. Though perhaps it could be called something else, like we distinguish 5m distant (positive) from 5m North (signed). Stephen Lewkowicz (G1CMZ) 

11042016, 06:16 PM
(This post was last modified: 11042016 07:21 PM by don7.)
Post: #36




RE: Bode/Nyquist plot.....
This is a nice app  I'm hoping someone can help with my user errors & setup...
I am unable to get the positive values on imaginary axis to display in the nyquist plots (basically anything > 0 on Y axis is not plotted). Positive / negative real values are okay. Is there a setting to change behavior? <corrected above and deleted other question because it was previously answered> Thanks! 

11042016, 07:36 PM
(This post was last modified: 11042016 07:44 PM by toshk.)
Post: #37




RE: Bode/Nyquist plot.....
(11042016 06:16 PM)don7 Wrote: This is a nice app  I'm hoping someone can help with my user errors & setup...symmetric graph..... type: C3:=C2 hit Symb: check S2: assign C1 C3 Plot: Autoscale to see graph. http://www.hpmuseum.org/forum/thread3891.html 

11042016, 10:05 PM
Post: #38




RE: Bode/Nyquist plot.....
Thanks, it's not working for me but I'll keep playing as I'm sure I'm doing something wrong ( calculator is brand new and I'm coming from a 48)
Seems that the check box disappears as soon as I run nyquist plot and graph is the same. On home screen I enter: C3:=C2 (it returns {} or contains data.I'm guessing depending on if I executed bode previously) In the symbol screen, I replace the C0 with C1 and C2 with C3 as well as check the box I then evaluate the bode expression and get the same results as before. If I check back in the symbol I see the check box has cleared but C1/C3 remain. I'll keep playing, thanks for help 

11062016, 08:34 PM
Post: #39




RE: Bode/Nyquist plot.....
(11042016 10:05 PM)don7 Wrote: Thanks, it's not working for me but I'll keep playing as I'm sure I'm doing something wrong ( calculator is brand new and I'm coming from a 48) executed bode plot the nyquist type: C3:=C2 hit Symb: check S2: assign C1 C3 Plot: Autoscale to see graph. (DO NOT execute Bode again) 

11282016, 11:10 PM
Post: #40




RE: Bode/Nyquist plot.....
Hi, how can I use delay time?


« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)