Upcoming SlideShare
×

lmece407

1,615

Published on

lab manual

1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total Views
1,615
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
33
0
Likes
1
Embeds 0
No embeds

No notes for slide

lmece407

2. 2. Experiment No 1OBJECTBy the use of the slotted line a) To determine the unknown frequency b) To determine the Voltage Standing Wave Ratio (VSWR) and Reflection Coefficient.APPARATUSTransmitter Mod MW-TX,One slotted line MW-5.Loads of different values (OC,SC,75Ω,50Ω,100Ω)RF cable (Zo=75Ω)VoltmeterTHEORYWhen power is applied to transmission line, voltage & current appear. If Z L=ZO, load absorbsall power & none is reflected. If ZL≠ZO, some power is absorbed & rest is reflected. We haveone set of Voltage & Current waves traveling towards load & a reflected set traveling back togenerator. These sets of traveling waves, in opposite directions, set up an interference patterncalled Standing Waves. Maxima (antinodes) & minima (node) of Voltage & Current occur atfixed positions.The slotted line is used to measure voltage and current directly on the various sections of acoaxial line, as by the slot you can enter the electrical and magnetic fields between the twoconnectors constituting the coaxial line.In presence of standing wave, the voltage (or current) maximum and minimum value can beeseen; the distance between a maximum and the adjacent minimum is equal to one fourth thewave length; the speed factor of the line is equal to1 because the dielectric is air. Once thespeed factor is known, by measuring the distance between two minima and multiplying it bytwo, it is possible to obtain the frequency of the signal applied to the slotted line, if this isunknown.The standing wave ratio (SWR) is equal to the ratio to the maximum to the minimum value;in fact, on the maximum, the direct and reflected wave value (of voltage and current) areadded and on the minimum are subtracted. If the reflected wave does not exist, voltage andcurrent keep constant along all the line and their ratio is equal to the characteristic impedanceZo; the SWR is equal to 1. Such a line is called a flat line.The output power of the generator, tuned to the lowest frequencies (for example 701.5 MHz),must be regulated to the maximum, connect the output of the generator to the
3. 3. slotted line with 75 Ω cable, 1 m long, connect 75 Ω to the other end of the slotted line: the line is thus terminated on its characteristic impedance. If the machining is perfect, by moving the probes along the slotted line the signal amplitude will keep almost constant any way there may be variations which are due to the connectors or to slight variation of the probes alignment. Change the termination of 75 Ω with a 50 Ω and measure the voltage along the line: it has stronger minimum and maximum values than the last ones. Check if the distance between minimum and maximum is equal to ¼ the wavelength, in other words by varying the frequency and repeating measurement, you can observe how the distance between max an min is longer or shorter if you decrease or increase the frequency repeat the exercise with termination of 100 ohmNote that, with the help of slotted line, you can distinguish if the load is greater or smaller than thecharacteristic impedance of the line, In fact, with 100 ohm the voltage minimum is at ¼ wavelength from the load, while on the load there is a maximum; with 50 ohm, the voltage minimum ison the load. PROCEDURE 1. Connect the generator (transmitter) to the slotted line through RF cable. 2. Terminate the line by attaching a load (ZL) on other end of line. 3. Insert probes of voltmeter in the slots provided on the trailer of the slotted line. 4. Turn on the generator and excite the cable with RF waves. 5. Move the trailer on the slotted line. Positions of maximum & minimum voltage appear alternately on the slotted line. 6. Note down the max & min values of voltage. 7. Also note down the positions of the voltage minima and voltage maxima on the scale 8. Determine VSWR by the following formula: Measured VSWR= V max / V min 9. Determine the calculated VSWR by the formula:
4. 4. VSWR = 1 + Г 1-Г where Г= ZL – Z0 ZL + Z0 10. Calculate the unknown frequency with the help of the following formula. λ / 2 =distance between consecutive V maxima or minima f=c/λ 11. Repeat same procedure for different loads (ZL). OBSERVATIONSFrequency of incident wave =CALCULATIONS RESULT PRACTICAL NO 2
8. 8. PRACTICAL NO 3OBJECTTo study the effect of thickness of conductors upon the bandwidth of dipole.APPARATUSElectronica Veneta (turntable) with standField meter SFM 1 EVMicrowave generator75ohm coaxial cableBasic dipole antenna short thick conductors (8mm)Basic dipole antenna Short Thin dipole (3mm)THEORYDipole:It consists of two poles that are oppositely charged.Dipole antenna:The simple dipole is one of the basic antennas. It is an antenna with a center-fed drivenelement for transmitting or receiving radio frequency energy. This is the directed antenna i.e.radiations take place only forward or backward. Its characteristic impedance is 73Ω.Half wave dipole:Half wave dipole is an antenna formed by two conductors whose total length is half the wavelength. In general radio engineering, the term dipole usually means a half-wave dipole(center-fed).Thin and thick dipoleTheortically the dipole length must be half wave; this is true if the wavelength/conductor’sdia ratio is infinite. Usually there is a shortening coefficient K (ranging from0.9-0.99)according to which the half wavelength in free space must be multiplied by K inorder to have the half wave dipole length, once the diameter of the conductor to be used isknown.(refer fig)Bandwidth:The range of frequencies in which maximum reception is achieved.Effect of thickness:By increasing the conductor diameter in respect to the wavelength, the dipole characteristicimpedance will increase too in respect to the value of 73Ω. On the other hand outside thecenter frequency range, the antenna reactance varies more slowly in a thick than in a thickantenna.This means, with the same shifting in respect to the center frequency, the impedance of anantenna with larger diameter is more constant and consequently the SWR assumes lowervalues. Practically the BANDWIDTH is wider.
9. 9. PROCEDURE1. Construct a dipole with arms of 3mm diameter (short) and mount on the central support of the tuntable.2. Set the antenna and instruments as shown in figure.3. Set the generator to a determinate output level and to the center frequency of the antenna under test. 701.5 MHz for measurements with short (thick or thin dipole)4. Adjust the dipole length and sensitivity of the meter to obtain the maximum reading (10 th LED glowing)5. Now decrease the frequency up to the value such that the 10 th LED keeps on glowing. Note the value as f2.6. Now increase the frequency up to the value such that the 10 th LED keeps on glowing. Note the value as f1.7. Note down the difference between these two frequencies, this will be the bandwidth
10. 10. 8. Calculate the wavelength for the resonance frequency of around 700 MHz for short dipoleusing the formula f/c=λ9. The ratio used for calculating the shortening coefficient is 2/λ where d=dia of conductor11. From graph obtain a shortening coefficient K.12. Calculate the physical length of Dipole and compare with the measured length.Physical length of half wavelength dipole= x K13. Construct a dipole with arms of 8mm diameter (short).14. Repeat the same procedure for thick dipole.OBSERVATIONS & CALCULATIONSResonant frequency= MHzf/c=λ= 300/ = cmMeasured length of short dipole thin= 220mmMeasured length of short thick dipole=195mmTHIIN dipole: d=The ratio used for calculating the shortening coefficient is (with a dia of 3mm)=d2/λK=From graph we obtain a coefficient. of 0.960 for the thin dipolePhysical length of half wavelength dipole= x K=THICK dipole: d=The ratio used for calculating the shortening coefficient is with a diameter of 8mm=d2/λK=From graph we obtain a coefficient of 0.947 for thick dipoleCalculated physical length of half wavelength dipole= x K=(These values refer to a dipole in air. Actually the dipole under consideration is not totally inair because for mechanical reasons, its internal part is in a dielectric. This slightly increasesthe resonance frequency.)RESULTWith the same shifting in respect to the center frequency, the impedance of an antenna withlarger diameter is more constant and consequently the SWR assumes lower values.Practically the BANDWIDTH is wider. In other words increasing the thickness of conductorhas an effect upon the bandwidth of the dipole.Thicker the conductor larger would be the bandwidth.
11. 11. PRACTICAL NO 4OBJECT OBUnderstand the terms ‘baying’ and ‘stacking’ as applied to antennas. UnTo investigate stacked and bayed yagi antennas. ToTo compare their performance with a single yagi.THEORYYagi antennas may be used side-by-side, or one on top of another to give greater gain ordirectivity. This is referred to as baying, or stacking the antennas, respectively.PROCEDURE (A)Baying Two Yagis1. Connected up the hardware of AntennaLab.2. Loaded the Discovery software.3. Loaded the NEC-Win software.4. Ensure that a Yagi Boom Assembly is mounted on the Generator Tower.5. Building up a 6 element yagi. The dimensions of this are: Length Spacing Reflector 11 cm 5cm behind driven element Driven Element 10 cm Zero (reference) Director 1 8.5 cm 2.5 cm in front of DE Director 2 8.5 cm 5 cm in front of D1 Director 3 8.5 cm 5 cm in front of D2 Director 4 8.5 cm 5 cm in front of D36. Plot the polar response at 1500 MHz.7. Without disturbing the elements too much, remove the antenna from the Generator Tower.8. Identify the Yagi Bay base assembly (the broad grey plastic strip with tapped holes) and mount this centrally on the Generator Tower.
12. 12. 9. Mount the 6 element yagi onto the Yagi Bay base assembly at three holes from the centre.10. Assemble an identical 6 element yagi on the other Yagi Boom Assembly and mount this on the Yagi Bay base assembly at three hole the other side of the centre, ensuring that the two yagis are pointing in the same direction (towards the Receiver Tower).11. Identify the 2-Way Combiner and the two 183mm cables.12. Connect the two 183mm cables to the adjacent connectors on the Combiner and their other ends to the two 6 element yagis.13. Connect the cable from the Generator Tower to the remaining connector on the Combiner.14. Acquire a new plot for the two bayed antennas onto the same graph as that for the single 6 element yagi.15. Reverse the driven element on one of the yagis and acquire a third plotOBSERVATIONSDoes reversing the driven element make much difference to the polar pattern for thetwo bayed yagis?___________________________________________________________________________How does the directivity of the two bayed yagis compare with the single yagi plot (withthe driven element the correct way round)?___________________________________________________________________________How does the forward gain of the two bayed yagis compare with the single yagi plot(with the driven element the correct way round)?___________________________________________________________________________Now, move the two yagis to the outer sets of holes on the Yagi Bay base assembly. Ensurethat you keep the driven elements the same way round as you had before to give the correctphasing.Superimpose a plot for this assembly.How do the directivity and forward gain of the wider spaced yagis compare with theclose spaced yagis?___________________________________________________________________________
13. 13. (B) Stacking Two Yagis1. Identify the Yagi Stack base assembly (the narrow grey plastic strip with tapped holes) and mount this on the side of the Generator Tower.2. Mount the 6 element yagi onto the Yagi Stack base assembly at one set of holes above the centre.3. Plot the polar response at 1500 MHz.4. Mount the other 6 element yagi on the Yagi Stack base assembly at the uppermost set of holes, ensuring that the two yagis are pointing in the same direction (towards the Receiver Tower)5. Identify the 2-Way Combiner and the two 183mm coaxial cables.6. Connect the two 183mm cables to the adjacent connectors on the Combiner and their other ends to the two 6 element yagis.7. Connect the cable from the Generator Tower to the remaining connector on the Combiner.8. Superimpose the polar plot for the two stacked antennas onto that for the single 6 element yagi.9. Reverse the driven element on one of the yagis and superimpose a third plot.10. Change the position of the lower yagi to the bottom set of holes on the Yagi Stack base assembly. Ensure that the driven elements are correctly phased and superimpose a fourth polar plot.OBSERVATIONSHow does the directivity of the different configurations compare?___________________________________________________________________________How does the forward gain of the stacked yagis compare with the single yagi?___________________________________________________________________________How does the forward gain of the stacked yagis change when the driven elementphasing is incorrect?___________________________________________________________________________RESULT
14. 14. PRACTICAL NO 5OBJECTImplementation of Time Division Multiplexing system using matlab/simulinkTHEORYTime-division multiplexing (TDM) is a type of digital or (rarely) analog multiplexing in which two ormore signals or bit streams are transferred apparently simultaneously as sub-channels in onecommunication channel, but are physically taking turns on the channel. The time domain isdivided into several recurrent timeslots of fixed length, one for each sub-channel. A sample byteor data block of sub-channel 1 is transmitted during timeslot 1, sub-channel 2 during timeslot 2,etc. One TDM frame consists of one timeslot per sub-channel plus a synchronization channel andsometimes error correction channel before the synchronization. After the last sub-channel, errorcorrection, and synchronization, the cycle starts all over again with a new frame, starting with thesecond sample, byte or data block from sub-channel 1, etcFor multiple signals to share one medium, the medium must somehow be divided, giving eachsignal a portion of the total bandwidth.The current techniques that can accomplish this include • Frequency division multiplexing (FDM) • Time division multiplexing (TDM)-Synchronous vs statistical1 • Wavelength division multiplexing (WDM) • Code division multiplexing (CDM)Multiplexing:Two or more simultaneous transmissions on a single circuit Figure 5 MultiplexingMultiplexor (MUX)Demultiplexor (DEMUX)Time Division Multiplexing:Sharing of the signal is accomplished by dividing available transmission time on a medium amongusers.Digital signaling is used exclusively. Time division multiplexing comes in two basic forms:1. Synchronous time division multiplexing, and2. Statistical, or asynchronous time division multiplexing.Synchronous Time Division Multiplexing:The original time division multiplexing, the multiplexor accepts input from attached devices in around-robin fashion and transmits the data in a never ending pattern.T-1 and ISDN telephone lines are common examples of synchronous time division multiplexing.If one device generates data at a faster rate than other devices, then the multiplexor must eithersample the incoming data stream from that device more often than it samples the other devices,or buffer the faster incoming stream.If a device has nothing to transmit, the multiplexor must still insert a piece of data from that deviceinto the multiplexed stream. So that the receiver may stay synchronized with the incomingdata stream, the transmitting multiplexor can insert alternating 1s and 0s into the data stream.Three types popular today of Synchronous Time Division Multiplexing: • T-1 multiplexing (the classic) • ISDN multiplexing • SONET (Synchronous Optical NETwork)
15. 15. The T1 (1.54 Mbps) multiplexor stream is a continuous series of frames of both digitized data andvoice channels.The ISDN multiplexor stream is also a continuous stream of frames. Each frame contains variouscontrol and sync infoSONET – massive data ratesStatistical Time Division Multiplexing:A statistical multiplexor transmits only the data from active workstations (or why works when youdon’t have to). If a workstation is not active, no space is wasted on the multiplexed stream. Astatistical multiplexor accepts the incoming data streams and creates a frame containing only thedata to be transmitted.To identify each piece of data, an address is included. If the data is of variable size, a length isalso included. More precisely, the transmitted frame contains a collection of data groups.A statistical multiplexor does not require a line over as high a speed line as synchronous timedivision multiplexing since STDM does not assume all sources will transmit all of the time!Good for low bandwidth lines (used for LANs)Much more efficient use of bandwidth!Matlab code for TDM:% *********** Matlab code for Time Division Multiplexing *************clc;close all;clear all;% Signal generationx=0:.5:4*pi; % siganal taken upto 4pisig1=8*sin(x); % generate 1st sinusoidal signall=length(sig1);sig2=8*triang(l); % Generate 2nd traingular Sigal% Display of Both Signalsubplot(2,2,1);plot(sig1);title(Sinusoidal Signal);ylabel(Amplitude--->);xlabel(Time--->);subplot(2,2,2);plot(sig2);title(Triangular Signal);ylabel(Amplitude--->);xlabel(Time--->);% Display of Both Sampled Signalsubplot(2,2,3);stem(sig1);title(Sampled Sinusoidal Signal);ylabel(Amplitude--->);xlabel(Time--->);subplot(2,2,4);stem(sig2);title(Sampled Triangular Signal);ylabel(Amplitude--->);xlabel(Time--->);l1=length(sig1);l2=length(sig2); for i=1:l1 sig(1,i)=sig1(i); % Making Both row vector to a matrix sig(2,i)=sig2(i); end% TDM of both quantize signaltdmsig=reshape(sig,1,2*l1);% Display of TDM Signalfigure
16. 16. stem(tdmsig);title(TDM Signal);ylabel(Amplitude--->);xlabel(Time--->);% Demultiplexing of TDM Signaldemux=reshape(tdmsig,2,l1);for i=1:l1 sig3(i)=demux(1,i); % Converting The matrix into row vectors sig4(i)=demux(2,i);end% display of demultiplexed signalfiguresubplot(2,1,1)plot(sig3);title(Recovered Sinusoidal Signal);ylabel(Amplitude--->);xlabel(Time--->);subplot(2,1,2)plot(sig4);title(Recovered Triangular Signal);ylabel(Amplitude--->);xlabel(Time--->);Results: Sinusoidal Signal Triangular Signal 10 8 5 6 Amplitude---> Amplitude---> 0 4 -5 2 -10 0 0 10 20 30 0 10 20 30 Time---> Time---> Sampled Sinusoidal Signal Sampled Triangular Signal 10 8 5 6 Amplitude---> Amplitude---> 0 4 -5 2 -10 0 0 10 20 30 0 10 20 30 Time---> Time--->
17. 17. TDM Signal 8 6 4 2 Amplitude---> 0 -2 -4 -6 -8 0 10 20 30 40 50 60 Time---> Recovered Sinusoidal Signal 10 5Amplitude---> 0 -5 -10 0 5 10 15 20 25 30 Time---> Recovered Triangular Signal 8 6 Amplitude---> 4 2 0 0 5 10 15 20 25 30 Time--->
18. 18. PRACTICAL NO 6OBJECTImplementation of pulse code modulation and demodulation using matlab/simulinkTHEORYANALOG-TO-DIGITAL CONVERSION:A digital signal is superior to an analog signal because it is more robust to noise and can easilybe recovered, corrected and amplified. For this reason, the tendency today is to change ananalog signal to digital data. In this section we describe two techniques, pulse code modulationand delta modulationPulse code Modulation (PCM):Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals,which was invented by Alec Reeves in 1937. It is the standard form for digital audio in computersand various Blu-ray, Compact Disc and DVD formats, as well as other uses such asdigital telephone systems. A PCM stream is a digital representation of an analog signal, in whichthe magnitude of the analogue signal is sampled regularly at uniform intervals, with each samplebeing quantized to the nearest value within a range of digital steps.PCM consists of three steps to digitize an analog signal: 1. Sampling 2. Quantization 3. Binary encoding  Before we sample, we have to filter the signal to limit the maximum frequency of the signal as it affects the sampling rate.  Filtering should ensure that we do not distort the signal, ie remove high frequency components that affect the signal shape. Figure 6.1 Components of PCM encoderSampling: • Analog signal is sampled every TS secs. • Ts is referred to as the sampling interval. • fs = 1/Ts is called the sampling rate or sampling frequency. • There are 3 sampling methods: – Ideal - an impulse at each sampling instant – Natural - a pulse of short width with varying amplitude – Flattop - sample and hold, like natural but with single amplitude value • The process is referred to as pulse amplitude modulation PAM and the outcome is a signal with analog (non integer) values •
19. 19. According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency contained in the signal.Quantization: • Sampling results in a series of pulses of varying amplitude values ranging between two limits: a min and a max. • The amplitude values are infinite between the two limits. • We need to map the infinite amplitude values onto a finite set of known values. • This is achieved by dividing the distance between min and max into L zones, each of height ∆. ∆ = (max - min)/LQuantization Levels: • The midpoint of each zone is assigned a value from 0 to L-1 (resulting in L values) • Each sample falling in a zone is then approximated to the value of the midpoint.Quantization Error: • When a signal is quantized, we introduce an error - the coded signal is an approximation of the actual amplitude value. • The difference between actual and coded value (midpoint) is referred to as the quantization error. • The more zones, the smaller ∆ which results in smaller errors. • BUT, the more zones the more bits required to encode the samples -> higher bit rateQuantization Error and SNQR: • Signals with lower amplitude values will suffer more from quantization error as the error range: ∆/2, is fixed for all signal levels. • Non linear quantization is used to alleviate this problem. Goal is to keep SNQR fixed for all sample values. • Two approaches: • The quantization levels follow a logarithmic curve. Smaller ∆’s at lower amplitudes and larger ∆’s at higher amplitudes. • Companding: The sample values are compressed at the sender into logarithmic zones, and then expanded at the receiver. The zones are fixed in height.Bit rate and bandwidth requirements of PCM: • The bit rate of a PCM signal can be calculated form the number of bits per sample x the sampling rate Bit rate = nb x fs • The bandwidth required to transmit this signal depends on the type of line encoding used. Refer to previous section for discussion and formulas. • A digitized signal will always need more bandwidth than the original analog signal. Price we pay for robustness and other features of digital transmission.PCM Decoder: • To recover an analog signal from a digitized signal we follow the following steps: • We use a hold circuit that holds the amplitude value of a pulse till the next pulse arrives. • We pass this signal through a low pass filter with a cutoff frequency that is equal to the highest frequency in the pre-sampled signal. • The higher the value of L, the less distorted a signal is recovered.
20. 20. Matlab code of PCM:%********PCM**************************************************%the uniform quantization of an analog signal using L quantizaton levels%%****implemented by uniquan.m function of matlab%(uniquan.m)function [q_out,Delta,SQNR]=uniquan(sig_in,L)%usage% [q_out,Delta ,SQNR]=uniquan(sig_in,L)% L-number ofuniform quantization levels% sig_in-input signalvector% function output:% q_out-quantized output% Delta-quantization interval% SQNR- actual signal to quantization ratiosig_pmax=max(sig_in); % finding the +ve peaksig_nmax=min(sig_in); % finding the -ve peakDelta=(sig_pmax-sig_nmax)/L; % quantization intervalq_level=sig_nmax+Delta/2:Delta:sig_pmax-Delta/2; %define Q-levelsL_sig=length(sig_in); % find signal lengthsigp=(sig_in-sig_nmax)/Delta+1/2; % convert int to 1/2 to L+1/2 rangeqindex=round(sigp); % round to 1,2,.....L levelsqindex=min(qindex,L); % eliminate L+1 as a rare possibilityq_out=q_level(qindex); % use index vector to generate outputSQNR=20*log10(norm(sig_in)/norm(sig_in-q_out)); % actual SQNR valueend% sampandquant.m function executes both sampling and uniform quantization%sampandquant.mfunction [s_out,sq_out,sqh_out,Delta,SQNR]=sampandquant(sig_in,L,td,ts)% usage% [s_out,sq_out,sqh_out,Delta,SQNR]=sampandquant(sig_in,L,td,ts)% L-no. of uniform quantization levels% sig_in-input signal vector% td-original signal sampling period of sig_in% ts- new sampling period% NOTE: td*fs must be +ve integef% function outputs:
21. 21. % s_out-sampled output% sq_out-sample and quantized output% sqh_out-sample, quantized and hold output% Delta- quantization interval% SQNR-actual signal to quantization ratioif rem(ts/td,1)==0 nfac=round(ts/td); p_zoh=ones(1,nfac); s_out=downsample(sig_in,nfac); [sq_out,Delta,SQNR]=uniquan(s_out,L); s_out=upsample(s_out,nfac); sqh_out=upsample(sq_out,nfac);else warning(Error! ts/td is not an integer!); s_out=[]; sq_out=[]; sqh_out=[]; Delta=[]; SQNR=[];endend%********generation of PCM *****************************%clc;clear;clf;td=0.002; % original sampling rate rate 500 hzt=[0:td:1.]; %time interval of 1 secxsig=sin(2*pi*t)-sin(6*pi*t); %n1hz +3 hz sinusoidalsLsig=length(xsig);Lfft=2^ceil(log2(Lsig)+1);Xsig=fftshift(fft(xsig,Lfft));Fmax=1/(2*td);Faxis=linspace(-Fmax,Fmax,Lfft);ts=0.02; % new sampling rate =50 hzNfact=ts/td;% send the signal through a 16-level uniform quantiser[s_out,sq_out,sqh_out1,Delta,SQRN]=sampandquant(xsig,16,td,ts);% obtaind the signal which is% - sampled,quantiser,and zero-order hold signal sqh_out% plot the original signal and PCM signal in time domain figrue(1);figure(1);subplot(211);sfig1=plot(t,xsig,k,t,sqh_out1(1:Lsig),b);set(sfig1,Linewidth,2);title(Signal {it g}({{it t}) and its 16 level PCM signal)xlabel(time(sec.));% send the signal through a 16-level unifrom quantiser[s_out,sq_out,sqh_out2,Delta,SQNR]=sampandquant(xsig,4,td,ts);% obtained the PCM signal which is% - sampled,quantiser,and zero_order hold signal sqh_out% plot the original signal and the PCM signal in time domainsubplot(212);sfig2=plot(t,xsig,k,t,sqh_out2(1:Lsig),b);set(sfig2,Linewidth,2);title(Signal {it g}({it t}) and its 4 level PCM signal)xlabel(time(sec.));Lfft=2^ceil(log2(Lsig)+1);Fmax=1/(2*td);Faxis=linspace(-Fmax,Fmax,Lfft);SQH1=fftshift(fft(sqh_out1,Lfft));
22. 22. SQH2=fftshift(fft(sqh_out2,Lfft));% Now use LPF to filter the two PCM signalBW=10; %Bandwidth is no larger than 10Hz.H_lpf=zeros(1,Lfft);H_lpf(Lfft/2-BW:Lfft/2+BW-1)=1; %ideal LPFS1_recv=SQH1.*H_lpf;s_recv1=real(ifft(fftshift(S1_recv)));s_recv1=s_recv1(1:Lsig);S2_recv=SQH2.*H_lpf;s_recv2=real(ifft(fftshift(S2_recv)));s_recv2=s_recv2(1:Lsig);% plot the filtered signal against the original signalfigure(2);subplot(211);sfig3=plot(t,xsig,b-,t,s_recv1,b-.);legend(original,recovered)set(sfig3,Linewidth,2);title(signal{it g}({it t}) and filtered 16-level PCM signal)xlabel(time(sec.));subplot(212);sfig4=plot(t,xsig,b-,t,s_recv2(1:Lsig),b);legend(original,recovered)set(sfig1,Linewidth,2);title(signal{it g}({it t}) and filtered 4-level PCM signal)xlabel(time(sec.));Results: Signal {it g}({{it t}) and its 16 level PCM signal 2 1 0 -1 -2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 time(sec.) Signal g( t) and its 4 level PCM signal 2 1 0 -1 -2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 time(sec.)
23. 23. signal g(it t) and filtered 16-level PCM signal2 original1 recovered0-1-2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 time(sec.) signal g(it t) and filtered 4-level PCM signal2 original1 recovered0-1-2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 time(sec.)
24. 24. PRACTICAL NO 7OBJECTImplementation of delta modulation and demodulation and observe effect of slope Overload usingmatlab/simulinkTHEORYDelta Modulation:Delta modulation (DM or Δ-modulation) is an analog-to-digital and digital-to-analogsignal conversion technique used for transmission of voice information where quality is not ofprimary importance. DM is the simplest form of differential pulse-code modulation (DPCM) wherethe difference between successive samples is encoded into n-bit data streams. In deltamodulation, the transmitted data is reduced to a 1-bit data stream. • This scheme sends only the difference between pulses, if the pulse at time tn+1 is higher in amplitude value than the pulse at time t n, then a single bit, say a “1”, is used to indicate the positive value. • If the pulse is lower in value, resulting in a negative value, a “0” is used. • This scheme works well for small changes in signal values between samples. • If changes in amplitude are large, this will result in large errors. Figure 1.1 the process of delta modulation Figure 1.2 Delta modulation components Figure 1.3 Delta demodulation components
25. 25. Mtalb Code:% *** Function for Delta Modulation***********% (deltamod.m)function s_DMout=deltamod(sig_in,Delta,td,ts)% usage% s_DMout=deltamod(xsig,Delta,td,ts)% Delta-step size% sig_in-input signal vector% td-original signal sampling period of sig_in% NOTE: td*fs must be a positive integer;% S_DMout -DM sampled output% ts-new sampling periodif (rem(ts/td,1)==0) nfac=round(ts/td); p_zoh=ones(1,nfac); s_down=downsample(sig_in,nfac); Num_it=length(s_down); s_DMout(1)=Delta/2; for k=2:Num_it xvar=s_DMout(k-1); s_DMout(k)=xvar+Delta*sign(s_down(k-1)-xvar); end s_DMout=kron(s_DMout,p_zoh);else warning(Error! ts/t is not an integer!); s_DMout=[];endend%********Delta Modulation **********************************%% togenerate DM signals with different step sizes,% Delta1=0.2,Delta2=Delta1,Delta3=Delta4clc;clear;clf;td=0.002; % original sampling rate rate 500 hzt=[0:td:1.]; % time interval of 1 secxsig=sin(2*pi*t)-sin(6*pi*t); % 1hz +3 hz sinusoidalsLsig=length(xsig);ts=0.02; % new sampling rate =50 hzNfact=ts/td;% send the signal through a 16-level uniform quantiserDelta1=0.2;s_DMout1=deltamod(xsig,Delta1,td,ts);% obtaind the DM signal% plot the original signal and DM signal in time domain figrue(1);figure(1);subplot(311);sfig1=plot(t,xsig,k,t,s_DMout1(1:Lsig),b);set(sfig1,Linewidth,2);title(Signal {it g}({{it t}) and its DM signal)xlabel(time(sec.));axis([0 1 -2.2 2.2]);% Apply DM again by doubling the DeltaDelta2=2*Delta1;s_DMout2=deltamod(xsig,Delta2,td,ts);subplot(312);sfig2=plot(t,xsig,k,t,s_DMout2(1:Lsig),b);set(sfig2,Linewidth,2);
26. 26. title(Signal {it g}({it t}) and DM signal with doubled stepsize)xlabel(time(sec.));axis([0 1 -2.2 2.2]);%***********Delta3=2*Delta2;s_DMout3=deltamod(xsig,Delta3,td,ts);subplot(313);sfig3=plot(t,xsig,k,t,s_DMout3(1:Lsig),b);set(sfig3,Linewidth,2);title(Signal {it g}({it t}) and DM signal with quadrupled stepsize)xlabel(time(sec.));axis([0 1 -2.2 2.2]);Results: S ignal {it g}({{it t}) and its D M s ignal 2 1 0 -1 -2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 tim e(s ec .) S ignal g( t) and D M s ignal w ith doubled s teps iz e 2 1 0 -1 -2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 tim e(s ec .) S ignal g( t) and D M s ignal w ith quadrupled s teps iz e 2 1 0 -1 -2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 tim e(s ec .)
27. 27. PRACTICAL NO 8OBJECTImplementation of pulse data coding techniques for various formats using matlab/simulink.THEORYData Encoding Methods:We can roughly divide line coding schemes into five broad categories, as shown in figure: 2.1. Figure 2.1 line coding schemeNon-Return to Zero (NRZ): Figure 2.2 NRZ • It is called NRZ because the signal does not return to zero at the middle of the bit • NRZ is the simplest representation of digital signals • One bit of data is transmitted per clock cycle • Bit values of 1and 0 are represented by high and low voltage signals, respectivelyNRZ-L (NRZ-Level), NRZ-I (NRZ-Invert): Figure 2.3 NRZ-L (NRZ-Level), NRZ-I (NRZ-Invert) • In NRZ-L the level of the voltage determines the value of the bit.
28. 28. • In NRZ-I the inversion or the lack of inversion determines the value of the bitPolar RZ: Return-to-Zero scheme:Polar biphase: Manchester and differential Manchester schemes: • In Manchester and differential Manchester encoding, the transition at the middle of the bit is used for synchronization • The minimum bandwidth of Manchester and differential Manchester is 2 times that of NRZBipolar Schemes: sometimes called multilevel binary • Three voltage levels: positive, negative, and zero • Two variations of bipolar encoding o AMI (alternate mark inversion)  0: neutral zero voltage  1: alternating positive and negative voltages o Pseudoternary  1: neutral zero voltage  0: alternating positive and negative voltages • AMI (alternate mark inversion) – The work mark comes from telegraphy and means 1. – AMI means alternate 1 inversion – The neutral zero voltage represents binary 0. – Binary 1s are represented by alternating positive and negative voltages. • Pesudotenary :
29. 29. – Same as AMI, but 1 bit is encoded as a zero voltage and the 0 bit is encoded as alternating positive and negative voltages.Multilevel Schemes: • The desire to increase the data speed or decrease the required bandwidth has resulted in the creation of many schemes. • The goal is to increase the number of bits per baud by encoding a pattern of m data elements into a pattern of n signal elements. • Different types of signal elements can be allowing different signal levels. • If we have L different levels, then we can produce Ln combinations of signal patterns. • The data element and signal element relation is • mBnL coding, where m is the length of the binary pattern, B means binary data, n is the length of the signal pattern, and L is the number of levels in the signaling. • B (binary, L=2), T (tenary, L=3), and Q (quaternary, L=4). • In mBnL schemes, a pattern of m data elements is encoded as a pattern of n signal elements in which 2m ≤ Ln2B1Q (two binary, one quaternary) – m=2, n=1, and L=4 – The signal rate (baud rate) 2B1Q is used in DSL (digital subscriber line) technology to provide a high-speed connection to the Internet by using subscriber telephone lines8B6T: • Eight binary, six ternary (8B6T)
30. 30. – This code is used with 100BASE-4T cable. – Encode a pattern of 8 bits as a pattern of 6 signal elements, where the signal has three levels (ternary). – 28=256 different data patterns and 36=478 different signal patterns. (The mapping is shown in Appendix D.) – There are 478-256=222 redundant signal elements that provide synchronization and error detection. – Part of the redundancy is also used to provide DC (direct-current) balance. • + (positive signal), - (negative signal), and 0 (lack of signal) notation. • To make whole stream DC-balanced, the sender keeps track of the weight4D-PAM5 : • Four-dimensional five-level pulse amplitude modulation (4D-PAM5) – 4D means that data is sent over four wires at the same time. – It uses five voltage levels, such as -2, -1, 0, 1, and 2. – The level 0 is used only for forward error detection. – If we assume that the code is just one-dimensional, the four levels create something similar to 8B4Q. – The worst signal rate for this imaginary one-dimensional version is Nx4/8, or N/2. – 4D-PAM5 sends data over four channels (four wires). This means the signal rate can be reduced to N/8. – All 8 bits can be fed into a wire simultaneously and sent by using one signal element. – Gigabit Ethernet use this technique to send 1-Gbps data over four copper cables that can handle 1Gbps/8 = 125Mbaud –Multiline Transmission: MLT-3: • The multiline transmission, three level (MLT-3) • Three levels (+V, 0, and –V) and three transition rules to move the levels – If the next bit is 0, there is no transition – If the next bit is 1 and the current level is not 0, the next level is 0.
31. 31. – If the next bit is 1 and the current level is 0, the next level is the opposite of the last nonzero level. • Why do we need to use MLT-3? – The signal rate for MLT-3 is one-fourth the bit rate (N/4). – This makes MLT-3 a suitable choice when we need to send 100 Mbps on a copper wire that cannot support more than 32 MHz (frequencies above this level create electromagnetic emission). –Summary of line coding schemes:Matlab code:function [U P B M S]=nrz(a)% a is input data sequence, % U = Unipolar, P=Polar, B=Bipolar, M=Mark and S=Space%Wave formatting, %UnipolarU=a;n= length(a);%POLAR
32. 32. P=a;for k=1:n; if a(k)==0 P(k)=-1; endend %Bipolar B=a; f = -1; for k=1:n; if B(k)==1; if f==-1; B(k)=1; f=1; else B(k)=-1; f=-1; end end end%MarkM(1)=1;for k=1:n; M(k+1)=xor(M(k), a(k));end%SpaceS(1)=1;for k=1:n S(k+1)=not(xor(S(k), a(k)));end%Plotting Wavessubplot(5, 1, 1); stairs(U)axis([1 n+2 -2 2])title(Unipolar NRZ)grid onsubplot(5, 1, 2); stairs(P)axis([1 n+2 -2 2])title(Polar NRZ)grid onsubplot(5, 1, 3); stairs(B)axis([1 n+2 -2 2])title(Bipolar NRZ)grid onsubplot(5, 1, 4); stairs(M)axis([1 n+2 -2 2])title(NRZ-Mark)grid onsubplot(5, 1, 5); stairs(S)axis([1 n+2 -2 2])title(NRZ-Space)grid onInputa=[1 0 0 1 1]a= 1 0 0 1 1
33. 33. [U P B M S]=nrz(a)Output wavform Unipolar NRZ 2 0 -2 1 2 3 4 5 6 7 Polar NRZ 2 0 -2 1 2 3 4 5 6 7 Bipolar NRZ 2 0 -2 1 2 3 4 5 6 7 NRZ-Mark 2 0 -2 1 2 3 4 5 6 7 NRZ-Space 2 0 -2 1 2 3 4 5 6 7
34. 34. RACTICAL NO 9OBJECTImplementation of Data decoding techniques for various formats using matlab/simulinkMatlab Code:function [Ur Pr Br Mr Sr]=nrzRx(U,P,B,M,S)% a is input data sequence% U = Unipolar, P=Polar, B=Bipolar, M=Mark and S=Space%Wave formatting%UnipolarUr=U;n= length(P);%POLARPr=P;l=find(Pr<0);Pr(l)=0%Bipolarn= length(B); Br=B; l=find(Br<0);Br(l)=1; %Mark n= length(M); for k=1:n-1; Mr(k)=xor(M(k), M(k+1)); end %Space n= length(S); S(1)=1; for k=1:n-1 Sr(k)=not(xor(S(k), S(k+1))); end%Plotting Waves n= length(Ur); subplot(5, 1, 1); stairs(Ur) axis([1 n+2 -2 2]) title(Unipolar NRZ Decoded) grid on n= length(P); subplot(5, 1, 2); stairs(P) axis([1 n+2 -2 2]) title(Polar NRZ Decoded) grid on n= length(Br); subplot(5, 1, 3); stairs(B) axis([1 n+2 -2 2]) title(Bipolar NRZ Decoded) grid on n= length(Mr); subplot(5, 1, 4); stairs(M) axis([1 n+2 -2 2]) title(NRZ-Mark Decoded) grid on n= length(Sr); subplot(5, 1, 5); stairs(S) axis([1 n+2 -2 2]) title(NRZ-Space Decoded)
35. 35. grid on*******************************end***********************************InputU = 1 0 0 1 1P = 1 -1 -1 1 1B = 1 0 0 -1 1M = 1 0 0 0 1 0S = 1 1 0 1 1 1Call [Ur Pr Br Mr Sr]=nrzRx(U,P,B,M,S)OutputPr = 1 0 0 1 1Ur = 1 0 0 1 1Pr = 1 0 0 1 1Br = 1 0 0 1 1Mr = 1 0 0 1 1Sr = 1 0 0 1 1
36. 36. PRACTICAL NO 10OBJECTImplementation of amplitude shift keying modulator and demodulator using matlab/simulink.THEORYASK (amplitude shift keying) modulator:Amplitude-shift keying (ASK) is a form of modulation that represents digital data as variations inthe amplitude of a carrier wave.The amplitude of an analog carrier signal varies in accordance with the bit stream (modulatingsignal), keeping frequency and phase constant. The level of amplitude can be used torepresent binary logic 0s and 1s. We can think of a carrier signal as an ON or OFF switch. In themodulated signal, logic 0 is represented by the absence of a carrier, thus giving OFF/ON keyingoperation and hence the name given • ASK is implemented by changing the amplitude of a carrier signal to reflect amplitude levels in the digital signal. • For example: a digital “1” could not affect the signal, whereas a digital “0” would, by making it zero. • The line encoding will determine the values of the analog waveform to reflect the digital data being carried. Fig. 4.1 Ask modulator Fig. 4.1 Ask signal
37. 37. Matlab Code :% program for amplitude shift keying %clc;clear all;close all;s= [1 0 1 0];f1=20;a=length (s);for i=1:a f=f1*s (1,i); for t=(i-1)*100+1:i*100x(t)=sin(2*pi*f*t/1000);endendplot(x);xlabel(time in secs);ylabel(amplitude in volts);title(ASK)grid on;Results: A K S 1 0.8 m litu einv lts 0.6 o 0.4 0.2 d 0 a p - .2 0 - .4 0 - .6 0 - .8 0 -1 0 50 10 0 10 5 20 0 20 5 30 0 30 5 40 0 tim ins c e es
38. 38. PRACTICAL NO 11OBJECTImplementation of frequency shift keying modulator and demodulator using matlab/simulink.THEORYFSK (frequency shift keying) modulator:Frequency-shift keying (FSK) is a frequency modulation scheme in which digital information istransmitted through discrete frequency changes of a carrier wave. The simplest FSKis binary FSK (BFSK). BFSK literally implies using a pair of discrete frequencies to transmit binary(0s and 1s) information.Applications:Most early telephone-line modems used audio frequency-shift keying to send and receive data,up to rates of about 300 bits per second.Matlab Code:%*********FSK**************%clc;clear all;close all;s= [1 0 1 0];f1=10;f2=50;a=length (s);for i=1:a if s(1,i)==1 freq=f1*s(1,i); for t= (i-1)*100+1:i*100 x(t)= sin(2*pi*freq*t/1000);endelseif s(1,i)==0 b=(2*s(1,i))+1; freq=f2*b; for t=(i-1)*100+1:i*100 x(t)= sin(2*pi*freq*t/1000); endendendplot(x);xlabel(title in secs);ylabel(amplitude in volts)title (FSK)grid on;
39. 39. Results FSK 1 0.8 0.6 0.4 amplitude in volts 0.2 0 -0.2 -0.4 -0.6 -0.8 -1 0 50 100 150 200 250 300 350 400 title in secs
40. 40. PRACTICAL NO 12OBJECTImplementation of phase shift keying modulator and demodulator using matlab/simulinkTHEORYPSK (phase shift keying) modulator:Phase-shift keying (PSK) is a digital modulation scheme that conveys data by changing, ormodulating, the phase of a reference signal (the carrier wave).Any digital modulation scheme uses a finite number of distinct signals to represent digital data.PSK uses a finite number of phases, each assigned a unique pattern of binary digits. Usually,each phase encodes an equal number of bits. Each pattern of bits forms the symbol that isrepresented by the particular phase. The demodulator, which is designed specifically for thesymbol-set used by the modulator, determines the phase of the received signal and maps it backto the symbol it represents, thus recovering the original data. This requires the receiver to be ableto compare the phase of the received signal to a reference signal — such a system is termedcoherent (and referred to as CPSK).Alternatively, instead of using the bit patterns to set the phase of the wave, it can instead be usedto change it by a specified amount. The demodulator then determines the changes in the phaseof the received signal rather than the phase itself. Since this scheme depends on the differencebetween successive phases, it is termed differential phase-shift keying (DPSK). DPSK can besignificantly simpler to implement than ordinary PSK since there is no need for the demodulator tohave a copy of the reference signal to determine the exact phase of the received signal (it is anon-coherent scheme). In exchange, it produces more erroneous demodulations. The exactrequirements of the particular scenario under consideration determine which scheme is used.Matlab Code:Initializing Variables:The first step is to initialize variables for number of samples per symbol, number of symbols tosimulate, alphabet size (M) and the signal to noise ratio. The last line seeds the random numbergenerators.nSamp = 8;numSymb = 100;M = 4;SNR = 14;seed = [12345 54321];rand(state, seed(1));randn(state, seed(2));Generating Random Information Symbols Next, use RANDSRC to generate random information symbols from 0 to M-1. Since the %simulation is of QPSK, the symbols are 0 through 3. The first 10 data points are plotted.numPlot = 10;
41. 41. rand(state, seed(1));msg_orig = randsrc(numSymb, 1, 0:M-1);stem(0:numPlot-1, msg_orig(1:numPlot), bx);xlabel(Time);ylabel(Amplitude);Phase Modulating the DataUse MODEM.PSKMOD object to phase modulate the data and RECTPULSE to upsample to asampling rate 8 times the carrier frequency. Use SCATTERPLOT to see the signal constellation.grayencod = bitxor(0:M-1, floor((0:M-1)/2));msg_gr_orig = grayencod(msg_orig+1);msg_tx = modulate(modem.pskmod(M), msg_gr_orig);msg_tx = rectpulse(msg_tx,nSamp);h1 = scatterplot(msg_tx);Creating the Noisy SignalThen use AWGN to add noise to the transmitted signal to create the noisy signal at the receiver.Use the measured option to add noise that is 14 dB below the average signal power (SNR = 14dB). Plot the constellation of the received signal.
42. 42. randn(state, seed(2));msg_rx = awgn(msg_tx, SNR, measured, [], dB);h2 = scatterplot(msg_rx);Recovering Information from the Transmitted SignalUse INTDUMP to downsample to the original information rate. Then use MODEM.PSKDEMODobject to demodulate the signal, and detect the transmitted symbols. The detected symbols areplotted in red stems with circles and the transmitted symbols are plotted in blue stems with xs.The blue stems of the transmitted signal are shadowed by the red stems of the received signal.Therefore, comparing the blue xs with the red circles indicates that the received signal is identicalto the transmitted signal.close(h1(ishandle(h1)), h2(ishandle(h2)));msg_rx_down = intdump(msg_rx,nSamp);msg_gr_demod = demodulate(modem.pskdemod(M), msg_rx_down);[dummy graydecod] = sort(grayencod); graydecod = graydecod - 1;msg_demod = graydecod(msg_gr_demod+1);stem(0:numPlot-1, msg_orig(1:numPlot), bx);hold on;stem(0:numPlot-1, msg_demod(1:numPlot), ro);hold off;axis([ 0 numPlot -0.2 3.2]);xlabel(Time);ylabel(Amplitude);
43. 43. PRACTICAL NO 13OBJECTStudy of microwave components and instrumentsTHEORYMicrowave Components: • Connecting Devices: – Waveguide • Rectangular • Circular – Microstrip line – Strip line • Junctions: – E plane – H plane – EH plane or magic tee (hybride line) – Hybride ring • Microwave Source: – Multicavity klystron – Reflex klystron – Magnetron – Travelling Wave Tube (TWT) – Crossed Field Amplifier (CFA) – Backward oscillator • Semiconductor Source: – Gunn Diode – IMPATT, IMPATT, TRAPATT – Tunnel Diode • Microwave Amplifier: – Multicavity klystron – Travelling Wave Tube (TWT) – Gunn Diode – Parametric Amplifier • Switches: – PIN DiodeWaveguides:A waveguide is a structure which guides waves, such as electromagnetic waves or sound waves.There are different types of waveguide for each type of wave. The original and mostcommon meaning is a hollow conductive metal pipe used to carry high frequency radio waves,particularly microwaves. Waveguides differ in their geometry which can confine energy in one dimension such as inslab waveguides or two dimensions as in fiber or channel waveguides. In addition, differentwaveguides are needed to guide different frequencies: an opticalfiber guiding light (high frequency) will not guide microwaves (which have a much lowerfrequency). As a rule of thumb, the width of a waveguide needs to be of the same order ofmagnitude as the wavelength of the guided wave.Principal of operation:Waves in open space propagate in all directions, as spherical waves. In this way they lose theirpower proportionally to the square of the distance; that is, at a distance R from the source, thepower is the source power divided by R2. The waveguide confines the wave to propagation in onedimension, so that (under ideal conditions) the wave loses no power while propagating.Waves are confined inside the waveguide due to total reflection from the waveguide wall, so thatthe propagation inside the waveguide can be described approximately as a "zigzag" between thewalls. This description is exact for electromagnetic waves in a rectangular or circular hollow metaltube.Rectangular Waveguide:
44. 44. It consists of a rectangular hollow metallic conductor.The electromagnetic waves in (metal-pipe) waveguide may be imagined as travelling down theguide in a zig-zag path, being repeatedly reflected between opposite walls of the guide. • Need to find the fields components of the em wave inside the waveguide – Ez Hz Ex Hx Ey Hy • We’ll find that waveguides don’t support TEM wavesModes of propagation: • TEM (Ez=Hz=0) can’t propagate. • TE (Ez=0) transverse electric – In TE mode, the electric lines of flux are perpendicular to the axis of the waveguide – TM (Hz=0) transverse magnetic, Ez exists – In TM mode, the magnetic lines of flux are perpendicular to the axis of the waveguide. – HE hybrid modes in which all components existsThe cutoff frequency occurs when: 2 2  mπ   nπ  When ω c µε =  then γ = α + jβ = 0 2  +   a   b  2 2 1 1  mπ   nπ  or f c =   +  2π µε  a   b Dominant mode- T10Circular waveguide:It consists of a circular hollow metallic conductor.For same cutoff frequency the cylindrical waveguide longer then rectangular waveguide in cross-sectional area so it is more bulkyDominant mode- T11Microstrip Line:Microstrip is a type of electrical transmission line which can be fabricated using printed circuitboard [PCB] technology, and is used to convey microwave-frequency signals. It consists of aconducting strip separated from a ground plane by a dielectric layer known as the substrate.Microwave components such as antennas, couplers, filters, power dividers etc. can be formedfrom microstrip, the entire device existing as the pattern of metallization on the substrate.Microstrip is thus much less expensive than traditional waveguide technology, as well as being farlighter and more compact.
45. 45. Cross-section of microstrip geometry, Conductor (A) is separated from ground plane (D) by dielectric substrate (C). Upper dielectric (B) is typically air.The disadvantages of microstrip compared with waveguide are the generally lower powerhandling capacity, and higher losses. Also, unlike waveguide, microstrip is not enclosed, and istherefore susceptible to cross-talk and unintentional radiationIt is behave as a parallel wire.Strip line:A stripline circuit uses a flat strip of metal which is sandwiched between two parallel groundplanes, The insulating material of the substrate forms a dielectric. The width of the strip, thethickness of the substrate and the relative permittivity of the substrate determinethe characteristic impedance of the strip which is a transmission line. As shown in the diagram,the central conductor need not be equally spaced between the ground planes. In the generalcase, the dielectric material may be different above and below the central conductorTo prevent the propagation of unwanted modes, the two ground planes must be shorted together.This is commonly achieved by a row of vias running parallel to the strip on each side.Like coaxial cable, strip line is non-dispersive, and has no cut off frequency. Good isolationbetween adjacent traces can be achieved more easily than with microstrip. Cross-section diagram of strip line geometry. Central conductor (A) is sandwiched between ground planes (B and D). Structure is supported by dielectric (C).Waveguide Junction:E-type waveguide junction:It is called an E-type T junction because the junction arm, i.e. the top of the "T" extends from themain waveguide in the same direction as the E field. It is characterized by the fact that theoutputs of this form of waveguide junction are 180° out of phase with each other. Waveguide E-type junctionThe basic construction of the waveguide junction shows the three port waveguide device.Although it may be assumed that the input is the single port and the two outputs are those on thetop section of the "T", actually any port can be used as the input, the other two being outputs.
46. 46. To see how the waveguide junction operates, and how the 180° phase shift occurs, it isnecessary to look at the electric field. The magnetic field is omitted from the diagram forsimplicity. Waveguide E-type junction E fieldsIt can be seen from the electric field that when it approaches the T junction itself, the electric fieldlines become distorted and bend. They split so that the "positive" end of the line remains with thetop side of the right hand section in the diagram, but the "negative" end of the field lines remainwith the top side of the left hand section. In this way the signals appearing at either section of the"T" are out of phase.These phase relationships are preserved if signals enter from either of the other ports.H-type waveguide junction:This type of waveguide junction is called an H-type T junction because the long axis of the maintop of the "T" arm is parallel to the plane of the magnetic lines of force in the waveguide. It ischaracterized by the fact that the two outputs from the top of the "T" section in the waveguide arein phase with each other. Waveguide H-type junctionTo see how the waveguide junction operates, the diagram below shows the electric field lines.Like the previous diagram, only the electric field lines are shown. The electric field lines areshown using the traditional notation - a cross indicates a line coming out of the screen, whereas adot indicates an electric field line going into the screen. Waveguide H-type junction electric fieldsIt can be seen from the diagram that the signals at all ports are in phase. Although it is easiest toconsider signals entering from the lower section of the "T", any port can actually be used - thephase relationships are preserved whatever entry port is ised.
47. 47. Magic T hybrid waveguide junction:The magic-T is a combination of the H-type and E-type T junctions. The most commonapplication of this type of junction is as the mixer section for microwave radar receivers. Magic T waveguide junctionThe diagram above depicts a simplified version of the Magic T waveguide junction with its fourports.To look at the operation of the Magic T waveguide junction, take the example of whan a signal isapplied into the "E plane" arm. It will divide into two out of phase components as it passes into theleg consisting of the "a" and "b" arms. However no signal will enter the "E plane" arm as a resultof the fact that a zero potential exists there - this occurs because of the conditions needed tocreate the signals in the "a" and "b" arms. In this way, when a signal is applied to the H planearm, no signal appears at the "E plane" arm and the two signals appearing at the "a" and "b" armsare 180° out of phase with each other. Magic T waveguide junction signal directionsWhen a signal enters the "a" or "b" arm of the magic t waveguide junction, then a signal appearsat the E and H plane ports but not at the other "b" or "a" arm as shown.One of the disadvantages of the Magic-T waveguide junction are that reflections arise from theimpedance mismatches that naturally occur within it. These reflections not only give rise to powerloss, but at the voltage peak points they can give rise to arcing when sued with high powertransmitters. The reflections can be reduced by using matching techniques. Normally posts orscrews are used within the E-plane and H-plane ports. While these solutions improve theimpedance matches and hence the reflections, they still reduce the power handling capacity.Hybrid ring waveguide junction:This form of waveguide junction overcomes the power limitation of the magic-T waveguidejunction.A hybrid ring waveguide junction is a further development of the magic T. It is constructed from acircular ring of rectangular waveguide - a bit like an annulus. The ports are then joined to theannulus at the required points. Again, if signal enters one port, it does not appear at allt he others.
48. 48. The hybrid ring is used primarily in high-power radar and communications systems where it actsas a duplexer - allowing the same antenna to be used for transmit and receive functions.During the transmit period, the hybrid ring waveguide junction couples microwave energy fromthe transmitter to the antenna while blocking energy from the receiver input. Then as the receivecycle starts, the hybrid ring waveguide junction couples energy from the antenna to the receiver.During this period it prevents energy from reaching the transmitter.Multicavity klystron:Gain of about 10-20 dB are typical with two cavity tubes. A higher overall gain can be achieved byconnecting several two cavity tubes in cascade, feeding the output of each of the tubes to theinput of the succeeding one. With four cavities, power gains of around 50 dB cab be easily achieved. The cavities are tunedthe same frequency.Reflex klystron:In the reflex klystron (also known as a Sutton klystron after its inventor), the electron beampasses through a single resonant cavity. The electrons are fired into one end of the tube byan electron gun. After passing through the resonant cavity they are reflected by a negativelycharged reflector electrode for another pass through the cavity, where they are then collected.The electron beam is velocity modulated when it first passes through the cavity. The formation ofelectron bunches takes place in the drift space between the reflector and the cavity.Thevoltage on the reflector must be adjusted so that the bunching is at a maximum as theelectron beam re-enters the resonant cavity, thus ensuring a maximum of energy is transferredfrom the electron beam to the RFoscillations in the cavity. The voltage should always be switchedon before providing the input to the reflex klystron as the whole function of the reflex klystronwould be destroyed if the supply is provided after the input. The reflector voltage may be variedslightly from the optimum value, which results in some loss of output power, but also in a variationin frequency. This effect is used to good advantage for automatic frequency control in receivers,and in frequency modulation for transmitters. The level of modulation applied for transmission issmall enough that the power output essentially remains constant. At regions far from the optimumvoltage, no oscillations are obtained at all. This tube is called a reflex klystron because it repelsthe input supply or performs the opposite function of a klystron.Magnetron:
49. 49. A cross-sectional diagram of a resonant cavity magnetron. Magnetic lines of force are parallel to the geometric axis of this structureAll cavity magnetrons consist of a hot cathode with a high (continuous or pulsed) negativepotential by a high-voltage, direct-current power supply. The cathode is built into the center of anevacuated, lobed, circular chamber. A magnetic field parallel to the filament is imposed by apermanent magnet. The magnetic field causes the electrons, attracted to the (relatively) positiveouter part of the chamber, to spiral outward in a circular path rather than moving directly to this anode. Spaced around the rim of the chamber are cylindrical cavities. The cavities are open alongtheir length and connect the common cavity space. As electrons sweep past these openings, theyinduce a resonant, high-frequency radio field in the cavity, which in turn causes the electrons tobunch into groups. A portion of this field is extracted with a short antenna that is connected to awaveguide (a metal tube usually of rectangular cross section). The waveguide directs theextracted RF energy to the load, which may be a cooking chamber in a microwave oven or ahigh-gain antenna in the case of radar.Travelling Wave Tube (TWT):A traveling-wave tube (TWT) is an electronic device used to amplify radio frequency signals tohigh power, usually in an electronic assembly known as a traveling-wave tube amplifier (TWTA).Cutaway view of a TWT (1) Electron gun; (2) RF input; (3) Magnets; (4) Attenuator; (5) Helix coil; (6) RF output; (7) Vacuum tube; (8) Collector.Crossed Field Amplifier (CFA):A crossed-field amplifier (CFA) is a specialized vacuum tube, first introduced in the mid-1950sand frequently used as a microwave amplifier in very-high-power transmitters. A CFA haslower gain and bandwidth than other microwave amplifier tubes (such as klystrons or traveling-wave tubes); but it is more efficient and capable of much higher output power. Peak outputpowers of many megawatts and average power levels of tens of kilowatts can be achieved, withefficiency ratings in excess of 70 percent.Backward oscillator: A backward wave oscillator (BWO), also called carcinotron (a trade name for tubesmanufactured by CSF, now Thales) or backward wave tube, is a vacuum tubethat is used togenerate microwaves up to the terahertz range. It belongs to the traveling-wave tube family. It isan oscillator with a wide electronic tuning range.An electron gun generates an electron beam that is interacting with a slow-wave structure. Itsustains the oscillations by propagating a traveling wave backwards against the beam. Thegenerated electromagnetic wave power has its group velocity directed oppositely to the directionof motion of the electrons. The output power is coupled out near the electron gun.