SMath Studio Forum
»
SMath Studio
»
Samples
»
Trouble Graphing Indexed Values
Rank: Member Groups: Registered
Joined: 08/12/2019(UTC) Posts: 11
|
Hi Everyone! I am having some issues with graph indexed values in SMATH. I am currently attempting to copy this app note here: APP NOTEIn an attempt practice my smath. My file may be found here V2_Input_Filter_Test.sm (82kb) downloaded 18 time(s).I am currently stuck on attempting to replicate page 14-15 of the TI APP note. this boils down to 3 questions: [list] While i am attempting to define an index value, i get a persistent error even though the equation solves fine I am still unsure as to how to what is the proper syntax on how to graph the transfer function I am struggling to understand how why my new filter impedance is not graphing
Thank you all in advance!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. Your issue is very small: you put some assignment 'j:=' in the sub-index, not globally. V2_Input_Filter_Test.sm (81kb) downloaded 28 time(s).Best regards. Alvaro.
|
2 users thanked Razonar for this useful post.
|
on 19/01/2020(UTC), on 20/01/2020(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Member Groups: Registered
Joined: 08/12/2019(UTC) Posts: 11
|
Originally Posted by: Razonar Hi. Your issue is very small: you put some assignment 'j:=' in the sub-index, not globally. This is interesting to me... I saw that you were able to make the Z2_j variable match the Z1_j however whenever I attempt to re-type the Z2_j definition as soon as I imput the 1/(s_j * Cin) statement it puts that "j" in the sub-index and doesn't allow me to edit it in a meaningful way. So far the only way I have found to fix this is to put in like so: Z2 = "equation here" Then once I have the equation finished inputting the defining equation, I go back to the Z2 equation and make it into a vector element, i.e. Z2_j = "equation here" Must be a "feature" lol.
|
|
|
|
Rank: Member Groups: Registered
Joined: 08/12/2019(UTC) Posts: 11
|
Originally Posted by: Jean Giraud Originally Posted by: Bocato I am struggling to understand how why my new filter impedance is not graphing
Does it plot on your SS version ? When I downloaded the version that had those edits it showed that exact graph that you have posted. However, whenever I leave the values as i had them without vectoring them get the expected graph, which matches the TI app note. (see picture) [img=https://imgur.com/a/LHeHWzp]Input_Impedance_Graph[/img] Now what really confuses me the Transfer function plot looks so different. I input it as the App note stated however the graph seems "negated" as opposed to what I would expect. [img=https://imgur.com/a/962lZe5]Questionable Transfer Function[/img] [img=https://imgur.com/a/JDbyfBk]Proper Transfer Function[/img] Any Ideas Ya'll? Thanks in advance, Carlo
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Bocato Any Ideas Ya'll? Same as the other one ... see reply. Can't get that picture ?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi Carlo. You take twice log10. Just augment log10(f) and LC.filter.
Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Bocato I am still unsure as to how to what is the proper syntax on how to graph the transfer function 1. This is not XFR [Transfer Function], simply impedance. 2. Dimension the components wrt SI system [see TI values] 4. More help, re-post page 1 working from this document 5. Your version is older than SS 6179 ... it does not have page # associated with the cursor. HELPED_Input_Filter_Test_V1 ... first graph doctored NEW.sm (246kb) downloaded 18 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 08/12/2019(UTC) Posts: 11
|
Originally Posted by: Razonar Hi Carlo. You take twice log10. Just augment log10(f) and LC.filter.
Best regards. Alvaro.
Hi Alvaro, I believe that is what I did? (seriously asking here) See picture
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. Not in that plot, in the previous: Bad: Two logs: Ok: One log: This other have the same shape, and seems to have the same values than the mathcad plot in the TI app note. Notice that this plot is log only in the x-axis, and the y axis isn't in the log scale in the plot just because you're plotting in dB The last plot is log in both x and y axis. See the difference in the green lines. So, you correctly take there here log for both axis Best regards. Alvaro Edited by user 23 January 2020 08:13:04(UTC)
| Reason: Not specified
|
2 users thanked Razonar for this useful post.
|
on 23/01/2020(UTC), on 25/01/2020(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud 1. This is not XFR [Transfer Function], simply impedance. You can de-confuse yourself ... XFR are always Sigmoid shape, no matter the order of the system. They belong to Laplace domain system. Inst_XFR 2nd [XFR nth].sm (251kb) downloaded 17 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 08/12/2019(UTC) Posts: 11
|
Thanks to Jean and Razonar I believe we can close this thread up! At least as it pertains to graphing indexed values. The resulting file may be found here for reference: HELPED_Input_Filter_Test_V1.sm (88kb) downloaded 18 time(s).I have opened a thread here: Log based X and Y graph threadThis will be an attempt to get my graphs to look more like the following But hopefully without that horrible green.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Samples
»
Trouble Graphing Indexed Values
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.