![]() | ![]() | ![]() |
| | |||||||
| 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. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| 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 | |
| |
| | (permalink) | |
| Quote:
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/ | ||
| |
| | (permalink) |
| Im using an LM324. set up like this | |
| |
| | (permalink) | |
| Quote:
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/ | ||
| |
| | (permalink) |
| 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 | |
| |
| | (permalink) | |
| Quote:
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/ | ||
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) | |
| Quote:
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/ | ||
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) | |
| Quote:
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/ | ||
| |
| | (permalink) |
| yea thats fine. But isnt there suppose to be two threshold levels for a schmitt trigger? | |
| |
| | (permalink) | ||
| Quote:
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:
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | |||
| |
| | (permalink) |
| 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?? | |
| |
| | (permalink) | |
| Quote:
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.?
__________________ 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. | ||
| |
| | (permalink) |
| Ohk yea i understand. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| 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 |