Why the result is normal? The capacitor should be charged, right? But no charging happens......
The DC operating point simulation showed that, the voltage of inverting input terminal is not near ground. It is equal to the input voltage......too bad....
This should be something related to how Pspice extracts the matrix of the circuit, I think. But I really do not know why...
To understand what is happening we have to go on step by step... only then all will look to you very logical :wink:Let us assume there is no capacitor. What would you expect to see at the opamp ouput?
Not exactly. SPICE will still calculate an initial solution that fulfill the given initial condition. In most cases the result will be different from skipping bias point calculation. Tos tart with a discharged capacitor, an initial condition for the voltage accross the capacitor has to be set.Add Initial condition to any node or capacitor. This will force simulator to skip the "BIAS point calculation".
Pspice has nothing wrong
Remark: Contrary to KERIMF I am convinced that your simulation arrangement can work! That means: You will see the expected ramp. Only in case of a real amplifier model the offset voltage (together with the delay inside the real model) will drive the opamp into saturation
I'm really wondering, why they made that "calculate initial DC condition" option default in all SPICE-like simulators. Anyone knows that?
This causes whole lot of problems - because in reality *NO* circuit starts from its operating point. E.g. some oscillating circuits might not start in the simulator, unless you set the initial condition for capacitors / inductors.
There are lots of things wrong with PSpice and other *spice simulators. The unchecked by default "skip initial DC solution" option is one of them. A poor numerical engine that almost hadn't change for the past 30 years and that cannot *guarantee* convergence nor estimate numerical round-off errors properly is another one (however it is not the case here).
The output should be "V+ minus V-" * Open-loop-gain, and in my case where an ideal opamp is used, the output would be saturated at one of the voltage supply rail.Let us assume there is no capacitor. What would you expect to see at the opamp ouput?
Yes, I agree with you that setting the correct bias point is very crucial to get the correct behavior for the transient simulation.
In my opinion, Spice is not really good at doing the dynamic simulation, i.e. transient simulation, of the system. We have to do some tricks to fool the SPICE program to get the best result.
---------- Post added at 15:42 ---------- Previous post was at 15:35 ----------
Hi LvM,
I want to do the transient simulation of the circuit, i.e. I want to see the dynamic behavior of the integrator.
atripathi 's post on the #5, in my opinion, gives a good solution to my question.
So, when doing the transient simulation of circuit, we really have to care about the starting point (bias point or initial condition) of the circuit.
Hi LvW!
Thanks for your comments!
I strongly agree with you! Problems come when people are not familiar with the SPICE program! So, if we want to play the games, we must obey the rules!
Thanks again!
The output should be "V+ minus V-" * Open-loop-gain, and in my case where an ideal opamp is used, the output would be saturated at one of the voltage supply rail.
My intention is to present what is happening in real step by step, which may remind us what we learnt on each component and how it works. I believe a simulator can help much better if one already knows how his circuit runs in general if real. That is why I started with a real circuit here. But I also agree that this way is seldom recommended in the today's very fast world.
It should be neither skipped nor corrected or even deleted. It's instructive in any case.In any case, I think it is easy to skip a post if posted by KerimF. And if it has something wrong, it should be deleted or corrected.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?