Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 53
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/05 Capper (60)
11/05 cereus (73)
11/05 Mcanderson (43)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

xor gate oscillator?

Move Thread LAN_403
haxor5354
Tue Apr 26 2011, 09:21PM Print
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
I need a simple oscillator that can oscillate in megaherts for a wireless power transmitter.
If I feed the output of a XOR gate back to it's B input while its A input is high, would it oscillate like a mad cricket on crack?
I already have the circuit built on a breadboard using 4 NAND gates to simulate a XOR gate, but I cant tell if its oscillating or not. too fast to see?
i'll test it with an o-scope at school tmr.
also woud feeding the output of a NOT gate back into its input cause it to oscillate?
1303852908 2063 FT0 Xoe Oscillator
Back to top
Experimentonomen
Tue Apr 26 2011, 09:45PM
Experimentonomen Registered Member #941 Joined: Sun Aug 05 2007, 10:09AM
Location: in a swedish junk pile
Posts: 497
Like that, i think it'd settle on Vcc/2, you likely need the rc circuit to make the oscillation work.

Maybe i should also add that these kinda oscillators generally only work with schmitt trigger input logic gates.
Back to top
Mattski
Tue Apr 26 2011, 11:02PM
Mattski Registered Member #1792 Joined: Fri Oct 31 2008, 08:12PM
Location: University of California
Posts: 527
wrote ...
also woud feeding the output of a NOT gate back into its input cause it to oscillate?
It will oscillate. No need to complicate things with an XOR gate, a NOT gate (i.e. inverter) is the better way since a not gate is much simpler. If you put any odd number in a row with the last one feeding into the 1st one your frequency will be 1/(N*gate_delay) where gate delay is the delay and rise/fall time of each gate. You may want to add an RC delay between each to control the frequency depneding on the exact frequency you want.

Effectively you were using the XOR gate as an inverter anyway in your circuit.

It's called a ring oscillator
Back to top
James
Tue Apr 26 2011, 11:19PM
James Registered Member #3610 Joined: Thu Jan 13 2011, 03:29AM
Location: Seattle, WA
Posts: 506
It's easy to get a wide range of frequencies using just a single inverter gate, a resistor and a capacitor. It's simple, cheap and reliable. The other gates can be paralleled as a buffer, or another put in series to get complimentary outputs.
Back to top
Arcstarter
Wed Apr 27 2011, 12:52AM
Arcstarter Registered Member #1225 Joined: Sat Jan 12 2008, 01:24AM
Location: Beaumont, Texas, USA
Posts: 2253
James wrote ...

It's easy to get a wide range of frequencies using just a single inverter gate, a resistor and a capacitor. It's simple, cheap and reliable. The other gates can be paralleled as a buffer, or another put in series to get complimentary outputs.
I would also like to add, you could use an extra cap and pot as well as another inverter gate to vary duty cycle, but im not sure that is what you are looking for. However, it is something to keep in mind, it is very useful!
Back to top
haxor5354
Wed Apr 27 2011, 02:35AM
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
where can I find a transistor thats fast enought to switch/amplify these outputs?
Back to top
Arcstarter
Wed Apr 27 2011, 03:17AM
Arcstarter Registered Member #1225 Joined: Sat Jan 12 2008, 01:24AM
Location: Beaumont, Texas, USA
Posts: 2253
haxor5354 wrote ...

where can I find a transistor thats fast enought to switch/amplify these outputs?
Got any random circuit boards, from TVs or such? Also, we aren't sure what is fast enough, first tell use what Rt and Ct, or better yet, frequency, you will use. You will need a cap and resistor, direct feedback would not oscillate.

But anyway, the small 100ma or so signal transistors in TVs will switch into the MHz if you only need low power. If you need more power you can easily use typical mosfets (irf/irfp series) up to 500KHz (or even a few MHz if you really want to make a good gate driver) into the hundreds of watts.
Back to top
Xray
Wed Apr 27 2011, 04:04AM
Xray Registered Member #3429 Joined: Sun Nov 21 2010, 02:04AM
Location: Minnesota, USA
Posts: 288
James wrote ...

It's easy to get a wide range of frequencies using just a single inverter gate, a resistor and a capacitor. It's simple, cheap and reliable. The other gates can be paralleled as a buffer, or another put in series to get complimentary outputs.

True, it's cheap and easy, but frequency stability is generally horrible, especially since he wants to use it as a radio transmitter. I tried doing this same thing many years ago with a CMOS inverter. It oscillated just fine, but I had to retune my receiver every couple of minutes as the frequency was drifting with temperature. I ended up using an L/C tuned circuit which proved to be much more stable than the R/C circuit I started with. And of course if you want rock-solid stability (on a fixed frequency), then use a crystal oscillator.
Back to top
Conundrum
Wed Apr 27 2011, 04:41AM
Conundrum Registered Member #96 Joined: Thu Feb 09 2006, 05:37PM
Location: CI, Earth
Posts: 4061
Using a tuning diode with a reflex circuit also works.

Its just the tuning diode, choke, capacitor, two resistors, rectifier diode and a second tuned circuit which resonates at the frequency of interest,
as a result at resonance the discharge and charge speeds of the capacitor are identical and the circuit is stable.

-A
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.