Author Topic: Cute little oscillator, but theory of operation?  (Read 2227 times)

0 Members and 1 Guest are viewing this topic.

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Cute little oscillator, but theory of operation?
« on: December 24, 2021, 10:01:57 am »
Found this nice little oscillator (boost conv?) online, and it works a treat; I’ve got it running TWO white 2.5v LEDs in series from one “AA” battery… but I’m at a loss as to the complete theory of operation. Clearly the field collapse across L is causing the voltage boost, but I can’t work out why it remains in oscillation.

If anyone could de-muddy the waters, I’d be indebted to them. Many thanks.
« Last Edit: December 24, 2021, 10:04:13 am by eti »
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Cute little oscillator, but theory of operation?
« Reply #1 on: December 24, 2021, 07:55:05 pm »
Oddly (or NOT so oddly), it doesn't oscillate in LTSpice OR in "Every Circuit"; surprise surprise...
 

Offline KE5FX

  • Super Contributor
  • ***
  • Posts: 2096
  • Country: us
    • KE5FX.COM
Re: Cute little oscillator, but theory of operation?
« Reply #2 on: December 24, 2021, 09:51:54 pm »
Oddly (or NOT so oddly), it doesn't oscillate in LTSpice OR in "Every Circuit"; surprise surprise...

You may not have let it run long enough.  Try adding a .startup directive. 

 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7276
  • Country: ca
Re: Cute little oscillator, but theory of operation?
« Reply #3 on: December 24, 2021, 10:08:38 pm »
Don't assume simulators always work. They do not. Years ago i was simulating a _simple_ RF mixer. Out of 4 simulators only one produced proper result. I recall it was Agilent ADS.
Facebook-free life and Rigol-free shack.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8526
Re: Cute little oscillator, but theory of operation?
« Reply #4 on: December 25, 2021, 01:13:18 am »
It's a simple blocking oscillator. When power is first turned on, the two transistors start conducting and the current through the coil increases, while this is happening the top is positive and through the feedback capacitor keeps the transistors on. Once it saturates, the potential difference across it is no longer enough to keep them on, and that results in the transistors turning off, causing the field in the inductor to collapse and pull current through the LED (it is now in series with the inductor and the power source, so you get a boost in voltage). Since its top is now negative, it keeps the transistors off. The transistors start turning on again once the energy has dissipated, and the cycle repeats.
 

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: us
Re: Cute little oscillator, but theory of operation?
« Reply #5 on: December 25, 2021, 01:20:23 am »
Seems to run fine in LTSpice if and only if I add that optional cap (I arbitrability picked 1nF, edit: but as little as 0.1pF seems to work) where the author has it drawn, then it fires up fine with no tricks.

« Last Edit: December 25, 2021, 01:25:45 am by BrokenYugo »
 

Offline rfclown

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: us
Re: Cute little oscillator, but theory of operation?
« Reply #6 on: December 25, 2021, 02:19:11 am »
A single AA battery is less than 3 diode drops so both transistors don't initially conduct. With a 1.5V supply the PNP is almost always conducting, but the NPN cycles on and off. Circuit doesn't work well with two cells.
« Last Edit: December 25, 2021, 02:20:52 am by rfclown »
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Cute little oscillator, but theory of operation?
« Reply #7 on: December 25, 2021, 02:38:36 am »
Oddly (or NOT so oddly), it doesn't oscillate in LTSpice OR in "Every Circuit"; surprise surprise...

You may not have let it run long enough.  Try adding a .startup directive. 



Ah righty ho, now it works! Thanks ever so much and Happy Christmas 🎄
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Cute little oscillator, but theory of operation?
« Reply #8 on: December 25, 2021, 02:39:52 am »
It's a simple blocking oscillator. When power is first turned on, the two transistors start conducting and the current through the coil increases, while this is happening the top is positive and through the feedback capacitor keeps the transistors on. Once it saturates, the potential difference across it is no longer enough to keep them on, and that results in the transistors turning off, causing the field in the inductor to collapse and pull current through the LED (it is now in series with the inductor and the power source, so you get a boost in voltage). Since its top is now negative, it keeps the transistors off. The transistors start turning on again once the energy has dissipated, and the cycle repeats.

Thank you, and thank you to everyone else. God bless you Happy 🎄 Christmas
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15797
  • Country: fr
Re: Cute little oscillator, but theory of operation?
« Reply #9 on: December 25, 2021, 02:55:23 am »
A single AA battery is less than 3 diode drops so both transistors don't initially conduct. With a 1.5V supply the PNP is almost always conducting, but the NPN cycles on and off. Circuit doesn't work well with two cells.

The "duty cycle" depends a lot on the supply voltage. Beyond a certain voltage, it won't work properly indeed. And then below a certain voltage, it won't work either. It would probably not work right for the whole life of a typical AA alkaline battery, and would just hardly start with a NiCd battery, I think.
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Cute little oscillator, but theory of operation?
« Reply #10 on: December 25, 2021, 03:03:43 am »
A single AA battery is less than 3 diode drops so both transistors don't initially conduct. With a 1.5V supply the PNP is almost always conducting, but the NPN cycles on and off. Circuit doesn't work well with two cells.

The "duty cycle" depends a lot on the supply voltage. Beyond a certain voltage, it won't work properly indeed. And then below a certain voltage, it won't work either. It would probably not work right for the whole life of a typical AA alkaline battery, and would just hardly start with a NiCd battery, I think.

Strangely someone had it working at 0.2-0.3v!!!
 

Online ledtester

  • Super Contributor
  • ***
  • Posts: 3279
  • Country: us
Re: Cute little oscillator, but theory of operation?
« Reply #11 on: December 25, 2021, 03:48:25 am »

Another well-known blocking oscillator design is the "Joule Thief".

This guy has been running one continuously for over five years:

Blinking Joule Thief: 5 Year Update -- Eman2000
https://youtu.be/AWDX3L07qyc
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15797
  • Country: fr
Re: Cute little oscillator, but theory of operation?
« Reply #12 on: December 25, 2021, 07:12:13 pm »
A single AA battery is less than 3 diode drops so both transistors don't initially conduct. With a 1.5V supply the PNP is almost always conducting, but the NPN cycles on and off. Circuit doesn't work well with two cells.

The "duty cycle" depends a lot on the supply voltage. Beyond a certain voltage, it won't work properly indeed. And then below a certain voltage, it won't work either. It would probably not work right for the whole life of a typical AA alkaline battery, and would just hardly start with a NiCd battery, I think.

Strangely someone had it working at 0.2-0.3v!!!

I'd be curious to see that, and even more curious to get an explanation. (Oh and if you haven't actually witnessed it yourself, don't believe everything people say...)
Unless maybe this was done with hand-selected germanium transistors.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17427
  • Country: us
  • DavidH
Re: Cute little oscillator, but theory of operation?
« Reply #13 on: December 25, 2021, 07:59:28 pm »
A single AA battery is less than 3 diode drops so both transistors don't initially conduct. With a 1.5V supply the PNP is almost always conducting, but the NPN cycles on and off. Circuit doesn't work well with two cells.

With 1.5 volts from an AA cell divided three ways to place 0.5 volts across the emitters, they do conduct a little bit which is enough to start operation.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf