1 curso: introduccion a las telecomunicaciones © ilceo: ing. miguel angel perez solano instructor:...

174
1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones y Electrónica Instituto Tecnológico de Oaxaca http://solano.orgfree.com UNIDAD 3: COMUNICACIÓN DIGITAL

Upload: ildefonso-granada

Post on 01-May-2015

128 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

1

CURSO:

INTRODUCCION A LAS TELECOMUNICACIONES

© ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO

INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANOIngeniero en Comunicaciones y Electrónica

Instituto Tecnológico de Oaxacahttp://solano.orgfree.com

UNIDAD 3: COMUNICACIÓN DIGITAL

Page 2: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

2

ANTECEDENTES CONCEPTUALES

Modulación: Es un proceso en los sistemas de telecomunicaciones utilizado para mezclar dos señales; una de baja frecuencia (información) con una de alta frecuencia (portadora=carrier) obteniendo una señal modulada en la frecuencia de la portadora posibilitando su optima transmisión a través del espacio.

Estas técnicas permiten un mejor aprovechamiento del ancho de banda de los canales de comunicación tanto guiados como no guiados haciendo posible transmitir más información en forma simultánea, además de mejorar la resistencia a posibles ruidos e interferencias.

Básicamente, la modulación consiste en hacer que un parámetro de la onda portadora (amplitud, frecuencia o fase) de acuerdo con las variaciones de amplitud de la señal modulante, que es la información que queremos transmitir.

Page 3: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3

Por que modular?

• Si todos los usuarios transmiten a la frecuencia de la señal original o moduladora (frecuencia base), no será posible reconocer la información inteligente contenida en dicha señal, debido a la interferencia entre las señales transmitidas por diferentes usuarios.

• A altas frecuencias se tiene mayor eficiencia en la transmisión, de acuerdo al medio que se emplee.

• Se aprovecha mejor el espectro electromagnético, ya que permite la multiplexación por frecuencias.

• En caso de transmisión inalámbrica, las antenas tienen medidas más razonables en altas frecuencias.

En resumen, la modulación permite aprovechar mejor el canal de comunicación ya que posibilita transmitir más información en forma simultánea por un mismo canal y/o

proteger la información de posibles interferencias y ruidos.

Page 4: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4

tipos de modulación

Lineal AM De onda continua Angular PM Analógica FM PAM PWM De pulsos PPMModulación PCM

ASK FSK

Digital PSK, BPSK, QPSK Mario-PSK

QAM

Page 5: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.1 Introducción

5

In an analog communication system, the fidelity of the signal must be maintained between the transmitter and the receiver. Any interference, distortion or noise will have a direct impact upon the signal quality at the receiver. In a digital communication system, the role of the receiver is to decide which symbol from a pre-defined alphabet of symbols has been sent. For instance, in a binary signalling system (signals are encoded either ‘1’ or ‘0’), the receiver must decide whether a ‘1’ or ‘0’ was sent. In a very simple system, this could be achieved using threshold detection. In the illustration above, it is evident that in the presence of a small amount of noise, the receiver can easily determine the bits in the data stream that was sent.

Page 6: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Esquemas básicos de modulación digital

6

Page 7: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.2 Teorema de Shannon

7

Page 8: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.3 Modulación digital ASK

8

In an amplitude shift keyed (ASK) system, the amplitude of the carrier is modulated according to the data stream. Typically, the carrier is pulsed on and off. At the receiver, the signal can be either coherently or non-coherently detected. In the non-coherent case, this means that we can simply detect the envelope of the signal to recover the transmitted signal. In a coherent receptionscheme, a phase locked oscillator is required (usually at some lower intermediate frequency) to translate the signal to baseband.

When transmitted over a wireless link, the amplitude of the received signal will vary, thus the threshold detection level needs to track this variation. Thus, some form of automatic gain control (AGC) will typically be employed to adjust the received signal strength (RSS). Due to the simplicity in implementation, ASK is typically used in some very low cost, short range telemetry applications.

Page 9: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.4 Modulación digital FSK

9

In a frequency shift keyed (FSK) system, the carrier frequency is modulated so that a data bit ‘1’ is encoded as f1 and a data bit ‘0’ is encoded as f2. In simple FSK systems, transmitter complexity is similar to that of an ASK system (except that the local oscillator usually requires better frequency stability). Note that the modulated signal has a constant envelope, allowing power efficient RF amplification.

FSK is a very popular modulation technique and is used in many different systems. Cellular and cordless radio systems such asGSM and DECT both use FSK.

Page 10: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.5 Modulación digital PSK

10

PSK(varia solo fase)

BPSK (solo 2 fases)

QPSK (4 fases)

Mario-PSK (2n fases)

QAM(varia fase y amplitud

Page 11: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

ASK, FSK y BPSK en matlab

11

Page 12: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Diagramas de constelación

12

Signal constellation diagram or constellation diagram  is the diagram used to representation of a signal modulated by a digital modulation (PSK Y QAM) and so Signal Constellation diagrams are used only in digital signal/technical ). Constellation diagram can be used to recognize the type of modulation, type of interference effect to signal and distortion in a signal… They are very important in telecommunications.

BPSKQPSK 8_PSK

Page 13: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.1.6 Modulación digital QAM

13

La modulación QAM es una modulación en amplitud y (fase) cuadratura. Esto quiere decir que la señal portadora sera modificada en amplitud y fase, atendiendo a la señal moduladora. Este proceso de batido da lugar a la señal modulada. Así, se pueden obtener distintas combinaciones de amplitud y fase, dando lugar a los diferentes tipos de modulación QAM que existen: 8-QAM, 16-QAM, 32-QAM, 64-QAM, 128-QAM, 256-QAM; donde los numeros indican las posibles combinaciones de amplitud y fase.

