Square wave oscillator Off grid

  • 1.6K Views
  • Last Post 04 December 2020
Jagau posted this 13 August 2020

Hi all
I would like to share with you this little square wave oscillator which works the same as a function generator and which operated on battery which can vary from 6, 9 or 12 volts DC according to your needs.


The heart of the oscillator is a TLC555 from the CMOS series which has very low power consumption and is completely different from the old NE555.

It has a 10K potentiometer to vary the frequency from 13Khz to 130Khz and another 5K potentiometer to increase the amplitude of the signal at will.

 

A drawing of the schematic that I present to you freehand


It can be easily changed by changing a single resistor and a single capacitor.

5 ma on 9 volts battery here


The particularity of this oscillator is that the output voltage changes from positive to negative through zero in the center. This is the AC square wave shape.

Most of these freely sold circuits are above zero volts they are only DC square wave and could not be use for experimentation.

Very low or high amplitude at your choice


This way you are isolated from the electrical network and have greater freedom of measurements without ground return.

 I also hope for those who would like to join us and experiment with us and do not have a function generator, this is the ideal opportunity, easy to assemble and inexpensive.

Jagau

Order By: Standard | Newest | Votes
Chris posted this 13 August 2020

Hey Jagau,

This is awesome! A very nice, cheap project for anyone to take on that needs a small oscillator!

Thank You for Sharing! This is awesome!

Best wishes, stay safe and well My Friend,

   Chris

thaelin posted this 16 August 2020

Great addition to the group. Has a very tight transition time but then cmos is very fast usually. Big thanks and will add to the bench soon as can order the tl555.

thay

 

Jagau posted this 18 August 2020

Hello Thay


Yes the CMOS TLC555 has quite surprising performance especially when looking at the manufacturer's specs:

Minimum and maximum Rise time and fall time are very fast, they approach those of manufacturers of high quality function generators. These are very important parts when making oscillators.

I will be producing an addition to this oscillator shortly
to be continued

Jagau

Zanzal posted this 20 August 2020

Hello Jagau, the TLC555 is a very good choice. If you only need it to drive high impedance output like most gate drivers then it could be made significantly more efficient (likely less than 1ma at 10kHz).

Fighter posted this 21 October 2020

Hi Jagau,

As I found in specs TLC555CP (the version I found) is capable of going to about 2 MHz.

I tried to find a online calculator for resistors and capacitor to build one capable to go to 250 KHz maximum.

So far didn't found a useful calculator, the schemes for which they are calculating are different than your schema.

What values would you recommend to change for a version with 250 KHz maximum frequency (or maybe more, higher frequency is better) ?

For your schema how are these values calculated based on the desired frequency range ?

I intend to build one for a QLED experiment.

Thanks for help.

Jagau posted this 21 October 2020

Hello Fighter
When I built this oscillator I used the following formula:
In theory the generator's frequency can be calculated as follows:


f = 0.72 / (R1 * C1)


However in the reality the obtained frequency tends to be lower, especially at the higher end of the generator's range. This can be compensated for by adding a variable resistance rather than a fixed resistance.


I also kept some assembly notes to have different frequency ranges with a capacitor-resistor combination.
1 nF with 2.2 kOhm = 250 khz
1 nF 6.2 kOhm = 100khz
10 nF 2.2 kOhm = 30 khz
10 nF 6.2 kOhm = 10khz
0.1 uF 2.2 kOhm = 3.1 khz
A tip, it is best the best is to use a potentiometer to vary the frequency as desired.

So for your project change the 5k pot to a 2.2k pot. at pin 3 the other pot (10K) at output is for amplitude only

and pin 2 change 10nf to a 1 nf capacitor.

Hope this help

Jagau

Fighter posted this 21 October 2020

Sure, I intend to keep the variable resistors as in the schema.

So for a range up to 250 KHz it should be something like this ?

Jagau posted this 21 October 2020

Hi fighter

No it is the 5k pot you have to change for 2.2k 

So for your project change the 5k pot to a 2.2k pot. at pin 3 the other pot (10K) at output is for amplitude only

and pin 2 change 10nf to a 1 nf capacitor.

Jagau

Fighter posted this 21 October 2020

Oh, okay. So variable resistor 5K becomes 2.2K. And the 10nF capacitor becomes 1nF. Right ?

Jagau posted this 21 October 2020

Yes

Jagau

Fighter posted this 21 October 2020

Thanks for the help !

Fighter posted this 30 October 2020

Hi Jagau,

I'm currently building the oscillator and I have two questions.

The first question is: what's the value of this capacitor ? The same 1 uF like others ?

And the second question is: according to the specs TLC555CP can provide directly about 100mA which I think is more than enough to drive the primary coil for QLED devices. Would be wise to use it this way or should I add a MOSFET on output so TLC555CP will command it for supplying the current for the primary coil ?

Thanks for your guidance.

Note: in my build I added a 2000 uF electrolytic capacitor on the input of the circuit for a later use, it shouldn't have any impact on the oscillator's functionality. I intend to try to use it later for charging it from the secondary coil (QLED-style).

Jagau posted this 30 October 2020

 

Hi fighter


For the first question, the capacitor is a 0.1 uf or 100 nf


For the second, the manufacturer tells us that this integrated circuit allows you to easily make a 100 ma well with a 10 ma power supply within these limits if your leds do not exceed 100ma I do not think there is a problem.

According to this charter, you can even go up to 300ma but the IC will heat up,


Anyway, the output is fully compatible with cmos, ttl and mos, you can always increase your power.

For the 2000uf capacitor at the input, we normally use  between 1-100uf  with 0.1uf in parallel. The small capacitor is used to cut high frequencies which could degrade the use of the integrated circuit and the large capacitor for the low frequency line filtering.

I imagine you want to use it as a future power source instead of a battery?

Jagau

Fighter posted this 30 October 2020

Hi fighter

For the first question, the capacitor is a 0.1 uf or 100 nf

Got it.

For the second, the manufacturer tells us that this integrated circuit allows you to easily make a 100 ma well with a 10 ma power supply within these limits if your leds do not exceed 100ma I do not think there is a problem.

According to this charter, you can even go up to 300ma but the IC will heat up,


Anyway, the output is fully compatible with cmos, ttl and mos, you can always increase your power.

I think I'll go without MOSFET for now.

For the 2000uf capacitor at the input, we normally use  between 1-100uf  with 0.1uf in parallel. The small capacitor is used to cut high frequencies which could degrade the use of the integrated circuit and the large capacitor for the low frequency line filtering.

I imagine you want to use it as a future power source instead of a battery?

Jagau

I also kept the small capacitor in place, the bigger one is additional.

That is correct, the bigger capacitor will be the power source in the future, that's the plan.

Thanks for the guidance !

Fighter posted this 09 November 2020

This is my build of Jagau's AC Oscillator.

I know that in my build I pushed the frequency range to the limits.

You'll see I placed two sockets so the 10nF capacitor and the 5K variable resistor can be easily replaced with different values to change oscillator's frequency range (link to larger image here):

The only modification I made was to add a 2200uF/25V electrolytic capacitor on input.

In the following scope images I'm using a 9V battery on input, an 1nF capacitor and an 2.2K variable resistor which is offering a range starting at 266KHz and ending at 2.05MHz. The scope probes are connected directly on output and there is no other load.

Frequencies shown in the images are (in order): 266KHz, 510KHz, 833KHz, 1.25MHz, 1.76MHz and 2.05MHz.

You'll notice that as I'm forcing the frequency up the square wave is becoming deformed, my electronics knowledge is limited so I don't have a explanation for this but I suppose there is one and this is normal.

Also depending on frequency there seems to be a slight difference between the positive voltage (Max) and the negative voltage (Min), also don't know the cause for that (link to larger image here):

But we don't need MHz frequencies for our experiments so it's an excellent oscillator for experiments were real AC is needed even if we're using DC for input.

Just want to thank to Jagau for this excellent AC Oscillator, I intend to use it in QLED-type experiments.

Jagau posted this 09 November 2020

Hello fighter
nice job, you now have one more tool in your lab, I often use it too.
A recommendation from the manufacturer is this in section 10.1;


10.1 Layout Guidelines
Standard PCB rules apply to routing the TLC555. The 0.1-μF ceramic capacitor in parallel with a 1-μF electrolytic
capacitor must be as close as possible to the TLC555. The capacitor used for the time delay must also be placed
as close to the discharge pin. A ground plane on the bottom layer can be used to provide better noise immunity
and signal integrity.

For the question of lowering the negative side you will have to make a power supply circuit with a virtual ground, this will correct the problem of voltage difference.
I recommend this simple and efficient one for all the ICs that you will have to use in the future.

This circuit is not mine, it works very well I use it in my setup

Jagau

 

Jagau posted this 01 December 2020

 

Hiall

One of the problems encountered nowadays when working with instruments connected to the grid is that often we have to isolate them or even make them work with inverter on batteries. The second next problem is that the batteries drain quickly because the devices draw a lot of current.

To solve this problem with the oscillator above we can already solve the first part of the problem given that it operates at very low voltage and current.

