Electronics Computer-Aided Design Re: Simulation Device... Keyed Peak Detector

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Re: Simulation Device... Keyed Peak Detector John Larkin 05-29-08
Posted by John Larkin on May 29, 2008, 2:42 pm
Please log in for more thread options
On Wed, 28 May 2008 14:51:12 -0700, Jim Thompson

>On Wed, 28 May 2008 14:27:16 -0700, Joerg
>
>>Jim Thompson wrote:
>>> I want to build an ideal device for use in PSpice simulations, a Keyed
>>> Peak Detector...
>>>
>>
>>Ask someone at IPCC. They'll find every peak even if it ain't there :-)
>>
>>SCNR.
>>
>>
>>> Finds the maximum peak value of an input voltage while it's enabled
>>> ("keyed"), and "dumps"/outputs zero when not enabled.
>>>
>>> Any ideas?
>>>
>>> (Ideal elements)
>>>
>>
>>Aside from math, can't you use a buffer with (near) zero Zout, an ideal
>>diode, a wee cap? Then when it's keyed off use a FET with 1 femto-ohm
>>Rdson to short out the cap.
>
>Except that ideal diodes tend not to converge. I'm looking for some
>mathematical method that is "smooth" ;-)
>
> ...Jim Thompson

Why not fudge a regular diode to be almost ideal, and put a gain of a
million in front?

LT Spice doesn't seem to have an ideal diode.

Hey, why not make an ideal diode from a voltage-controlled switch?

John



Posted by Chuck Harris on May 29, 2008, 3:39 pm
Please log in for more thread options
John Larkin wrote:

>>> Aside from math, can't you use a buffer with (near) zero Zout, an ideal
>>> diode, a wee cap? Then when it's keyed off use a FET with 1 femto-ohm
>>> Rdson to short out the cap.
>> Except that ideal diodes tend not to converge. I'm looking for some
>> mathematical method that is "smooth" ;-)
>>
>> ...Jim Thompson
>
> Why not fudge a regular diode to be almost ideal, and put a gain of a
> million in front?

Well, that is the usual way that one makes an "ideal" diode in the real
world... put a real diode in the feedback path of an opamp and let the
negative feedback take care of the details.

-Chuck

Posted by Helmut Sennewald on May 29, 2008, 5:12 pm
Please log in for more thread options

> On Wed, 28 May 2008 14:51:12 -0700, Jim Thompson
>
>>On Wed, 28 May 2008 14:27:16 -0700, Joerg
>>
>>>Jim Thompson wrote:
>>>> I want to build an ideal device for use in PSpice simulations, a Keyed
>>>> Peak Detector...
>>>>
>>>
>>>Ask someone at IPCC. They'll find every peak even if it ain't there :-)
>>>
>>>SCNR.
>>>
>>>
>>>> Finds the maximum peak value of an input voltage while it's enabled
>>>> ("keyed"), and "dumps"/outputs zero when not enabled.
>>>>
>>>> Any ideas?
>>>>
>>>> (Ideal elements)
>>>>
>>>
>>>Aside from math, can't you use a buffer with (near) zero Zout, an ideal
>>>diode, a wee cap? Then when it's keyed off use a FET with 1 femto-ohm
>>>Rdson to short out the cap.
>>
>>Except that ideal diodes tend not to converge. I'm looking for some
>>mathematical method that is "smooth" ;-)
>>
>> ...Jim Thompson
>
> Why not fudge a regular diode to be almost ideal, and put a gain of a
> million in front?
>
> LT Spice doesn't seem to have an ideal diode.

Hello John,

try this one in LTspice.

.model DID D(Vfwd=0 Ron=1m Roff=1G)


Best regards,
Helmut

> Hey, why not make an ideal diode from a voltage-controlled switch?
>
> John
>
>



Similar ThreadsPosted
Re: Simulation Device... Keyed Peak Detector May 28, 2008, 8:46 pm
Re: Simulation Device... Keyed Peak Detector May 31, 2008, 1:28 pm
Re: Simulation Device... Keyed Peak Detector May 29, 2008, 2:42 pm
How to simulate an IR Emitter & Detector? January 28, 2005, 1:26 pm
MotorSolve Sneak Peak at EME 2006 September 13, 2006, 9:32 pm
Creating a device in Eagle June 10, 2005, 9:34 pm
clock multiplexor device October 30, 2006, 8:28 am
Device Prefix for Transmission Lines April 6, 2005, 8:54 pm
PSpice Output File Device May 27, 2005, 12:12 am
How to set/sweep individual device temperature? February 7, 2006, 5:40 am
Modeling Series R in an MOS (Active Device) Capacitor ?? February 4, 2005, 2:41 pm
Help verifying BAV99 device spice model June 7, 2005, 1:01 am
SIMetrix help needed... 'Illegal Device' when using digital models January 4, 2005, 4:01 am
Tweaking spice models to generate device parameter variation September 7, 2004, 8:30 pm
The best CAD for simulation, design and PCB? September 3, 2004, 7:46 am