It is currently 01 Aug 2010, 05:50





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 
 looking for a timer circuit 
Author Message
Post looking for a timer circuit
I need a circuit that will read an input voltage once every second,
and output that same voltage on the output side until the next
reading. This will be used in a vehicle (12VDC) and the input voltage
that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
appreciated.

Wayne


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
Wayne wrote:
>
> I need a circuit that will read an input voltage once every second,
> and output that same voltage on the output side until the next
> reading. This will be used in a vehicle (12VDC) and the input voltage
> that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
> appreciated.
>
> Wayne

google on:
"sample and hold" schematic

That should bring up a fair number of results.

HTH


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
On Mar 11, 8:23=A0am, Randy Day <randy....@shaw.cax> wrote:
> Wayne wrote:
>
> > I need a circuit that will read an input voltage once every second,
> > and output that same voltage on the output side until the next
> > reading. =A0This will be used in a vehicle (12VDC) and the input voltage=

> > that is being 'sampled' will vary from 0 - 1.0VDC. =A0Any help is
> > appreciated.
>
> > Wayne
>
> google on:
> "sample and hold" schematic
>
> That should bring up a fair number of results.
>
> HTH

I have (and still am) looking through pages of google results. So
far, nothing that looks usable to me :^). I'm trying to find a
circuit that will stabilize an air/fuel ratio gauge display (a series
of LEDs). The gauge takes its input from an O2 sensor in the exhaust
header (single wire type). The o2 sensor varies it's output from 0VDC
to 1VDC based on it's reading. The problem with the gauge is it
samples too frequently and the display is almost useless. If I could
build something that takes the output from the o2 sensor and 'level'
it (only take 1 reading per second and output that reading to the
gauge until the next reading), I think it would stabilize the display
and make it more usable.

Thanks,

Wayne


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
On Tue, 11 Mar 2008 07:37:17 -0700 (PDT), Wayne
<waynelewis@gmail.com> wrote:
..
..
..

> I'm trying to find a
>circuit that will stabilize an air/fuel ratio gauge display (a series
>of LEDs). The gauge takes its input from an O2 sensor in the exhaust
>header (single wire type). The o2 sensor varies it's output from 0VDC
>to 1VDC based on it's reading. The problem with the gauge is it
>samples too frequently and the display is almost useless. If I could
>build something that takes the output from the o2 sensor and 'level'
>it (only take 1 reading per second and output that reading to the
>gauge until the next reading), I think it would stabilize the display
>and make it more usable.

---
View in Courier:


..[O2 SENSOR]---[ADC]---[LATCH]---[DAC]---[DISPLAY]
.. | |
..[1s CLOCK]------+--------+


--
JF


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
"Wayne" <waynelewis@gmail.com> wrote in message
news:5e046560-34b8-4d22-8396-da12876bf192@m44g2000hsc.googlegroups.com...
>I need a circuit that will read an input voltage once every second,
> and output that same voltage on the output side until the next
> reading. This will be used in a vehicle (12VDC) and the input voltage
> that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
> appreciated.
>
> Wayne


You may instead want a way to average the result. Otherwise, you end up with
the 'random' result being displayed for 1 sec, followed by another random
result, etc.

You can do this with a low pass filter, perhaps. The simplest is a resistor
from input to output, with a capacitor from output to ground. The values to
use are dependent on how much you want to smooth the output. If you want the
output to average out at 1Hz or less, then you need components so that

R * C = 0.16 = (1/(2*PI))

So, if you use a 1uF capacitor, you would need about 160k of resistance.

So, here is the circuit:

160k
sensor ---- RRR ---o---- output
|
--- 1uF
---
|
GND

Regards,
Bob Monsen


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
On Mar 11, 10:37=A0am, Wayne <waynele...@gmail.com> wrote:
> On Mar 11, 8:23=A0am, Randy Day <randy....@shaw.cax> wrote:
>
> I have (and still am) looking through pages of google results. =A0So
> far, nothing that looks usable to me :^). =A0I'm trying to find a
> circuit that will stabilize an air/fuel ratio gauge display (a series
> of LEDs). =A0The gauge takes its input from an O2 sensor in the exhaust
> header (single wire type). =A0The o2 sensor varies it's output from 0VDC
> to 1VDC based on it's reading. =A0 The problem with the gauge is it
> samples too frequently and the display is almost useless. =A0If I could
> build something that takes the output from the o2 sensor and 'level'
> it (only take 1 reading per second and output that reading to the
> gauge until the next reading), I think it would stabilize the display
> and make it more usable.

=46rom this it sounds like the problem is that your signal is bouncing
around a lot. Many samples of a steady signal would not be an issue.
So rather than just taking snapshot samples and displaying them, you
may want to do some averaging on the input value.

Me, I'd be inclined to do the whole thing with an 8-pin micro e.g.
AVR. How much resolution does your display have?

Mike


17 Mar 2008, 17:18
Post Re: looking for a timer circuit
On Mar 11, 11:37=A0am, "Bob Monsen" <rcmon...@gmail.com> wrote:
> "Wayne" <waynele...@gmail.com> wrote in message
>
> So, here is the circuit:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 160k
> =A0 sensor ---- RRR ---o---- output
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 --- 1uF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ---
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 GND

Yes, this is definitely the first thing to try. I got caught up in
the whole input-hold-average-output thing.

Mike


17 Mar 2008, 17:19
Post Re: looking for a timer circuit
Wayne wrote:

> I need a circuit that will read an input voltage once every second,
> and output that same voltage on the output side until the next
> reading. This will be used in a vehicle (12VDC) and the input voltage
> that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
> appreciated.
>
> Wayne
Well, using a simple RC type padding will slow down the movement
of the signal for you how ever, if this sensor is connected to another
device in the car like your car's ignition computer, you may want to
isolate the signal before altering it to suit your needs.
Passing the signal into the + input of an op-amp and on the output
of the op-amp you apply the padding RC filtering.


http://webpages.charter.net/jamie_5"


17 Mar 2008, 17:19
Post Re: looking for a timer circuit
"Wayne" <waynelewis@gmail.com> wrote in message
news:5e046560-34b8-4d22-8396-da12876bf192@m44g2000hsc.googlegroups.com...
>I need a circuit that will read an input voltage once every second,
> and output that same voltage on the output side until the next
> reading. This will be used in a vehicle (12VDC) and the input voltage
> that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
> appreciated.
>
> Wayne

How about a kit from Jaycar Electronics
http://www.jaycar.com.au/

Kit number KC5195

http://tinyurl.com/39w7w4 should take you to the page

I think it does exactly what you want and there are loads more toys to buy
to make ordering from Australia worth while.


17 Mar 2008, 17:19
Post Re: looking for a timer circuit
On Tue, 11 Mar 2008 08:37:56 -0700, "Bob Monsen" <rcmonsen@gmail.com>
wrote:

>"Wayne" <waynelewis@gmail.com> wrote in message
>news:5e046560-34b8-4d22-8396-da12876bf192@m44g2000hsc.googlegroups.com...
>>I need a circuit that will read an input voltage once every second,
>> and output that same voltage on the output side until the next
>> reading. This will be used in a vehicle (12VDC) and the input voltage
>> that is being 'sampled' will vary from 0 - 1.0VDC. Any help is
>> appreciated.
>>
>> Wayne
>
>
>You may instead want a way to average the result. Otherwise, you end up with
>the 'random' result being displayed for 1 sec, followed by another random
>result, etc.
>
>You can do this with a low pass filter, perhaps. The simplest is a resistor
>from input to output, with a capacitor from output to ground. The values to
>use are dependent on how much you want to smooth the output. If you want the
>output to average out at 1Hz or less, then you need components so that
>
> R * C = 0.16 = (1/(2*PI))
>
>So, if you use a 1uF capacitor, you would need about 160k of resistance.
>
>So, here is the circuit:
>
> 160k
> sensor ---- RRR ---o---- output
> |
> --- 1uF
> ---
> |
> GND
>
>Regards,
> Bob Monsen
>

I'll also add my vote for the filter approach as a first step.

But if you ultimately decide you do need a sample/hold,
it can be done in a fairly straightforward manner without
going digital. You have a buffer amp that charges a
capacitor through a switch (4016, etc). The capacitor
voltage is monitored by another buffer that feeds your display
circuit. A timer closes the switch for a brief interval, once
per second, to charge up the cap to the present input
voltage.

The input impedance of the op-amp output buffer will be
very high, so it won't draw down the capacitor voltage
between samples. In general you need a low input bias
current op-amp for this, but I'll bet a TL082 or LF351
will be OK. You will need to experiment with the cap
if dielectric absorption or leakage gives you problems,
but I suspect a big mylar will be fine since this is not
really a critical issue for your application.

The timer is totally non-critical. I prefer simple CMOS
gate timers, but you could probably use the popular (though
I could never understand why) 555 series here if you don't
mind all the extra parts and the supply current spikes.

Best regards,


Bob Masta

DAQARTA v3.50
Data AcQuisition And Real-Time Analysis
http://www.daqarta.com
Scope, Spectrum, Spectrogram, FREE Signal Generator
Science with your sound card!


17 Mar 2008, 17:19
Post Re: looking for a timer circuit
On Mar 11, 11:37=A0am, "Bob Monsen" <rcmon...@gmail.com> wrote:
> "Wayne" <waynele...@gmail.com> wrote in message
>
> news:5e046560-34b8-4d22-8396-da12876bf192@m44g2000hsc.googlegroups.com...
>
> >I need a circuit that will read an input voltage once every second,
> > and output that same voltage on the output side until the next
> > reading. =A0This will be used in a vehicle (12VDC) and the input voltage=

> > that is being 'sampled' will vary from 0 - 1.0VDC. =A0Any help is
> > appreciated.
>
> > Wayne
>
> You may instead want a way to average the result. Otherwise, you end up wi=
th
> the 'random' result being displayed for 1 sec, followed by another random
> result, etc.
>
> You can do this with a low pass filter, perhaps. The simplest is a resisto=
r
> from input to output, with a capacitor from output to ground. The values t=
o
> use are dependent on how much you want to smooth the output. If you want t=
he
> output to average out at 1Hz or less, then you need components so that
>
> =A0R * C =3D 0.16 =3D (1/(2*PI))
>
> So, if you use a 1uF capacitor, you would need about 160k of resistance.
>
> So, here is the circuit:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 160k
> =A0 sensor ---- RRR ---o---- output
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 --- 1uF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ---
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 GND
>
> Regards,
> =A0Bob Monsen

Bob,

I tried your suggestion today, and it did help some. You can
definitely see a difference in the display, especially at idle.
Thanks.


17 Mar 2008, 17:19
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.