En QAM al usar distintas combinaciones de amplitud y fase, permite obtener, para una misma velocidad de modulación, una mayor tasa de bits (velocidad de transmisión. Para una velocidad de modulación de X baudios, QAM permite enviar hasta 8 bits por golpe de señal (en 256-QAM). La desventaja de esta modulación: La sincronización

Page 14: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Diagramas de constelación

14

16QAM

64QAM

32 QAM

Page 15: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2 COMUNICACIÓN DE DATOS

15

La comunicación digital o comunicación de datos es una expresión general que puede cubrir cualquier intercambio de información codificada. En un sentido más restringido puede definirse como la “transmisión de datos entre dos o más dispositivos terminales”. Esta definición restringida hace aparecer el importante concepto de “interfaz” entre la fuente generadora de datos y el canal digital propiamente dicho.

Page 16: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2.1 Transmisión digital de datos

16

• La transmisión digital consiste en el envío de información a través de medios de comunicaciones físicos en forma de señales digitales. Por lo tanto, las señales analógicas deben ser digitalizadas antes de ser transmitidas.

• Sin embargo, como la información digital no puede ser enviada en forma de 0 y 1, debe ser codificada.

• Para optimizar la transmisión, la señal debe ser codificada de manera de facilitar su transmisión en un medio físico. Existen varios sistemas de codificación para este propósito, los cuales se pueden dividir en tres categorías:

• Unipolares• Polares• Bipolares

Page 17: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

• Unipolar, usa un único valor de nivel, que generalmente representa el ‘1’ y el ‘0’ mantiene la señal a 0.

• Polar, usa dos niveles de amplitud. Hay varias codificaciones: NRZ, RZ, bifásica, pseudoternaria, manchester y manchester diferencial.

• Bipolar, usa 3 niveles: positivo, cero y negativo. Tipos: Bipolar con Inversión de marca alternada (AMI), Bipolar con sustitución de 8 ceros (B8ZS) y Bipolar 3 de alta densidad (HDB3).

Page 18: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CODIGOS DE LINEA (Ejemplos)

VER EL SIGUIENTE ENLACE

Page 19: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejercicio

19

Page 20: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

20

Page 21: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

21

CODIGOS DE LINEA (codificación en MATLAB)

Ver archivo .m

Page 22: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CODIGOS DE LINEA (B8ZS)

Page 23: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CODIGOS DE LINEA (HDB3)

Page 24: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CODIGOS DE LINEA (Resumen)

Page 25: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejercicio

25

Page 26: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2.2 Detección de errores.

26

Son mecanismos que sirven para guardar la integridad de los datos en una transmisión

PARIDAD

Simple

(horizontal)

Par

1 1101000

Impar

0 1101011

Cruzada

(horizontal-vertical)

PAR E IMPAR

Page 27: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejercicio sobre paridad

27

Page 28: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Paridad horizontal-vertical

28

La paridad horizontal y vertical es utilizada en algunos códigos de bloque para una combinación de chequeo de (LRC / VRC) para detectar errores. El LRC: Longitudinal Redundancy Checking ("Chequeo de Redundancia Horizontal") y el VRC: Vertical Redundancy Checking ("Chequeo de Redundancia Vertical").

El proceso para calcular la paridad de bloque es el siguiente:

•Los caracteres a transmitir se agrupan en bloques de n filas y m columnas •Se calcula el bit de paridad de cada fila y se añade al principio (o al final, según convenio) de la fila •Se calcula el bit de paridad de cada columna y se añade al principio (o al final, según convenio) de la columna

El bloque final a transmitir tendrá por tanto una fila y una columna más que el original.

•La nueva columna estará formada por los bits de paridad horizontal de todas las filas •La nueva fila estará formada por los bits de paridad vertical de todas las columnas. •Adicionalmente se emplea un bit de paridad cruzada que se calcula a partir de los bits de paridad de filas y columnas

Page 29: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejemplo

29

Page 30: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

30

0 0 0 0

1 1 1 1

0 0 0 0

1 1 0 0

0 0 0 0

1 0 0 1

1 0 0 1

0 0 1 1

Page 31: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

31

CRC: Cyclic Redundance Check (Chequeo de redundancia cíclica)

Intentando mejorar los códigos que sólo controlan la paridad de bit, aparecen los códigos cíclicos. Estos utilizan la aritmética modular para detectar una mayor cantidad de errores, se usan operaciones en módulo 2 y las sumas y restas se realizan sin acarreo (convirtiéndose en operaciones de tipo Or-Exclusivo o XOR). Además, para facilitar los cálculos se trabaja, aunque sólo teóricamente con polinomios.

Page 32: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CRC (chequeo de redundancia ciclica).

32

El equipo receptor debe comprobar el código CRC para detectar si se han producido o no errores

Ejemplo de los cálculos del receptor:

1º Mediante el protocolo correspondiente acuerdan el polinomio generador2º Divide el código recibido entre el polinomio generador3º Comprueba el resto de dicha operación

3.1 Si el resto es cero, no se han producido errores 3.2 Procesar el mensaje

3.1 Si el resto es distinto de cero, significa que se han producido errores 3.2 Reenviar el mensaje

3.2 Intentar corregir los errores mediante los códigos correctores

Page 33: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

33

TRANSMISION DIGITAL DE DATOS (CRC)

Uno de los códigos para la detección de errores más comunes y más potentes son los de comprobación de redundancia cíclica (CRC), que funcionan de la siguiente forma: se

tiene, por ejemplo, un bloque de datos o un mensaje de k-bits, el transmisor genera una secuencia de n-bits, a la cual se le llama secuencia de comprobación de la trama (FCS,

Frame Check Sequence), así que la trama resultante, con n + k bits, debe ser divisible por algún numero anteriormente predeterminado; posteriormente, cuando el receptor reciba

la trama, la dividirá por el número, y si al hacer la división no se encuentran residuos, quiere decir que la trama no tiene errores, de lo contrario existen errores.

Page 34: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejemplo

34

Page 35: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

35

Código Hamming

Publicado en 1950 por Richard Hamming. Se puede detectar error en un bit y corregirlo. Para errores en dos bits se utiliza Hamming extendido (pero no

corrige). Se utiliza para reparar errores en la transmisión de datos, donde

puede haber pérdidas.

Agrega 1 bit adicional de comprobación por cada cuatro bits de datos del mensaje.

Bits de paridad: Bits cuya posición es potencia de 2 (1,2,4,8,16,32,64,…)

Bits de datos: Bits del resto de posiciones (3,5,6,7,9,10,11,12,13,14,15,17…)

Page 36: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

36

Algoritmo del código Hamming

COMO TRABAJA HAMMING

Page 37: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Ejemplo

37

Page 38: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2.3 Conversión de datos

38

• Los procesos que tienen una realidad física, ya sean de origen natural o artificial, considerados de forma macroscópica presentan un comportamiento analógico. De manera, que cuando se realiza la medida de una magnitud implicada en uno de estos procesos, se obtiene una señal analógica que contiene la información relativa a dicha magnitud.

• De lo expuesto anteriormente, se desprenden dos afirmaciones ciertas:• El mundo real es por naturaleza analógico.• En la mayoría de los casos es más adecuado el procesamiento digital.• Si se quiere que las máquinas digitales extraigan información del mundo

físico y actúen sobre él, es preciso intercalar aentrada y a la salida del sistema digital interfaces convertidores analógico-digital y digital- analógico, respectivamente, que permitan al procesador digital interaccionar con su entorno

Page 39: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

39

2.3 CONVERSION ANALOGICO DIGITAL (Definición)

Proceso de llevar una señal analógica al entorno digital

VER VIDEO

FILTRAJEMUESTREOCUANTIZACION CODIFICACION

Page 40: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Teoría del muestreo

40

Page 41: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

41

2.2 CONVERSION ANALOGICO DGITAL (Técnicas de muestreo en matlab)

Una señal analógica, si es de banda limitada debe muestrearse al menos al doble de su frecuencia máxima, esto es fs= 2fmax, Ts = 1/fs = 1/2fmaxUna señal s(t), multiplicada por el peine de Dirac, da una señal muestreada s*(t).

%primero se genera el peine de DiracT = 1;t = -10:0.1:10;fun=sin(t);pdirac=0.0; for n=min(t): max(t) pdirac=pdirac+100*sinc(100*(t-T*n));end subplot (3,1,1); plot (t,fun);subplot (3,1,2); plot (t,pdirac); %luego se generan las muestras

mult=fun.*(pdirac);subplot (3,1,3); plot (t,mult);

Page 42: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Conversión de Señal Analógica a Señal Digital

Señal Analógica

• Contínua en el tiempo: Existe en todo

momento.

• Contínua en amplitud: Existe en cualquier valor de amplitud. Tiene un número

inifinito de valores de amplitud.

Señal Digital

• Discreta en el tiempo: Sólo existe en ciertos valores del tiempo.

• Discreta en amplitud: Sólo existe en ciertos valores de amplitud.

Tiene un número finito de valores de amplitud.

Page 43: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Proceso de Conversión A/D I

MUESTREO CUANTIZACIÓN CODIFICACIÓNf(t) d(t)

MUESTREO Discretización en el tiempo.

Toma de muestras de la señal analógica en valores determinados de tiempo.

CUANTIZACIÓN Discretización de amplitud.

Asignación de los valores de las muestras de la señal analógica a valores discretos, predefinidos, de un conjunto finito de valores.

CODIFICACIÓN Representación numérica de los valores cuantizados.

Asignación de un valor númérico a cada uno de los valores, ya discretos, de las muestras de la señal analógica.

f(t)

t

t

d(t)010011010110101011010

Page 44: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Proceso de Conversión A/D II

f(t)

t

tt

Valores originales de las muestras

Valores cuantizados

f(t)

f(t)

0 0 1 10 0 1 10 0 0 10 0 0 01 0 0 11 0 1 0

Muestreo

CuantizaciónCodificación

Page 45: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Muestreo

MUESTREO

frecuencia de muestreo

señalanalógica

f(t)

f(t)

t

fm(t)

t

°

°

° °

°

°°

0.601263

0.2943020.326483

0.645823 0.586528

-0.120152 -0.156337

señal muestreada

(infinito número de valores posibles de

las muestras)

Page 46: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Muestreo Ideal (Instantáneo)

f(t) |F(f)|

t ffmax

pi (t) |Pi (f)|

t ffm 2 fm 3 fm 4 fmTm

v

v

fm = 1/Tm

fmi(t)

t

|Fmi (f)|

ffm 2 fm 3 fm 4 fm

pi (t) = S d (t - nTm )n= - oo

n= + o o

Pi (w) = 2 / p Tm S d (w - k wm )k= - o o

k= + o o

fmi (t) = f(t) S d (t - nTm ) = S f (nTm) d (t - nTm)n= - o o

n= + o o

n= - oo

n= + o o

Fmi (w) = F(w) * Pi (w) = 1/ Tm S F (w - k wm )k= - o o

k= + o o

Tm

v

v

Page 47: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Recuperación de la Señal Original a Partir de sus Muestras

fmi(t)

t

|Fmi (f)|

f

fm 2 fm 3 fm 4 fm

f(t) |F(f)|

t f

fmax

f

fm 2 fm 3 fm 4 fm- fm

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

FiltroPasa-bajas

Page 48: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

fmi(t)

t

|Fmi (f)|

f

fm 2 fm 3 fm 4 fm

fm2 < fm

Consideraciones en la Frecuencia de Muestreo

fmi(t)

t

|Fmi (f)|

f

fm 2 fm 3 fm 4 fm

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

fm = 1/Tm

fmi(t)

t

|Fmi (f)|

f

fm 2 fm

fm1 > fm

fmax

fmax

fmax

Tm

Page 49: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

fffm-fmax fmax fm 2fmfffm-fmax fmax fm 2fm

Mínima Frecuencia de Muestreo

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

|Fmi (f)|

ffm 2 fmfmax

fmax fmax

|Fmi (f)|

ffm 2 fmfmax

fmax fmax

|Fmi (f)||Fmi (f)|

fm-fmax

fm > 2 fmax

Page 50: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Ejemplos de Muestreo de Señales

Rango de Frecuencias Frecuencia de Muestreo

Hz kHzVoz Telefónica 300 - 3,400 8Voz de Banda Ancha 50 - 7,000 16Audio Medio 10 - 11,000 24Audio de Banda Ancha (CD) 10 - 20,000 44.1

Page 51: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Muestreo Natural

pp(t) |Pp(f)|

t ffm 2 fm 3 fm 4 fm

Tm

v

v

fm = 1/Tm

f(t) |F(f)|

t ffmax

a

fmn(t)

t

|Fmn (f)|

ffm 2 fm 3 fm 4 fm

pp (t) = pp(t) = pp(t-nTm) Pp(w) = 2/k S sen(k p a) d (w - k wm )k= - oo

k= + o o

fmn (t) = f(t) pp(t) Fmn (w) = F(w) * Pp (w) = 1/k p S sen(k p a) F (w - k wm )k= - oo

k= + o o

Tm

1, 0 < t < a

0, a < t < Tm

= , fmn(t) = fmn(t-nTm)f(t), 0 < t < a

0, a < t < TmTm

Tm

v

v

a

2p / a

Page 52: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Muestreo de Pulso Plano y Sostenido

Fmq (w) = S sen(T w) F(w - k wm )

pq(t) |Pp(f)|

t f2p / T

T

v

v

f(t) |F(f)|

t ffmax

pq (t) = Pq(w) = 2/w sen( T w_)

fmq (t)

2

1, 0 < t < T

0, 0 > t > T

= S f(nT) pq(t - nT)

|Fmq (f)|

f fm

n= - oo

n= + o o

fmq(t)

t

T

v

v

Fmq (w) = S sen(T w) F(w - k wm )k= - oo

k= + oo

2

2_ wT

Page 53: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Cuantización I

CUANTIZACIÓNseñal cuantizada

(N valores posibles)

señal muestreada

(infinito número de valores posibles de

las muestras)

fm(t)

t

°

°

° °

°

°°

0.601263

0.2943020.326483

0.645823 0.586528

-0.120152 -0.156337

fm(t)

.7

.6

.5

.4

.3

.2

.1

-.1 -.2

Page 54: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Cuantización II

La cuantización asigna a la muestra de f(t) el valor de amplitud más cercano a su valor original de entre los N valores discretos predefinidos, lo que produce un error.

El error de cuantización disminuye mientras más valores discretos se definan.

Valores originales de las muestras

Valores cuantizados

f(t)

t

N1

N2

N3

N4

N5

N6

ec {

f(nT)

fc(nT)

nT

f(nT) = Valor original de f(t) en el tiempo de muestra nT

fc(nT) = Valor cuantizado de f(t) en el tiempo de muestra nT

ec = error de cuantización = f(nT) - fc(nT) N = Número de valores discretos

Page 55: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Ejemplos de Número de Valores en la Cuantización

Voz TelefónicaVoz de Banda AnchaAudio MedioAudio de Banda Ancha

Valores Posibles

n

256256

65,53665,536

Page 56: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

información digital binaria

d(t)(cada muestra representada con m bits)

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Codificación I

fm(t)

.7 .6 .5 .4 .3 .2 .1

-.1 -.2

0111 0110 0101 0100 0011 0010 0001 0000 1001 1010

CODIFICACIÓN

código digital de

m bits( N = 2 m )

señal cuantizada

(N valores posibles)

t

d(t) información digital binaria representada como señal en el

tiempo

010110101010110101011

Page 57: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Codificación II

La codificación asigna un valor numérico (código digital binario) a cada uno de los N valores discretos utilizados en la cuantización.

La representación de N valores a través de un código digital binario corresponde a un número de bits m que cumple con la relación:

N = 2m

Los números del código digital asignado no necesariamente deben de tener una relación directa con el valor real de la señal original f(t), sino que puede considerarse que f(t) es normalizada para su codificación. Los valores reales de f(t) pueden ser recuperados en el proceso de conversión digital a analógica a través de un proceso de desnormalización (normalmente la multiplicación por una constante y la posible suma o resta de una componente de directa).

Page 58: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Características de Conversión A/D de Varias Señales

Page 59: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Telecomunicaciones Conversión de Señal Analógica a Señal Digital

Modulación por Código de Pulsos (PCM)

MUESTREO CUANTIZACIÓN CODIFICACIÓN

frecuencia de muestreo

información digital binaria

señalanalógica

f(t)

infinito número de valores de las

muestrasn valores posibles código digital de m bits

( n = 2 m )

DECODIFICACIÓN

señalanalógica

f(t)

información digital binaria

n valores posibles

De acuerdo a la manera como se realice la codificación se puede tener también:

Modulación DELTA (MD)

Modulación PCM Diferencial Adaptable (ADPCM)

Page 60: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2.4 Transmision paralela y serial

60

Transmisión de DatosTransmisión de Datos

Paralelo Paralelo serial serial

Síncrono Síncrono Asíncrono Asíncrono

Page 61: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CONCEPTOS BÁSICOSCONCEPTOS BÁSICOS

2 MODOS DE COMUNICACIÓN

De acuerdo a la transmisión de flujo de datos, pueden ser:

2Paralelo 2serial

2 MODOS DE COMUNICACIÓN

De acuerdo a la transmisión de flujo de datos, pueden ser:

2Paralelo 2serial

Carlos Canto

Comunicación de Datos

Carlos E. Canto Quintal

Page 62: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación Paralela

Comunicación de Datos

Carlos E. Canto Quintal

Page 63: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación de Datos

Carlos E. Canto Quintal

Page 64: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CONCEPTOS BÁSICOSCONCEPTOS BÁSICOS

2 MODOS DE COMUNICACIÓNDe acuerdo al sentido de la

transmisión se clasifican en:SIMPLEXHALF DUPLEX O SEMI-DUPLEXFULL DUPLEX O DUPLEX COMPLETO

2 MODOS DE COMUNICACIÓNDe acuerdo al sentido de la

transmisión se clasifican en:SIMPLEXHALF DUPLEX O SEMI-DUPLEXFULL DUPLEX O DUPLEX COMPLETO

Carlos Canto

Page 65: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Receptor

Dato

Transmisor

MODOS DE COMUNICACIÓN

ES COMUNICACIÓN EN UN SOLO SENTIDOES COMUNICACIÓN EN UN SOLO SENTIDO

SIMPLEX

Page 66: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Receptor

Dato

Transmisor

ES COMUNICACIÓN EN UN SOLO SENTIDOES COMUNICACIÓN EN UN SOLO SENTIDO

El mensaje siempre viajará de transmisor a receptorEl mensaje siempre viajará de transmisor a receptor

MODOS DE COMUNICACIÓN SIMPLEX

Page 67: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Receptor

Dato

Transmisor

ES COMUNICACIÓN EN UN SOLO SENTIDOES COMUNICACIÓN EN UN SOLO SENTIDO

El mensaje siempre viajará de transmisor a receptorEl mensaje siempre viajará de transmisor a receptor

MODOS DE COMUNICACIÓN SIMPLEX

Page 68: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Receptor

Dato

Transmisor

ES COMUNICACIÓN EN UN SOLO SENTIDOES COMUNICACIÓN EN UN SOLO SENTIDO

El mensaje siempre viajará de transmisor a receptorEl mensaje siempre viajará de transmisor a receptor

MODOS DE COMUNICACIÓN SIMPLEX

Page 69: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

COMO EJEMPLO DE COMUNICACIÓN SIMPLEXSE PUEDE MENCIONAR

UNA TRANSMISIÓN DE RADIO O TELEVISIÓN

COMO EJEMPLO DE COMUNICACIÓN SIMPLEXSE PUEDE MENCIONAR

UNA TRANSMISIÓN DE RADIO O TELEVISIÓN

Carlos Canto

Page 70: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 71: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 72: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 73: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 74: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 75: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 76: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 77: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 78: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 79: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 80: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Transmisor

Receptor Transmisor

Receptor

MODOS DE COMUNICACIÓN

HALF DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS PERO NO SIMULTÁNEAMENTE

Carlos Canto

Page 81: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

UNA COMUNICACIÓN VIA “ WALKIE TALKIE” ES UN EJEMPLO TÍPICO DE

COMUNICACIÓN HALF-DUPLEX

Carlos Canto

Page 82: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 83: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 84: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 85: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 86: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 87: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MODOS DE COMUNICACIÓN

FULL DUPLEX :

LA COMUNICACIÓN PUEDE SER EN AMBOS SENTIDOS Y SIMULTÁNEAMENTE

Carlos Canto

Transmisor Receptor

Receptor Transmisor

Page 88: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Como un ejemplo de comunicación FULL-DUPLEX

Podríamos mencionar un comunicación vía

telefónica, ya que se puede hablar y escuchar

simultáneamente

Podríamos mencionar un comunicación vía

telefónica, ya que se puede hablar y escuchar

simultáneamenteCarlos Canto

Page 89: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

CONCEPTOS BÁSICOSCONCEPTOS BÁSICOS

Carlos Canto

SÍNCRONO

ASÍNCRONO

De acuerdo a su temporización pueden ser:

Page 90: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

In synchronous transmission, we send bits one after another without

start/stop bits or gaps. It is the responsibility of the receiver to

group the bits.

Comunicación de Datos

Carlos E. Canto Quintal

Page 91: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación de Datos

Carlos E. Canto Quintal

Page 92: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación sincrónica

Comunicación sincrónica Se caracteriza porque el dato

es enviado junto con la señal de reloj del transmisor

ReceptorTransmisor

Carlos CantoCarlos Canto

Page 93: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación sincrónica

Comunicación sincrónica Se caracteriza porque el dato

es enviado junto con la señal de reloj del transmisor

Receptor

Dato

Transmisor

sincronía

Carlos CantoCarlos Canto

Page 94: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación sincrónica

Comunicación sincrónica Se caracteriza porque el dato

es enviado junto con la señal de reloj del transmisor

Receptor

Dato

Transmisor

sincronía

Carlos CantoCarlos Canto

Page 95: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación sincrónica

Comunicación sincrónica Se caracteriza porque el dato

es enviado junto con la señal de reloj del transmisor

Receptor

Dato

Transmisor

sincronía

Carlos CantoCarlos Canto

Page 96: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación sincrónica

Comunicación sincrónica Se caracteriza porque el dato

es enviado junto con la señal de reloj del transmisor

Receptor

Dato

Transmisor

sincronía

Carlos CantoCarlos Canto

Page 97: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

En transmisión asíncrona, enviamos 1bit de arranque (0) al inicio y 1 bit o más de parada (1s) al final de cada

byte. Podría haber un gap entre cada byte.

Comunicación de Datos

Carlos E. Canto Quintal

Page 98: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Asíncrono aquí significa “asíncrono a nivel byte”, pero los bits se mantienen aún sincronizados; sus duraciones son

la misma .

Comunicación de Datos

Carlos E. Canto Quintal

Page 99: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación de Datos

Carlos E. Canto Quintal

Page 100: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación asíncronaComunicación asíncrona

Receptor

Dato

Transmisor

Ft Fr

Ft=Fr

ASÍNCRONO, SIGNIFICA QUE EL TRANSMISOR

Y EL RECEPTOR TIENEN SUS PROPIOS

GENERADORES DE BAUDAJE CON LA MISMA

FRECUENCIA PERO INDEPENDIENTES..............Carlos Canto

Page 101: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Comunicación asíncronaComunicación asíncrona

Receptor

Dato

Transmisor

Ft Fr

Ft=Fr

NO EXISTE UNA SEÑAL DE SINCRONÍA ENTRE

TRANSMISOR Y RECEPTOR..............

Carlos Canto

Page 102: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

DICHO DE OTRA MANERA:

• Ambos dispositivos deben manejar la misma velocidad de transmisión aunque cada dispositivo temporiza sus transmisiones independientemente.

Receptor

Dato

Transmisor

Carlos Canto

Page 103: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.2.5 Modulación por codificacion de pulsos (PCM)

103

A digital signal is superior to an analog signal because it is more robust to noise and can easily be recovered, corrected and amplified. For this reason, the tendency today is to change an analog signal to digital data. In this section we describe two techniques, pulse code modulation and delta modulation.

Topics discussed in this section:

Pulse Code Modulation (PCM)

Delta Modulation (DM)

Page 104: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.104

PCM PCM consists of three steps to digitize

an analog signal:1. Sampling2. Quantization3. 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.

Page 105: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.105

Components of PCM encoder

Page 106: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.106

Sampling 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

Page 107: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.107

Three different sampling methods for PCM

Page 108: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.108

According to the Nyquist theorem, the sampling rate must be

at least 2 times the highest frequency contained in the signal.

Note

Page 109: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.109

Nyquist sampling rate for low-pass and bandpass signals

Page 110: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.110

Recovery of a sampled sine wave for different sampling rates

Page 111: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.111

Telephone companies digitize voice by assuming a maximum frequency of 4000 Hz. The sampling rate therefore is 8000 samples per second.

Example

Page 112: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.112

A complex low-pass signal has a bandwidth of 200 kHz. What is the minimum sampling rate for this signal?

SolutionThe bandwidth of a low-pass signal is between 0 and f, where f is the maximum frequency in the signal. Therefore, we can sample this signal at 2 times the highest frequency (200 kHz). The sampling rate is therefore 400,000 samples per second.

Example

Page 113: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.113

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)/L

Page 114: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.114

Quantization 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.

Page 115: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.115

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 rate

Page 116: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.116

Quantization 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.

Page 117: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.117

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.

Page 118: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.118

We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample?

SolutionThe human voice normally contains frequencies from 0 to 4000 Hz. So the sampling rate and bit rate are calculated as follows:

Example 4.14

Page 119: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.119

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.

Page 120: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.120

Figure 4.27 Components of a PCM decoder

Page 121: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.121

Delta Modulation 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 tn, 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.

Page 122: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.122

The process of delta modulation

Page 123: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.123

Delta modulation components

Page 124: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.124

Delta demodulation components

Page 125: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

4.125

Delta PCM (DPCM)

Instead of using one bit to indicate positive and negative differences, we can use more bits -> quantization of the difference.

Each bit code is used to represent the value of the difference.

The more bits the more levels -> the higher the accuracy.

Page 127: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es la comunicación serial

La comunicación serial es un protocolo muy común para comunicación entre dispositivos que se incluye de manera estándar en prácticamente cualquier computadora.

La mayoría de las computadoras incluyen dos puertos seriales RS-232. La comunicación serial es también un protocolo común utilizado por varios dispositivos para instrumentación.

Además, la comunicación serial puede ser utilizada para adquisición de datos si se usa en conjunto con un dispositivo remoto de muestreo.

Page 128: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es la comunicación serial

El concepto de comunicación serial es sencillo.

El puerto serial envía y recibe bytes de información un bit a la vez. Aun y cuando esto es más lento que la comunicación en paralelo, que permite la transmisión de un byte completo por vez, este método de comunicación es más sencillo y puede alcanzar mayores distancias.

La especificación IEEE 488 para la comunicación en paralelo determina que el largo del cable para el equipo no puede ser mayor a 20 metros; por el otro lado, utilizando comunicación serial el largo del cable puede llegar a los 1200 metros.

Page 129: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es la comunicación seria

Típicamente, la comunicación serial se utiliza para transmitir datos en formato ASCII.

Para realizar la comunicación se utilizan 3 líneas de transmisión: (1) Tierra (o referencia), (2) Transmitir, (3) Recibir.

Debido a que la transmisión es asincrónica, es posible enviar datos por un línea mientras se reciben datos por otra.

Page 130: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es la comunicación serial?

Existen otras líneas disponibles para realizar handshaking, o intercambio de pulsos de sincronización, pero no son requeridas.

Las características más importantes de la comunicación serial son: la velocidad de transmisión, los bits de datos, los bits de parada, y la paridad.

Para que dos puertos se puedan comunicar, es necesario que las características sean iguales.

Page 131: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Velocidad de transmisión (baud rate): Indica el número de bits por segundo que se transfieren,

y se mide en baudios (bauds).

Por ejemplo, 300 baudios representa 300 bits por segundo.

Cuando se hace referencia a los ciclos de reloj se está hablando de la velocidad de transmisión.

Por ejemplo, si el protocolo hace una llamada a 4800 ciclos de reloj, entonces el reloj está corriendo a 4800 Hz, lo que significa que el puerto serial está muestreando las líneas de transmisión a 4800 Hz.

Page 132: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Velocidad de transmisión (baud rate): Las velocidades de transmisión más comunes para las

lineas telefónicas son de 14400, 28800, y 33600.

Es posible tener velocidades más altas, pero se reduciría la distancia máxima posible entre los dispositivos.

Las altas velocidades se utilizan cuando los dispositivos se encuentran uno junto al otro, como es el caso de dispositivos GPIB.

Page 133: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Bits de datos:

Se refiere a la cantidad de bits en la transmisión.

Cuando la computadora envía un paquete de información, el tamaño de ese paquete no necesariamente será de 8 bits.

Las cantidades más comunes de bits por paquete son 5, 7 y 8 bits.

El número de bits que se envía depende en el tipo de información que se transfiere.

Page 134: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Bits de datos: Por ejemplo, el ASCII estándar tiene un rango de 0 a 127,

es decir, utiliza 7 bits. Para ASCII extendido es de 0 a 255, lo que utiliza 8 bits. Si el tipo de datos que se está transfiriendo es texto simple

(ASCII estándar), entonces es suficiente con utilizar 7 bits por paquete para la comunicación.

Un paquete se refiere a una transferencia de byte, incluyendo los bits de inicio/parada, bits de datos, y paridad. Debido a que el número actual de bits depende en el protocolo que se seleccione, el término paquete se usar para referirse a todos los casos.

Page 135: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Bits de parada: Usado para indicar el fin de la comunicación de un solo

paquete. Los valores típicos son 1, 1.5 o 2 bits. Debido a la manera como se transfiere la información a

través de las líneas de comunicación y que cada dispositivo tiene su propio reloj, es posible que los dos dispositivos no estén sincronizados.

Por lo tanto, los bits de parada no sólo indican el fin de la transmisión sino además dan un margen de tolerancia para esa diferencia de los relojes.

Mientras más bits de parada se usen, mayor será la tolerancia a la sincronía de los relojes, sin embargo la

transmisión será más lenta.

Page 136: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Paridad:

Es una forma sencilla de verificar si hay errores en la transmisión serial.

Existen cuatro tipos de paridad: par, impar, marcada y espaciada.

La opción de no usar paridad alguna también está disponible.

Page 137: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Paridad:

Para paridad par e impar, el puerto serial fijará el bit de paridad (el último bit después de los bits de datos) a un valor para asegurarse que la transmisión tenga un número par o impar de bits en estado alto lógico. Por ejemplo, si la información a transmitir es 011 y la paridad es

par, el bit de paridad sería 0 para mantener el número de bits en estado alto lógico como par.

Si la paridad seleccionada fuera impar, entonces el bit de paridad sería 1, para tener 3 bits en estado alto lógico.

Page 138: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Paridad:

La paridad marcada y espaciada en realidad no verifican el estado de los bits de datos; simplemente fija el bit de paridad en estado lógico alto para la marcada, y en estado lógico bajo para la espaciada.

Esto permite al dispositivo receptor conocer de antemano el estado de un bit, lo que serviría para determinar si hay ruido que esté afectando de manera negativa la transmisión de los datos, o si los relojes de

los dispositivos no están sincronizados.

Page 139: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

RS-232 (Estándar ANSI/EIA-232)

Es el conector serial hallado en las PCs IBM y compatibles.

Es utilizado para una gran variedad de propósitos, como conectar un ratón, impresora o modem, así como instrumentación industrial.

Gracias a las mejoras que se han ido desarrollando en las líneas de transmisión y en los cables, existen aplicaciones en las que se aumenta el desempeño de RS-232 en lo que respecta a la distancia y velocidad del estándar.

Page 140: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

RS-232 (Estándar ANSI/EIA-232)

RS-232 está limitado a comunicaciones de punto a punto entre los dispositivos y el puerto serial de la computadora. El hardware de RS-232 se puede utilizar para comunicaciones seriales en distancias de hasta 50 pies.

-------------- \ 1 2 3 4 5 / \ 6 7 8 9 / ---------

Page 141: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

Funciones de los pines en RS-232:

Datos: TXD (pin 3), RXD (pin 2)

Handshake: RTS (pin 7), CTS (pin 8), DSR (pin 6), DCD (pin 1), DTR (pin 4)

Tierra: GND (pin 5) Otros: RI (pin 9)

Page 142: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es RS-422?

RS-422 (Estándar EIA RS-422-A) es el conector serial utilizado en las computadoras Apple de Macintosh.

RS-422 usa señales eléctricas diferenciales, en comparación con señales referenciadas a tierra como en RS-232.

La transmisión diferencial, que utiliza dos líneas para transmitir y recibir, tiene la ventaja que es más inmune al ruido y puede lograr mayores distancias que RS-232.

La inmunidad al ruido y la distancia son dos puntos

clave para ambientes y aplicaciones industriales.

Page 143: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es RS-485?

RS-485 (Estándar EIA-485) es una mejora sobre RS-422 ya que incrementa el número de dispositivos que se pueden conectar (de 10 a 32) y define las características necesarias para asegurar los valores adecuados de voltaje cuando se tiene la carga máxima.

Gracias a esta capacidad, es posible crear redes de dispositivos conectados a un solo puerto RS-485.

Page 144: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es RS-485?

Esta capacidad, y la gran inmunidad al ruido, hacen que este tipo de transmisión serial sea la elección de muchas aplicaciones industriales que necesitan dispositivos distribuidos en red conectados a una PC u otro controlador para la colección de datos, HMI, u otras operaciones.

RS-485 es un conjunto que cubre RS-422, por lo que todos los dispositivos que se comunican usando RS-422 pueden ser controlados por RS-485.

El hardware de RS-485 se puede utilizar en comunicaciones seriales de distancias de hasta 4000 pies

de cable.

Page 145: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es handshaking ( intercambio de pulsos de sincronización)?

El método de comunicación usado por RS-232 requiere de una conexión muy simple, utilizando sólo tres líneas: Tx, Rx, y GND.

Sin embargo, para que los datos puedan ser transmitidos correctamente ambos extremos deben estar sincronizados a la misma velocidad.

Aun y cuando este método es más que suficiente para la mayoría de las aplicaciones, es limitado en su respuesta a posibles problemas que puedan surgir durante la comunicación.

Page 146: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

¿Qué es handshaking ( intercambio de pulsos de sincronización)?

por ejemplo, si el receptor se comienza a sobrecargar de información.

Es en estos casos cuando el intercambio de pulsos de sincronización, o handshaking, es útil.

Las tres formas más populares de handshaking con RS-232: handshaking for software, handshaking por hardware, y XModem.

Page 147: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

3.3 Multiplexado y demultiplexado

Proceso que permite que varios usuarios compartan un medio de transmisión

VERANO 2012 ING. MAPS 147

Page 148: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION (Tipos de multiplexación)

Proceso que permite que varios usuarios compartan un medio de transmisión {

Frecuencia (FDMA)Tiempo (TDMA)Código (CDMA)Longitud de onda (WDMA)

FDM= Frequency Division Multiplexing

T I E M P OT I E M P O

FR

EC

UE

NC

IAF

RE

CU

EN

CIA U S U A R I O 1

U S U A R I O 2

U S U A R I O 3

TDM= Time División Multiplexing

WDM= Code Division Multiplexing

VERANO 2012 ING. MAPS

148

Page 149: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM (Proceso de multiplexación y demultiplexación)

VERANO 2012 ING. MAPS

149

Page 150: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM (FDM en el dominio del tiempo y en el dominio de la

frecuencia)

VERANO 2012 ING. MAPS

150

Page 151: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM(Nuevamente en el dominio de la frecuencia)

VERANO 2012 ING. MAPS 151

Page 152: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM (FDM aplicada a la telefonía analógica)

VERANO 2012 ING. MAPS152

Page 153: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

1.1 MULTIPLEXACION FDM (FDM aplicado a enlaces de radio y satelitales)

VERANO 2012 ING. MAPS153

Page 154: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM (Jerarquía de multiplexación analógica)

VERANO 2012 ING. MAPS 154

Page 155: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION FDM Aplicaciones de FDM en la radiodifusión AM y FM

VERANO 2012 ING. MAPS 155

Page 156: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Conceptos de Multiplexación por división de tiempo)

VERANO 2012 ING. MAPS

156

Page 157: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM ( Denominaciones)

VERANO 2012 ING. MAPS

157

Page 158: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION (TDM: Ejemplo_1 TDM SINCRONA)

VERANO 2012 ING. MAPS

158

Page 159: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (TDM: Ejemplos)

VERANO 2012 ING. MAPS

159

Page 160: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Sincronización de tramas)

