Git Product home page Git Product logo

Comments (9)

ra3xdh avatar ra3xdh commented on August 29, 2024

The result is not wrong. I am representing the S-par port as the sine source. The magnitude is calculated from P parameter. This is needed to simulate both transient and S-par response in one simulation without additional source connection. For example it is useful for linear amplifier analysis. The Qucsator simulation also follows such approach. This representation is needed to provide the backward compatibility between simulators. So, I cannot replace the port by 50-Ohm resistors. It is not subject of change or subject of discussion.

from qucs_s.

3813127458 avatar 3813127458 commented on August 29, 2024

Unfortunately the result is wrong for simultaneous S-parameter and transient simulation, because the ac source contributes to transient excitation by the ac source default parameters P=0dBm and f=1MHz.

Potential solution: create new S-parameter port, which is consistent regarding source impedance and noise, but does not contribute transient excitation. The existing ac source ensures backward compatibility.

image

from qucs_s.

ra3xdh avatar ra3xdh commented on August 29, 2024

The simulation result is correct. Port is a sine source for transient. It provides frequency and magnitude defined as port parameters. Qucsator represents the port as the sine source for transient too. I can provide an options to disable the transient model. This will not affect the backward compatibility. The transient model will be enabled by default.

You may define ports manually using the SPICE syntax and generic voltage source that allows full SPICE string. The simulation will work. Refer to section 4.1.11 of the Ngspice manual. Use this device:

image

from qucs_s.

ra3xdh avatar ra3xdh commented on August 29, 2024

I have added TODO list and changed the issue title.

from qucs_s.

ra3xdh avatar ra3xdh commented on August 29, 2024

I have added an EnableTran option for RF port. This option is active by default. It EnableTran=false the transient model for RF port is disabled. The port is represented as dc 0 for transient analysis.

image

from qucs_s.

3813127458 avatar 3813127458 commented on August 29, 2024

Excellent! - the final example RTF_N7 works perfect now simultaneous S-par and transient ... thx

RTF_N7.zip
image

from qucs_s.

tomhajjar avatar tomhajjar commented on August 29, 2024

Network for a distributed amp?

from qucs_s.

3813127458 avatar 3813127458 commented on August 29, 2024

It is a simplified equivalent model of a lossy transmission line.

It can be used as a low pass filter which is matched in the pass band AND stop band simultaneous, which is not the case for classical low pass filters. Other application is pulse shaping in the time domain.

References:

Djordjevic et al., "On a Class of Low-Reflection Transmission-Line Quasi-Gaussian Low-Pass Filters and Their Lumped-Element Approximations" in IEEE Trans. on Microwave Theory and Techniques, vol. 51 of of 7, pp. 18711-877, July 2003.

J. Breitbarth and D. Schmelzer, "Absorptive Near-Gaussian Low Pass Filter Design with Applications in the Time and Frequency Domain", in IEEE Microwave Symposium Digest, MTT-S International, vol. 3, pp. 1303-1306, June 2004.

from qucs_s.

tomhajjar avatar tomhajjar commented on August 29, 2024

from qucs_s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.