![]() |
![]() |
![]() |
|
|
|||||||
| 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) |
|
I am wondering exactly what an analogue OR gate does and how it works.
I couldn't find much about it, except this: http://www.freepatentsonline.com/4419595.html This site seems to show that it is just two diodes with the anodes connected together to give the output. Is this correct ? Are there any other types ? Is there a better op-amp version ? Thanks for any help, -Andrew. |
|
|
|
|
|
|
(permalink) |
|
What is your definition of "analogue or" ?
The link you provided treats the definition as the highest peak value of two or more analog signals. It seems to me that the OR function is logical, not analog. However, if you are using analog voltage comarators, the output will be logic. See the specifications for the LM339 or LM393. These are analog voltage comparator ICs with open collector outputs. They can have their outputs wired in parallel. When the outputs are wired in parallel, they are in "wired or" configuration. (negative logic wired or) That way each voltage comparator can be used to monitor analog levels in a system, and if any level is exceeded, the one wired-or output can be used to shut down the system. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
The way I read it is, there are two diodes connect to a single input say 'A' One diode as a +V rectifier and the other diode a -V rectifier. A second input say 'B' is wired to its own diode pair as per the 'A' circuit. The outputs of the +V rect of 'A' and 'B' are OR wired and the -V rect outputs are OR wired. The outputs of the two OR'd circuits are connected to a summing amplifier, the output of the summing amp is the instantanous value of the input. At the moment I cannot think of a practical application, but I am sure there must be one.! What analog signals are you trying to measure or OR.??? Last edited by ericgibbs; 15th July 2008 at 05:33 PM. |
||
|
|
|
|
|
(permalink) | |
|
Well the problem that I have is that I don't know the definition of an "analogue OR gate".
It was part of a forum thread regarding a stepper motor driver, in particular the way the drive morphs from 10 microsteps to full steps after the motor is running at x speed. Quote:
I was wondering what kind of methods of analogue OR gates that there are so that I could decide what one would make sense in this situation. Atleast one of the signals (And maybe even the sine reference signal aswell) is only positive, so that may make things simplier. It effectively has to convert a sine wave into a square wave when the second input is high, but also has to blend between the two modes. That's about as much as I can work out, thanks for your input. |
||
|
|
|
|
|
(permalink) |
|
I think that is actually a comparator. It would act more like an XOR.
|
|
|
|
|
|
|
(permalink) |
|
Would that be able to blend / morph a sine wave into a square wave though ?
I have a feeling that what he (The person who I quoted) said is simplified - It is a combination of processes which he simplified to "analogue or". |
|
|
|
|
|
|
(permalink) |
|
You want an analog blend circuit (variable resistors) not a digital logic gate.
With variable resistors you fade one kind of sound into another kind and fade out the original sound at the same time. A long time ago there were circuits that had their gain changed with a variable DC voltage. They were called a VCA (voltage controlled amplifier). Fade down the original sound and fade up the new sound and you have morphing.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
Ah I see, that could work. I'm wondering if there's a more application specific option.
A VCA would blend between two different signals, I am wanting to blend between a signal and a square wave version of it. Because of this I'm sure that there is some kind of simplification which could be done - The second signal can easily be derived from the first. I assume it's like a variable Schmitt trigger - It blends between -1x amp and Schmitt http://upload.wikimedia.org/wikipedi...lifier.svg.png http://www.electronics-radio.com/art...tt_trigger.gif Last edited by yngndrw; 16th July 2008 at 03:03 AM. |
|
|
|
|
|
|
(permalink) |
|
You might be able to gradually distort a sine-wave into a square-wave.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
I'm at a loss as to how I would do that. I have no experiance with signal processing like this. I also have no experiance with audio filters, which would probably be a massive help.
|
|
|
|
|
|
|
(permalink) |
|
Feed a sine-wave into an opamp. Adjust the gain of the opamp so that the output is not clipped. Then slowly increase the gain of the opamp so that the output is clipped into a square-wave.
It is the same as turning up the volume on a little radio until the sound gets more and more distorted.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
That sounds perfect and relatively simple as well.
Thank you very much for all of your help AudioGuru, Space Varmint, EricGibbs and Bob Scott. Edit: I've had a look around but can't find out how to make a variable gain amplifier. I can adjust the offset but that's all. Is there an easy way to do this without using some kind of variable resistor IC ? (As simple as possible.) Last edited by yngndrw; 16th July 2008 at 05:50 PM. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| AND gates | mayassn | Datasheet/Parts Requests | 3 | 16th March 2008 10:42 PM |
| OR gates | mstechca | General Electronics Chat | 18 | 5th March 2006 09:53 PM |
| Bill Gates | tansis | Chit-Chat | 20 | 1st August 2005 05:32 PM |
| TTL gates | 111 | Electronic Projects Design/Ideas/Reviews | 8 | 4th July 2005 06:08 AM |
| Help wid my XOR out of other gates | umer007 | Electronic Projects Design/Ideas/Reviews | 1 | 22nd December 2003 12:51 AM |