Skip to content
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

What is the rationale for the 0 dBm voltage value in power source? #779

Closed
ra3xdh opened this issue Jun 23, 2024 Discussed in #778 · 3 comments · Fixed by #780
Closed

What is the rationale for the 0 dBm voltage value in power source? #779

ra3xdh opened this issue Jun 23, 2024 Discussed in #778 · 3 comments · Fixed by #780
Assignees
Milestone

Comments

@ra3xdh
Copy link
Owner

ra3xdh commented Jun 23, 2024

Discussed in #778

Originally posted by csrabak June 22, 2024
The magnitude of the voltage source for the Qucs-s power source, available in the components->sources pane puts 0.316228 V as magnitude for a 0 dBm power, 50 Ω (default impedance).

The line of the exported netlist is:

VP1 out 0 dc 0 ac 0.316228 SIN(0 0.316228 1MEG) portnum 1 z0 50

Since simulators use magnitude for this parameter, which is the peak voltage of the source, this value would be OK for an open circuit, but due the internal impedance only one fourth of a milliwatt is available to the matched load.

Shouldn't the voltage be such that when a matched (i.e. 50 Ω) load is fed the power delivered to the load be 0 dBm (1 mW)?

@tomhajjar
Copy link

I forgot to show the data from ngspice was different than Qucsator...

2024-06-23_084522
dBm_Voltage.zip

@tomhajjar
Copy link

Seems to be fixed in update I just got

2024-06-23_105817

@ra3xdh
Copy link
Owner Author

ra3xdh commented Jun 23, 2024

Yes, the Ngspice/Qucsator data mismatch was fixed by #780. The latest continuous build has this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants