Académique Documents
Professionnel Documents
Culture Documents
Comunicaciones Analógicos
Cesar A. Azurdia Meza.
Principios de Comunicaciones EL4005
Esquema de la Presentación
Introducción
Conocimientos Básicos
Conocimientos Básicos
Conocimientos Básicos
Source Modulator
Channel
Destination Demodulator
Conocimientos Básicos
figure(1)
subplot(2,1,1); plot(t,m); % Plot m on top
subplot(2,1,2); plot(t,v); % Plot v below
figure(2);
subplot(2,1,1); plot(t,m); % Plot m on top
subplot(2,1,2); plot(t,mr); % Plot mr below
Simulación: Amplitude Modulation
Simulación: Amplitude Modulation
Simulación: Amplitude Modulation
Sin emplear funciones de MATLAB
Generación del mensaje mt Vm sin 2f mt
tmin = 0; tmax = 10^(-3); step = (tmax-tmin)/1000;
t = tmin:step:tmax;
Vm = 1;
fm = 2*10^3;
m = Vm*sin(2*pi*fm*t);
Definir la portadora
Vc = 2; % Amplitude
fc = 10^4; % Frequency
c = Vc*sin(2*pi*fc*t); % Carrier signal
Simulación: Amplitude Modulation
Modulación de la señal Vm
vt Vc 1 sin 2f mt sin 2f ct
Vc
v = (1+m/Vc).*c; % DSB-FC modulation
Señal modulada
plot(t,v); % Modulated Wave
hold on;
plot(t,Vc*(1+m/Vc),'r:'); % Upper
Envelope
hold on;
plot(t,-Vc*(1+m/Vc),'r:'); % Lower
Envelope
hold off ;
Amplitude Modulation
Simulación: Amplitude Modulation
Código completo
m = Vm*sin(2*pi*fm*t); % Message
c = Vc*sin(2*pi*fc*t); % Carrier
v = (1+m/Vc).*c; % Modulated Wave
m = Vm*sin(2*pi*fm*t);
c = Vc*sin(2*pi*fc*t);
v = (1+m/Vc).*c;
Vc = 5 8
1.5
Vc = 0.5
6
4 1
2
0.5
0
-2 0
-4
-6 -0.5
-8
-1
-10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-3
x 10 -1.5
Vc = 3 6
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
-3
x 10
1
-2
-4
-6
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-3
x 10
Simulación: Amplitude Modulation
DSB-SC AM
tmin = 0; tmax = 10^(-3); 2
step = (tmax-
tmin)/1000;
t = tmin:step:tmax; 1.5
Vm = 2; Vc = 1; 1
-1.5
m = Vm*sin(2*pi*fm*t);
c = Vc*sin(2*pi*fc*t);
v = m.*c;
r = v.*c;
[b a] = butter(1,0.01);
mr = filter(b,a,r);
figure(1)
subplot(2,1,1); plot(t,m);
subplot(2,1,2); plot(t,mr);
Circuito Demodulador
Un detector de envolvente es empleado para demodular la
señal
Simulación: Amplitude Modulation
RUIDO EN EL CANAL
Source Modulator
Channel
Destination Demodulator
r=zeros(1,N); n=fs/fc;
for k=1:fc
mr((k-1)*n+1:k*n)=2*v((k-1)*n+1:k*n)*c((k-1)*n+1:k*n)'/n;
end
figure(1)
subplot(2,1,1); plot(t,m);
subplot(2,1,2); plot(t,mr); axis([0 1 -1 1])
Simulación: Amplitude Modulation
Señal + AGWN
FORMULACIÓN DE TAREA
¿DUDAS?