Storing Cookies (See : http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm ) help us to bring you our services at overunity.com . If you use this website and our services you declare yourself okay with using cookies .More Infos here:
https://overunity.com/5553/privacy-policy/
If you do not agree with storing cookies, please LEAVE this website now. From the 25th of May 2018, every existing user has to accept the GDPR agreement at first login. If a user is unwilling to accept the GDPR, he should email us and request to erase his account. Many thanks for your understanding

User Menu

Custom Search

Author Topic: Square Wave using 25Mhz Crystal oscillator  (Read 17646 times)

TheOne

  • Hero Member
  • *****
  • Posts: 985
    • Amanatsu Games
Square Wave using 25Mhz Crystal oscillator
« on: January 31, 2014, 04:42:00 AM »
I want to try 25 Mhz square wave, I found this: https://bgaudioclub.org/uploads/docs/Crystal_Oscillator_Circuits_Krieger_Matthys.pdf


but its pretty old stuff, do you know a simple circuit that can generate a clean square wave using 25 Mhz crystal oscillator?


I want to test 25 Mhz on a MEG, I have setup-ed few circuit using 555 timer, but I want to also try using higher oscillator.


Until I get all the stuffs I ordered, I want to learn how to work with crystal timer, I believe now the higher the frequency the higher the output the MEG will do and I read that  magnetite can handle more then 1000 Mhz, so I believe testing 25 Mhz is enough :)


mscoffman

  • Hero Member
  • *****
  • Posts: 1377
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #1 on: January 31, 2014, 09:08:18 PM »
The one,


This link is an example of how it is done these days;


http://www.maximintegrated.com/datasheet/index.mvp/id/7691


You feed in a xtal controlled base frequency and a synthesizer PLL
phase locked loop locks onto a multiple of it, the multiple number is set
with software. You get the high frequency out.


Any electronic chain can sell you a metal encased "packaged oscillator" if you
just want exactly that frequency. Just feed it 5VDC and decouple it
with a filter capacitor. Above like 50Mhz you will almost have to go with a
PLL VCO though. Some company sells a packaged oscillator that has an AC vco
with a control voltage to change frequency very approximately.


:S:MarkSCoffman


TechStuf

  • Hero Member
  • *****
  • Posts: 1280
    • Biblical Record Proves True
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #2 on: January 31, 2014, 09:37:04 PM »
Quote
and I read that  magnetite can handle more then 1000 Mhz, so I believe testing 25 Mhz is enough :)

When the crystal reaches max sustainable amplitude, don't forget to pump keyed harmonic radio waves through the crystal at right angle to the current....

At least, that's how Kowsky and Frost began to have a bit of fun.


TS

MarkE

  • Hero Member
  • *****
  • Posts: 6830
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #3 on: February 01, 2014, 09:02:26 PM »
You can go buy one of these:

http://www.abracon.com/Oscillators/ASEseries.pdf

or similar from Digikey for less than $2.00 each.  If you want to work with through hole parts, there are similar devices available for less than $5.00 each.  The rise and fall times will be less than 4ns.  If you want faster rise and fall times then you can buffer the device with a Schmitt trigger gate that has a faster rise and fall time.  Just beware that the squarer that you make the signal the better your layout will need to be, and the better your probing and test equipment will need to be in order to see the actual signals without a lot of distortion.

TheOne

  • Hero Member
  • *****
  • Posts: 985
    • Amanatsu Games
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #4 on: February 01, 2014, 11:42:17 PM »
Thank you guys, for your solution


The one I prefer is the simple one, less pin is better for me lol, more easy to use


I will check from digikey and others to order some of them with different frequency

MarkE

  • Hero Member
  • *****
  • Posts: 6830
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #5 on: February 02, 2014, 12:13:49 AM »
If you want to try out different frequencies, then you might be better off buying a low-cost pulse generator that can go up to 25MHz. 

BTW, unless you are using really small coils, 25MHz will basically be lost on a MEG.  If you really want to play around with MEGs then what you probably want is a signal generator and a power amplifier.  If you are after square waves, or square wave approximations, then a dual MOSFET driver that has some dead time built-in like the TI LM5102, or LM5105 paired to a couple of N channel power MOSFETs would do for the power amplifier.


TheOne

  • Hero Member
  • *****
  • Posts: 985
    • Amanatsu Games
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #6 on: February 02, 2014, 01:55:17 AM »
If you want to try out different frequencies, then you might be better off buying a low-cost pulse generator that can go up to 25MHz. 

BTW, unless you are using really small coils, 25MHz will basically be lost on a MEG.  If you really want to play around with MEGs then what you probably want is a signal generator and a power amplifier.  If you are after square waves, or square wave approximations, then a dual MOSFET driver that has some dead time built-in like the TI LM5102, or LM5105 paired to a couple of N channel power MOSFETs would do for the power amplifier.


When I talk about Square wave, I will have 2 inputs coil, if the wave is on, the coil1 is energized, when wave is off, the second coil is energized, I will use a NOR gate for that, I dont really need a dead time, unless I don't understand what you try to explain :)


