Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 13th May 2008, 07:21 AM   (permalink)
Default Using OP-Amp to Schmitt Trigger

Hey guys,

I'm converting a analogue to digital signal using an op-amp to make a Schmitt trigger. It needs to be non-inverting, so i just change Vin to the positive feedback, right? But also how do i find the Upper and lower threshold and what dictates how far a part these thresholds have to be apart? Does it depend on the amount of noise that the circuit has.

Thanks
Lyallbay04 is offline  
Old 13th May 2008, 07:36 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
Hey guys,

I'm converting a analogue to digital signal using an op-amp to make a Schmitt trigger. It needs to be non-inverting, so i just change Vin to the positive feedback, right? But also how do i find the Upper and lower threshold and what dictates how far a part these thresholds have to be apart? Does it depend on the amount of noise that the circuit has.

Thanks
hi,
If you get the datasheet for the LM393 dual comparator from www.datasheetarchive.com it shows the method of positive feedback that will give the circuit 'hysteresis'
Do you follow.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 07:57 AM   (permalink)
Default

Im using an LM324. set up like this
Attached Images
File Type: jpg untitled.JPG (10.6 KB, 28 views)
Lyallbay04 is offline  
Old 13th May 2008, 08:08 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
Im using an LM324. set up like this
hi,
That circuit is connected as NI amplifier,
ie with negative feedback [output to INV input].

For a schmitt, you require positive feedback [output to NI input], the value of the feedback resistor will set the 'hysteresis' of the circuit.

The circuitt you require, is a Comparator, OPA's dont make the best comparators.

Did you look at the LM393 data, it does explain hysteresis..
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 08:23 AM   (permalink)
Smile

Ok yea i see what i did wrong. But im only given a LM124/224/324/2902 to use. i understand now that the feedback resistor controls the hystersis. But isn't that circuit a comparator?? Sorry getting a bit confused.

Thanks
Lyallbay04 is offline  
Old 13th May 2008, 08:37 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
Ok yea i see what i did wrong. But im only given a LM124/224/324/2902 to use. i understand now that the feedback resistor controls the hystersis. But isn't that circuit a comparator?? Sorry getting a bit confused.

Thanks
hi,
Yes its a Comparator, but isnt that what you need to convert the analog signal to digital.?

Post some details, ie: whats the range of input voltages, what output voltage, whats the application/assignment..????
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 08:48 AM   (permalink)
Default

Yea, sorry jst got confused with reply. analogue input signals with amplitudes between 0.2 and 4V. Where processing analogue voltage signal from a reciever and filtering out unwanted noise signal and then converting to a digital signal. Im doing the latter part.
Lyallbay04 is offline  
Old 13th May 2008, 08:51 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
Yea, sorry jst got confused with reply. analogue input signals with amplitudes between 0.2 and 4V. Where processing analogue voltage signal from a reciever and filtering out unwanted noise signal and then converting to a digital signal. Im doing the latter part.
What output voltage range do you require from the Comparator.

Another question, what is the frequency range of the signal to the comparator.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 09:03 AM   (permalink)
Default

16 to 66Hz does that seem right and i think the output voltage range is 0-5V.
Sorry if im getting this wrong im a bit new to this stuff.
Lyallbay04 is offline  
Old 13th May 2008, 09:12 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
16 to 66Hz does that seem right and i think the output voltage range is 0-5V.
Sorry if im getting this wrong im a bit new to this stuff.
hi,
No need to be sorry, its not a problem.

The reason for asking the frequency is because the LM324 has a limited specification.

You say you have an input voltage range of +0.2V and +4V, now you have to decide at which voltage you want the comparator to switch over.

Example: if the input voltage is less than +2V then the output is 0V and if the input voltage is greater than +2V, the output is +5V.

A point to note, if the LM324 is powered from a single +5V power supply, the LM324 will NOT give a 0V or a +5V output..
more like +1V and +3.5V, is that acceptable.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 09:17 AM   (permalink)
Default

yea thats fine. But isnt there suppose to be two threshold levels for a schmitt trigger?
Lyallbay04 is offline  
Old 13th May 2008, 09:24 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
yea thats fine. But isnt there suppose to be two threshold levels for a schmitt trigger?
hi,
Yes there are two levels, I was working my way to that point slowly, so that I did not confuse you...

If you can say what the 'centre' switching level is, then we add some positive feedback, Output to NI input...OK.

Quote:
A point to note, if the LM324 is powered from a single +5V power supply, the LM324 will NOT give a 0V or a +5V output..
more like +1V and +3.5V, is that acceptable.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 13th May 2008, 09:47 AM   (permalink)
Default

So that will make it non-inverting right. I think the switching level is 2.5 V. But not sure why we need a cente switching level??
Lyallbay04 is offline  
Old 13th May 2008, 10:02 AM   (permalink)
Default

Quote:
Originally Posted by Lyallbay04
So that will make it non-inverting right. I think the switching level is 2.5 V. But not sure why we need a cente switching level??
hi,
Look at these actual comparator circuits, the NI and INV options.
[attached drawing]

To design most circuits a decision has to be made regarding its operating points.

Example: say that you decide a centre voltage point is +2.5V, when you add hysteresis you will have to select the Lower and Upper voltage switching limits.
You set this centre level by applying a fixed voltage reference to one of the Comp inputs.

Say its +2V and +3V limits you require , you set these by the positive feedback level, choosing the correct feedback resistor. OK.

You will find that when you add the feedback it will move the centre voltage point, so you have to make a small adjustment in the reference voltage.

Do you follow OK.?
Attached Images
File Type: jpg Comp1.jpg (34.1 KB, 12 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 12:24 PM.
ericgibbs is offline  
Old 13th May 2008, 10:13 AM   (permalink)
Default

Ohk yea i understand.
Lyallbay04 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Help, Schmitt trigger rngd General Electronics Chat 22 25th February 2008 05:10 PM
Need help with Schmitt trigger application! whirlwindz General Electronics Chat 8 23rd May 2007 01:06 PM
PIC – RB0 Interrupt pin Schmitt Trigger input elexhobby Micro Controllers 5 9th October 2005 10:31 AM
Calculating Schmitt Trigger Wbdsgnr General Electronics Chat 1 29th March 2005 06:05 PM
diffferences between a TTL and a ST (Schmitt Trigger) I/O ?? foosm Micro Controllers 2 27th August 2003 07:27 PM



All times are GMT. The time now is 08:02 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker