Author Topic: Simple Oscillator, but interesting thing happened  (Read 5820 times)

0 Members and 1 Guest are viewing this topic.

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Simple Oscillator, but interesting thing happened
« on: May 20, 2016, 07:19:20 pm »
Hi,

I was building a simple oscillating circuit, attached a circuit diagram for it, the interesting thing that happened is whenever i bring my hand close to one of the capacitors, the LED stops blinking, without even touching it, i wonder why is that, any ideas ?
I'm guessing something to do with body capacitance , but how such small capacitance can have such effect ?

BTW, the BJT i'm using is C945
Please let me know what do you think, also if you have any recommendation regarding the circuit diagram let me know !
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1355
  • Country: si
  • I like to measure things.
Re: Simple Oscillator, but interesting thing happened
« Reply #1 on: May 20, 2016, 07:24:58 pm »
Either you didn't provide the right circuit or that thing doesn't actually oscillate. :-//
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Simple Oscillator, but interesting thing happened
« Reply #3 on: May 20, 2016, 11:45:46 pm »
I think the capacitors charge enough to turn on the transistor then the LED current causes the 5V power supply voltage to collapse, then the transistor and LED turn off and the 5V comes back and it starts over again.
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #4 on: May 21, 2016, 12:03:45 am »
Hi,

I was building a simple oscillating circuit, attached a circuit diagram for it, the interesting thing that happened is whenever i bring my hand close to one of the capacitors, the LED stops blinking, without even touching it, i wonder why is that, any ideas ?
I'm guessing something to do with body capacitance , but how such small capacitance can have such effect ?

BTW, the BJT i'm using is C945
Please let me know what do you think, also if you have any recommendation regarding the circuit diagram let me know !

Hi

Well, first off, that circuit (with a good battery) will not oscillate. It will simply turn on slowly and stay on. The only way to get it to turn on and off is to get the battery to the point it's barely working. In that case, you have a chemical oscillator. Heat from your hand could easily effect it.

Bob
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #5 on: May 21, 2016, 12:22:52 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #6 on: May 21, 2016, 12:30:08 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1071
Re: Simple Oscillator, but interesting thing happened
« Reply #7 on: May 21, 2016, 02:43:51 pm »
Because you capacitively grounded it.

Why wouldn’t it oscillate?
The transistor base is held high with a resistor, why wouldn’t the capacitors pass the change of the rising edge to pull the base low again?

Edit.. because they aren’t a path to ground :D I still think that’s why though (meat body counterpoise).

« Last Edit: May 21, 2016, 02:57:32 pm by @rt »
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #8 on: May 21, 2016, 06:00:39 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #9 on: May 21, 2016, 09:02:57 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael

Hi

You have a circuit that has additional circuit elements in the form of the wires and cables. At some point (if they are long enough) they become part of the circuit. Put another way - what you have on the schematic is not *all* of what you have wired up. Without test gear of some sort, there really is no way to figure out what's going on. The only real alternative is to wire up the circuit with short / solidly connected leads. Keep everything under 1 cm. The purpose is to reduce the size of the "extra" components you have in the circuit. If you have things like wire wound resistors in the circuit, they are a special case of "don't do that" ... Once it is wired up, put a couple of nice bypass caps from the supply to the ground. Start with 100 uf, then add 10 uf, then 1 uf, then 0.1 uf. (you can also do that in reverse). At some point the strange stuff will go away.

Bob
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #10 on: May 22, 2016, 03:54:49 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael

Hi

You have a circuit that has additional circuit elements in the form of the wires and cables. At some point (if they are long enough) they become part of the circuit. Put another way - what you have on the schematic is not *all* of what you have wired up. Without test gear of some sort, there really is no way to figure out what's going on. The only real alternative is to wire up the circuit with short / solidly connected leads. Keep everything under 1 cm. The purpose is to reduce the size of the "extra" components you have in the circuit. If you have things like wire wound resistors in the circuit, they are a special case of "don't do that" ... Once it is wired up, put a couple of nice bypass caps from the supply to the ground. Start with 100 uf, then add 10 uf, then 1 uf, then 0.1 uf. (you can also do that in reverse). At some point the strange stuff will go away.

Bob

Many Thanks, it turned out that disconnecting the base  from everything, and just hooking the led between the collector and emitter, the LED turns on by touching it , and stays on as long as i'm touching it, although it's a BJT transistor ! tried to measure the current between my hand and the base but there was no current on the micro Amp range, i think this explains the proximity thing, but how touching the base turns the BJT on with no current flowing though it ?
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #11 on: May 22, 2016, 04:13:24 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael

Hi

