Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
11 AIM:
To Simulate M-ary ASK, FSK and PSK circuits using Matlab REQUIREMENTS: Personal computer MATLAB 7 THEORY : The basic concept behind digital modulation is to identify efficient schemes taking M different symbols in given digital information and transforming them into waveforms that can successfully transmit the data over the transmission channel. In an M-ary signaling scheme, we may send one of M possible signals, during each signaling interval of duration T. For almost all applications, the numbers of possible signals are M= , where m is an integer. The symbol duration T = m , where is the bit duration. The BER for all of these modulation techniques will be discussed and analyzed in detail using graphical plots .PSK is one of the most commonly used modulation scheme in digital communication systems. It is widely used in industries, military, deep space telemetry and commercial applications. The bandwidth efficiency of the PSK modulation scheme is increased by using M-PSK modulation. Note that a more efficient use of bandwidth is achieved when each signaling element represents more than one bit. MPSK modulation using Simulink Before Running the Simulink first type the command:
commstartup
At the Matlab prompt. This command will initialize some simulation parameter for communication system models. specify two variable M and ESNO. Type >M=2 >ESNO= 20 Random integer genetator M-ary number = M (the Simulink will take this values from the Matlab work space) Sample time = 1/100;
Baseband sample per symbol =1 Carrier frequency = 3000 Carrier initial phase = pi/8 Input or Output sample time = 1/8000 AWGN Es/No (dB)= ESNO+10*log10(log2(M)) Matlab work space) Error Rate Calculation Receive Delay = 1 Output Data = port Check Stop simulation Target number of errors =100 Maximum number of symbols =1e4 To workspace Variable name = err_rate Save format = array (the Simulink will take this values from the
PROGRAM: clear; clf; M=2; esnos=20:25; err_vec=[]; for i=1:length(esnos) ESNO=esnos(i); sim('mpsk'); err_vec(i,:)=err_rate end; plot(esnos,err_vec(:,1),'b-*');