Está en la página 1de 11

Table of Contents

........................................................................................................................................ 1
Jaula de Ardilla en Vaco ..................................................................................................... 1
Rotor Devanado en Vaco ..................................................................................................... 2
Jaula de Ardilla 220 W ........................................................................................................ 4
Rotor Devanado 190 W ....................................................................................................... 5
Jaula de Ardilla 520 W ........................................................................................................ 6
Rotor Devanado 500 W ....................................................................................................... 8
Jaula de Ardilla 980 W ........................................................................................................ 9

%Filtro para las curvas Pd y Td - s


%Edison Candamil, 1/Abril/2017

clear
clc
close all

Jaula de Ardilla en Vaco


t = xlsread('datos',1,'A3:A602');
s1 = xlsread('datos',1,'B3:B602');
Td1 = xlsread('datos',1,'C3:C602');
N = 70;
Wn = 0.011;
h = fir1(N,Wn);
y = filter(h,1,s1);
N1 = 70;
Wn1 = 0.011;
h1 = fir1(N1,Wn1);
y1 = filter(h1,1,Td1);

figure
set(gcf,'Name','Jaula de Ardilla en Vaco')
subplot(3,2,1)
plot(t,s1)
title('s')
axis([t(1) t(600) 0 4])
grid
subplot(3,2,2)
plot(t,y)
title('s Filtrado')
axis([t(1) t(600) 0 4])
grid
subplot(3,2,4)
plot(t,y1)
title('Td Filtrado')
axis([t(1) t(600) 0 0.025])
grid

1
subplot(3,2,3)
plot(t,Td1)
title('Td')
axis([t(1) t(600) 0 0.06])
grid
subplot(3,2,5.5)
plot(y,y1)
axis([-0.05 1 0 0.025])
set(gca,'xDir','reverse')
title('Td-s')

Rotor Devanado en Vaco


t2 = xlsread('datos',2,'A3:A602');
s2 = xlsread('datos',2,'B3:B602');
Td2 = xlsread('datos',2,'C3:C602');
N2 = 150;
Wn2 = 0.011;
h2 = fir1(N2,Wn2);
y2 = filter(h2,1,s2);
N3 = 70;
Wn3 = 0.011;
h3 = fir1(N3,Wn3);
y3 = filter(h3,1,Td2);

figure

2
set(gcf,'Name','Rotor Devanado en Vaco')
subplot(3,2,1)
plot(t2,s2)
title('s')
axis([t2(1) t2(600) 0 4])
grid
subplot(3,2,2)
plot(t2,y2)
title('s Filtrado')
axis([t2(1) t2(600) 0 4])
grid
subplot(3,2,4)
plot(t2,y3)
title('Td Filtrada')
axis([t2(1) t2(600) 0 0.12])
grid
subplot(3,2,3)
plot(t2,Td2)
title('Td')
axis([t2(1) t2(600) 0 0.4])
grid
subplot(3,2,5.5)
plot(y2,y3)
axis([0 1 0 0.12])
set(gca,'xDir','reverse')
title('Td-s')

3
Jaula de Ardilla 220 W
t3 = xlsread('datos',3,'A3:A602');
s3 = xlsread('datos',3,'B3:B602');
Td3 = xlsread('datos',3,'C3:C602');
N4 = 150;
Wn4 = 0.011;
h4 = fir1(N4,Wn4);
y4 = filter(h4,1,s3);
N5 = 70;
Wn5 = 0.011;
h5 = fir1(N5,Wn5);
y5 = filter(h5,1,Td3);

figure
set(gcf,'Name','Jaula de Ardilla 220 W')
subplot(3,2,1)
plot(t3,s3)
title('s')
axis([t3(1) t3(600) 0 4])
grid
subplot(3,2,2)
plot(t3,y4)
title('s Filtrado')
axis([t3(1) t3(600) 0 4])
grid
subplot(3,2,4)
plot(t3,y5)
title('Td Filtrada')
axis([t3(1) t3(600) 0 0.08])
grid
subplot(3,2,3)
plot(t3,Td3)
title('Td')
axis([t3(1) t3(600) 0 0.1])
grid
subplot(3,2,5.5)
plot(y4,y5)
axis([-0.05 1 0 0.025])
set(gca,'xDir','reverse')
title('Td-s')

4
Rotor Devanado 190 W
t4 = xlsread('datos',4,'A3:A602');
s4 = xlsread('datos',4,'B3:B602');
Td4 = xlsread('datos',4,'C3:C602');
N6 = 150;
Wn6 = 0.011;
h6 = fir1(N6,Wn6);
y6 = filter(h6,1,s4);
N7 = 120;
Wn7 = 0.011;
h7 = fir1(N7,Wn7);
y7 = filter(h7,1,Td4);

