Orcad 16 problem with simulation, wrong results

bertus

Joined Apr 5, 2008
22,925
Hello,

There IS a difference between your schematic and the one of forrest mims.
Yours has 10K / 10K on the + input of the first opamp.
The one of forrest mims uses 27K / 100K on the + input of the first opamp.
That means that the switching points of the circuits are different.

Bertus
 

Thread Starter

ArakelTheDragon

Joined Nov 18, 2016
1,366
The whole problem here is that I dont know if Orcad is simulating everything properly. Please someone check my first post and tell me why do I receive a different result only if I change the time for the transient analisys?

I will try with the switch and see what I get.
 

Thread Starter

ArakelTheDragon

Joined Nov 18, 2016
1,366
Hello,

There IS a difference between your schematic and the one of forrest mims.
Yours has 10K / 10K on the + input of the first opamp.
The one of forrest mims uses 27K / 100K on the + input of the first opamp.
That means that the switching points of the circuits are different.

Bertus
I didnt consider that as much of a problem? I will try with your circuit.
 

Thread Starter

ArakelTheDragon

Joined Nov 18, 2016
1,366
With the first circuit and a switch I get "failed to converge again". I will try the second circuit now.
Can anyone of you read a ".prm" file which is what orcad prints?
 

Thread Starter

ArakelTheDragon

Joined Nov 18, 2016
1,366
Hello,

@crutschow , could you simulate with the other values mentioned in my earlier post?
Please also show the capacitor wave form in both cases.

Bertus
I simulated with your values, I have to ask a question, are the values in "Farads", meaning "0.1" is "100mF" or is that "uF", meanign "0.1" is "0.1uf=100nF" ? I am guessing its micro, but here is the simulation and circuit with the capacitor voltages exactly as written.

I give a PDF file of the circuit and graphic.
 

Attachments

bertus

Joined Apr 5, 2008
22,925
Hello,

The given values are in μF.
So C1 = 1nF, C2 = 100nF and C3 = 10 nF.
Remove the short after R17.
The short will render to no output signal.

Bertus
 

Alec_t

Joined Sep 17, 2013
15,119
You still show the right-hand end of R17 shorted to ground.

Edit: Bertus beat me to it.

If Orcad treats all the circuit nodes labelled '1' (for example) as electrically common, it's no surprise the sim doesn't work as you expect.
 

Thread Starter

ArakelTheDragon

Joined Nov 18, 2016
1,366
I powered them to +-9V, but, its in the last PDF that I posted.

I will test on Orcad 9.1 and see what happens. I cant believe cadence ruined orcad......
 

Alec_t

Joined Sep 17, 2013
15,119
If you post a revised pdf of the circuit exactly as it is now then we have a better chance of seeing any problem.
 
Top