Está en la página 1de 10

DESPLAZAMIENTO

hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
x=R.*(1-cos(W.*(pi/30).*t));
plot(t,x)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica x-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('desplazamiento del mecanismo')
Ingrese el valor de R
R= 5
Ingrese el valor de W
W = 20 rpm
f=0.3333 Hz
grafica x-t del mecanismo yugo escoces
10
9

desplazamiento del mecanismo

8
7
6
5
4
3
2
1
0

5
tiempo

10

desplazamiento

R = 5 W =4 0rpm

f=0.6667 Hz
grafica x-t del mecanismo yugo escoces

10
9

desplazamiento del mecanismo

8
7
6
5
4
3
2
1
0

W = 60 rpm

5
tiempo

10

desplazamiento

f=1 Hz
grafica x-t del mecanismo yugo escoces

10
9
8
desplazamiento del mecanismo

R=5

7
6
5
4
3
2
1
0

5
tiempo

10

desplazamiento

VELOCIDAD
hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
v=(W.*(pi/30)).*R.*sin(W.*(pi/30).*t);
plot(t,v)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica v-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('velocidad del mecanismo')
Ingrese el valor de R
R= 5
Ingrese el valor de W
W = 20 rpm
f=0.3333 Hz

grafica v-t del mecanismo yugo escoces


15
velocidad

velocidad del mecanismo

10

-5

-10

-15

5
tiempo

10

R= 5

W =4 0 rpm

f=0.6667 Hz
grafica v-t del mecanismo yugo escoces

25
velocidad
20

velocidad del mecanismo

15
10
5
0
-5
-10
-15
-20
-25

R = 5 W = 60 rpm

5
tiempo

10

f=1 Hz
grafica v-t del mecanismo yugo escoces

40
velocidad
30

velocidad del mecanismo

20
10
0
-10
-20
-30
-40

ACELERACION

5
tiempo

10

hold off
t=0:0.05:10;
R=input('ingrese el valor de R = ')
W=input('ingrese el valor de W = ')
a=(W.*(pi/30).*W.*(pi/30)).*R.*cos(W.*(pi/30).*t);
plot(t,a)
hold on
f=W*2*pi/(60*2*pi)
grid
title ('grafica a-t del mecanismo yugo escoces')
xlabel('tiempo')
ylabel('aceleracion del mecanismo')
ingrese el valor de R = 5
R=5
ingrese el valor de W = 20
W = 20 rpm
f=0.3333 Hz
grafica a-t del mecanismo yugo escoces

aceleracion

25
20

aceleracion del mecanismo

15
10
5
0
-5
-10
-15
-20
-25

R=5

W = 40 rpm

f=0.6667 Hz

5
tiempo

10

grafica a-t del mecanismo yugo escoces

aceleracion

100
80

aceleracion del mecanismo

60
40
20
0
-20
-40
-60
-80
-100

R = 5 W = 60 rpm

5
tiempo

10

f=1 Hz

grafica a-t del mecanismo yugo escoces

aceleracion

200

aceleracion del mecanismo

150
100
50
0
-50
-100
-150
-200

5
tiempo

10

COMENTARIO: La frecuencia va en aumento segn las revoluciones por minuto que se


le aplicara al disco en el primer caso se tuvo una frecuencia de 0.3333 Hz par el segundo
ascendi a f=0.6667 Hz y para el tercero f=1 Hz debemos recordar que la frecuencia sirve
para indicar el nmero de veces que se repite en un segundo cualquier fenmeno peridico
MECANISMO DE 4 BARRAS
hold off
t2=0:10:360;
r1=input('ingrese el valor de r1 = ')
r2=input('ingrese el valor de r2 = ')
r3=input('ingrese el valor de r3 = ')
r4=input('ingrese el valor de r4 = ')
z2=(r1*r1)+(r2*r2)-(2*r1*r2*cos(pi*t2/180));
ganma=acos((z2-(r3*r3)-(r4*r4))/(-2*r3*r4))*(180/pi)
plot(t2,ganma)
hold on
alfa=acos((z2-(r3*r3)+(r4*r4))/(2*sqrt(z2)*r4))*(180/pi)
beta=acos((z2-(r2*r2)+(r1*r1))/(2*sqrt(z2)*r1))*(180/pi)
teta4=180-(alfa+beta)
grid
title ('grafico ganma-teta2 mecanismo de 4 barras')
xlabel('teta2')
ylabel('ganma')
ingrese el valor de r1 = 7
r1 = 7
ingrese el valor de r2 = 3
r2 =3
ingrese el valor de r3 = 8
r3 = 8
ingrese el valor de r4 = 6
r4 = 6
ganma =
Columns 1 through 6
28.9550 29.7321 31.9386 35.2754 39.4080 44.0511
Columns 7 through 12
48.9855 54.0461 59.1047 64.0555 68.8059 73.2697
Columns 13 through 18

77.3644 81.0089 84.1252 86.6397 88.4881 89.6192


Columns 19 through 24
90.0000 89.6192 88.4881 86.6397 84.1252 81.0089
Columns 25 through 30
77.3644 73.2697 68.8059 64.0555 59.1047 54.0461
Columns 31 through 36
48.9855 44.0511 39.4080 35.2754 31.9386 29.7321
Column 37
28.9550
alfa = 66.4743
beta =16.2285
teta4 =97.2972
grafico ganma-teta2 mecanismo de 4 barras
90

ganma

80

70

ganma

60

50

40

30

20

50

100

150

200
teta2

250

300

350

400

Para el ejemplo de 2 = 60
hold off
t2=60;
r1=input('ingrese el valor de r1 = ')
r2=input('ingrese el valor de r2 = ')
r3=input('ingrese el valor de r3 = ')
r4=input('ingrese el valor de r4 = ')
z2=(r1*r1)+(r2*r2)-(2*r1*r2*cos(pi*t2/180));
ganma=acos((z2-(r3*r3)-(r4*r4))/(-2*r3*r4))*(180/pi)
plot(t2,ganma)
hold on
alfa=acos((z2-(r3*r3)+(r4*r4))/(2*sqrt(z2)*r4))*(180/pi)
beta=acos((z2-(r2*r2)+(r1*r1))/(2*sqrt(z2)*r1))*(180/pi)
teta4=180-(alfa+beta)
grid
title ('grafico ganma-teta2 mecanismo de 4 barras')
xlabel('teta2')
ylabel('ganma')
ingrese el valor de r1 = 7
r1 = 7
ingrese el valor de r2 = 3
r2 = 3
ingrese el valor de r3 = 8
r3 = 8
ingrese el valor de r4 = 6
r4 = 6
ganma = 48.9855
alfa = 82.9175
beta = 25.2850
teta4 = 71.7976

UNIVERSIDAD NACIONAL DE SAN ANTONIO ABAD DEL CUSCO


FACULTAD DE INGENIERA ELCTRICA, INGENIERA DE MINAS E
INGENIERA MECNICA
CARRERA PROFESIONAL DE INGENIERA MECNICA

CURSO: MECANISMOS Y CINEMATICA DE MAQUINAS


ANALSIS DE MECANISMOS YUGO ESCOCES Y 4-BARRAS CON MATLAB

DOCENTE: ING. ARTURO MACEDO

ALUMNO:

KANA GAMARRA, NICANOR

COD: 032592-B

CUSCO-PER

También podría gustarte