Wave
Wave
Objectives
Describe the basic block diagram of several types of signal generators and analyzers commonly used. Explain the function and operation of signal generators such as function and pulse generator. Explain the function and operation of signal analyzers such spectrum and Fourier analyzer. p y
Introduction
A signal generator is very useful and important equipment in electronic troubleshooting and development. Applications of a signal gen.: pp g g checking the stage gain, S/N, bandwidth. checking the frequency response checking the alignment in receivers Oscillator provides sinusoidal signal only Converts a DC source to an AC energy (no energy is created). d) Usually built-in in the instrument. E.g: 1. Fixed freq normally at 1000c/s. 2. Variable freq 100kHz - MHz
3
Introduction
Generator provides several types of waveforms including sine wave, square wave, triangular wave, pulse trains, as well as amplitude modulation (AM) waveform. Available as a separate instrument. Provide signals for testing purposes (eg: radio transmitter & receiver). There are several requirements for signal generator : The frequency of the signal should be known and stable. The amplitude should be controllable from small to large values. The signal should be distortion-free.
Signal Generator
Table 1 shows the band limit of various types of signal provided by an RF generator.
Band AF RF VLF Very Low Frequency LF Low Frequency Broad Cast Video HF VHF UHF Microwave Table 1 Approximate Range 20Hz 20kHz Above 30kHz 15 100kHz 100 500kHz 0.5 1.5MHz DC 5MHz 1.5 30MHz 30 300MHz 300 3000MHz Beyond 3000MHz (3GHz)
5
Signal Generator
Signal Generator
Highest freq. ranges are provided by RF Oscillator (34MHz 80MHz). Lowest freq. ranges are obtained by using frequency divider. 34MHz 80MHz divided by 512 (29) 67kHz 156kHz.
Buffer amplifiers (B1, B2, B3) provide isolation between the master oscillator and power amplifier. Eliminates frequency effects (signal distortion) between input and output circuits.
Signal Generator
Compared to conventional std signal gen, modern signal gen uses same oscillator on all bands. Eliminates range switching effects. Master oscillator is tuned by a motor driven variable capacitor. Coarse freq. tuning 7% frequency changes per second. Fine tuning at 0.01% of the main dial. Modulation process is done at the power amplifier stage. Two internally generated signal are used (400Hz &1kHz) for modulation.
9
Function Generator
A function generator produces different waveforms of adjustable frequency.
Capable of producing various outputs at the same time (eg: a square wave to test an amplifier and a sawtooth to drive a CRO).
The common output waveforms are the sine, square, triangular, and sawtooth waves. The block diagram of a function generator is shown in Figure 3. Freq. Control regulates two currents sources (control the freq). Upper current source supplies constant current to the pp pp integrator, produces an output voltage that is increasing linearly with time. Lower current source supplies a reverse current to the integrator so that its output decreases linearly with time.
10
Function Generator
Function Generator
The integrator output voltage is given by :
V0 =
1 C
i dt
Freq is controlled by varying upper and lower currents. An increase or decrease in the current will increase or decrease the slope of the output voltage, hence controls the frequency. The voltage comparator changes states at a pre-determined maximum and minimum level of the integrator output voltage. When the pre-determined level is reached, it changes the state and switches the current source.
Figure 3: Function Generator
11
Function Generator
The integrator output is a triangular waveform whose frequency is determined by the magnitude of the constant current sources. The comparator output delivers a square wave of the same frequency. The resistance diode network produces a sine wave from the triangular wave with less than 1% distortion.
Function Generator
Square to sine converter
13
14
Function Generator
Figure 4 shows the circuit for a basic function generator. Vo1 is the square wave, Vo2 is the triangular wave, and Vo3 is the sine wave. wave The maximum amplitude of Vo2 is given by :
Example 1: Figure shows a basic function generator. A variable resistor, R is used to tune the required freq of the waveform and the circuit is supplied by a voltage of 10V. If R is tuned to the value of five times the R2 to produce a 1kHz triangular waveform with the amplitude equals to 0.8Vcc, find R1, R2 and R. Then, draw the output waveform at V01 and V02.
V02 =
R1 VCC R2
f =
1 4RC
R2 R 1
15 16
Pulse Generator
Pulse generators are instruments that produce a rectangular waveform similar to a square wave but with a different duty cycle. Duty D t cycle i given b : l is i by
Pulse Generator
Duty cycle =
A square wave generator has a 50% duty cycle. The basic circuit for pulse generation is the asymmetrical multi-vibrator. multi vibrator Figure 6 shows block diagram of a pulse generator.
17
18
Pulse Generator
The duty cycle can be varied from 25-75%. Two independent outputs:
50 - supplies pulses with a rise and fall time of 5ns at 5Vp. 600 - supplies pulses with a rise and fall time of 70ns at 30Vp.
Pulse Generator
The instrument can operate as a free-running or can be synchronized with external signal or circuit. Basic generating loop consists of the current sources, the g g p ramp capacitor, the Schmitt trigger, and the current switching circuit as shown in Figure 7.
19
20
Pulse Generator
Upper current source supplies a constant current to the ramp capacitor and the capacitor voltage increases linearly. When the positive slope of the ramp reaches the upper limit, Schmitt Trigger will change it state. S h itt T i ill h its t t
Reverses the condition of the current switch. Capacitor discharges linearly. (lower current source takes part)
Sweep Generator
Sweep frequency generators are instruments that provide a sine wave in the RF range. Its frequency can be varied smoothly and continuously over an entire frequency band. Figure 8 shows the block diagram of the sweep generator. The frequency sweeper provides a varying sweep voltage for synchronization to drive the horizontal deflection plates of the CRO. A sweep rate can be of the order of 20 sweeps/sec. Figure 9 shows the modulated sinewave by a voltagecontrolled oscillator (VCO).
21 22
When the negative slope of the ramp reaches the lower limit, upper current will control the circuit. The process is repeated. The ratio i1/i2 determines the duty cycle and is controlled by cycle, symmetry control. The sum of i1 and i2 determines the frequency. The size of the capacitor is selected by the multiplier switch.
Sweep Generator
Sweep Generator
23
24
26
Distortion Analyzer
Distortion the alteration of the original shape of a waveform. Function of distortion analyzer: measuring the extent of distortion (the o/p differs from the waveform at the i/p) introduced by the active or passive devices devices. An amplitude distorted sine wave is made up of pure sine wave components, including the fundamental frequency, f of the input signal, and harmonic multiples of fundamental frequency, 2f, 3f, 4f, etc. Harmonic distortion can be measured accurately using harmonic distortion analyzer, generally called a distortion analyzer. The total harmonic distortion (THD) is given by :
Distortion Analyzer
The total harmonic distortion (THD) can also be written as :
THD =
2 E 2 + E 3 + ... + E 2 2 n
Ef
THD =
where THD = the total harmonic distortion Ef = the amplitude of fundamental frequency including the harmonics E2,E3 ,En = the amplitude of the individual harmonics
28
Distortion Analyzer
Example 1: Compute the THD of a signal that contains a fundamental signal of Ef = 10Vrms , harmonics E2 = 3Vrms , E3 = 1 .5Vrms , and E4 = 0.6Vrms . Solution :
A sinusoidal signal is applied to a circuit that introduces the second, fourth and sixth harmonics. If the amplitude of the primary signal has an rms value of 5V and the second, fourth and sixth harmonics have rms values of 1V, 0.4V and 0.1V respectively, what is the total harmonic distortion? A wave analyzer is used to determine the harmonics present in a signal. Only the fifth harmonic was found to be present and its amplitude was 0.4Vrms. If the fundamental frequency had an amplitude of 4Vrms, what was the total harmonic distortion? The total harmonic content of a signal is 20% and contains only the fundamental, first, third and fifth harmonics. If the rms values of the third, fifth and seventh harmonics are 2 V, 0.8V and 0.16V respectively, what is the rms value of the fundamental frequency?
2.
3.
29
30
Wave Analyzer
A harmonic distortion analyser measures the total harmonic content in a waveform. Any complex waveform is made up of a fundamental and its harmonics. Wave analyzer is used to measure the amplitude of each harmonic or fundamental frequency individually. Wave analyzers are also referred to as frequency selective voltmeters, carrier frequency voltmeters, and selective level voltmeters. The instrument is tuned to the frequency of one component whose amplitude is measured measured. Some wave analyzers have the automatic frequency control which tunes to the signal automatically.
Wave Analyzer
31
32
Wave Analyzer
Figure 9.1 (textbook) shows a basic wave analyzer. The analyzer consists of a primary detector, which is a simple LC circuit circuit. The LC circuit is adjusted for resonance at the frequency of the particular harmonic component to be measured. It passes only the frequency to which it is tuned and provides a high attenuation to all other frequencies. The full wave rectifier is used to get the average value of the input signal. The indicating device is a simple dc voltmeter that is calibrated to read the peak value of the sinusoidal input voltage.
The distortion caused by the third harmonic is found to be 3.33% by using a wave analyzer. The total harmonic distortion y when measured with a distortion analyzer is found to be 3.5%. If the rms value of the fundamental is 18V and if only the third and fifth harmonics are present, what is the rms value of the fifth harmonic? Using a spectrum analyzer, we observe a signal to contain the third, fifth and seventh harmonics in addition to the fundamental. If th thi d h the third harmonic equals 0 2 ti i l 0.2 times th f d the fundamental, th fifth t l the harmonic equals 0.3 times the third harmonic, and the seventh harmonic equals 0.24 times the fifth harmonic, what is the total harmonic distortion?
2.
33
34
35
36
Spectrum Analyzer
Oscilloscope is used to display and measure signal in a timedomain. It is also useful to display signal in the frequency domain. The instrument providing this frequency domain view is the spectrum analyzer. A spectrum analyzer display signal on its CRT with frequency on the horizontal axis and amplitude (voltage) on the vertical axis. Spectrum analyzers use either a parallel filter bank or a swept frequency technique.
37
38
Spectrum Analyzer
Spectrum Analyzer
In a parallel filter bank analyzer, the frequency range is covered by a series of filters whose central frequencies and y p bandwidth are so selected that they overlap each other. See Figure 9.9(a) textbook. For the RF or microwave signals, the swept technique is preferred. Figure 9.9(b) shows the block diagram of a spectrum analyzer using swept receiver design. In the figure, the sawtooth generator provides the sawtooth voltage which drives the horizontal movement of the scope and the frequency controlled element of the voltage tuned oscillator.
39 40
10
Spectrum Analyzer
Spectrum Analyzer
41
42
Spectrum Analyzer
The voltage tuned oscillator will sweep from fmin to fmax of its frequency band at a linear recurring rate. The frequency component and voltage tuned oscillator frequency beats together to produce a difference frequency, i.e. IF (intermediate frequency). This IF will be amplified and displayed on the CRT screen of the spectrum analyzer. Figure 9.10, 9.11, and 9.12 (textbook) shows the spectrum produced if th i d d the input wave i a single t t is i l toned A M signal. d A.M. i l
43
44
11
45
46
Logic Probe
A logic probe is a tool used in digital-circuitry troubleshooting. It is employed to trace logic levels and pulses through integrated circuitry to determine whether the point under test is logic high, low, bad level, open circuited, or pulsing. When the probe is touched to a high level point, a bright light appears around the probes tip, and the light goes out when it is touched on a low level point. Figure 14.18 (Larry textbook) shows a block diagram of the logic probe circuitry and its response to different inputs.
48
12
Logic Probe
49
13