Thank you for your advise about the 25 Mhz,  so far my 555 timer circuit have 3 setup, one with 1/2 hz, 60hz and 260khz all 50% duty cycle, i wanted to try later with higher value.


What value do you think I should try instead of 25 Mhz?


Do you have link about your "signal generator and a power amplifier"? that can go in the Mhz[/size]


MarkE

  • Hero Member
  • *****
  • Posts: 6830
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #7 on: February 02, 2014, 02:57:42 AM »

When I talk about Square wave, I will have 2 inputs coil, if the wave is on, the coil1 is energized, when wave is off, the second coil is energized, I will use a NOR gate for that, I dont really need a dead time, unless I don't understand what you try to explain :)


Thank you for your advise about the 25 Mhz,  so far my 555 timer circuit have 3 setup, one with 1/2 hz, 60hz and 260khz all 50% duty cycle, i wanted to try later with higher value.


What value do you think I should try instead of 25 Mhz?


Do you have link about your "signal generator and a power amplifier"? that can go in the Mhz[/size]
To make a square wave you need a transistor that when it turns on will pull the output up to a voltage, and for the falling edge a transistor that when it turns on will pull down the voltage.  It is important that both transistors do not conduct at the same time.  If they were to do that, then they would present a short circuit across the power supply which would be hard on the transistors and very wasteful.  Devices like the ICs I suggested impose a little delay, IE dead time between when they turn off one transistor, and when they turn the other transistor on to prevent simultaneous conduction and the resulting destructive shoot-through current.

If you have a two winding coil operating in a push-pull configuration, then when one transistor turns on, the other transistor's collector (bipolar) or drain (MOSFET) will fly up to twice Vcc.  When one of the transistors / MOSFETs turns off, then the voltage at the transistor turning off rises up and the voltage at the off transistor falls down until the magnetizing current in the coil finds a discharge path.  If you turn on both transistors at the same time then the magnetizing flux in each of the two coils cancel and the current through each coil builds-up very quickly to destructive levels.

The bottom line:  Never turn both transistors on at the same time.  Make sure that you insert enough dead time between when you turn the on transistor off and the off transistor on so that they do not both conduct at the same time.

1MHz would be fast for most MEG constructions that I have seen.

This unit for $65.00 will make pulses up to 40MHz for you:  http://www.ebay.com/itm/40MHZ-DDS-FUNCTION-SIGNAL-GENERATOR-DIY-KIT-SPI-I2C-MASTER-SLAVE-PULSE-GENERATOR-/261383840015?pt=LH_DefaultDomain_0&hash=item3cdbb0e10f

Farmhand

  • Hero Member
  • *****
  • Posts: 1583
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #8 on: February 02, 2014, 03:44:40 AM »
I built a variable frequency and variable pulse width oscillator with an SG3525, it has two outputs out of phase, so it can run an inverter and such (low side switches) I use mosfets and drive the gates directly from the SG3525 outputs which works OK up to over 110 kHz I can adjust the circuit from less than 25 Hz per switch to 115 Khz per switch using a dip switch with some capacitors and resistors for set timings and some pots for adjustments. It imposes a built in dead time that is adjustable by a resistor. Mine is at about 40 uS I think as far as I can tell from memory, I used a 100 Ohm resistor for the dead time control. If I want just one signal I can double the frequency and halve the load on each mosfet by connecting The mosfet drains together, in that case it is vital to have the "dead" time for the reasons Mark describes, (shoot through current).

AN SG3524 has different outputs to the SG3525 chip and will not provide such a square wave when driven directly from the outputs where the SG3525 will up to a degree, the SG3524 on the other hand will require, (turn off sharpeners of some kind), or mosfet drivers. Both chips have their merits though I prefer the SG3525 for driving mosfets.

One thing I noticed when going into the mHz range with square wave oscillators a while ago is ringing on the circuit rails and in the signal, which heats up the mosfet drivers unnecessarily, which seem to protect the mosfets they don't get hot. Significant current is required to drive the mosfets at that frequency, the drivers need to be up to the job.

There is a very cheap part called a CD4047 Which provides a close to 50/50 duty as standard but has some built in dead time I believe. The 4000 series parts are dirt cheap and do good signals. they can also drive mosfets directly from the outputs of the CD4047.

Get the Book called "The CMOS Cookbook" by Don Lancaster, if you can, borrow or beg for it if need be, it has endless detailed info on Logic circuits.

Cheers

MarkE

  • Hero Member
  • *****
  • Posts: 6830
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #9 on: February 02, 2014, 07:53:31 AM »
The 3525 and 3524 are early 1980s era components designed for 20kHz to about 100kHz operating frequencies.   They work great if that is the frequency range where one wants to operate.  Things like the 5102 and 5105 operate comfortably at much higher frequencies.  The important thing is to ensure that there is enough dead time so that no shoot-through occurs.  With modern drivers and MOSFETs 100ns of dead time is plenty.  30ns is often enough.

