Professional Documents
Culture Documents
INTEGRANTES:
Castro Jenny G.
Sandoval Santiago
Asqui Juan
Moreira Johnny
OBJETIVOS:
Analizar un movimiento de un torno utilizando los mtodos numricos
Analizar las variaciones generadas en un torno
METODO
Para el presente proyecto se utilizo un acelermetro que esta presente en los celulares
inteligentes el cual toma los datos de aceleracin en los tres ejes y procede a graficar la
aceleracin vs tiempo para cada eje.
Para realizar la medicin se procedi a acoplar al dispositivo a un pin que a su vez se
acopla en el torno, para as obtener el movimiento deseado.
METODO NUMERICO
El mtodo utilizado en este proyecto es Lagrange
Para determinar las aceleraciones se usa la frmula de lagrange
para luego utilizar una integral definida, en estos casos la integral define una nueva
funcin.
ay=A(:,2);
az=A(:,3);
T=A(:,4);
t=cumsum(T);
t=t/1000;
subplot(3,3,1),plot(t,ax)
title('ax')
subplot(3,3,2),plot(t,ay)
title('ay')
subplot(3,3,3),plot(t,az)
title('az')
%Integracin para encontrar la velocidad
for i=2:length(t)-1
vx(i)=(ax(i)-ax(i-1))/(t(i)-t(i+1));
vy(i)=(ay(i)-ay(i-1))/(t(i)-t(i+1));
vz(i)=(az(i)-az(i-1))/(t(i)-t(i+1));
end
tvx=t(1:end-1);
vx=vx';
vy=vy';
vz=vz';
subplot(3,3,4),plot(tvx,vx)
title('vx')
subplot(3,3,5),plot(tvx,vy)
title('vy')
subplot(3,3,6),plot(tvx,vz)
title('vz')
%Integracin para encontrar la posicin
for i=2:length(tvx)-1
x(i)=(vx(i)-vx(i-1))/(tvx(i)-tvx(i+1));
y(i)=(vy(i)-vy(i-1))/(tvx(i)-tvx(i+1));
z(i)=(vz(i)-vz(i-1))/(tvx(i)-tvx(i+1));
end
tx=tvx(1:end-1);
x=x';
y=y';
z=z';
subplot(3,3,7),plot(tx,x)
title('x')
subplot(3,3,8),plot(tx,y)
title('y')
subplot(3,3,9),plot(tx,z)
title('z')
%Clculo terico
wxo=0;
wx=wxo+ax.*t;
vxt=wx.*0.2;
wyo=0;
wy=wyo+ay.*t;
vyt=wy.*0.2;
wzo=0;
wz=wzo+az.*t;
vzt=wz.*0.2;
oxo=0;
ox=oxo+wx.*t;
xt=ox.*0.2;
oyo=0;
oy=oyo+wy.*t;
yt=oy.*0.2;
ozo=0;
oz=ozo+wz.*t;
zt=oz.*0.2;
%Grficas separadas del movimiento terico vs experimental
pause
figure(2)
plot(tvx,vx,t,vxt)
legend('Experimental','Terico')
title('Grfica de velocidad en x vs tiempo')
xlabel('Tiempo [s]')
ylabel('Velocidad en X [m/s]')
grid on
pause
plot(tvx,vy,t,vyt)
legend('Experimental','Terico')
title('Grfica de velocidad en y vs tiempo')
xlabel('Tiempo [s]')
ylabel('Velocidad en Y [m/s]')
grid on
pause
plot(tvx,vz,t,vzt)
legend('Experimental','Terico')
title('Grfica de velocidad en z vs tiempo')
xlabel('Tiempo [s]')
ylabel('Velocidad en Z [m/s]')
grid on
pause
plot(tx,x,t,xt)
legend('Experimental','Terico')
title('Grfica de posicin en x vs tiempo')
xlabel('Tiempo [s]')
ylabel('Posicin X [m]')
grid on
pause
plot(tx,y,t,yt)
legend('Experimental','Terico')
title('Grfica de posicin en y vs tiempo')
xlabel('Tiempo [s]')
ylabel('Posicin Y [m]')
grid on
pause
plot(tx,z,t,zt)
legend('Experimental','Terico')
title('Grfica de posicin en z vs tiempo')
xlabel('Tiempo [s]')
ylabel('Posicin Z [m]')
grid on
ANALISIS DE RESULTADOS
CONVERGENCIA Y CONCLUSIONES
Debido a que es un movimiento oscilatorio y debido a la presencia de vibraciones en los
tres ejes al paso del tiempo el torno no se estabiliza por lo que en el presente
experimento no converge
BIBLIOGRAFA
http://es.wikipedia.org/wiki/Aceler%C3%B3metro
http://www.sensores-de-medida.es/sensing_sl/SENSORES-YTRANSDUCTORES_35/Sensores-de-vibraci%C3%B3n---Aceler
%C3%B3metros_49/
http://www.androidpit.es/funcionamiento-acelerometro-smartphones