![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi guys,
Anyone know any links to where I can find the formula/expressions for an Op Amp Schmitt Trigger ? Meaning to calculate the UTP and LTP values. Or if any of you know the formula, please reply, this is giving me a headache ! I understand the theory but I just can't get the calculations. I've googled everywhere and I cannot find any .. There are formulas for BJT Schmitt triggers though. Thanks. |
|
|
|
|
|
|
(permalink) |
|
You are problably looking for a window detector. A dual comparator with open collectors would probably work just fine, by tying the output collectors together and a resistor from the collectors to Vcc. I think the LM2903 would work.
__________________
The great thing about electronics is unlimited ways to do the job. The only limit is one\'s imagination. I generally think my way is best. Show me a different way. I have an open mind. |
|
|
|
|
|
|
(permalink) |
|
Actually I'm just copying an already designed circuit using a TLC339. I'm trying to analyze the circuit and modify the UTP and LTP values. Do you know where I can get that info ?
The circuit is attached below just in case. Last edited by rngd; 22nd January 2008 at 04:12 PM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
R1 connected from output to non-inverting input. R2 connected from non-inverting input to ground. Vin is inverting input. VupperTH = R2/R1+R2(+Vout-max) VlowerTH = R2/R1+R2(-Vout-max) Hope you can make sense of this. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
Thanks, Roff ! Exactly what I was looking for !
But I have a few questions for you, 1. I did not know we need to take Vcc into account.. My circuit does not have the RL resistor between the output and Vcc, so I can just leave RL out of the eq. and replace with a short between output and Vcc ? 2. What about when the Schmitt trigger is non-inverting ? I will try out the calculations and simulate it and see what I can get. Thanks for your time. |
|
|
|
|
|
|
(permalink) | |||
|
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
(permalink) | ||
|
Quote:
Please help, I have been going over this since I posted and I still can't get it ! The connections are different than your diagram. Can you please have a look at the circuit I posted above and tell me how I should do the calculations ? It doesn't have voltage dividers, its replaced with a 2.5V reference. Vcc does not appear to be connected to any of the op amp resistors, just the power supply for the IC. Quote:
|
|||
|
|
|
|
|
(permalink) | |
|
Quote:
EDIT: I just noticed the other Schmitt in your schematic. Hang on for a while so I can look at it. |
||
|
|
|
|
|
(permalink) |
|
OK, here's the analysis for the other Schmitt trigger. You do have RL, it's the 100k from the output to the battery. Your LM339 is powered by the 15V zener circuit at the bottom of your schematic. LM339 is a quad comparator, so they only show the power supply connections on one of the sections.
|
|
|
|
|
|
|
(permalink) |
|
OK, much thanks Ron, its all less confusing now. After calculating, the results I got for the UTP is approx. 2.5V and LTP 0V. Simulation seems to work ok too.
But how does the LTP get triggered when it is at 0V ? In this circuit the Vin cannot possibly become negative, right ? Also, how do I find the Vout(max) of the opamp ? Can you elaborate on 'Out(low) = approx 0V' ? Do you mean -Vout(max) =approx 0V and why do you set it that way? Is the analysis for the non-inverting opamp similar, using the Vcc to feedback to ground branch? The circuit is something like this : |
|
|
|
|
|
|
(permalink) | ||||
|
Quote:
V(ltp)=2.5*1Meg/(1Meg+5k) V(ltp)=2.488 How did you get zero? Quote:
I don't know what your battery voltage (Vcc) is, but if it were, for example, 9V, Vout=2.5+(9-2.5)*(1Meg+5k)/(1Meg+100k+5k)=8.13V Quote:
Quote:
Last edited by Roff; 24th January 2008 at 04:36 PM. |
|||||
|
|
|
|
|
(permalink) |
|
Hey Ron, sorry for the late reply.
For the non-inverting one, why do you say RL the is the only resistor that does anything ? I thought adjusting the pots would adjust the UTP/LTP ? Looking at the attached pic, is the UTP calculated using the blue path ? If not, can you please tell me how it should be. Also, how does the 2.5V reference in the negative input affect things ? Thank you. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
EDIT: have you posted what you are trying to do with a Schmitt trigger, or are you making the study of Schmitts your life's work? I don't want to have to calculate the equations for every possible permutation of a Schmitt trigger. Last edited by Roff; 27th January 2008 at 08:38 PM. |
||
|
|
|
|
|
(permalink) |
|
Actually, the main circuit is someone else's and I'm just trying to figure out how hysteresis adjustments are made.
OK sorry, forget the equations, can you just tell me what the reference voltage at the negative input does ? When it is at the positive it affects the Vin, what about at the negative ? I cant find anything about it either online or in books... |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Need help with Schmitt trigger application! | whirlwindz | General Electronics Chat | 8 | 23rd May 2007 12:05 PM |
| Schmitt Trigger for 'counting' the time | Odysseas | General Electronics Chat | 24 | 24th September 2006 03:49 PM |
| PIC – RB0 Interrupt pin Schmitt Trigger input | elexhobby | Micro Controllers | 5 | 9th October 2005 09:31 AM |
| Calculating Schmitt Trigger | Wbdsgnr | General Electronics Chat | 1 | 29th March 2005 05:04 PM |
| diffferences between a TTL and a ST (Schmitt Trigger) I/O ?? | foosm | Micro Controllers | 2 | 27th August 2003 06:27 PM |