2
\$\begingroup\$

I'm a beginner trying to learn electronics reading a book with this circuit diagram: enter image description here The text accompanying the diagram states:

C1 charges through R1 and R2 until the charge on C1 is high enough to turn on Q1, which in turn causes Q2 is then switched on.

What I am having difficulty with is the current path when current is flowing through the speaker. As I understand the most basic definition for a transistor, a small current at the base allows a much larger current to flow between emitter and collector, like a switch or gate. In the previous example in the same book it appears much clearer that current flows from the 6V source to the collector and then emitter and then to buzzer:

enter image description here

So how, in the first circuit, is current flowing into Q1's collector if it's source is the base of Q2? I know that Q1 is a NPN and Q2 is a PNP but does that mean current is flowing out of the base of Q2?

At a more general level I am having trouble with picturing current flow for all circuits and want to think of like a linear flow like on a flowchart, but that must not be correct.

\$\endgroup\$
14
  • \$\begingroup\$ Welcome to EE.SE. HINT: A tiny amount of current does flow out of the base of Q2. Since it is a common emitter to 4.5 volts you do get voltage gain in the form of its beta, or hFE. C1 causes positive feedback so the circuit should make clicking noises. \$\endgroup\$
    – user105652
    Feb 11, 2018 at 0:38
  • 1
    \$\begingroup\$ Its a relaxation Oscillating switch using positive feedback. This should help visualize tinyurl.com/ycs3g75g \$\endgroup\$ Feb 11, 2018 at 2:31
  • \$\begingroup\$ @TonyStewart.EEsince'75 Yeah. Except you took your feedback from a different place than the OP's book says. Can you fix that? \$\endgroup\$
    – jonk
    Feb 11, 2018 at 2:40
  • \$\begingroup\$ I can change it tinyurl.com/ybm8pnp5 but that cause Vbe breakdown with a large output current spike My solution is better \$\endgroup\$ Feb 11, 2018 at 3:50
  • \$\begingroup\$ @TonyStewart.EEsince'75 Just worrying about the OP seeing it and probably still struggling to understand their circuit. There is a deep subtlety in it that so far hasn't been discussed, which will explain the circumstances when this whole circuit won't oscillate at all and why. I keep waiting for someone to discuss the quantitative criteria for oscillation. \$\endgroup\$
    – jonk
    Feb 11, 2018 at 4:07

2 Answers 2

3
\$\begingroup\$

Let's look at a slightly simplified version. Since the \$100\:\Omega\$ resistor and the speaker are in series in your circuit, I just combined them into a single resistor (actually, the speaker is more complex than a simple resistor; but this is fine for purposes of understanding things here.) Also, I combined the variable and fixed resistors near the base of the NPN. No harm there, because we are assuming that there is some magical combined value that makes things work well. We don't need to worry about the exact value used in order to follow the circuit ideas.

So here it is, simplified:

schematic

simulate this circuit – Schematic created using CircuitLab


From just a qualitative standpoint (hand-waving) and looking at the blue arrows I added, you can see that the two BJTs are arranged so that rising voltage signal (should it occur) at the base of \$Q_2\$ will cause a falling voltage signal at the collector of \$Q_2\$ (it's an inverter, after all.) This falling voltage appears at the base of \$Q_1\$ and is again inverted at \$Q_1\$'s collector -- making it a rising signal again. This is now "fed back" via \$C_1\$ to the base of \$Q_2\$ where it "supports" the initial rising voltage signal and adding to it. This is called positive feedback and it can cause oscillation to occur.


Now forget the capacitor for a moment and imagine that this feedback line has been completely erased and doesn't exist. \$C_1\$ is missing, for now.

\$Q_2\$'s base will be supplied with some current via \$R_1\$. This current is amplified a bit to create \$Q_2\$'s sinking collector current that pulls its current out of \$Q_1\$'s base. This current is again amplified a bit to create \$Q_1\$'s sourcing collector current. So after two stages of current amplification, \$Q_1\$ is now sourcing a fair bit of current into \$R_2\$.

If \$R_1\$ is reduced in value, the base current in \$Q_2\$ will be higher. If this higher base current, twice-amplified, is enough to saturate \$Q_1\$ (by way of dropping a voltage across \$R_2\$) then the circuit will not oscillate. Instead, \$R_1\$ will wind up just saturating \$Q_1\$ and there will be a current in \$R_2\$ about the same as if you'd simply hooked \$R_2\$ directly up to the supply voltage. But no oscillation will take place if \$R_1\$ is arranged to supply too much base current into \$Q_2\$.

How much is too much? Well, you can assume that \$Q_2\$ isn't saturated so its full \$\beta_2\$ will apply here. Perhaps somewhere between \$\beta_2=120\$ and \$\beta_2=250\$ for the usual spate of junkbox NPN BJTs. However, we are discussing saturation of \$Q_1\$ and its \$\beta_1\$ value will be more towards a value typical for saturation. The actual point that matters here is right at shallow saturation -- perhaps at \$\beta_1=75\$, or so.

So the total current gain will be somewhere between \$A_I=120\cdot 75\approx 9000\$ and \$A_I=250\cdot 75\approx 18000\$. This is about a factor of two between them, but that's how this falls out. Assuming the voltage rail is given as \$4.5\:\text{V}\$ and the value of \$R_2\$ as shown, we're talking about any \$R_1\le A_I\cdot\frac{4.5\:\text{V}-700\:\text{mV}}{40\:\text{mA}}\$.

The upshot of all this is that I'd expect that if \$R_1\ge 1.7\:\text{M}\Omega\$ then perhaps the circuit should work okay for oscillation. Any value where \$R_1\le 850\:\text{k}\Omega\$ will probably fail to cause oscillation. And values where \$850\:\text{k}\Omega\le R_1\le 1.70\:\text{M}\Omega \$ would be a question mark. Maybe. But probably not.

So if I were laying this out for others to use, aside from the fact that I think the voltage supply is too high already (see later), then I'd use \$R_1\ge 1.8\:\text{M}\Omega\$ to be safer about it.


If \$R_1\$ is large enough, and therefore reduces the base current into \$Q_2\$ enough, then the circuit should oscillate.

The reasoning isn't too difficult. With \$R_1\$ large enough, then \$Q_1\$ doesn't start out saturated and its collector will be near ground (held there by \$R_2\$.) Meanwhile, \$R_1\$ supplies its meager current. Earlier, most of this goes into charging \$C_1\$. But a little later on, as \$C_1\$ develops enough voltage across it, the current from \$R_1\$ diverts more and more into the base of \$Q_2\$. Soon, it's enough (with the high current gain here) to cause \$Q_1\$ to haul upward on its collector voltage, pulling it rapidly towards the positive voltage rail as \$Q_1\$ moves towards saturation.

This rapid rise in \$Q_1\$'s collector voltage is transmitted via \$C_1\$ to the base of \$Q_2\$ and dumping a large (but short-duration) pulse of added current that goes into the base of \$Q_2\$ and probably tries to saturate \$Q_2\$ in the process (which is cruel to \$Q_1\$'s base-emitter.) This cinches the deal and \$Q_1\$ is pushed almost instantly into deep saturation.

In a very short time, though, there is no more rapid voltage change at the collector of \$Q_1\$ (which is saturated and can't do more) and so the current through \$C_1\$ in that direction halts. Instead, \$Q_2\$'s base current charges \$C_1\$ in the opposite direction and drives its own base voltage very rapidly back downward.

At this point, \$C_1\$ is no longer accepting current from the base of \$Q_2\$ and so all of it is once again supplied by \$R_1\$, which by definition isn't enough to keep \$Q_1\$ saturated. So the voltage at the collector of \$Q_1\$ falls (due to lack of sufficient base drive support) back downward. In doing so, it pulls downward on the base of \$Q_2\$ and still further reduces the ability of \$Q_2\$ to support \$Q_1\$'s base drive needs. So \$Q_1\$'s collector falls still further, into near collapse under the high load requirements of \$R_2\$ (which is now pulling the collector hard and close to ground, again.)

Now, \$R_1\$ slowly discharges \$C_1\$ (whose left-side terminal had plunged below ground voltage) and then re-charges it in the other direction causing \$Q_2\$'s base voltage to become slightly (and then still more) forward biased again.

And the cycle repeats.


This circuit actually is a little "nicer" to the BJTs if you operate it from a lower \$1.5\:\text{V}\$ supply -- which by the way it does well with. This isn't so good to use with high voltage supplies because of the high reverse biasing that can zener the base-emitter junction of \$Q_2\$ and because of the collector-to-base coupling between \$Q_2\$ and \$Q_1\$. It needs to be modified for voltages much above \$2-3\:\text{V}\$ and I probably wouldn't use \$4.5\:\text{V}\$ on this particular circuit without any modifications.

\$\endgroup\$
8
  • \$\begingroup\$ Here electronics.stackexchange.com/questions/261288/… I was trying to explain the "complementary" version. \$\endgroup\$
    – G36
    Feb 11, 2018 at 9:24
  • \$\begingroup\$ @G36 At least your complementary circuit has a resistor between collector and base of the two bjts. I'd thought about adding that to the circuit and decided against it here. \$\endgroup\$
    – jonk
    Feb 11, 2018 at 9:35
  • \$\begingroup\$ Yep, but if my memory serves me well you have shown the "alternative" version of this oscillator circuit. But I can find it now. \$\endgroup\$
    – G36
    Feb 11, 2018 at 9:44
  • \$\begingroup\$ The power going into C to Q1-base is GREATER THAN 100 Ohm to speaker. No good. The schematic in the book is sub-optimal and violates base current max. Using the Cap feedback from the speaker fixes the problem and permits a wide supply ranger. As it stands 8/108 * 4.5V = is about 1/3 of a volt which would be a quiet tick sound. With proper feedback as I have simulated, there is no loss in power and it works better, but still not optimal. \$\endgroup\$ Feb 11, 2018 at 12:11
  • \$\begingroup\$ @jonk Is current colliding at the base and emitter of Q2 in your reinterpretation of the circuit? I'm still having trouble following the current flow. \$\endgroup\$
    – Roberto
    Feb 11, 2018 at 14:31
0
\$\begingroup\$

First of all, look at the circuit without C1 being there. What you have is a simple 2 stage cascade amplifier. R1 with R2 control the base current of Q1.

Since it is wired as a common emitter this base current is amplified by Q1's gain, or beta. It in turn draws a tiny amount of current from the base of Q2.

At some point R2 will allow enough current to flow so that Q2 is saturated ON and its collector voltage will be very close to 4.5 VDC.

So far so good, but add C1 for positive feedback and just schottky noise alone starts the circuit to oscillate, as Q1 and Q2 each invert the 'signal' 180 degrees, so all total you have a 360 inversion, hence the positive feed back. The overall gain is Q1*Q2.

Now R2 becomes a frequency adjust as it changes the time-constant set up by 2*pi*(R1+R2)*C1 (approximation). It is not as linear as a professional oscillator and will change frequency with supply voltage and temperature.

It is easier to understand multi-stage transistor circuits if you break them down into individual stages. This includes any feedback loops like C1, so that you can analyze each stage starting at the beginning, Q1.

Though it is not an exact match, check out the link provided by Tony Stewart in comments.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.