VERANO 2012 ING. MAPS 160

Page 161: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Aplicaciones en la telefonía digital)

VERANO 2012 ING. MAPS

161

Page 162: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (PDH: Jerarquia digital plesiocrona)

VERANO 2012 ING. MAPS

162

Page 163: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Multiplexación TDM en el estándar americano)

VERANO 2012 ING. MAPS 163

Page 164: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Redes ópticas síncronas SDH)

VERANO 2012 ING. MAPS

164

Page 165: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Multiplexación SDH)

VERANO 2012 ING. MAPS

165

Page 166: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (TDM Asíncrona)

VERANO 2012 ING. MAPS

166

Page 167: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Ejemplo de aplicación de TDM asincrona)

VERANO 2012 ING. MAPS

167

Page 168: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION WDM (wavelength division multiplexing) (multiplexación por división por longitud de onda)

VERANO 2012 ING. MAPS

168

Page 169: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION WDM (Sistemas WDM)

VERANO 2012 ING. MAPS

169

Page 170: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

1.3 MULTIPLEXACION WDM (Tipos de sistemas WDM)

VERANO 2012 ING. MAPS170

Page 171: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION TDM (Topologías para DWDM)

VERANO 2012 ING. MAPS171

Page 172: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION WDM (Topología en anillo)

VERANO 2012 ING. MAPS

172

Page 173: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

MULTIPLEXACION WDM (Topología de malla)

VERANO 2012 ING. MAPS 173

Page 174: 1 CURSO: INTRODUCCION A LAS TELECOMUNICACIONES © ILCEO: ING. MIGUEL ANGEL PEREZ SOLANO INSTRUCTOR: MIGUEL ANGEL PEREZ SOLANO Ingeniero en Comunicaciones

174

FIN DE LA UNIDAD 3