Вы находитесь на странице: 1из 3

# PRINCIPLES OF COMMUNICATION Laboratory 1: Accomplish this laboratory work through the use of MATLAB.

Download the latest version of Matlab, version 2011 will be the least. Purpose: Background: To view a SIMULINK implementation of fullwave rectified sine wave using a Fourier Series approach. MATLAB and its associated program SIMULINK can be used to model and implement various system behaviours. SIMULINK will be used to implement the following equation, which represents the first five terms of the Fourier series of a full-wave rectified sine wave.

Where, with a frequency of 60 Hz. The full-wave rectified sine wave equation indicates the need for the following SIMULINK blocks: 1. Constant block with a value 2/ 2. A sine block (A cosine is implemented by using a phase of /2 radians. Use the sample time of 0.1ms 3. Various gain blocks for the multipliers (use positive and negative 1/3, 2/3, , 4/3) 4. A sum block. **In addition, the simulation results are displayed using the scope block. Implemetation: Start MATLAB and then type simulink at the command prompt to start the simulink program. Select the created model (if available) full_wave.mdl Run the simulation by selecting the Simulation-> Start menu option in the model window. Double-click on the scope to maximize it and view all waveforms. Modify some of the block parameters to implement a 120-Hz full wave rectified signal using three Fourier series terms.

## Engr. A. P. Aquino ECE 43225

Page 1

PRINCIPLES OF COMMUNICATION Laboratory 2: Accomplish this laboratory work through the use of MULTISIM. Download the latest version of Multisim, version 2011 will be the least. Purpose: Background: To verify the simulation in relevance to Radio Frequency Circuits MULTISIM is a multiple simulator which allows user to monitor and observe the performance of each component that comprises the circuit. This also helps them understand the circuit theories the easiest way.

Condition: 1. Let Vin = 5V, CC1 & CC2 = 50pF, RB1 = 56k, RB2 = 10k, L1 = 25H, RL = 300 , RE = 1.2k, CB = 0.001F and VCC = 15V 2. If all resistors has a value of 56k 3. L1 is doubled 4. CC2 was halved

Required:

Simulate the given conditions one at a time. Observe the changes in the output waveform. Write down your observations together with the solution in solving the operating frequency and bandwidth.

Laboratory 3
Engr. A. P. Aquino ECE 43225 Page 2

PRINCIPLES OF COMMUNICATION
Accomplish this laboratory work through the use of MATLAB. Download the latest version of Matlab, version 2011 will be the least. Purpose: Background: To indicate how MATLAB can be used to simulate a suppressed carrier system using multiplier. The output frequencies of a multiplier will be the sum and diiference frequencies of the input sinusoids.

## Implemetation: Start MATLAB and then execute the following code

Function mult () % % Demonstrate the frequency spectrum of the output of a multiplier % for equal magnitude 500Hz and 1000Hz sinusoids % f1 = 500; f2 = 1000; % step size between samples tstep = 1e-4; % use the 1st 50ms of the input signals t = 0 : tstep : 0.05; % % Generate the multiplier input signals % vin1=sin (2*pi*f1*t) ; vin2=sin (2*pi*f2*t) ; % % Generate the multiplier output vout = vin1.*vin2 ; % % apply a window function for better display of spectrum % using the ff function % win = hamming (length (vout)) ; % % Obtain the spectrum using the fft function y=abs (fft (vout.*win)) ; % Extract the appropriate fft vector to plot fft_len = length (y) ; n_freq = (0 : fft_len-1). / (tstep*fft_len) ; n_plot = n_freq (1 : round (fft_len/2)) ; y_plot = y (1 : round (fft_len/2)) ; % % Plot the frequency spectrum % figure (1) plot (n_plot, y_plot) title ( [ Frequency spectrum of product of two signals with frequencies , num2str (f1) , Hz and , num2str (f2) , Hz ] ) ; xlabel (Frequency ) ; ylabel ( FFT Magnitude ) ; grid

Page 3