figure
set(gcf,'Name','Rotor Devanado 190 W')
subplot(3,2,1)
plot(t4,s4)
title('s')
axis([t4(1) t4(600) 0 4])
grid
subplot(3,2,2)
plot(t4,y6)
title('s Filtrado')
axis([t4(1) t4(600) 0 4])

5
grid
subplot(3,2,4)
plot(t4,y7)
title('Td Filtrada')
axis([t4(1) t4(600) 0 0.06])
grid
subplot(3,2,3)
plot(t4,Td4)
title('Td')
axis([t4(1) t4(600) 0 0.17])
grid
subplot(3,2,5.5)
plot(y6,y7)
axis([-0.05 1 0 0.025])
set(gca,'xDir','reverse')
title('Td-s')

Jaula de Ardilla 520 W


t5 = xlsread('datos',5,'A3:A602');
s5 = xlsread('datos',5,'B3:B602');
Td5 = xlsread('datos',5,'C3:C602');
N8 = 150;
Wn8 = 0.011;
h8 = fir1(N8,Wn8);
y8 = filter(h8,1,s5);

6
N9 = 130;
Wn9 = 0.011;
h9 = fir1(N9,Wn9);
y9 = filter(h9,1,Td5);

figure
set(gcf,'Name','Jaula de Ardilla 520 W')
subplot(3,2,1)
plot(t5,s5)
title('s')
axis([t5(1) t5(600) 0 4])
grid
subplot(3,2,2)
plot(t5,y8)
title('s Filtrado')
axis([t5(1) t5(600) 0 4])
grid
subplot(3,2,4)
plot(t5,y9)
title('Td Filtrada')
axis([t5(1) t5(600) 0 0.2])
grid
subplot(3,2,3)
plot(t5,Td5)
title('Td')
axis([t5(1) t5(600) 0 0.17])
grid
subplot(3,2,5.5)
plot(y8,y9)
axis([-0.05 1 0 0.025])
set(gca,'xDir','reverse')
title('Td-s')

7
Rotor Devanado 500 W
t6 = xlsread('datos',6,'A3:A602');
s6 = xlsread('datos',6,'B3:B602');
Td6 = xlsread('datos',6,'C3:C602');
N10 = 150;
Wn10 = 0.011;
h10 = fir1(N10,Wn10);
y10 = filter(h10,1,s6);
N11 = 70;
Wn11 = 0.011;
h11 = fir1(N11,Wn11);
y11 = filter(h11,1,Td6);

figure
set(gcf,'Name','Rotor Devanado 500 W')
subplot(3,2,1)
plot(t6,s6)
title('s')
axis([t6(1) t6(600) 0 4])
grid
subplot(3,2,2)
plot(t6,y10)
title('s Filtrado')
axis([t6(1) t6(600) 0 4])

8
grid
subplot(3,2,4)
plot(t6,y11)
title('Td Filtrada')
axis([t6(1) t6(600) 0 0.2])
grid
subplot(3,2,3)
plot(t6,Td6)
title('Td')
axis([t6(1) t6(600) 0 0.17])
grid
subplot(3,2,5.5)
plot(y10,y11)
axis([-0.05 1 0 0.1])
set(gca,'xDir','reverse')
title('Td-s')

Jaula de Ardilla 980 W


t7 = xlsread('datos',7,'A3:A602');
s7 = xlsread('datos',7,'B3:B602');
Td7 = xlsread('datos',7,'C3:C602');
N12 = 150;
Wn12 = 0.011;
h12 = fir1(N12,Wn12);
y12 = filter(h12,1,s7);

9
N13 = 70;
Wn13 = 0.011;
h13 = fir1(N13,Wn13);
y13 = filter(h13,1,Td7);

figure
set(gcf,'Name','Jaula de Ardilla 980 W')
subplot(3,2,1)
plot(t7,s7)
title('s')
axis([t7(1) t7(600) 0 4])
grid
subplot(3,2,2)
plot(t7,y12)
title('s Filtrado')
axis([t7(1) t7(600) 0 4])
grid
subplot(3,2,4)
plot(t7,y13)
title('Td Filtrada')
axis([t7(1) t7(600) 0 0.3])
grid
subplot(3,2,3)
plot(t7,Td7)
title('Td')
axis([t7(1) t7(600) 0 0.3])
grid
subplot(3,2,5.5)
plot(y12,y13)
axis([-0.05 1 0 0.09])
set(gca,'xDir','reverse')
title('Td-s')

10
Published with MATLAB R2016b

11

También podría gustarte