You have a circuit that has additional circuit elements in the form of the wires and cables. At some point (if they are long enough) they become part of the circuit. Put another way - what you have on the schematic is not *all* of what you have wired up. Without test gear of some sort, there really is no way to figure out what's going on. The only real alternative is to wire up the circuit with short / solidly connected leads. Keep everything under 1 cm. The purpose is to reduce the size of the "extra" components you have in the circuit. If you have things like wire wound resistors in the circuit, they are a special case of "don't do that" ... Once it is wired up, put a couple of nice bypass caps from the supply to the ground. Start with 100 uf, then add 10 uf, then 1 uf, then 0.1 uf. (you can also do that in reverse). At some point the strange stuff will go away.

Bob

Many Thanks, it turned out that disconnecting the base  from everything, and just hooking the led between the collector and emitter, the LED turns on by touching it , and stays on as long as i'm touching it, although it's a BJT transistor ! tried to measure the current between my hand and the base but there was no current on the micro Amp range, i think this explains the proximity thing, but how touching the base turns the BJT on with no current flowing though it ?

Just found the issue, there is an AC current between my hand and the base exactly 2.4 uA !! , just hooked a long wire to act as an antenna, the current increased, the led brightness has also increased, it's amazing how it's sensitive to such small  currents !!
But how it conducts AC, i mean the circuit from antenna to base and then ??
Also is it conducting the half of the AC signal only due to the bias ?
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #12 on: May 22, 2016, 09:42:21 pm »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael

Hi

You have a circuit that has additional circuit elements in the form of the wires and cables. At some point (if they are long enough) they become part of the circuit. Put another way - what you have on the schematic is not *all* of what you have wired up. Without test gear of some sort, there really is no way to figure out what's going on. The only real alternative is to wire up the circuit with short / solidly connected leads. Keep everything under 1 cm. The purpose is to reduce the size of the "extra" components you have in the circuit. If you have things like wire wound resistors in the circuit, they are a special case of "don't do that" ... Once it is wired up, put a couple of nice bypass caps from the supply to the ground. Start with 100 uf, then add 10 uf, then 1 uf, then 0.1 uf. (you can also do that in reverse). At some point the strange stuff will go away.

Bob

Many Thanks, it turned out that disconnecting the base  from everything, and just hooking the led between the collector and emitter, the LED turns on by touching it , and stays on as long as i'm touching it, although it's a BJT transistor ! tried to measure the current between my hand and the base but there was no current on the micro Amp range, i think this explains the proximity thing, but how touching the base turns the BJT on with no current flowing though it ?

Just found the issue, there is an AC current between my hand and the base exactly 2.4 uA !! , just hooked a long wire to act as an antenna, the current increased, the led brightness has also increased, it's amazing how it's sensitive to such small  currents !!
But how it conducts AC, i mean the circuit from antenna to base and then ??
Also is it conducting the half of the AC signal only due to the bias ?

Hi

Most likely what you have is an RF signal between you and the circuit. In order to properly measure it, you would need an RF voltmeter or a spectrum analyzer, or a scope. If you are trying to figure RF out with a normal multimeter, you will just get very confused.

Bob
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #13 on: May 23, 2016, 06:58:23 am »
It might not be completely turn off, but its brightness does change for sure.
Just tested the voltage source and it looks good.
Also when i attempt to measure the voltage between base and emitter it stops blinking, not sure why......

Hi

The circuit as drawn in the schematic is not an oscillator. If the implementation you have oscillates, there is an error between your circuit and your schematic or at least one of the parts involved is defective in some fashion. Having a circuit oscillate as some frequency (often RF) due to a wiring error is not all that unusual. Troubleshooting an issue like this is one of the most basic reasons to own an oscilloscope.

Bob


Hi,

I think you are correct , when i shortened the cable between both grounds (between the emitter and the negative terminal of the battery), they were connected via long cable :), couldn't get it to blink any more, also found that returning to the old setup, it blinks again , also it blinks when the cable (mentioned above) is either near the capacitor or the led , i'm confused even more, also i don't have an oscilloscope :(

Thanks,
Wael

Hi

You have a circuit that has additional circuit elements in the form of the wires and cables. At some point (if they are long enough) they become part of the circuit. Put another way - what you have on the schematic is not *all* of what you have wired up. Without test gear of some sort, there really is no way to figure out what's going on. The only real alternative is to wire up the circuit with short / solidly connected leads. Keep everything under 1 cm. The purpose is to reduce the size of the "extra" components you have in the circuit. If you have things like wire wound resistors in the circuit, they are a special case of "don't do that" ... Once it is wired up, put a couple of nice bypass caps from the supply to the ground. Start with 100 uf, then add 10 uf, then 1 uf, then 0.1 uf. (you can also do that in reverse). At some point the strange stuff will go away.

Bob

