> The minimum time between 0, peak1 and peak2 is the vital 
information you
> didn't give us. Gathering that it will all happen in 50uSec, peak
> detection would be difficult. Certainly timing form 0 to peak would be
> difficult.
Something in the range of 1usec to maybe even 1 millisec.
There is a relatively large gap between 0 and peak 1.

I could detect the voltage level of the first peak. But I do
not know the level of the second peak, I do know that it is
lower, but it varies. That is why software is interesting.

> Can you use the voltage value for peak 1? If there is a constant filter,
> that might work. Another lazy approach if the pulses are symmetrical
> would be to feed them into a digital 'delay line', and pick out the
> midpoint. Here's what I mean
> > |           /\
> > |          /  \
> > |         /    \        /\
> > |____/      \___/  \__ becomes the following pulse train
> 000000000111110000011000
The pulses are not neat, they have some ringing.

> You'd probably sample a bit faster than that, but you get the idea.
> Either way, your software wouldn't have to break out a sweat.
>       Declan Moriarty.
> Author: Declan Moriarty   INET: [EMAIL PROTECTED]

Regards,
Pieter Hoeben
______________________________________________

  Hoeben Electronics     Phone:   +31 6 51590081
  Ronkert 44             Fax:     +31 13 5096025
  5094 EW Lage Mierde    Private: +31 13 5096200
  The Netherlands        E-mail:  [EMAIL PROTECTED]
  http://www.hoeben.com 
______________________________________________

-- 
Author: Pieter Hoeben
  INET: [EMAIL PROTECTED]

Fat City Hosting, San Diego, California -- http://www.fatcity.com
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB CHIPDIR-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to