Courtesy of SparkFun
The TSH82 Configurable OpAmp board was designed to allow for rapid prototyping using OpAmps. This board will give you high performance and design flexibility. The TSH82 device itself has 2 gain stages, each one independently accessible via header. Each stage is natively configured as an inverting amplifier, giving you a gain of -4.7 with AC input coupling. Stringing both stages together gives you a gain of about 22. But with the use of the jumpers on the back of the board, you can additionally configure each stage for non-inverting operation, differential input, and DC input coupling. The board will also operate with a single-ended DC power supply of 4.5V to 12V, or a bipolar supply from 2.25V to +/-6V.
In order to get signals in and out of the board, you’re going to have to solder some stuff together. You may not need everything on this list, depending on what you have. Add it to your cart, read through the guide, and adjust the cart as necessary.
In order to tailor the board to your specifications, you might want some other parts that we can offer.
You may also want to examine these signals in real time as you’re working with them, or maybe generate a signal to run through your opamp board.
If any of this is new to you, have a look through these - the OpAmp intro with LT Spice is particularly good as an opamp primer.
The TSH82 Configurable OpAmp Board is meant to be hacked on, so you’ll want to be familiar with the sections of the circuitry.
On the far left side of the board is the power and reference section, the middle section covers stage 1 of the amplifier, and the far right side has stage 2. Each section also has three corresponding pins directly below in the picture.
Power and Reference
Positive voltage goes into +VCC, and negative voltage (or ground) goes into -VEE. The board generates an onboard reference voltage by way of two 2.2k 1% resistors decoupled with 10.1uF, giving a value halfway between +VCC and -VEE with a low frequency cutoff of about 15Hz. If you need better performance, VREF is accessible from the header and can be driven to any voltage between +VCC and -VEE without damaging the board.
Power and reference
Stages One and Two
Electrically speaking, the stages are identical. The default configuration is inverting with a gain of -4.7 with a bandwidth of almost 10MHz. Signal input is on -IN1 and output is taken from OUT1 (or -IN2 and OUT2 for stage two). Input signals are AC coupled with 1.0uF caps, and the input impedance is 10K with a low frequency cutoff of 15.9Hz. Outputs are DC coupled, so don’t forget to add a capacitor to the output if you’re running a single-ended supply and need to strip out the DC component. Of course, this isn’t an issue if you’re running the output of stage 1 to the input of stage 2.
All Those Jumpers
On the back of the board you’ll find 10 solder jumpers that can be used to change the board’s performance, but nothing there needs to be changed to use it in it’s default state. To demonstrate how to use the jumpers, we’ll first describe their functions, then show you different circuit configurations with corresponding jumper settings. For the sake of clarity, it might be a good idea to have the schematic open for reference as you read through the jumper settings description.
Input signal path:
There are small traces within these jumpers to set the default inverting configuration that will have to be cut out if you wish to change to differential or non-inverting configurations.
AC vs DC coupling
As you can see, there are a lot of options. But if any of that leaves you confused, let us show you some workable configurations!
Inverting, Gain = -4.7, AC-coupled Input, 0-10V Supply (Default)
This is the easiest configuration to use as it requires no changes to the jumpers on the board.
In the picture below, the jumper settings for this default mode are highlighted for your reference. Note the small traces bridging the pads of the solder jumpers. If the board does not perform as expected, double check that these traces are still present. If they’re not, just replace them with a blob of solder to make the default connections as shown here.
+10VDC power input is on +VCC and ground is on -VEE. Vref will assume a value near +5V.
For stage 1, signal input is between -IN1 and -VEE, and output is taken between OUT1 and -VEE. It’s effectively the same for stage 2: signal input is between -IN2 and -VEE, and output is taken between OUT2 and -VEE. Each stage will give you a gain of -4.7, so to keep the output in the linear region your input signal can’t be more than 2.12Vpp, as calculated here:
(+VCC - (-VEE)) / (4.7) = 2.12Vpp
If you’re running both stages in sequence, that maximum becomes 453mVpp. If you’re not sure what your input signal magnitude is going to be, it’s probably a good idea to use a potentiometer at the input of your circuit.
Differential Input, Gain = 4.7, DC-coupled Input, 0-5V Supply
Note: This configuration will require you cut the traces out from solder jumpers 1 through 4!
Differential configuration gives the user the ability to compare two dynamic voltages rather than comparing one against a static reference. The jumper settings for differential configuration are as shown below.
The picture above shows both stages set up for differential operation with DC input coupling (jumpers 5-8 are set). Put your first signal input, V1, between +IN1 and ground, and put your second signal input, V2, between -IN1 and ground. +5V goes in on +VCC and ground goes to -VEE. Also, set Vref to 0V by connecting the Vref header pin to -VEE. Gain for the circuit is 4.7, as calculated here:
(47K/10K) * (V2-V1) = 4.7
And, of course, all of this also applies to stage 2, just transpose all the numbers in the pin names from 1’s to 2’s.
Non-inverting, Gain = 4.7, AC-coupled Input, 0-6V Supply
Note: This configuration will require you cut the traces out from solder jumpers 1 through 4!
While the classic non-inverting topology can’t be realized without replacing parts on the board, non-inverting functionality can be achieved by starting with the differential configuration and tying the inverting input to Vref. The jumper settings can be seen below.
The circuit is fully functional, but it’s got a couple of quirks that the user should be aware of before use. First, because this isn’t the “normal” non-inverting circuit topology, gain is about 4.7 instead of 5.7. Second, and for the same reason, there’s some input offset that you might have to deal with, but it’s not complicated. Specifically with this topology, Vref will normally sit halfway between +VCC (6V) and -VEE (0V), but the output will skew somewhat positive, to around 4V without any signal input. As a result, your output swing can only go +/-2V around Vref before it starts to clip, making your maximum allowable input signal about 851mVpp. If those numbers work for your design, then you’re good to go!
On the other hand, if you move Vref (covered in the next section) to about 1.6V, the output will come back to 3V and allow the full +/-3V output swing. Dividing by our gain of 4.7 gives us a maximum input signal of 1.28Vpp, which is still less than the 3.6Vpp allowable window created by moving the reference voltage.
Hacking the Board
Changing Gain or Bandwidth
By this time, you’ve probably asked yourself about those two missing components. “What’s up with that? Did I get a bum board?” Nope, those footprints are intentionally left open for you to change the circuit behavior. Primarily, we’re talking about augmentations of the inverting configuration, as achieving similar results otherwise would require replacing parts; do-able, but more work and probably not necessary.
In the schematic, the parts are shown as C4 for stage one (on the left) and C5 for stage 2 (on the right).
There are two easy things you can change about the circuits’ behavior using the C4 and C5 footprints. First, you can alter it’s high frequency cutoff by adding a capacitor, as calculated from
C = 1/(2 * pi * f * 47k)
where f is the desired cutoff frequency, and C is capacitance in farads. If you’re working with lower-frequency signals and you’re concerned about high-frequency noise, this is an addition you might consider.
The second thing you can do is to reduce the gain in order to increase the bandwidth by placing a resistor instead of a cap. Gain is calculated from
Av = - (47k || R) / 10K
where R is the new component. For example, if you place an additional 47k resistor it will reduce your gain by half (Av = 2.35), but it will increase your workable bandwidth to around 18MHz.
Dialing In your Reference
As described in the section on non-inverting functionality, you may have reason to move your reference voltage (Vref) around. The easiest way to do this is with a potentiometer with one end on -VEE, another on +VCC and the wiper on Vref (10k is a good choice). This puts the potentiometer in parallel with the 2.2k resistor divider that sets Vref natively and allows you to set the reference to any value easily.
The on-board reference voltage is heavily decoupled with tantalum and ceramic capacitors to keep noise low. But if you need it lower, you might consider using a dedicated voltage source as the reference instead of the 2.2k resistor divider provided. Just attach your source to -VEE (0V) and Vref (positive voltage).
Resources and Going Further
For more information, check out the resources below: