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 JosephKK 05-31-08
Posted by JosephKK on May 31, 2008, 1:28 pm
Please log in for more thread options
On Fri, 30 May 2008 11:16:52 -0700, Jim Thompson

>On Wed, 28 May 2008 14:15:33 -0700, Jim Thompson
>
>>I want to build an ideal device for use in PSpice simulations, a Keyed
>>Peak Detector...
>>
>>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)
>>
>> ...Jim Thompson
>
>!@#$%&*
>
>Right under my nose... built-in macros ENVMAX and ENVMIN :-(
>
> ...Jim Thompson

That may or may not be PSpice specific. I thought about it some.
Start with a "standard" track and hold, add a fast comparator to
convert to a peak and hold (two if you want both peaks). Add some
enable circuitry to handle any ADC converter setup and hold times and
data transfer as needed.. Did something like this about 20 years ago
for what was then Hughes EDSG. Location of the analog / digital
boundary is engineer choice.


Posted by JosephKK on June 1, 2008, 3:47 pm
Please log in for more thread options
On Sat, 31 May 2008 10:36:12 -0700, Jim Thompson

>wrote:
>
>>On Fri, 30 May 2008 11:16:52 -0700, Jim Thompson
>>
>>>On Wed, 28 May 2008 14:15:33 -0700, Jim Thompson
>>>
>>>>I want to build an ideal device for use in PSpice simulations, a Keyed
>>>>Peak Detector...
>>>>
>>>>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)
>>>>
>>>> ...Jim Thompson
>>>
>>>!@#$%&*
>>>
>>>Right under my nose... built-in macros ENVMAX and ENVMIN :-(
>>>
>>> ...Jim Thompson
>>
>>That may or may not be PSpice specific. I thought about it some.
>>Start with a "standard" track and hold, add a fast comparator to
>>convert to a peak and hold (two if you want both peaks). Add some
>>enable circuitry to handle any ADC converter setup and hold times and
>>data transfer as needed.. Did something like this about 20 years ago
>>for what was then Hughes EDSG. Location of the analog / digital
>>boundary is engineer choice.
>>
>
>I created an ideal diode with a TANH smoothness _ before_ I stumbled
>onto the macro... produces the same results, but slower in simulation.
>
> ...Jim Thompson

Maybe you could post example circuits on your website. Preferably
LTSpice circuits as well.


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