DOC PREVIEW
SJSU ME 106 - The Electronic Scale

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Electronic Scale Laboratory ©San José State University Department of Mechanical and Aerospace Engineering rev 2.2 31OCT2009 Page 1 of 7The Electronic Scale Learning Objectives By the end of this laboratory experiment, the experimenter should be able to: • Explain what an operational amplifier is and how it can be used in amplifying signal sources • Configure, build, and test several common amplifier types. • Explain what a Wheatstone bridge is and how it is used in measurement systems • Interface an analog signal source to an A/D converter on a microcontroller and write a program to determine its voltage • Build a digital electronic scale using strain gages, an amplifier, an A/D converter, and a microcontroller Components Qty. Item 1 ATmega16 microcontroller with STK500 interface board, and serial cable 1 Solderless breadboard 1 LF353 dual operational amplifier 1 INA126 instrumentation amplifier 1 Cantilever beam assembly with strain-gauges mounted on the top and bottom surfaces near the base 1 ea. 1 k resistor, 4.7 k resistor 2 ea. 10 kΩ resistors, 200 k resistors 1 ea. 1 kΩ trim pot, 100 kΩ trim pot 1 ea. 0.1 μF capacitor, 10 μF capacitor Introduction The Devices Figure 1 shows two common packages for operational amplifiers. The single package on the left contains one operational amplifier. The LF741 was one of the earliest IC op-amps and is still widely used. There are many, many varieties of op-amps available today (see http://focus.ti.com/lit/an/slod006b/slod006b.pdf for example). In this lab we will be dealing with op-amps designed for small signal amplification. There are also power op-amps that are designed to source or sink relatively large currents at relatively high voltages. Small-signal single op-amp IC’s are usually pin-compatible with the ‘741, but one should always check the data sheets to be sure. One of the op-amps we will use in this lab experiment is the LF353. It contains two independent op-amps as shown. Some op-amps come in quad-packages that contain four independent op-amps. Op-amps are active devices, which means they must be powered in order to function. The typical configuration for general purpose op-amps will use symmetrical positive and negative supply voltages (±VS) typically in the range between ±5 V and ±15 V. There are some op-amps that are designed to work with single-sided supplies, i.e., where –VS is ground, and +VS isElectronic Scale Laboratory ©San José State University Department of Mechanical and Aerospace Engineering rev 2.2 31OCT2009 Page 2 of 7typically +5 V to +15 V. There are other op-amps that can be operated at lower and higher supply voltages. 7 1 2 3 4 5 6 8 - + 7 1 2 3 4 5 6 8 ‘741 type, single LF353, dual Balance Balance - input + input - VS + VS Output N. C. Output AOutput B - VS + VS - input A + input A+ input B - input B A B - - ++ Figure 1 Examples of single and dual op-amp IC packages. The ‘741 was one of the earlier, but still very common, general purpose IC op-amps. Both the ‘741 and LF353 should be powered with symmetrical positive and negative power supplies (see their data sheets for maximum limits). We will use the LF353 dual op-amp in this experiment. Procedure 1. Design and construct an inverting amplifier (see Figure 2) with a gain of -20. Use a 10k resistor for R1. This will save you time later). Note the minus sign on the gain. The output polarity is inverted from the input. This is why it is called an “inverting amplifier.” What must the resistance of R2 be? Set up the power supply for voltages of ±12 V before connecting the power supply to the op-amp. Turn off the power supply before you wire it to the op-amp. It is always a good idea to do whatever wiring you need with all power to the circuit turned off. To test your circuit, first, set up the function generator with high-Z termination to output a 2 kHz sine wave with an amplitude of 100 mV peak-to-peak (p-p). Check the output of the function generator with the ‘scope first before you connect it to the amplifier. Then, connect the ‘scope probe from Channel 1 to the input of your amplifier circuit, and the ‘scope probe from Channel 2 to the output of the amplifier. Where should the ground clips of the scope probe be clipped? Before you attach the clips, turn to the last page to check your answer. R2R1VoutVin V+V-COM Figure 2 An inverting amplifier. The gain of the amplifier is -R2/R1. It is always a good idea to keep the leads to the inputs of the op-amp and the feedback loop short to minimize noise pickup. Now apply power to the circuit, and connect the function generator to the input of the amplifier. Compare the signals from Channel 1 and 2 displayed on the screen. Do theElectronic Scale Laboratory ©San José State University Department of Mechanical and Aerospace Engineering rev 2.2 31OCT2009 Page 3 of 7voltage peaks appear to be opposite each other? Does the amplitude of the output signal agree with your gain calculation? Increase the function generator amplitude until the op amp output appears to be chopped off at the peaks (also called, ‘clipped’). At what input amplitude is the output clipped? Explain why the output is clipped. 2. Using the other op-amp on the LF353, construct a non-inverting amplifier with a gain of 50 as shown in Figure 3. Let R1=1k, and use a 100 k trim pot for R2. The gain of this circuit is (R1+R2)/R1. R2R1VoutVinCOM Figure 3 A non-inverting amplifier. The gain of the amplifier is (R1+R2)/R1. Test this circuit in the same manner as before, then input a 10kHz square-wave with an amplitude of 0.5V p-p. Compare the two signals displayed on the screen. Are the voltage peaks synchronized? With a square-wave, how would you tell if the voltage peaks were being chopped off? Most importantly, what is the gain of this circuit? The Electronic Scale 3. Obtain a board with a cantilevered strain-gauge bracket from the instructor. These strain gauges convert mechanical strain into a proportional change in resistance. Here, we’re going to incorporate the strain gauges into a circuit called a Wheatstone bridge as shown in Figure 4. Basically, a Wheatstone bridge uses four resistors, which are grouped into two pairs and connected to a voltage supply. The resistors in each pair are identical in value to each other, but not necessarily equal to the resistors in the other pair. For example, one pair might consist of two 10k resistors, and the other two


View Full Document

SJSU ME 106 - The Electronic Scale

Download The Electronic Scale
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view The Electronic Scale and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view The Electronic Scale 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?