Many Thanks, it turned out that disconnecting the base  from everything, and just hooking the led between the collector and emitter, the LED turns on by touching it , and stays on as long as i'm touching it, although it's a BJT transistor ! tried to measure the current between my hand and the base but there was no current on the micro Amp range, i think this explains the proximity thing, but how touching the base turns the BJT on with no current flowing though it ?

Just found the issue, there is an AC current between my hand and the base exactly 2.4 uA !! , just hooked a long wire to act as an antenna, the current increased, the led brightness has also increased, it's amazing how it's sensitive to such small  currents !!
But how it conducts AC, i mean the circuit from antenna to base and then ??
Also is it conducting the half of the AC signal only due to the bias ?

Hi

Most likely what you have is an RF signal between you and the circuit. In order to properly measure it, you would need an RF voltmeter or a spectrum analyzer, or a scope. If you are trying to figure RF out with a normal multimeter, you will just get very confused.

Bob


Could you please let me know why the circuit diagram posted won't oscillate , i expected the base to be down when the capacitor is charging, and then the capacitor will discharge when it reach a certain voltage through the transistor, and thus the led would blink , could you please explain what is wrong here ?
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #14 on: May 23, 2016, 12:17:42 pm »


Could you please let me know why the circuit diagram posted won't oscillate , i expected the base to be down when the capacitor is charging, and then the capacitor will discharge when it reach a certain voltage through the transistor, and thus the led would blink , could you please explain what is wrong here ?

Hi

In order to oscillate, a circuit needs to meet certain criteria. There are a lot of ways to look at them and some of it gets a bit involved. One relatively simple way:

You need 360 degrees of phase shift around the loop in order to have oscillation. You also need to have gain at that frequency. With the single capacitor you have in your circuit, you only have 90 degrees. You also have no feedback path from the LED back through the capacitor so the inversion in the collector does not contribute to the phase shift.

So what happens in your circuit:

Power comes on. Transistor base is low.
Current flows into the base and the capacitors
Voltage on the base rises
LED comes on
Voltage continues to rise
Circuit hits it's DC equilibrium point
Nothing more happens.

What happens in an oscillator:

At some point AC feedback cuts in and it's not a simple DC circuit anymore.

Yes, that's still a bit confusing. Oscillators are a bit weird.

What to do to turn your circuit into an oscillator:

Add another R/C
Add another gain stage (transistor)
Close the loop between the stage you have and the input to the new one.

A previous post had a bunch of links to working circuits.

Bob
 
The following users thanked this post: wael

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22434
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Simple Oscillator, but interesting thing happened
« Reply #15 on: May 23, 2016, 10:14:41 pm »
You know you can edit the quoted text and delete the old messages up there..? ???

So, you were lying to us!  You drew an assumed representation of a real system, which as it happens, was not at all representative of it!

'Tis the duty of the engineer to make such observations.  Of course... it's not always trivial to do, nor is there necessarily a reasonable schematic equivalent that can even be drawn (e.g., microwave circuits). :P

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline waelTopic starter

  • Contributor
  • Posts: 20
  • Country: eg
Re: Simple Oscillator, but interesting thing happened
« Reply #16 on: May 24, 2016, 04:43:39 pm »
You know you can edit the quoted text and delete the old messages up there..? ???

So, you were lying to us!  You drew an assumed representation of a real system, which as it happens, was not at all representative of it!

'Tis the duty of the engineer to make such observations.  Of course... it's not always trivial to do, nor is there necessarily a reasonable schematic equivalent that can even be drawn (e.g., microwave circuits). :P

Tim


Hi,

My apologies, just noticed not removing the old messages in the quoted sections could be annoying.
I didn't mean to mislead anyone here, i'm not experienced as some of the readers are, the schematic is correct (well i think), it doesn't include all of the details though, the length of the cables are usually not included in the schematics.

Regards,
Wael
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Simple Oscillator, but interesting thing happened
« Reply #17 on: May 25, 2016, 10:14:17 pm »
You know you can edit the quoted text and delete the old messages up there..? ???

So, you were lying to us!  You drew an assumed representation of a real system, which as it happens, was not at all representative of it!

'Tis the duty of the engineer to make such observations.  Of course... it's not always trivial to do, nor is there necessarily a reasonable schematic equivalent that can even be drawn (e.g., microwave circuits). :P

Tim


Hi,

My apologies, just noticed not removing the old messages in the quoted sections could be annoying.
I didn't mean to mislead anyone here, i'm not experienced as some of the readers are, the schematic is correct (well i think), it doesn't include all of the details though, the length of the cables are usually not included in the schematics.

Regards,
Wael

Hi

Nobody ever includes *everything* in the schematic. The issue is having enough experience to realize when a non-schematic element becomes important.

Bob
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf