designing a if then circuit with exception

C

Clive

Guest
I have come across a problem in my circuit design.

I need to acheive the following

If Fvoltage-Rvoltage=<100mv then output=low UNLESS Fvoltage<300mv

Are the voltages too small to use directly? or would they need
amplification?

How can design to circuit and keep it simple?
 
Clive wrote:
I have come across a problem in my circuit design.

I need to acheive the following

If Fvoltage-Rvoltage=<100mv then output=low UNLESS Fvoltage<300mv

Are the voltages too small to use directly? or would they need
amplification?

How can design to circuit and keep it simple?
Those voltages are fine when using comparators that have millivolt DC
errors.

Are you saying that you want the output to be low for inputs below 100
mV and also low for inputs > 300 mV, but high for voltages between
those?

If so, a window comparator composed to the two sections of an LM393
connected in parallel to the same pull up resistor might be accurate
enough.

There is a circuit that performs this function shown on page 10 of
this data sheet, labeled as 'Limit Comparator'.
http://cache.national.com/ds/LM/LM193.pdf

If, instead, you are saying that inputs below 100 mV cause an output
low, but inputs above 300 mV cause an output high, and inputs between
these limits produce outputs that have not yet been defined, then you
may be able to make that with just one comparator.

--
John Popelish
 
On Mon, 05 Apr 2004 15:05:11 GMT, "Clive" <clivem@hotmail.com> wrote:

I have come across a problem in my circuit design.

I need to acheive the following

If Fvoltage-Rvoltage=<100mv then output=low UNLESS Fvoltage<300mv

Are the voltages too small to use directly? or would they need
amplification?

How can design to circuit and keep it simple?
---
Schematic posted to alt.binaries.schematics.electronic under
"designing a if then circuit with exception"


--
John Fields
 
"Clive" <clivem@hotmail.com> schreef in bericht
news:HAecc.3268$R66.31664199@news-text.cableinet.net...
I have come across a problem in my circuit design.

I need to acheive the following

If Fvoltage-Rvoltage=<100mv then output=low UNLESS Fvoltage<300mv

Are the voltages too small to use directly? or would they need
amplification?

How can design to circuit and keep it simple?
Rewriting in a pseudo language:

IF F-R<=100 THEN Q=0 UNLESS F<300

UNLESS does not compute that easy so I rewrite again:

IF (F-R<=100) AND (F>=300) THEN Q=0 ELSE Q=1

In this line I see an opamp calculating F-R and amplify it let's say ten
times. The opamp is followed by a comparator that compares the opamps output
signal to 1V. F can be amplified ten times and compared to 3V the same way.
A two inputs NAND makes Q from the outputs of the comparators.

An important point is the hysteresis of the comparators. They need some
hysteresis to prevent oscillations. The amount of hysteresis depends on the
required accuracy of the whole circuit.

petrus


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.639 / Virus Database: 408 - Release Date: 23-3-2004
 
On Mon, 05 Apr 2004 23:04:40 GMT, "petrus bitbyter"
<p.kralt@hccnet.nl> wrote:

"Clive" <clivem@hotmail.com> schreef in bericht
news:HAecc.3268$R66.31664199@news-text.cableinet.net...
I have come across a problem in my circuit design.

I need to acheive the following

If Fvoltage-Rvoltage=<100mv then output=low UNLESS Fvoltage<300mv

Are the voltages too small to use directly? or would they need
amplification?

How can design to circuit and keep it simple?



Rewriting in a pseudo language:

IF F-R<=100 THEN Q=0 UNLESS F<300

UNLESS does not compute that easy so I rewrite again:

IF (F-R<=100) AND (F>=300) THEN Q=0 ELSE Q=1

In this line I see an opamp calculating F-R and amplify it let's say ten
times. The opamp is followed by a comparator that compares the opamps output
signal to 1V. F can be amplified ten times and compared to 3V the same way.
A two inputs NAND makes Q from the outputs of the comparators.

An important point is the hysteresis of the comparators. They need some
hysteresis to prevent oscillations. The amount of hysteresis depends on the
required accuracy of the whole circuit.
---
Not bad!

I don't see the need for the extra opamp for F, and I decoded the
all-zeroes state, but other than that, great minds think alike...

Check alt.binaries.schematics.electronic for my take on it.

--
John Fields
 

Welcome to EDABoard.com

Sponsor

Back
Top