Escolar Documentos
Profissional Documentos
Cultura Documentos
-------------*****-------------
1. Objectives
Measure the internal resistance of a signal source (e.g. an arbitrary waveform
generator).
Measure the output waveform of simple RC circuits excited by step functions.
Calculate and measure various timing parameters of switching waveforms (time
constant, delay time, rise time, and fall time) common in computer systems.
Compare theoretical calculations and experimental data, and explain any discrepancies.
2. Equipment used
2. Use the scope to display the signal Vout on channel 1, using DC coupling. Set the
horizontal
Time base to display 3 or 4 complete cycles of the signal.
3. Use the scope to measure the amplitude of Vout. Record this value in your report. Is it
the same as the amplitude displayed by the function generator? Explain any difference.
- The amplitude of Vout is (212mV)/2 = 106mV.
* It is smaller than the amplitude displayed. The reason is that the voltage is dropped by
the internal resistor Rs of the generator.
4. Vary the square wave amplitudes from 400 mV to 1 V, using 100 mV step size (e.g. the
amplitudes are 400 mV, 500 mV up to 1 V). Repeat step 3 to measure the amplitude of
Vout on the scope for each setting. Get a hardcopy for the case of 500 mV amplitude only.
R=50, Vs=500mV
5. Remove the 50 resistor and replace it with a 27 Kresistor. Repeat the steps 1
through 4 above. Observe and explain any difference insignal amplitudes when the
loading on the function generator is changed from50 to 27 K.
Source 400 500 600 700 800 900 1000
Amplitude 430 550 630 740 820 930 1040
For the case 500mV amplitude Vs: Vout = 550 mV
R=27K, Vs=500mV
- When R1= 27 kOhm, we can see that the value of Vout equals to the value of Vin.
This is because the value of R1 is too larger than the value of internal resistance in
the generator. When using the formula in the prelab 1, since R1 >> Rs, we can
consider that Rs is approximately zero. Therefore, the value of Vout is equal to the
value of Vin. In other words, when the value of R1 >> value of Rs, the value of Vout
is not be affected by the value of the internal resistance of the generator.
1. Build the circuit in Figure 2 using R = 10 K and C = 0.01 F. Set the arbitrary waveform
generator provide a square wave input as follows:
a. Frequency = 300 HZ (to ensure that T >> RC, T=1/f). This value of frequency guarantees
that the output signal has sufficient time to reach a final value before the next input
transition.
b. Set the Amplitude from 0 V to 5.0 V. Note that you need to set the offset to achieve
this waveform. Use the oscilloscope to display this waveform on Channel 1 to make sure
the amplitude is correct. We use this amplitude since it is common in computer systems.
c. Set both channel 1 and channel 2 to DC coupling.
2. Use Channel 2 of the oscilloscope to display the output signal waveform. Adjust the
timebase to display 2 complete cycles of the signals. Record the maximum and the
minimum values of the output signal
Vout falls :
time value of the 90%-point is
1.680 ms
4. Save a screenshot from the display with both waveforms and the measured values.
5. Measure the rise time of Vout, the fall time of Vout, and the two delay times tPHL and
tPLH between the input and output signals.
6. Save a screenshot from the display with both waveforms and the measured
values.
2. Display Vout on Channel 2 and adjust the time base to display 2 complete cycles of the
signals
Use the scope measurement capability to measure the two delay times tPHL and tPLH
between the input and output signals
tPHL = 220 s
tPLH =260 s
7.5 Manufacturing test time and test cost considerations
1. The more points you measure on a waveform, the more accurate the measured results
but this also takes more time and increases the test cost. This is an important tradeoff in
measurement accuracy and test cost. Given the circuit in Figure 2, ten data points per
waveform were collected in section 7.3 item 7. Good estimate means the estimated
value is within 10% of the correct value (from computation or simulation).
We should collect more than 10 points to extract a good estimate of the rise or fall time
of the circuit
2. The minimum number of data points do you need to collect to get a good estimate is
15. Other teams collect fewer points. We think their results are not better than ours.
8. Data analysis
8.1. Extracting internal resistance of an arbitrary waveform generator
1. Vout = R1/(R1+Rs) * Vs
R1 = 50 Vout = 50/(50+50) * 500 = 250 (mV)
R1= 27 k Vout = 2700/(2700+50) * 500 = 499.07 (mV)
This value doesnt agree with the recorded data in the lab.
2. From the data recorded in section 7.2 : Rs=50
3. The values for Vs (as displayed by an arbitrary waveform generator panel) and the
measured values on the scope are not the same.Because of the resistor of the wire and
the generator is not ideal.
8.2 Step response of first-order RC circuits
1. R = 10.013 k. C=0.01 F.
Vout = Vs (1 - e t/RC)
Voutmax = Vs = 5 (V) when t = T Voutmin= 0 (mV) when t = 0
Voutmax(measure)= 4.96V < 5V due to the existence of sources internal resistance.
2.
Calculated value Measured value
0->10%: t1 = -RC.ln 0.9 10.53 s 10 s
0->50%: t2 = -RC.ln 0.5 69.31 s 80 s
0->90%: t3 = -RC.ln 0.1 230.25 s 280 s
Error: 0->10% : 5.03%
0->50% : 15.42%
0->90% : 21.6%
Because the source has internal resistance so Req = Rs + R > R so t in practical is larger than
t in theory.
3.
Calculated value Measured value
t fall= t rise = t3 - t1 219.72s t rise=270 s, t fall= 260 s
tPHL=tPLH= t2 69.31s 80 s
( is time constant)
=RC=0.0001s
measured:0.000104658s
The difference in percent: 4.658%
.
5.
( is time constant)
=RC=0.0001
measured : 0.000110494s
The difference in percent with 4: 10.494 % greater than 4.658%
=RC therefore C= /R= 0.011035 F this value greater than the marked value
.
I Objectives
- Read IC component specifications and get data from them for circuit
analysis and design.
t =21.20s
4. Calculate the slew rate using this data and compare with the typical slew rate in the
specifications.
The slew rate is V/t = |(V10% -V90%)| / t = 10 V / 21.20s = 0.47V /s 0.5 V/s
It is approximate to the typical slew rate.
5. Are the slew rates the same for the high-to-low transition and the low-to-high
transition? If they are not, attempt to explain this difference in the data analysis section
below.
For the high-to-low transition, t1 = 32.80s. Similarly the calculating slew rate in part 4,
the slew rate for the high-to-low transition is 0.31 V/s
For the low-to-high transition, t2 = 21.20s. And the slew rate for the low-to-high
transition is 0.47 V/s. So, they are different
6. Save a screenshot
t = 32.80s
7. Clear all the measurements. Change the input signal to a sine wave with amplitude 3 V
(-3V to +3V peak-to-peak), frequency 1 KHz. Check the output signal to make sure the
voltage follower functions as expected. Now increase the frequency of the input signal
(keep the input amplitude the same) until the output signal starts to get distorted from a
sine or cosine wave. What is the frequency for the onset of this distortion?
The frequency is 1 KHz, Vpp input = 6.04V, Vpp output = 6.04V
Therefore, the voltage gain is 1. So it is the voltage follower function.
From the experiment, the voltage output starts to distort when the frequency is
approximate to 30 KHz, but we choose the figure when the frequency is 35 KHz to see
the distortion easily.
8. Save a screenshot.
2. Display Vout on Channel 2 and adjust the time base to display 2 complete
cycles of the signals.
The same image in part 1
3. Record the overall gain at this setting of R2 (i.e. record in a table the value of R2 and
the corresponding value of the voltage gain).
Vpp input = Vmax(1) Vmin(1) = 216 mV
Vpp output = Vmax(2) Vmin(2) = 2.16 V
So the overall voltage gain is 10
4. Now vary R2 to take on these values: 1 K, 2 K, 3 K up to 10 K at 1 K step.
At each setting of R2, measure the gain and record it in the same table for subsequent
plotting.
R2 (K) Voltage gain
1 1.0032 8.02
2 2.0015 6.02
3 3.0024 4.34
4 4.0105 2.14
5 5.0089 0.36
6 6.0076 -1.78
7 7.0012 -2.89
8 8.0091 -5.83
9 9.0015 -7.51
10 10.0101 -9.81
5. Get a hardcopy output from the scope display with both waveforms at each of these
settings of R2= 2 K and R2=8 K. Turn these hardcopies in as part of your lab report
R2 = 2 K, the voltage
gain is 6.02
R2 = 8 K, the voltage
gain is -5.83
7.4 Performance of your own gain circuit
1. Build the circuit you designed in the pre-lab, section 6.4 above. Use power
supplies 12 V. Apply a sine wave input signal with amplitude 100 mV (-100 mV
to + 100 mV peak-to-peak), frequency 10 Hz. Display the input signal on channel 1 of
the oscilloscope.
2. Use Channel 2 of the oscilloscope to display the output signal waveform. Adjust the
time base to display 2 complete cycles of the signals.
3. Collect sufficient data to show convincingly that your circuit performs as designed.
Turn in the data you collect (scope display of waveforms, tables of data points, plots,
etc.)
With =0
Circuit in 7.3, the voltage gain = 10
Our performance: The voltage gain = - 9.58
With =2 K
Circuit in 7.3: The voltage gain =
6.02
Our performance : The voltage gain
= 6.17
With =8 K
Circuit in 7.3 the voltage gain = -
5.83
*Our performance
The voltage gain = - 5.78
9 High to low: 32 s
2. Compare this plot with the plot using calculated data in the pre-lab section 6.3 item.
Explain any difference.
From the calculated data
From section 7.3
Comment: The measured values and the calculated values are nearly the same
2. How much data is sufficient to demonstrate the performance of your circuit? This
issue is critical in real-life testing. If too much data is collected, the test cost is higher and
the profit per product is lower. If too little data is collected, your circuit might not really
work as designed since it has not been well tested. So what is sufficient data for this
specific design? Justify your answer.
In our opinion, a set of three specific data is enough for the test. Since we know
that the gain is the first order function of R2, therefore it should be a line.
And 2 points give us a line. To make sure the result, three measured values are
enough for the test.
3. Analyze your data to demonstrate that the circuit works as designed. Show plots,
equations, differences between calculated and measured results, etc. Discuss in detail if
your circuit does not work as designed or if there are significant differences between the
theoretical and the measured results.
20(-) = 10-
Plot the gain as function of R2 from:
Measured gain value
Comment: The measure value is nearly same with the calculated values. We realize that
they share some common point. The shapes of these two pictures are quite similar.
CONCLUSION:
This report has discussed op-amps play an important role in the circuit, read component
specifications and process data of circuit in analysis and design. Analyze and measure
characteristics of circuits building with op-amps, Use the op-amp as a component in the
design of simple circuits and analyze the effect of open fault in manufacturing.
Remember that characteristics of the op-amps (slew rate, voltage gain, off-set voltage)
were also mentioned. Especially the Voffset of op-amp and solving Voffset. This report
show the difference between theoretical data and practical one. The data collected
correlated strongly to the hypotheses, percent errors reaching as so large but it are normal
in the lab.
Laboratory #3: Integrators, differentiators, and simple filters
I. Objectives
- Read IC component specifications and get data from them for circuit analysis and
design.
- Analyze and measure characteristics of circuits built with opamps.
- Use the op-amp as a component in the design of simple circuits.
- Analyze the effect of open fault in manufacturing.
2. Simulate this inverting amplifier circuit with SPICE to make sure the circuit works as
designed.
10 Design a non-inverting amplifier such that it has a gain of +11 (this gain is
positive). Pick resistor values that you have in the lab kit. Include a schematic of
this circuit with the component values labeled with your completed pre-lab
assignment.
Apply KCL:
11 Simulate this non-inverting amplifier circuit with SPICE to make sure the circuit
works as designed.
i =1V and =11V, the gain is 11 therefore the circuit works as designed.
4. For frequencies >> 1/(RbC), show that the circuit performs the function of an
integrator
The circuit performs nearly like the circuit in figure 2 which is an integrator circuit.
5. Use SPICE transient analysis to simulate this circuit in the time domain using a sine
wave input with amplitude 300 mV and frequency 300 Hz. From the SPICE output plot
of the input and output waveforms, confirm that this circuit is an integrator.
At frequency of 300Hz, voltage gain is reduced and can be seen significantly
R = 20k
Derive the equation for the amplitude of Vo(t) in terms of the input amplitude A, input
frequency , and circuit components R and C. Do not use any numerical values.
Note: there is no need to derive the output phase equation.
then the expression of Vout is the same as the case in figure 3.
The ratio of the output amplitude over the input amplitude is called the gain of the
circuit. From item 1 above, what is the equation for the circuit gain in terms of
input frequency and circuit components R and C? Do not use any numerical
values.
We have that:
G(dB)=100-10log(108+42f2)
f = 100Hz
CH1 is Vin
CH2 is Vout
7.3 Integrators
1. Build the circuit in Figure 4 with power supplies 12 V. Apply a sine wave input signal
with amplitude 300 mV and frequency 300 Hz. Display the input signal on channel 1 of
the oscilloscope.
2. Display Vo on Channel 2 and adjust the time base to display 2 to 3 complete cycles of
the signals.
3. Get a hardcopy output from the scope display with both waveforms to confirm that the
circuit is an integrator. Turn this hardcopy in as part of your lab report.
Real values: R = 1.034 k
Rb = 20.247 k
C = 0.2 F
4. Change the input signal to a square wave with the same 300 mV amplitude (300 mV to
+300 mV) and frequency 300 Hz. Get a hardcopy output from the scope display with
both waveforms to confirm that the circuit is still an integrator. Turn this hardcopy in as
part of your lab report
Figure 6. Output (blue) and input (yellow) waveforms with square input signal
5. Repeat item 4 above using a triangular input signal with same amplitude and
frequency. Turn this hardcopy in as part of your lab report
Figure 7. Output (blue) and input (yellow) waveforms with triangular input signal
6. Now change the input back to a sine wave as in item 1. Remove the resistor Rb. What
happens to the output signal? Explain the phenomenon you observe on the oscilloscope.
Reinsert the resistor Rb and verify that the circuit functions as designed.
Figure 11. Input (green) and Output (blue) signal in section 6.2.5
Difference: There is only small different between the SPICE output and the experimental
data. The result in practical is quite larger than the one in SPICE.
Explanation: The reasons are the errors in the experimental measurement while SPICE
get the result from the ideal condition. Besides, the errors in experimental devices is the
one of the reason why they are different.
With the experimental observation in section 7.3 items 6, explain the function of the
resistor Rb.
- Because capacitor acts as an open circuit for DC voltage, the integrator gives open
loop gain. This produces an error voltage at the output. The function of Rb is limiting
the low frequency gain and reducing error in the output voltage.
8.3 Low-pass filters
1. From the data in section 7.4 item 2, plot the gain (in dB) of the circuit as function of
frequency(using the technique described in the Discussion section) and compare it with
the plots in section 6.3 item 1 and in section 6.3 item 2 (SPICE plot). Explain any
differences between these 3 plots.
2 10.10 20.093
8
5 9.89 19.904
10 9.891 19.905
20 10.10 20.093
8
50 10.11 20.095
1K 8.462 18.549
2K 6.333 16.032
5K 3.461 10.785
I. Objectives
1. Design a filter from a given topology and specifications.
2. Analyze the characteristics of the designed filter.
3. Use SPICE to verify circuit designs before building the circuit.
4. Measure the characteristics of the designed filter.
IV. Disscusion
Asymmetric-digital-subscriber-line (ADSL) modems are commonly used for internet
connections with speed up to 100 times faster than 56K modems on existing phone lines.
They also permit simultaneous phone and modem usage. The transmit filter at the front
end of the ADSL modem is a very important circuit performing the following functions:
1. The transmit filter pre-processes the signal to limit its bandwidth. The filter output
drives the digital-to-analog converter interfacing with the telephone line.
2. The transmit filter usually is a bandpass filter to eliminate low-frequency noise and to
reduce interference in the receive band.
The starting point of all transmit filters in ADSL modems is the basic Sallen-Key filter
depicted in Figure 1. It has a minimum number of components and is simple to design.
The standard specifications are a passband from 1.7 KHz to 119 KHz, with a very steep
slope at higher frequencies to reduce interference.
To simplify the design for this laboratory, we will design a low-pass filter instead of a
bandpass filter. Several design procedures exist to select the component values to realize
a given specification. We will choose the simplest of these design procedures in this
experiment.
R4=R3
4. From the simplified equation in item 3, what is the expression for the 3-dB frequency in terms
of R and C? Since the 3-dB frequency is specified in section 6.2 to be 1 KHz, select the
component values for R and C. Hint: since the available capacitor values are more restricted than
the available resistor values, pick the capacitor value first then pick the resistor value to satisfy
the frequency specification. At this point, the design is completed since you have selected values
for all the components of the circuit in Figure 1.
We pick R=20k
5. Plot the gain (dB) and phase shift of the circuit as function of frequency from 10 Hz to 50 KHz.
From this plot, does your design have the correct values for the low-frequency gain and the 3-dB
frequency as specified? If it does not, it is not a good design and will need to be re-designed.
Plot gain
From this plot, the design has the correct values for the low-frequency gain and the 3-dB
frequency as specified.
Plot phase
7.2 BasicSallen-Keyfilter
- Build the circuit in Figure1 using power supplies 12V and the
component values from your design in the Pre-lab.
- Use a sine wave input with small amplitude so that the output is not
affected by the slew rate in this part. From the starting input frequency of 10Hz
and varying it using 1-2-5 sequence up to
50KHz(i.e.setinputfrequencyto10Hz,20Hz,50Hz,100Hz,200Hz, up to 50KHz).
Display the input and output waveforms (2completecycles) on the scope. For
each frequency setting above, measure the gain and phase shift of the circuit.
Near the specified 3-dB frequency of 1 KHz, take extra gain and phase shift
measurements at frequencies 800 Hz, 900 Hz, 1 KHz, 1.1 KHz, and 1.2 KHz so the
corner can be estimated accurately.
Frequency Vin (mV) Vout (mV) Gain (dB) Phase shift (agree)
10Hz
20Hz
50Hz
100Hz
200Hz
500Hz
1kHz
2kHz
5kHz
10kHz
20kHz
50kHz
Use a table to store the frequency, gain, and phase shift data from the
measurements in items 2 and 3 above.
Get a hard copy output from the scope display with both waveforms for each of
these 3 frequencies: 100 Hz, 1 KHz, and 10 KHz. Turn these 3 hardcopies in lab
report.
f = 100Hz
f = 1kHz
f= 10kHz
Section 7: Data analysis
8.1 Basic Sallen-Key filter
- From the table of data in item 4 section 7.2, plot the gain (dB) and phase shift of this
circuit versus frequency.
- Compare the experimental gain and frequency shift plots in item 1 above with the
calculated gain and phase shift plots from the pre-lab (item 5 section 6.3) and as
simulated by SPICE (item 6 section 6.3). Explain any differences between these plots.
The calculated gain and phase shift plots from the pre-lab (item 5 section 6.3) and as
simulated by SPICE (item 6 section 6.3) have the same shapes since the values of the
entire component are absolutely correct. Experimental gain and frequency shift plots in
item 1, even their shapes look quite similar to respective plots in the pre-lab and as
simulated by SPICE, there exists some different points. We have :
+ At low frequency, the gain signal is nearly constant still cut off frequency.
+ Due to error when we did in lab (the error of resistor, capacitor,), the plot taken
from actual data is not as smooth as it is in theoretical plots and when we simulate as
well.
Theoretical Value Practical Value
R1 2.2k 2.210k
R2 2.2k 2.230k
R3 10k 10.024k
R4 10k 10.020k
C1 0.01F 0.0114F
C2 0.01F 0.0110F
Table. The differences between theoretical and practical capacitance and resistance
+ About the Phase shift: At high frequency, since the period of signal is very small and
output signal distort a lot when we increase the frequency to 10 kHz, 20 kHz or 50 kHz.
Therefore we cannot measure exact value of phase delay.
3. Is the measured value of the 3-dB frequency the same as the frequency specification in
section 6.2? Explain any difference.
- No, it is not the. The measured cutoff frequency is about 900 Hz while the cutoff
frequency in section 6 is 1 kHz. The difference occurs because of the errors of the
equipment and devices.
4. Is the measured value of the low-frequency gain the same as the gain
specification in section 6.2? Explain any difference.
- No, it is not the same. The measured value of the low- frequency gain is higher than
the gain specification in section 6. The difference occurs because of the errors of the
equipment and devices.