Add the 8 ohm speaker load to your simulation and run it again. (Just connect up an 8 ohm resistor wherever you actually connected the speaker.) It ought to become immediately obvious what is going wrong here. (Hint: See what size and where all the currents are by hovering the cursor over the parts. Compare it to the version without the 8 ohm load.) One further thing that will become apparent is that you need a big DC blocking capacitor between your output and your speaker.
That was your
big problem (for this
kind of amplifier, I'll get onto that in a minute). The list of other problems this circuit has includes:
- Biasing. The collector's quiescent voltage is set way too high (about 7.3V). It needs to be at 4.5V (i.e. 1/2 Vcc) for maximum output voltage swing.
- Biasing. The transistor's quiescent collector current is set too low (about 1.7mA). This is a class A amplifier, all the current for the load comes from the collector resistor, all the transistor can do in a class A amplifier is divert current away from the load. The collector resistor needs to be as low as practicable.
- Transistor choice. The 2N2222 is rated for 600mA absolute maximum* continuous collector current. The manufacturers rate this part for an absolute maximum power dissipation of 1.5W. That figure is actually unrealistically high - it is in a plastic TO-92 case so there's no way that is achievable in practice as you'd never be able to shift the heat away from it fast enough. You'd be better off choosing a small power transistor such as a BD139. The range of possible choices is massive and I pick the BD139 because it's common and cheap and about the right power rating (with minimal heat-sinking) for what you could actually deliver into an 8 ohm load from a 9V supply (a bit less than 1.25Wrms at the speaker).
- Extraneous components. You don't need R5 and C3. That type of bypassing an emitter resistor is used when you need (for biasing reasons) AC gain to be much higher than DC gain. That isn't going to be the case for this amplifier.
- The input impedance is way too low - as it is currently biased.
- The output impedance is way too high - both as it is currently biased but also intrinsically too high for this application.
The last two points are the nub of this. You have chosen the wrong kind of amplifier for this job. A speaker is a low impedance load, it needs driving from an amplifier with an intrinsically low output impedance such as an emitter follower. By comparison a common emitter amplifier has an intrinsically high output impedance, dominated by the impedance of the collector resistor.
The usual choice for an amplifier to drive a speaker is a class B amplifier, but they are more complex and harder to design. They are chosen because they are more efficient than class A amplifiers (such as the common emitter amplifier and emitter follower) and waste less power as heat.
If you want to stick with this, I'd suggest that your best choice would be to use a single transistor common emitter amplifier with a voltage gain of between 2 and 3 (for your 1.5V peak input), followed by a simple single transistor emitter follower amplifier. The first stage will give you the voltage gain you need (and
some current gain), the second stage will give you the current gain you need to drive a low impedance load like a speaker.
If you want to take this further and design your own circuit I suggest you read the first two chapters of the fabled
The Art of Electronics (either the 2nd or 3rd editions) by Horowitz and Hill. That'll take you a couple of days or so. Once you've done that, revisit this and much of what I've said will have become clear to you on your own.
* Absolute maximum, in this context, means a figure that if exceeded with damage the part. It's a limit to be avoided, not a target to work towards achieving. Good, practical, circuits
de-rate components to keep them working as far away from maximum limits as is practicable.