EE3300/EE5300 Electronics Applications
Week 1 Practical

Last updated 3 October 2025

Pre-lab preparation

Before the scheduled lab session, use circuit simulation software of your choice (e.g. LTSpice or another program) to create a model of this op-amp design. Carry out the intended measurement procedures in the simulation software so that you understand what to expect when you build the physical circuit.

Equipment (per student)

  • 1 x 2N3904 (small signal npn)
  • 2 x 2N3906 (small signal pnp)
  • 2 x DMMT3904W (matched pair of npn transistors)
  • plus standard electronics lab equipment and components.

Instructions to students

  • Work individually on these activities.
  • As you complete each task, capture your measurements (e.g. screenshot your oscilloscope results, write down numerical results, take photos of your breadboard, etc). There is a portfolio template at the end of this document. You need to complete every section.
  • Focus on neat circuit breadboarding. You must establish good habits now to avoid problems later when you are working on more complex circuits.
  • Include power supply decoupling capacitors, which are capacitors placed between each power rail and ground, in order to stabilise the voltage on that rail. The exact value of capacitance is usually not important. It’s typical to use ceramic capacitors in the range of 100 nF - 1 μF. Circuits that switch higher currents will require additional capacitors such as 10 - 100 μF electrolytics, added in parallel with the smaller capacitors.

A suggested layout for dual supply rails on a breadboard is shown in Figure 1.

Figure 1
Figure 1:

A suggestion for how to use dual supply rails on a breadboard.

Not shown here, but important to include, are ceramic capacitors placed close to sensitive components. Ceramic capacitors have good high-frequency performance.

The capacitors shown here are electrolytic, providing bulk capacitance of tens - hundreds of μF. Capacitance of this size would only be important if the circuit was switching high currents. If you use electrolytic capacitors, be careful to note that they are polarised, so pay attention to the negative signs on the case when connecting them.

Zoom:

Build the circuit

A basic three-stage op-amp is shown in Figure 2. Take a moment to familiarise yourself with this circuit. You should be able to recognise most of it. The input stage is a differential pair. Next comes a pnp common emitter amplifier, which if you are a npn enjoyer will look upside-down to you. Transistors and are what is called a push-pull stage, which is a circuit pattern that we will return to later in the context of power amplifiers.

The capacitor is called a “compensation capacitor.” Most real op-amps include a similar capacitor. Its purpose will become clearer when we study feedback stability in the coming weeks. For now, you can think of it as reducing the gain at high frequencies to prevent the op-amp from oscillating. You should first try the circuit without If you see spontaneous oscillation, then you can add a very small capacitor (e.g. 1 - 10 pF) to suppress high frequency gain and make the feedback look stable.

The load is split into two resistors because the point will be used to feed back a reduced version of the output signal. After all, this is (more or less) an op-amp, and most op-amp circuits use voltage dividers in the feedback path.

Figure 2
Figure 2:

A basic three-stage operational amplifier. The op-amp’s input pins are and .

Zoom:

You should first investigate this circuit in simulation, then build it on your breadboard. Having a simulation model will help you spot problems in your physical circuit because you’ll have a reference to compare against.

Use the following parts:

  • For transistors that must be a balanced pair, use the DMMT3904W. This is a package with two identical transistors on the same substrate, allowing discrete circuit designs to use balanced transistors.
  • For other transistors, use 2N3904 and 2N3906 for npn and pnp, respectively.

Note: the differential pairs will be destroyed if you apply incorrect voltages (e.g. of 15 V). Be very careful to check the pinout.

This is a complicated circuit for a breadboard, so it’s essential to be very neat and tidy and test as you go. Below is a suggested sequence.

  1. Set up your power rails including decoupling capacitors. We don’t show decoupling capacitors on the schematics because we want you to get into the habit to think about power quality in everything you build.

  2. Design an implementation of using a current mirror as shown in Figure 3. Test it in simulation and then on the bench to confirm that it sinks approximately the desired amount of current.

    Hint: for a quick current measurement, find the voltage across the resistors and use Ohm’s law.

    👉 Record your current mirror’s performance in the portfolio template.

    Figure 3
    Figure 3:

    A plausible implementation of the current source . Make sure that you use a balanced pair of transistors.

    Zoom:
    Show hint (I need help designing a current mirror)
    How to design a current mirror
    1. Choose an appropriate voltage to drop across the emitter degeneration resistor . Typical values would be to . Lower values improve the compliance of the current source (because less voltage headroom is wasted on the resistor) while higher values give better temperature stability and tolerance to variations in transistor properties (because the emitter degeneration resistor acts to stabilise the vs behaviour of the circuit).

    2. Since a current mirror has equal currents on both sides, you know the current that you want to flow in . Calculate the size of using Ohm’s law.

    3. Calculate the desired . You can either inspect the transistor datasheet for a plot of vs (saturation voltage) or you can use the Ebers-Moll model,

      If you are using the DMMT3904W, then . (You can find this value by looking in the properties for the 2N3904 in LTSpice, and assuming that the DMMT3904W is similar to the 2N3904.)

    4. Determine the required voltage at the transistor base (which equals the voltage at ’s collector), and therefore calculate the required size of to set the desired voltage.

    Don’t build any more of the circuit until you have tested your current sink and confirmed that it works.

  3. Build the differential pair and test it with a differential input signal. For now, use very slow sine waves (~ 1 kHz).

    👉 Record the differential pair’s response to small and large differential signals and save oscilloscope screenshots in the portfolio template.

    Figure 4
    Figure 4:

    Setup for introducing a differential signal (driving one input higher or lower than the other).

    Zoom:

    Make sure that your differential pair is working before you build any more of the circuit. The quizzes below help you confirm your understand so that you can think about what to look for.

    Self-Check Quiz 1

    Suppose is low enough that is completely cut off (conducting no current). What is the voltage output from the differential pair?

    Self-Check Quiz 2

    Suppose is high enough (or low enough) that is taking all of the tail current. What is the voltage output from the differential pair?

    Self-Check Quiz 3

    Based on the quiz answers above, which of the following statements is true?

  4. Build the gain stage (Q3 and its associated resistors).

    Test that the circuit works before proceeding. Apply a differential sine wave input signal and confirm that there is amplification. By now, the circuit will have so much gain that you’ll need to use a very tiny input signal to avoid clipping.

    👉 Record your oscilloscope screenshots in the portfolio template.

  5. Build the push-pull output stage (including 11 kΩ load). Again, apply a differential input signal and experiment with varying the input’s amplitude and frequency.

    👉 Wince at the crossover distortion and record screenshots in the portfolio template.

  6. Connect your baby op-amp in the non-inverting amplifier configuration. Take the feedback from the point so that you have an overall gain of 11. Does your circuit amplify the input signal by approximately 11 times? Marvel at the reduction in crossover distortion, at least for slow sine waves.

    👉 Record your oscilloscope screenshots in the portfolio template.

Solution

Click below to see an example of the final circuit and its measured performance.

Show solution

Figure 5 shows the final circuit constructed neatly on a breadboard, and Figure 6 shows the measured performance of the circuit.

You should aim to build your circuits with a similar level of neatness. Click here to see what happens when the construction is not as neat.

Figure 5
Figure 5:

Example breadboard construction, showing the stages which can be built and tested sequentially.

Zoom:
Figure 6
Figure 6:

Measured performance of the circuit shown in Figure 5 when operating as a non-inverting amplifier with a gain of 11. Channel 1 (yellow) is a 500 kHz, 1 V peak sine wave produced by a function generator. Channel 2 (blue) is the output from the home-made op-amp. The vertical scale is 5 V/div.

Zoom:

Portfolio template

Instructions: copy and paste the following template into a document. Answer each question as you work through the practical. Use these measurements when you ask to be marked off for this practical. You also need to include these results as part of your final portfolio submission at the end of the study period.

Current mirror performance

How much current does your current mirror sink? How much does the current vary when the voltage at Q2’s collector changes?

Differential pair performance

Record oscilloscope screenshots showing the differential pair’s response to a small sine wave (it should amplify the signal) and a large sine wave (it should saturate). How large can you make the input signal before the output starts to distort?

Gain stage

Record oscilloscope screenshots showing output from the gain stage when the input is a small sine wave. Estimate the gain of the circuit so far.

Crossover distortion when running open loop

Include an oscilloscope screenshot showing the crossover distortion when the op-amp is running without feedback.

Final closed loop performance

Include an oscilloscope screenshot showing the performance of the final circuit. Measure the performance at different input frequencies.

Discussion

Briefly discuss the following questions:

  • How does this circuit handle higher frequency sine waves? What about a square wave? Would you expect square waves to be more or less problematic?
  • Why did the crossover distortion in the output improve when you connected the feedback loop, at least for slow sine waves (e.g. ~ 1 kHz)? Strong hint: put an oscilloscope probe on the base of to observe the signal being fed into the push-pull stage, and compare it to the signal seen at the output. Explain what you see.
  • Are op-amps magic?

Conclusion

Your tutor will mark you off for completing this activity and being able to discuss the results. If you do not finish on time, bring your completed circuit and portfolio template to a subsequent lab session for marking.

When you leave, make sure that the lab is just as neat or even neater than when you arrived.

Acknowledgements

This activity was adapted from Lab 5 in Learning the Art of Electronics by Hayes and Horowitz.