Ringing in fast rising / falling current circuits happens for a number of different reasons.  Stray circuit inductance is always a factor which comes back to layout.  Beware that stray circuit capacitance is also a factor.  There are lots of techniques for mitigating ringing.  Each has its own trade-offs.  RC snubbers from the drain of each MOSFET to ground are fairly common as are parallel resistor / Schottky diode combinations between the gate driver and the MOSFET gate.

Farmhand

  • Hero Member
  • *****
  • Posts: 1583
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #10 on: February 02, 2014, 02:46:45 PM »
Yeah Mark, I was actually talking about two different circuits there, my bad I did not explain myself well at all.

Circuit 1) with the SG3525 was a suggestion for a chip which with a simple circuit can run up to 100 Khz or so and take 30 volts or more.

Circuit 2) Is an oscillator I made from a CD4001 chip and can run up to over 5 Mhz, but the driver chip I have for the mosfets gets hot on that one over 1 Mhz and I see a lot of ringing on the top of the signal waveform, like a resonant ripple, a poorly designed circuit for those frequencies for sure. Just saying at higher frequencies requirements for driving the switches gets more complicated. I only required 900 Khz so I did ok with it for some experiments.

I make boards for different experiments, but I make them so they can be reused easy for other experiments. One board I don't have is a H bridge board.  :)

Cheers

TheOne

  • Hero Member
  • *****
  • Posts: 985
    • Amanatsu Games
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #11 on: February 02, 2014, 04:29:00 PM »
To make a square wave you need a transistor that when it turns on will pull the output up to a voltage, and for the falling edge a transistor that when it turns on will pull down the voltage.  It is important that both transistors do not conduct at the same time.  If they were to do that, then they would present a short circuit across the power supply which would be hard on the transistors and very wasteful.  Devices like the ICs I suggested impose a little delay, IE dead time between when they turn off one transistor, and when they turn the other transistor on to prevent simultaneous conduction and the resulting destructive shoot-through current.

If you have a two winding coil operating in a push-pull configuration, then when one transistor turns on, the other transistor's collector (bipolar) or drain (MOSFET) will fly up to twice Vcc.  When one of the transistors / MOSFETs turns off, then the voltage at the transistor turning off rises up and the voltage at the off transistor falls down until the magnetizing current in the coil finds a discharge path.  If you turn on both transistors at the same time then the magnetizing flux in each of the two coils cancel and the current through each coil builds-up very quickly to destructive levels.

The bottom line:  Never turn both transistors on at the same time.  Make sure that you insert enough dead time between when you turn the on transistor off and the off transistor on so that they do not both conduct at the same time.

1MHz would be fast for most MEG constructions that I have seen.

This unit for $65.00 will make pulses up to 40MHz for you:  http://www.ebay.com/itm/40MHZ-DDS-FUNCTION-SIGNAL-GENERATOR-DIY-KIT-SPI-I2C-MASTER-SLAVE-PULSE-GENERATOR-/261383840015?pt=LH_DefaultDomain_0&hash=item3cdbb0e10f


Yeah it would be fast but none of the MEG I have seen use magnetite as core, maybe I can go over 1Mhz.


I buy some magnetite recently from washington, I will not use any epoxy or glue in it, I want to print a 3d case in transparent plastic, I ordered a cheap 3d printer, but they ship in april :(, so I have plenty of time to work on the circuit :) http://store.qu-bd.com/product.php?id_product=145


Thank you for the link
 



mscoffman

  • Hero Member
  • *****
  • Posts: 1377
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #13 on: February 02, 2014, 06:56:27 PM »
Make sure you review capacitor bypassing for the Vcc of all digital devices in this service. This is especially
true when one has spikes from power inductors and/or shoot through. There nothing better then seeing
an IC flip-flop sitting there flipping all by itself with no clock inputs to convince one that there is a need for better
digital power supply/ground distribution. Digital circuits are actually a good training review for overunity systems
generally. You'll need find a special path for those dark currents. ;)

Also please let us know if find anything interesting with your MEG.

TheOne

  • Hero Member
  • *****
  • Posts: 985
    • Amanatsu Games
Re: Square Wave using 25Mhz Crystal oscillator
« Reply #14 on: February 02, 2014, 07:48:54 PM »
Make sure you review capacitor bypassing for the Vcc of all digital devices in this service. This is especially
true when one has spikes from power inductors and/or shoot through. There nothing better then seeing
an IC flip-flop sitting there flipping all by itself with no clock inputs to convince one that there is a need for better
digital power supply/ground distribution. Digital circuits are actually a good training review for overunity systems
generally. You'll need find a special path for those dark currents. ;)

Also please let us know if find anything interesting with your MEG.


Yes, I actually started another thread but I was asking help for circuit.


I will update over time, my primary objective with the MEG is to power-up the circuit with only the input coils once the circuit is running from a 9volt battery and later [size=78%]add 4 others output coils later to power-up load...[/size]