-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add SPICE models for transmission lines devices #94
Comments
From ngspice user manual (section 6.2.1 Lossy Transmission Line Model (LTRA)) I have seen that this simulator supports trnsmission lines and I have also seen that qucs-s provides a circuit element of this kind. The only problem is that input data (O=LTRL specification) is not user friendly. I would expand it. ---Input data ---- created ngspice model: |
Even better: --input: ---- created ngspice model: |
May I ask to add also an ideal Coupled Transmission Line such as that one of ADS shown below?. |
Not sure you saw Holger's last ngspice update on 2023-08-04 that includes built in S-parameter file support. https://sourceforge.net/p/ngspice/discussion/120973/thread/51228e0b01/?page=3 |
Yes, I am aware that XFER device is accepted for Ngspice master branch. But I didn't start its implementation in Qucs-S yet. I decided to postpone the s2p files support to the next release. The upcoming |
Microstrip devices for Ngspice will be implemented as Verilog-A models. It's need to add the the support of system Verilog-A library first in order to resolve this issue. See #343 |
#564 adds support for RLCG device. |
The development of OpenVAF compiler seems to be suspended: pascalkuthe/OpenVAF#111 (comment) It's need to find another way to implement microstrip devices models instead of Verilog-A. |
qucsator_rf will fill the gap. Most people using distributed matching elements are using active devices that only have s-parameters available. I wouldn't want to design a narrow-band microwave filter using models based on Verilog-A models that have not been fully vetted by making and testing PCBs. Has anyone actually made any of the microwave filter examples in Qucs and confirm accuracy? |
I think we should provide a convenient mechanism to use qucsator-rf subcircuits (such microstrip filters etc) in ngspice simulation through s-parameters |
@zergud I am not sure if hybrid simulation it is needed for Ngspice. And I still don't understand its advantage. Everything is clear with OpenEMS/Qucsator hybrid simulation when OpenEMS exports s2p data. Such simulation would be useful if implemented. But I suspect Qucsator/Ngspice hybrid simulation will bring nothing except convergence errors. |
I am more inclined to cancel the MS lines models task for Ngspice because OpenVAF is suspended and restrict MS simulation to Qucsator only. |
it will be useful for power amplifier, such https://www.researchgate.net/figure/The-FLK052WG-class-E-microstrip-power-amplifier-This-amplifier-delivers-061-W-into-50_fig6_3120466 |
IMHO, it’s too early to talk about suspending of OpenVAF |
Using Qucsator is a low risk solution. There are enough "Qucs" microstrip models to satisfy the average user. A large company is going to pay for ADS. In general you won't have Spice models for most of these RF devices. One can always use transmission Spice models |
that's what I meant |
I suspect the UHF amplifier like shown below will not converge using the existing s2p device implementation and Ngspice. Need to export s2p data manually and test. This schematic is using only two types of microstrips except cross. |
I decided to cancel implementation of native microstrip models for Ngspice and close this issue. May be reopened if some new ideas will appear in the future. But let's concentrate now on reverting Qucsator in the Qucs-S distribution #370. |
The cross is not needed and there is only one transmission line type used. A simple Tline model that only uses Zo, length (deg) and F would work for most analysis. Vipec is an ancient analysis program that did transmission lines. Source is available and attached below. |
See #601. I have an alternate way of replacing TLines in RF analysis. |
The S-parameter simulation support for Ngspice and Xyce backends has been added in the 0.0.24 release. But the SPICE entries for transmission line devices including microstrip still be missing. These devices are unique for Qucsator and have no direct SPICE equivalent. It's need to provide a way to simulate old Qucs RF-circuits with new Ngspice supporting S-parameter analysis.
The text was updated successfully, but these errors were encountered: