B
Bob Penoyer
Guest
I recently had a need for an ideal diode. When I found one and used
it, I got results that worked great in one circuit and crashed PSpice
in another circuit. I've had convergence problems before, but never a
crash.
I found a model for an ideal diode at this MIT site:
http://ocw.mit.edu/NR/rdonlyres/Electrical-Engineering-and-Computer-Science/6-334Spring2003/56F6E619-0B02-424D-AC10-88D1AC4AB3E1/0/idealdiode.lib
I used PSpice's Model Editor to invoke the .model statement from the
above site. To test the diode, I connected it in series with a 10Vpk
sine wave and a 5-ohm resistor. It worked great: only 1 mV drop at the
peak, and exact tracking of the sine wave at any point where the
voltage was non-negative. Okay, I thought, let's try it in the circuit
where I need it.
I put the diode in series with a 15V source and the circuit powered by
that source. (The circuit alway converged before adding the diode.)
When I ran the simulation, I got two kinds of errors at different
times:
1. Divide by zero error at the diode.
2. A crash in which PSpice announced it couldn't communicate with the
server. Then I couldn't get Probe to stop running. Forcing it to close
using Windows Task Manager still left some remnant running so that I
couldn't get Capture to transfer to PSpice AD. The only way to get
past the problem was to reboot the (Windows 2000) computer.
Any help would be appreciated. Thanks.
it, I got results that worked great in one circuit and crashed PSpice
in another circuit. I've had convergence problems before, but never a
crash.
I found a model for an ideal diode at this MIT site:
http://ocw.mit.edu/NR/rdonlyres/Electrical-Engineering-and-Computer-Science/6-334Spring2003/56F6E619-0B02-424D-AC10-88D1AC4AB3E1/0/idealdiode.lib
I used PSpice's Model Editor to invoke the .model statement from the
above site. To test the diode, I connected it in series with a 10Vpk
sine wave and a 5-ohm resistor. It worked great: only 1 mV drop at the
peak, and exact tracking of the sine wave at any point where the
voltage was non-negative. Okay, I thought, let's try it in the circuit
where I need it.
I put the diode in series with a 15V source and the circuit powered by
that source. (The circuit alway converged before adding the diode.)
When I ran the simulation, I got two kinds of errors at different
times:
1. Divide by zero error at the diode.
2. A crash in which PSpice announced it couldn't communicate with the
server. Then I couldn't get Probe to stop running. Forcing it to close
using Windows Task Manager still left some remnant running so that I
couldn't get Capture to transfer to PSpice AD. The only way to get
past the problem was to reboot the (Windows 2000) computer.
Any help would be appreciated. Thanks.