For the other problem I am building an instrument amplifier which I believe will solve the second problem, having a little more power in the square output waveform.
The schematic of the one I am building.

 

When it is ready I will let you know and we can use it together with the square oscillator with more latitude in the power and being free and well isolated  from the grid .


Jagau

YoElMiCrO posted this 01 December 2020

Hello everyone.

@Jagau.

If I may...
This circuit meets the requirements you need.

As you can see, once you find the necessary serial impedance
and the working frequency, you can replace the resistor with an inductor,
in this way the energy you lost in it becomes null and void!.
I hope it'll do you some good.

YoElMiCrO.

Jagau posted this 01 December 2020

Thanks Yo


 The goal of having a voltage amplitude only of the square wave with a very high impedance input so as not to alter it and also a low consumption at the input.

Thank you will analyse this capacitive divider too if it will do the job


Jagau

Jagau posted this 03 December 2020

Ok, the differential driver that I proposed has a slew rate too low, it works well up to 10khz but after that it is too slow for the rate of change (slew rate), it is a bit of the problem of most of have operational amplifiers.


So Yoeimicro

I'm going to look at your circuit you offered me, could you please explain me more precisely the proposed circuit.

i thought it was a negative resistance circuit?

I just want to increase the amplitude of the square wave oscillator without distorting it

Thank you Yo

P.S. just a precision when I speak of frequency not exceeding 10khz I am talking about the differential amplifier and not the tlc555 oscillator which easily goes up to 200khz and more


Jagau

YoElMiCrO posted this 04 December 2020

Hello everyone.

@Jagau.

With that circuit you shouldn't have problems with distortions
below 500KHz, of course this, according to the mosfet driver
you use.
It can be any driver, inverter or non-inverter and 1Apico
Minimum.
Capacitors must have a minimum value, for example
4.7uF.
What you should do is put a serial potentiometer between
the output of the driver and your POT, look for the resonance frequency
and then adjust your potentiometer in such a way that I accentuated the peaks
tension that appear at the beginning of your waveform,
once this optim in frequency and impedance you calculate a
inductor in such a way that it possesses the same resistive value as the
potentiometer at working frequency.
This way you wouldn't lose coupling power between your POT
and the driver.
This serial inductor should have a value (Serial Potentiometer Value/(2*Pi*Fr)).
And capacitors should be greater than or equal to 1/(4*Pi*Fr* (Serial potentiometer value/10)).
Any doubt you let me know.

YoElMiCrO.

We're Light Years Ahead!
Members Online:

No one online at the moment


What is a Scalar:

In physics, scalars are physical quantities that are unaffected by changes to a vector space basis. Scalars are often accompanied by units of measurement, as in "10 cm". Examples of scalar quantities are mass, distance, charge, volume, time, speed, and the magnitude of physical vectors in general.

You need to forget the Non-Sense that some spout with out knowing the actual Definition of the word Scalar! Some people talk absolute Bull Sh*t!

The pressure P in the formula P = pgh, pgh is a scalar that tells you the amount of this squashing force per unit area in a fluid.

A Scalar, having both direction and magnitude, can be anything! The Magnetic Field, a Charge moving, yet some Numb Nuts think it means Magic Science!

Message from God:

Hello my children. This is Yahweh, the one true Lord. You have found creation's secret. Now share it peacefully with the world.

Ref: Message from God written inside the Human Genome

God be in my head, and in my thinking.

God be in my eyes, and in my looking.

God be in my mouth, and in my speaking.

Oh, God be in my heart, and in my understanding.

Your Support:

More than anything else, your contributions to this forum are most important! We are trying to actively get all visitors involved, but we do only have a few main contributors, which are very much appreciated! If you would like to see more pages with more detailed experiments and answers, perhaps a contribution of another type maybe possible:

PayPal De-Platformed me!

They REFUSE to tell me why!

We now use Wise!

Donate
Use E-Mail: Chris at aboveunity.com

The content I am sharing is not only unique, but is changing the world as we know it! Please Support Us!

Thank You So Much!

Weeks High Earners:
The great Nikola Tesla:

Ere many generations pass, our machinery will be driven by a power obtainable at any point of the universe. This idea is not novel. Men have been led to it long ago by instinct or reason. It has been expressed in many ways, and in many places, in the history of old and new. We find it in the delightful myth of Antheus, who drives power from the earth; we find it among the subtle speculations of one of your splendid mathematicians, and in many hints and statements of thinkers of the present time. Throughout space there is energy. Is this energy static or kinetic? If static, our hopes are in vain; if kinetic - and this we know it is for certain - then it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature.

Experiments With Alternate Currents Of High Potential And High Frequency (February 1892).

Close