Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||||||||||||||||||||||||||
|
Posted by Bob Penoyer on October 12, 2005, 9:10 pm
Please log in for more thread options 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. | ||||||||||||||||||||||||||||||||||||||||
|
Posted by Jim Thompson on October 13, 2005, 7:44 am
Please log in for more thread options On Wed, 12 Oct 2005 21:10:12 -0700, Bob Penoyer Is there any resistance in series with the "diode", any capacitance in parallel... CJ0 defaults to zero when not specified... not a good idea. >2. A crash in which PSpice announced it couldn't communicate with the
>server. Do you perchance have two (or more) versions of PSpice installed? >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. Capture == GROAN :-( ...Jim Thompson -- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food. | ||||||||||||||||||||||||||||||||||||||||
|
Posted by Bob Penoyer on October 13, 2005, 7:57 pm
Please log in for more thread options
On Thu, 13 Oct 2005 07:44:26 -0700, Jim Thompson >On Wed, 12 Oct 2005 21:10:12 -0700, Bob Penoyer
> >>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. >
>Is there any resistance in series with the "diode", any capacitance in >parallel... CJ0 defaults to zero when not specified... not a good >idea. I removed the diode from its series connection with the +15V source. Then I connected the diode from +15V to ground through a 1K resistor. Same problem. I get this information in PSpice AD's status window: Divide by Zero in device D_D11, Divide(2.38823e-005) INTERNAL ERROR -- Divide by Zero in device D_D11, Divide(2.38823e-005) Run aborted Disk write error. The disk may be full. I/O ERROR -- Disk write error. The disk may be full. Run aborted The last 3 lines above continue to repeat until I get a window that says Simulation Error: The RPC server is unavailable. Then I can't close PSpice AD. Only rebooting or logging off and back on lets me run PSpice successfully again. >>2. A crash in which PSpice announced it couldn't communicate with the
>>server. >
>Do you perchance have two (or more) versions of PSpice installed? No. I'm using one of the "seats" that the license allows. >Capture == GROAN :-(
I understand, but Capture is what I learned on, so that's what I use. | ||||||||||||||||||||||||||||||||||||||||
|
Posted by Jim Thompson on October 14, 2005, 7:50 am
Please log in for more thread options
On Thu, 13 Oct 2005 19:57:30 -0700, Bob Penoyer >On Thu, 13 Oct 2005 07:44:26 -0700, Jim Thompson
[snip]
> >>
>>Do you perchance have two (or more) versions of PSpice installed? >
[snip]
>No. I'm using one of the "seats" that the license allows. > Make sure there isn't more than one version on your machine. That'll screw you up every time. From support... "The problem you have mentioned in your email regarding the simulation error is something that can be caused if the user has multiple versions on the system or he still has old version entries in the environment variables and registry. This happens only with Capture and not with PSpice Schematics." ...Jim Thompson -- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food. | ||||||||||||||||||||||||||||||||||||||||
|
Posted by Bob Penoyer on October 15, 2005, 12:03 pm
Please log in for more thread options
On Fri, 14 Oct 2005 07:50:59 -0700, Jim Thompson >On Thu, 13 Oct 2005 19:57:30 -0700, Bob Penoyer
> >>On Thu, 13 Oct 2005 07:44:26 -0700, Jim Thompson
>> >[snip]
>>>
>>>Do you perchance have two (or more) versions of PSpice installed? >>
>>No. I'm using one of the "seats" that the license allows. >> >[snip]
> >Make sure there isn't more than one version on your machine. That'll >screw you up every time. > >From support... > >"The problem you have mentioned in your email regarding the simulation >error is something that can be caused if the user has multiple >versions on the system or he still has old version entries in the >environment variables and registry. This happens only with Capture and >not with PSpice Schematics." This is very interesting. I'm sure (I think...) that I uninstalled anything related before installing. Maybe I should go through the process again. | ||||||||||||||||||||||||||||||||||||||||
| Similar Threads | Posted |
| PSpice Ideal Diode ... and Crash | October 12, 2005, 9:10 pm |
| Convert HSpice Diode Model to PSpice? | March 28, 2007, 12:02 pm |
| diode voltage | February 8, 2008, 11:09 am |
| diode 1n4733 | May 2, 2008, 11:04 am |
| System crash in 99SE | June 28, 2007, 2:22 pm |
| Wine and LTspice crash | January 23, 2006, 6:47 pm |
| Re: Tri to Sine diode shaper | June 13, 2008, 1:57 am |
| Re: Tri to Sine diode shaper | June 12, 2008, 12:53 pm |
| Re: Tri to Sine diode shaper | June 16, 2008, 11:53 am |
| diode protection in battery charger circuit? | July 17, 2008, 1:36 am |
| diode protection in battery charger circuit? | July 17, 2008, 1:34 am |
| new to pspice | September 14, 2004, 12:24 pm |
| Pspice | November 18, 2004, 4:15 pm |
| Is Pspice very useful? | October 30, 2006, 8:22 pm |
| Pspice? | November 15, 2006, 1:08 am |

PSpice Ideal Diode ... and Crash
Yahoo!
Windows Live
del.icio.us
digg
Netscape 







>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.