-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Improved Qucs-S Attenuator Tool #722
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit is intented to produce more human-readable schematics Before this commit the attenuator schematics were too compact and it was difficult (or even impossible) to read the resistor values at first sight. Also, the resistor values were rounded to 1 decimal place as it is more than enough for actual attenuator design.
It was added a checkbox in the qucsatenuattor UI in order to let the user to attach a SP simulation component to the attenuator circuit. Resistive attenuators are wideband circuits so the GUI doesn't ask for a frequency sweep. The tool sets the SP sweep to 50MHz-3GHz. If needed, the user can change that before running the simulation.
It was added the reflection type synthesis to qucsattenuator. The synthesis equations can be found here: https://www.microwaves101.com/encyclopedias/reflection-attenuators
Added a new feature to the GUI to show the power dissipated by each resistor given the overall attenuation and the input power.
The QLineEdits used for the design input were replaced by QSpinBoxes. It seems to be more convenient and fluid since now the user only need to move the mouse wheel over the input to see how the resistor values move
The synthesis fails for certain Z0/att ratios in Tee and Pi type attenuators. However, success is guaranteed for the rest of attenuator types. In this sense, it makes sense to warn (in red) whenever the synthesis fails and remove the "Success" message.
This commits adds the capability to design quarter-wave series and shunt attenuators A feature for synthesizing transmission lines with lumped components (lowpass form) is also added. Reference: The PIN diode circuit designer's handbook. W.E. Doherty, Jr., R.D. Joos, Microsemi Corp., 1998 Add QW series and QW shunt attenuators This commits adds the capability to design quarter-wave series and shunt attenuators A feature for synthesizing transmission lines with lumped components (lowpass form) is also added. Reference: The PIN diode circuit designer's handbook. W.E. Doherty, Jr., R.D. Joos, Microsemi Corp., 1998
The output of the L-pad attenuator is unmatched. The output impedance is shown in a QLineEdit. The output impedance is shown in a box. The derivation of the design equations will be provided separately in the pull request
The output of the L-pad attenuators is unmatched. The output impedance is shown in a box. The derivation of the design equations will be provided separately in the pull request
The series resistor attenuator is unmatched at both ports. The input and output impedance is shown in a box. The derivation of the design equations will be provided separately in the pull request
The shunt resistor attenuator is unmatched at both ports. The input and output impedance is shown in a box. The derivation of the design equations will be provided separately in the pull request
It was added the date of this update
Thanks for the contribution! Merged. Also thanks for technical info links. You may consider to upload it to the documentation repository #554. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The aim of this PR is to improve the capabilities of the RF attenuator synthesis tool.
The first seven commits were part of PR#845 (2018) in the Qucs project [1]. They remain unmerged at present, so I decided
to move them to Qucs-S. In addition to that, I have included the design unmatched resistive attenuators (Lpad, series R, shunt R attenuators)
The derivation of the design equations as well as the power dissipation equations can be found in [2].
A Qucs-S workspace [3] was used to verify the equations in [2].
Another Qucs-S workspace with tests is provided [4] as well as a spreadsheet with details of each commit and further tests.
Summary
it was hard to read the values.
Docs and links
[1] Qucs PR#845
[2] Derivation of the design equations: Notes on resistive attenuator design.odt
[3] Workspace used during the development: Qucs_Attenuator_Tool_Update_prj.zip
[4] Workspace with a number of test schematics: TESTBENCH_QucsAttenuator_Improvement_prj.zip
[5] Spreadsheet with details and tests of each commit: Improve_QucsAttenuator_Tool.ods
References
(I) RF design guide. Systems, circuits, and equations. Peter Vizmuller. Artech House, 1995
(ii) The PIN diode circuit designer's handbook. W.E. Doherty, Jr., R.D. Joos, Microsemi Corp., 1998
pin_diode_handbook.pdf