EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: eev_carl on February 12, 2018, 01:14:30 pm

Title: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 01:14:30 pm
Hi,

I made the attached circuit, but am getting unexpected results.  I can't visually detect the LED flashing unless I swap the .33uF for something larger.  In my circuit, C1 looks best at a minimum of 3uF.  The only difference between the schematic and what I've got is Q1.  The schematic is using a 2N2907 whereas I'm using a 2N3906.

I get a frequency of 5Hz from my adaptations.  It's 45Hz when I use the original values.

I was wondering if the difference could be explained by the different transistor model.

Thanks in advance,
Carl
Title: Re: BJT LED Flasher Circuit Question
Post by: Wimberleytech on February 12, 2018, 02:54:43 pm
Based on the schematic alone, I would not expect this circuit to oscillate.
Title: Re: BJT LED Flasher Circuit Question
Post by: 0xfede on February 12, 2018, 03:25:08 pm
Based on the schematic alone, I would not expect this circuit to oscillate.

Well, it will oscillate but the poor LED life will be miserable...

Attached to the post there are both the simulation picture and the LTSPICE project file. You should try changing transistor and other parameters yourself and then rerun the simulation.

Best,
0xfede
Title: Re: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 03:35:10 pm
I got this working by using a different LED using the .33uF values in the schematic.  I had a super bright LED in at the start.  Other LEDs gave me the period (2 flashes / sec) described in the book.

This is a picture of the scope for reference.

Title: Re: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 03:38:16 pm
Thanks for posting the spice file.  I've only worked with ngspice.  Do I need the standard.dio and standard.bjt files locally or are they part of LTSpice if I download it?
Title: Re: BJT LED Flasher Circuit Question
Post by: 0xfede on February 12, 2018, 03:43:19 pm
Thanks for posting the spice file.  I've only worked with ngspice.  Do I need the standard.dio and standard.bjt files locally or are they part of LTSpice if I download it?

I don't remember where all the models come from but I can share my LTSPICE library if you need it. It's about 100 MB in size so I cannot post it here.

Best,
0xfede
Title: Re: BJT LED Flasher Circuit Question
Post by: Zero999 on February 12, 2018, 04:16:04 pm
Based on the schematic alone, I would not expect this circuit to oscillate.

Well, it will oscillate but the poor LED life will be miserable...

Attached to the post there are both the simulation picture and the LTSPICE project file. You should try changing transistor and other parameters yourself and then rerun the simulation.

Best,
0xfede
Yes, add a resistor in series with the LED, to limit the current.
Title: Re: BJT LED Flasher Circuit Question
Post by: Damianos on February 12, 2018, 08:47:39 pm
This book is for the bin for sure!!!
Except (somewhat) of the Q1 base current, all others are uncontrolled...
Title: Re: BJT LED Flasher Circuit Question
Post by: floobydust on February 12, 2018, 09:39:09 pm
Forrest Mims? The schematic looks like one of his, but bastardized.
OP where is this crappy circuit coming from?
Title: Re: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 09:41:09 pm
The Forrest Mims Circuit Scrapbook Volume II p. 8
Title: Re: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 09:46:01 pm
The circuit doesn't draw much more than 3mA with VCC at 9V.  I have a multimeter in series with the LED, coming from VCC.
Title: Re: BJT LED Flasher Circuit Question
Post by: Wimberleytech on February 12, 2018, 10:02:37 pm
Forrest Mims? The schematic looks like one of his, but bastardized.
OP where is this crappy circuit coming from?

At my first look, I didn't think it would oscillate...but it does.  I am not impressed by the design, however.  I ran the sim provided by Oxfede and it looks like the NPN will see a lot of stress.  There are better oscillators to choose from than this IMHO.
Title: Re: BJT LED Flasher Circuit Question
Post by: floobydust on February 12, 2018, 10:03:34 pm
OK, looking at other Forrest Mim's oscillator circuits, he is missing a resistor to limit base-drive current, since.... 1976  :-//

This is the two-transistor configuration I've always had success with, note it gets some success from inductive loads (transformer, loudspeaker).
Another possibility is a multivibrator.

edit: had wrong osc sch
Title: Re: BJT LED Flasher Circuit Question
Post by: Wimberleytech on February 12, 2018, 10:13:24 pm
Here is the complementary version using a bulb instead of an LED...also Mims.

https://www.circuitlab.com/circuit/fc45k3/light-flasher/ (https://www.circuitlab.com/circuit/fc45k3/light-flasher/)
Title: Re: BJT LED Flasher Circuit Question
Post by: eev_carl on February 12, 2018, 10:54:55 pm
OK, looking at other Forrest Mim's oscillator circuits, he is missing a resistor to limit base-drive current, since.... 1976  :-//

This is the two-transistor configuration I've always had success with, note it gets some success from inductive loads (transformer, loudspeaker).
Another possibility is a multivibrator.

edit: had wrong osc sch

I'll check out the dual one.  I have that in one of the other Mims books.