-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power combining (develop) #509
Conversation
ea6c809
to
81c4cc8
Compare
nice work! I'm doing some testing, here are some random comments:
|
also you should set the main window icon
see e.g. the |
👍 |
I think I've almost fixed all the issues you pointed out. I'll probably push tomorrow.
Well, I did so because at some point I thought it would be good to hide the substrate panel when the corresponding QCheckbox was unchecked. Somehow, that forced me to fix the window size. Anyway, I ended doing the same stuff the Active Filter tool does (this)
Yes, of course. Otherwise, it becomes a mesh...
Ok, done. The only inconvenient is some corner case. For example, at very high freqs the user may select 'mils' and the final result might be given in 'nm'... but I guess nobody is going to use this tool at 3 THz or so :-) |
81c5de5
to
847d0aa
Compare
The microstrip implementations do not have a corresponding .svg figure right? |
The Travelling wave does not create the S11_dB Equation. (no big deal) |
For different number of outputs the figures are also not there. I guess we can leave it as is, doesn't make sense to create figures for all combinations. (Some day we will be able to use the schematic as a library so we can render the schematic templates and get a figure back...) Let me know if you want to change something else. |
Honestly, I didn't really think about that. I just wanted to give a visual clue about the combiner structure. I can create the corresponding svg files for the microstrip implementation (hopefully) this weekend.
My bad. Didn't notice that...
Yes, I did that because otherwise the schematic becomes a mesh when you select a big number of outputs. I know that the isolation between output ports (i.e., Sxy, x != y != 1, ) is an important figure, but I thought that it would be more convenient if the user adds the equation manually in case of he/she's interested on that.
I'll add the S11 equation for the TW and tree combiners and then I'll add the figures for the microstrip. |
I've just pushed two commits in order to address the issues you mentioned yesterday |
I don't know why Travis fails... I rerun it just in case, but the error is still there.
Any guess? |
i don't know what triggers this. 6e3420e seems to fix it |
👍 Thanks I'll wait until you merge that and then I'll rerun Travis again. |
Cool! |
This is a tool for automatically create power combiners. It includes some popular power combining structures as well as corporate combiners. In addition to the old branch (-> master) features, it was added the LC equivalent of a 2-way Wilkinson combiner (both single-stage and multistage). Moreover, it was included a new panel for diplaying the combiner topology.
* Removed unused #includes * Added some comment
Travis CI cannot find "qucspowercombiningtool.h" header, so this commit is another attempt to solve the problem
* The window resizing policy was set to 'fixed', however, its size is scaled beforehand taking into account the screen dimensions so as to ensure a nice appearance: QDesktopWidget dw; QRect screenSize = dw.availableGeometry(this); DefaultSize = QSize(screenSize.width() * 0.5, screenSize.height() * 0.6);//Hide substrate tab ExtendedSize = QSize(screenSize.width() * 0.8, screenSize.height() * 0.6);//Show substrate tab this->setFixedSize(DefaultSize); * It was added a rounding function so as to avoid having irrelevant decimals in the components parameters * Moreover, it was added a combobox to let the user to choose the length units (mm, um, mil,...)
In commits before, the output power ratio is given in n.u. In order to present a more meaningful parameters, the output power ratio is now expressed in dB
This commit fixes includes the following: i) The window is again resizable. Basically, the svg image is fixed according to what is done in qucs-activefilter ii) The combobox for selecting the number of outputs is unabled for those topologies that do not allow >2 branches iii) Fixed the fstart/fstop in the S parameter block iv) The length units are changed automatically in order to show numbers \in [1, 999.99] only v) The equations block now includes dB(S[n, n]) where n = 1:(Number of outputs) vi) It was added a groupbox with radiobuttons so as to let the user choose the implementation (ideal TL, microstrip or CLC (only Wilkinson)) vii) Fixed microstrip implementation in the tree combiner (the impedance of the output branches was wrong)
if the selected power combiner type does not support the lumped elements implementation
This commit also includes a slight rearrangement of code. Specifically, the code related to the image update was concentrated in one function, which is called by different radiobutton event handlers.
I rebased it locally. History is getting messy. |
Feel free to do whatever you need. |
9e001e2
to
2d3bb89
Compare
Thank you. I was giving the wrong branch name for update... |
Hello there,
This PR is aimed to replace PR #346 .
In addition to the existing features, it was added the LC equivalent of the Wilkinson power combiner (both single-stage and multistage).
On the other hand, it was added a panel on the right side of the window so as to display a preview of the current topology.