资源简介
基于matlab的用于铣削动力学建模的稳定性叶瓣图分析-stablity lobe
![](http://www.nz998.com/pic/69361.jpg)
代码片段和文件信息
clear
% parameters
N = 2; % number of teeth
Kt = 6e8; % tangential cutting force coef?cient(N/m2)
Kn = 2e8; % normal cutting force coef?cient(N/m2)
w0 = 922*2*pi; % angular natural frequency (rad/s)
zeta = 0.011; % relative damping (1)
m_t = 0.03993; % mass (kg)
aD = 0.05; % radial depth of cut
up_or_down = -1; % 1: up-milling ?1: down-milling
if up_or_down == 1 % up-milling
fist = 0; % start angle
fiex = acos(1 - 2*aD); % exit angle
elseif up_or_down == -1 % down-milling
fist = acos(2*aD - 1); % start angle
fiex = pi; % exit angle
end
stx = 400; % steps of spindle speed
sty = 200; % steps of depth of cut
w_st = 0e-3; % starting depth of cut (m)
w_fi = 10e-3; % ?nal depth of cut (m)
o_st = 5e3; % starting spindle speed (rpm)
o_fi = 25e3; % ?nal spindle speed (rpm)
% computational parameters
k = 40; % number of discretization interval over one period
intk = 20; % number of numerical integration steps for Equation (37)
m = k; % since time delay = time period
wa =1/2; % since time delay = time period
wb =1/2; % since time delay = time period
D = zeros(m + 2 m + 2); % matrix D
d = ones(m + 1 1);
d(1 : 2) = 0;
D = D + diag(d -1);
D(31) = 1;
% numerical integration of speci?c cutting force coef?cient according to Equation (37)
for i = 1 : k
dtr = 2*pi/N/k; %t if = 2 /N
h_i(i) = 0;
for j = 1 : N % loop for tooth j
for h = 1 : intk % loop for numerical integration of h
fi(h) = i*dtr + ( j - 1)*2*pi/N + h*dtr/intk;
if(fi(h) >= fist)*(fi(h) <= fiex)
g(h) = 1; % tooth is in the cut
else
g(h) = 0; % tooth is out of cut
end
end
h_i(i) = h_i(i) + sum(g.*(Kt.*cos(fi) + Kn.*sin(fi)).*sin(fi))/intk;
end
end
% start of computation
for x = 1 : stx + 1 % loop for spindle speeds
o = o_st + (x - 1)*(o_fi - o_st)/stx; % spindle speed
tau = 60/o/N; % time delay
dt = tau/(m); % time step
for y = 1 : sty + 1 % loop for depth of cuts
w = w_st + (y - 1)*(w_fi - w_st)/sty; % depth of cut
% construct transition matrix Fi
Fi = eye(m + 2 m + 2);
for i = 1 : m
A = zeros(2 2); % matrix Ai
A(12) = 1;
A(21) = -w0^2 - h_i(i)*w/m_t;
A(22) = -2*zeta*w0;
B = zeros(2 2); % matrix Bi
B(21) = h_i(i)*w/m_t;
P = expm(A*dt); % matrix Pi
R = (expm(A*dt) - eye(2))*inv(A)*B; % matrix Ri
D(1 : 2 1 : 2) = P;
D(1 : 2 m + 1) = wa*R(1 : 2 1 : 1);
D(1 : 2 m + 2) = wb*R(1 : 2 1 : 1);
Fi = D*Fi; % transition matrix
end
ss(xy) = o; % matrix of spindle speeds
dc(xy) = w; % matrix of depth of cuts
ei(xy) = max(abs(eig(Fi))); % matrix of eigenvalues
end
stx + 1 - x
end
figure
contour(ssdcei[
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3100 2013-03-19 15:38 lobe_semi.m
相关资源
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
评论
共有 条评论