![]() | ![]() | ![]() |
| | |||||||
| 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) |
| hello people... i want to build a circuit that accepts an analog input and does the following... (1). If the incoming analog signal has a rising edge first (irrespective of the next edges), then do a specifc thing (say produce a HIGH voltage) (2). If the incoming signal has a negative edge first (irrespective of the edges that come next), then do a specific thing (say produce a LOW voltage) | |
| |
| | (permalink) |
| Use a comparator (swap 0V and signal between inverting and non-inverting inputs to change between rising/falling) and use a time delay or pulse circuit or flip-flop (which will ignore the events that happen next within a certain time period or until it resets). Instead of a comparator, you may also use a D-flip-flop (with or without an inverter at the input depending on rising/falling). | |
| |
| | (permalink) |
| thanks for the help again... about the d flip-flop part, i should give my signal to the clock input right? will the flip-flop accept an analog input? | |
| |
| | (permalink) |
| Yeah, you feed your signal into the D-flip flop block and the data input for the DFF is the state you want it to go to when it detects an edge. But you make a good point about accepting an analog signal. Assuming the analog signal is within operating range of the DFF, if it is too slow it would cause the signal to spend too much time between the input LO and HI threshold voltages. And since your signal is bipolar, it will never be in range (I've never seen a bipolar logic gate...). So I guess you have to use the opamp with bipolar supplies. A transition from low to high is good enough to approximate a rising edge in most cases. But what you might be able to do is to follow the op-amp with a DFF. THen the DFF will detect the rising edges of the comparator AFTER they have been changed from bipolar to unipolar by the comparator. BUt I don't think that is necessary unless you lack other "intelligent" parts of your circuit circuits to only accept HI values AFTER a LO value, and reject continously high values. THe DFF will do this for you if you do not have them. SOrry about my mistake. Last edited by dknguyen; 12th March 2008 at 06:54 AM. | |
| |
| | (permalink) |
| does it mean to say that if i get a d flip flop whose specifications are such that the input voltage falls within its specified range.... it will function accordingly??? and abt the comparator... i have a LM339 type comparator.... are its outputs digital?? means +5V and 0 ??? | |
| |
| | (permalink) | |
| Quote:
Is this what you need? Last edited by Bob Scott; 12th March 2008 at 10:39 AM. | ||
| |
| | (permalink) |
| yes... if u see the image below.... the output is zero initially... when a certain trigger is given to the circuit, the input rises, falls down and again reaches a constant 0 level.... i identify the first rising edge alone and conclude it is caused due to that particular trigger alone..... i do not want the circuit to react to any other rising edges in the output.... only the first what i need to do is once this is observed at the output, i need to do a specific thing (as say producing a high voltage).... | |
| |
| | (permalink) |
| what peak voltage are we talking about here? | |
| |
| | (permalink) |
| the positive peak is of the order of around 0.5 V and so is the negative peak.... i want to detect only the first edge.... nothing after that.... | |
| |
| | (permalink) |
| i tried building the circuit with LM139 type comparator.... but i couldn get favourable results... wat i did was... i used two comparators with the input signal being applied to the inverting input of one, while to the non-inverting input of the other comparator... the reference input was given as 0.5V... can i acheive my objective by using a differentiator with a long enough time constant?? by using a high velue of R and C???? | |
| |
| | (permalink) |
| Use a strobed OpAmp. This will take care of ignoring further pulses to arrive at the input. | |
| |
| | (permalink) |
| thanks... but i am hearing the term strobed op-amp for the first time... where can i get more info about it? and how abt the differentiator idea.... if u see image 1 that i have attached in one of my previous posts in this topic.... the signal is initially 0 and then rises... so the slope will be positive.... if i choose the value of RC (in the differentiator) pretty high... then i can get the slope of the rising edge.... can i use any other such ideas? | |
| |
| | (permalink) |
| What is the width of these pulses? | |
| |
| | (permalink) |
| the output of the circuit remains at 0... on recieving a trigger, there is a positive pulse followed by a negative one and the output settles back to 0.... both the pulses have a width of around 500ms.... | |
| |
| | (permalink) |
| I dont know much about this stuff.. but how about using a schmitt trigger ??
__________________ Khizer Naeem Mughal IIUI | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Edge detection circuitry | raviram87 | Electronic Projects Design/Ideas/Reviews | 5 | 10th March 2008 05:35 PM |
| Need help for programming speed detection! | zak4546 | Micro Controllers | 2 | 6th March 2008 04:23 AM |
| edge detector | abandon_soul | Electronic Projects Design/Ideas/Reviews | 0 | 11th February 2008 02:04 AM |
| How to properly do PCB edge connections in Eagle? | toodles | Electronic Projects Design/Ideas/Reviews | 2 | 10th April 2007 11:36 PM |
| gas(methane-CH4) detection circuit | mohente | Electronic Projects Design/Ideas/Reviews | 9 | 29th May 2006 09:00 PM |