Está en la página 1de 7

UNIVERSIDAD NACIONAL DE CHIMBORAZO

CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

GUÍA DE PRÁCTICAS (4)

ANTENAS – UNIDAD 4

Nombre: Dayana Menaly Luzuriaga Moran

Semestre: 7mo

Fecha: 20/01/2019

1. Tema: Balance de potencia

2. Objetivos:

General:
 Calcular el balance de potencia de radioenlaces

Específicos:
 Determinar sus parámetros

3. Conocimientos previos:

 Propagación
 Potencia
 Microondas

4. Instrucciones:

 Realizar un programa que calcule automáticamente el balance de potencia

5. Equipos y Materiales:
Equipos Materiales
 Computadora
 MATLAB  Guía de práctica actualizada

6. Fundamento Teóricos:

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

7. Procedimientos y actividades:
Abrir Matlab y proceder a guide para realizar el radio enlace
Acoplamos los cálculos tanto del ytrasmisoor y receptor de las frecuencias de 2.4 Ghz y 5.2

8. Resultados
function varargout = RadioEnlace(varargin)
% RADIOENLACE MATLAB code for RadioEnlace.fig
% RADIOENLACE, by itself, creates a new RADIOENLACE or raises the existing
% singleton*.
%
% H = RADIOENLACE returns the handle to a new RADIOENLACE or the handle to
% the existing singleton*.
%
% RADIOENLACE('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in RADIOENLACE.M with the given input arguments.
%
% RADIOENLACE('Property','Value',...) creates a new RADIOENLACE or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before RadioEnlace_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to RadioEnlace_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES

% Edit the above text to modify the response to help RadioEnlace

% Last Modified by GUIDE v2.5 22-Feb-2018 22:13:42

% Begin initialization code - DO NOT EDIT


gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

'gui_OpeningFcn', @RadioEnlace_OpeningFcn, ...


'gui_OutputFcn', @RadioEnlace_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT

% --- Executes just before RadioEnlace is made visible.


function RadioEnlace_OpeningFcn(hObject, eventdata, handles, varargin)

handles.output = hObject;
guidata(hObject, handles);

a=imread('Fondo.png');
axes(handles.axes1);
image(a)
axis off
b=imread('Fig1.jpg');
axes(handles.axes2);
image(b)
axis off

c=imread('Frecuencias.png');
axes(handles.axes3);
image(c)
axis off

function varargout = RadioEnlace_OutputFcn(hObject, eventdata, handles)


% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure


varargout{1} = handles.output;

% --- Executes on button press in pushbutton1.


function pushbutton1_Callback(hObject, eventdata, handles)

Pt = str2double(get(handles.edit2,'String'));

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

GanT = str2double(get(handles.edit1,'String'));
GanR = str2double(get(handles.edit3,'String'));
Pr = str2double(get(handles.edit4,'String'));
St= str2double(get(handles.edit24,'String'));
Sr= str2double(get(handles.edit25,'String'));

dPt=10*log10(Pt);
dPr=10*log10(Pr);

% --- 2.4Ghz ---


if Pt<=1000 && Pr<=1000
Gt=dPt+GanT+GanR-4;
LFSL=32.4+(20*log10(5))+(20*log10(2.4e3));
Ns=Gt-LFSL;
SenTx=Ns-St;
Gt2=dPr+GanR+GanT-4;
Ns2=Gt2-LFSL;
SenRx=Ns2-Sr;

if Ns < St
set(handles.text21,'String','Radioenlace de ida no cumple');
end
if Ns2 < Sr
set(handles.text21,'String','Radioenlace de retorno no cumple');
end
if (Ns2 < Sr) && (Ns < St)
set(handles.text21,'String','Radioenlace de ida y retorno no cumplen');
end
if SenTx >10 || SenTx < 7
set(handles.text51,'String','Margen sensibilidad Tx no cumple')
end
if SenRx>10 || SenRx < 7
set(handles.text51,'String','Margen sensibilidad Rx no cumple')
end
if SenTx>10 || SenTx < 7 && SenRx>10 || SenRx < 7
set(handles.text51,'String','Margen sensibilidad Tx y Rx no cumple')
end
set(handles.edit6,'String',Gt);
set(handles.edit7,'String',LFSL);
set(handles.edit8,'String',Ns);
set(handles.edit9,'String',Gt2);
set(handles.edit10,'String',LFSL);
set(handles.edit11,'String',Ns2);
set(handles.edit26,'String',SenTx);
set(handles.edit27,'String',SenRx);
end
% --- 5.2Ghz ---

if Pt<=50 && Pr<=50

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

Gta=dPt+GanT+GanR-4;
LFSL2=32.4+(20*log10(5))+(20*log10(5.2e3));
Nsa=Gta-LFSL2;
SenTxa=Nsa-St;
Gta2=dPr+GanR+GanT-4;
Nsa2=Gta2-LFSL2;
SenRxa=Nsa2-St;

if Nsa < St
set(handles.text31,'String','Radioenlace de ida no cumple');
end
if Nsa2 < Sr
set(handles.text31,'String','Radioenlace de retorno no cumple');
end
if (Nsa2 < Sr) && (Nsa < St)
set(handles.text31,'String','Radioenlace de ida y retorno no cumplen');
end

if SenTxa>10 || SenTxa < 7


set(handles.text52,'String','Margen sensibilidad Tx no cumple')
end
if SenRxa>10 || SenRxa < 7
set(handles.text52,'String','Margen sensibilidad Rx no cumple')
end
if SenTxa>10 || SenTxa < 7 && SenRxa>10 || SenRxa < 7
set(handles.text52,'String','Margen sensibilidad Tx y Rx no cumple')
end

set(handles.edit12,'String',Gta);
set(handles.edit13,'String',LFSL2);
set(handles.edit14,'String',Nsa);
set(handles.edit15,'String',Gta2);
set(handles.edit16,'String',LFSL2);
set(handles.edit17,'String',Nsa2);
set(handles.edit28,'String',SenTxa);
set(handles.edit29,'String',SenRxa);
end
% --- 5.8Ghz ---
if Pt<=1000 && Pr<=1000
Gtb=dPt+GanT+GanR-4;
LFSL3=32.4+(20*log10(5))+(20*log10(5.8e3));
Nsb=Gtb-LFSL3;
SenTxb=Nsb-St;
Gtb2=dPr+GanR+GanT-4;
Nsb2=Gtb2-LFSL3;
SenRxb=Nsb2-St;
if Nsb < St
set(handles.text41,'String','Radioenlace de ida no cumple');
end
if Nsb2 < Sr

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

set(handles.text41,'String','Radioenlace de retorno no cumple');


end
if (Nsb2 < Sr) && (Nsb < St)
set(handles.text41,'String','Radioenlace de ida y retorno no cumplen');
end
if SenTxb> 10 || SenTxb < 7
set(handles.text53,'String','Margen sensibilidad Tx no cumple')
end
if SenRxb>10 || SenRxb < 7
set(handles.text53,'String','Margen sensibilidad Rx no cumple')
end
if SenTxb>10 || SenTxb < 7 && SenRxb>10 || SenRxb < 7
set(handles.text53,'String','Margen sensibilidad Tx y Rx no cumple')
end
set(handles.edit18,'String',Gtb);
set(handles.edit19,'String',LFSL3);
set(handles.edit20,'String',Nsb);
set(handles.edit21,'String',Gtb2);
set(handles.edit22,'String',LFSL3);
set(handles.edit23,'String',Nsb2);
set(handles.edit30,'String',SenTxb);
set(handles.edit31,'String',SenRxb);
end

if(Pt==Pr)
set(handles.text44,'String','El Radioenlace es recíproco');
else
set(handles.text44,'String','El Radioenlace no es recíproco');
set(handles.text18,'Visible','on');set(handles.text19,'Visible','on');
set(handles.text28,'Visible','on');set(handles.text29,'Visible','on');
set(handles.text38,'Visible','on');set(handles.text39,'Visible','on');

set(handles.text15,'Visible','on');set(handles.text16,'Visible','on');set(handles.text17,'Visible','on');

set(handles.text25,'Visible','on');set(handles.text26,'Visible','on');set(handles.text27,'Visible','on');

set(handles.text35,'Visible','on');set(handles.text36,'Visible','on');set(handles.text37,'Visible','on');

set(handles.edit9,'Visible','on');set(handles.edit10,'Visible','on');set(handles.edit11,'Visible','on');

set(handles.edit15,'Visible','on');set(handles.edit16,'Visible','on');set(handles.edit17,'Visible','on');

set(handles.edit21,'Visible','on');set(handles.edit22,'Visible','on');set(handles.edit23,'Visible','on');

set(handles.edit27,'Visible','on');set(handles.edit29,'Visible','on');set(handles.edit31,'Visible','on');
set(handles.text31,'Visible','on');
end

ANTENAS – UNIDAD 4 Ing. José Luis Jinez


UNIVERSIDAD NACIONAL DE CHIMBORAZO
CARRERA DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES

9. Conclusiones y Recomendaciones:
CONCLUSIONES
Tenemos una frecuencia d3e 2.4 GHz la potencia Max debe de ser de 1000mW de 5.2 GHz va
ser 50mW.
Par ejecutar o realizar el programa se debe tomar en cuenta las inclemencias climáticas del radio
enlace para que se ha tomado en cuenta para el cálculo en el programa.

RECOMENDACIONES
Se recomienda el conocimiento previo en Guide y el cálculo eficaz de radio enlaces oara que se
ha comparados los cálculos obtenidos a mano en el programa.

ANTENAS – UNIDAD 4 Ing. José Luis Jinez

También podría gustarte