0

I'm new to electronics and trying to get a grasp of the basics at the moment.

For this purpose, I'm reading the book Make: Electronics by Charles Pratt (in a German translation.)

In one experiment, he's building an astable multivibrator and uses its signal (boosted by another transistor) to light an LED, which is later replaced by a speaker (see picture below.)

I don't understand the use of the capacitor here. The book says it's there to block DC (and let AC pass, my addition,) but the multivibrator produces DC on/off signal and no AC signals anyway. In other words, I don't get what it is actually filtering away, since its other main feature (current storage function) is certainly not of great use here.

From: Pratt, Charles: Make: Electronics, 2nd edition (german), p. 126

JRE
  • 67,678
  • 8
  • 104
  • 179
  • 2
    A "DC on/off signal" *is* an alternating signal, and the AC component is precisely its variation as it turns on and off. – nanofarad Aug 04 '22 at 14:54
  • @nanofarad I thought AC was (exclusively) current changing its direction (due to changing polarity)... OK then it makes sense. So, if I would omit the capacitor, the speaker would generate a sequence of high and low noises, because the AC signals are not filtered away anymore, right? – Oidipous_REXX Aug 04 '22 at 15:14
  • 1
    AC can be superimposed on a DC offset, which is basically what this is. The cap removes the DC component. – Unimportant Aug 04 '22 at 15:17
  • Here, you have a sum of a DC signal (the offset) and AC signal (the variation). – nanofarad Aug 04 '22 at 15:17
  • Does this answer your question? [Why place capacitors in front of the line to a (headphone) audio speaker?](https://electronics.stackexchange.com/questions/339549/why-place-capacitors-in-front-of-the-line-to-a-headphone-audio-speaker) – JYelton Aug 08 '22 at 16:10

1 Answers1

1

There is a lot that is "wrong" with the above image. Just note that while it may work, it is not ideal.

What's the use of the capacitor before the speaker here?

You'll see caps used commonly with speakers. That is because speakers are true AC devices; putting +10V on the coil moves it one way, and putting -10V on it moves it in the opposite direction.

The problem this cap solves, is that the DC power source being delivered to the speaker is only ever 0V or +V, not -V and +V. There is no negative voltage, so the speaker would only ever work half as well as it could.

Adding the capacitor "removes" this 0V bias, or in other words, allows what gets to the speaker to "shift" to an average value, which over time will end up being -V to +V (whatever the particular number of volts happens to be.)

If 0V to 10V were used to drive the speaker (no capacitor), it would sound bad and not be very loud. With the capacitor added it would see about -5V to +5V, but sound nicer and be much louder. So capacitors are commonly used in basic speaker circuits to give them AC from a pulsed DC source.

rdtsc
  • 15,913
  • 4
  • 30
  • 67
  • So what happens is, if I understand correctly: as long as there is a signal/current coming from the multivibrator, the cap is charging and the voltage at the speaker is positive. Once the signal ends, the cap is uncharging via the resistor and the voltage at the speaker is becoming negative / the flow of current is changing direction – Oidipous_REXX Aug 04 '22 at 15:26
  • @Oidipous_REXX pretty much. Note that you want the capacitor to be so big that it never finishes charging and never finishes discharging - you want it to stay in the middle. And this average charge level where it stays around - is average voltage of the sound wave, and cancels it out. So that way the speaker always sees an average voltage of 0 i.e. it sees equal amounts of positive and negative voltages – user253751 Aug 04 '22 at 16:10
  • For more background on Capacitors, try [Kuphaldt's Lessons in Electric Circuits](http://www.ibiblio.org/kuphaldt/electricCircuits/DC/DC_13.html). – rdtsc Aug 04 '22 at 18:55
  • Could the DC bias cause the loudspeaker coil to overheat? – Andrew Morton Aug 04 '22 at 18:56
  • Indeed it could, although we're assuming a basic multivibrator circuit isn't trying to put watts of power into the speaker. But yes, caps to speaker = low power applications. For quality audio amplifiers and the "proper" way to drive speakers, totally different (and more complex) circuitry is needed. – rdtsc Aug 04 '22 at 19:03
  • I have seen this done in inexpensive speaker systems, it's job is to keep the low frequency (base) away from the high frequency speakers (tweeters). It is a inexpensive high pass filter. The higher the capacity the lower the frequency that will pass. Audio is an AC signal that may or may not have a DC bias. Speakers to not like DC. – Gil Aug 04 '22 at 19:59
  • 1
    @rdtsc After reading some pages, I think this book is really great, because it explains things well to newbies - many thanks for the hint! In support of Pratt's book and his (intentionally) simplified circuit drawings: his purpose is to teach by demonstration and experiments, so some of his buildups are necessarily not perfec/well done. Given some explanations could really be more extensive, I think it is still a good book for beginners. – Oidipous_REXX Aug 05 '22 at 06:57