[SOLVED] Bias circuit ac simulation

Status
Not open for further replies.

theguardian2001

Junior Member level 3
Joined
Sep 29, 2024
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
336
Hi everyone! I am currently trying to implement an amplifier in Skywater130 using Xschem and NGspice. I have successfully tested my bias circuit in dc simulation for supply voltage variations with satisfying results. However, if I turn on ac simulation, the bias voltages are appeared to be zero.
I understand that running ac simulation on a circuit that does not have any ac sources might be strange. However, I have noticed that that when I was testing an amplifier with this circuitry in ac. Bias circuitry behaves exactly the same in the amplifier testbench, i.e. producing zeros. As far as I know an ac simulation runs a dc one first to find a op and start ac analysis around it. I would like to see my bias voltages constant across frequency sweep. Is there any method to do it? I would like to avoid placing dc sources in my amplifier schematic to emulate the bias circuitry. please see testbench of a bias circuitry and simulation results. Any considerations will be welcomed.
Thanks everyone in advance!
 

Attachments

  • biassymbol_test.txt
    10.8 KB · Views: 33
  • Screenshot 2025-01-12 210538.png
    105.5 KB · Views: 53
  • Screenshot 2025-01-12 205545.png
    79.2 KB · Views: 51
  • Screenshot 2025-01-12 174936.png
    86.1 KB · Views: 50

Why not represent the real, full circuit? Once you start thinking about distortion and PSRR you had better. Bias network can be a back door for "stuff" that small signal analysis will not show you. Faking it is subject to GIGO.
 
Why not represent the real, full circuit? Once you start thinking about distortion and PSRR you had better. Bias network can be a back door for "stuff" that small signal analysis will not show you. Faking it is subject to GIGO.
Thank you for your reply. What do you mean by "represent a full circuit"? Attach a full schematic of a bias circuitry? I consider my question to be somewhat general. Maybe I should formulate it in a different way: How can I set a simulation such that bias voltages for simulating an amplifier are the same that for a dc analysis (by not including these voltages as constant dc sources)?
Regarding "Bias network can be a back door for "stuff" that small signal analysis will not show you": I would agree, but the thing is that I am not interested in how bias circuit behaves in small-signal analysis.
--- Updated ---

After thinking a while on the question and on the reply by dick_freebird I realized that for a small-signal analysis all dc sources are probably shorted. That is probably why I am getting zeros there.
 
Last edited:

AC simulations takes Initial Values of all sources.If the initial values is zero, it will be constant during AC simulation.
Hi, BigBoss. Yeah, by testing the circuit in different configuration I concluded that the above statement stays true. Thanks everyone for clarification.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…