2007年5月6日 星期日

作業9(改)

本週(5/3)有來上課
請就教科書中第四章第五節之偏置機構作另類分析,分析過程可採你所知的方式(包括講義中所列的方法)。運動中分以曲桿驅動及滑塊驅動的方式,並說明運動的界限或範圍。設此機構之曲桿長Rcm , 連桿Lcm,滑塊之偏置量為10cm等數據作分析。其中,R=10+(學號末二碼),L=R+5 。

計算:
令桿2=R,桿3=L,滑塊水平距離=d,偏置量=e
依幾何關係建聯立方程式
R*sin(th2)+L*sin(th3)=e
R*cos(th2)+L*cos(th3)=d
可求出
th3=asin(e-R*sin(th2)/L)
th3'=asin(-e+R*sin(th2)/L)+pi
建立程式
function [d,theta3]=slider_solve(theta2,R,L,e,mode)
%theta2=桿2角度
%R=桿2長度 L=桿3長度
%e=偏置量 mode=決定theta3之角度
if nargin小於5, mode=0;end
d2g=pi/180;
theta=theta2*d2g;
cc=(e-R.*sin(theta))./L;
if mode大於=0,
theta3=asin(cc);
else
theta3=asin(-cc)+pi;
end
d=L.*cos(theta3)+R.*cos(theta);
theta3=theta3/d2g;
輸入桿2角度,R,L,e即可求出桿3角度和滑塊水平距離
---------------------------------------------
今令R=43,L=48,e=10
由幾何關係可知
theta2左極限出現在d=0時
右極限距離出現在R,L為直線時
右極限角度出現在e,L重疊時
左極限(d=0):
R*sin(th2)+L*sin(th3)=e
R*cos(th2)+L*cos(th3)=d
R=43,L=48,e=10,d=0
解聯立
theta2=204.3851
theta3=35.3229
圖示

右極限(d最遠):
theta2=asind(e/(R+L))=theta3
theta2=theta3=6.309
滑塊位置d=(R+L)*cosd(theta2)
=90.4489
圖示

右極限(角度)
Rsin(theta2)=-(L-e)
theta2=-62.94
theta3=90
圖示

所以
R=43,L=48,e=10:
theta2=6.309~204.3851-------角度限制
d=90.4489~0-----------------距離限制

1 則留言:

不留白老人 提到...

please set the post in a draft mode!