% Procedure for creating a convex, elevation focused array transducer
% with an number of rows (1.5D array)
%
% Calling: Th = xdc_convex_focused_multirow (no_elem_x, width, no_ele_y, heights, kerf_x, kerf_y,
% Rconvex, Rfocus, no_sub_x, no_sub_y, focus);
%
% Parameters: no_elem_x - Number of physical elements in x-direction.
% width - Width in x-direction of elements.
% no_elem_y - Number of physical elements in y-direction.
% heights[] - Heights of the element rows in the y-direction.
% Vector with no_elem_y values.
% kerf_x - Width in x-direction between elements.
% kerf_y - Gap in y-direction between elements.
% Rconvex - Convex radius.
% Rfocus - Radius of mechanical elevation focus.
% no_sub_x - Number of sub-divisions in x-direction of physical elements.
% no_sub_y - Number of sub-divisions in y-direction of physical elements.
% focus[] - Fixed focus for array (x,y,z). Vector with three elements.
%
% Return: A handle Th as a pointer to this transducer aperture.
%
% Version 1.0, June 26, 1998 by Joergen Arendt Jensen
function Th = xdc_focused_multirow (no_elem_x, width, no_elem_y, heights, kerf_x, kerf_y, Rconvex, Rfocus, no_sub_x, no_sub_y, focus)
% Check that all parameters are valid
if (no_elem_x<1)
error ('Field error: Illegal number of physical transducer elements in x-direction')
end
if (width<=0)
error ('Field error: Width of elements is negativ or zero')
end
if (no_elem_y<1)
error ('Field error: Illegal number of physical transducer elements in y-direction')
end
if (min(heights)<=0)
error ('Field error: Height of elements is negativ or zero')
end
if (length(heights)~=no_elem_y)
error ('Field error: Number of heights does not equal no_elem_y')
end
if ((sum(heights)+(no_elem_y-1)*kerf_y)>2*Rfocus)
error ('Field error: Total height of elements is to large')
end
if (kerf_x<0)
error ('Field error: Kerf in x-direction is negativ')
end
if (kerf_y<0)
error ('Field error: Kerf in y-direction is negativ')
end
if (Rconvex<0)
error ('Field error: Convex radius is negative')
end
if (pi*Rconvex<=(kerf_x*(no_elem_x-1)+width*no_elem_x))
error ('Field error: Width of elements is to large compared to Rconvex')
end
if (Rfocus<=0)
error ('Field error: Radius of elevation focus is negativ or zero')
end
if (no_sub_x<1) | (no_sub_y<1)
error ('Field error: Number of mathematical elements must be 1 or more')
end
if (min(size(focus))~=1) | (max(size(focus))~=3)
error ('Field error: Focus must be a vector with three elements')
end
% Call the C-part of the program to create aperture
Th = Mat_field (1014,no_elem_x, width, no_elem_y, heights, kerf_x, kerf_y, Rconvex, Rfocus, no_sub_x, no_sub_y, focus);
Field_II_combined.tar.gz_field II软件包_相控阵_相控阵超声_超声相控_超声相阵控
版权申诉
59 浏览量
2022-09-19
23:01:17
上传
评论
收藏 1.2MB GZ 举报
邓凌佳
- 粉丝: 65
- 资源: 1万+
最新资源
- 基于matlab的虫害侵蚀系统带Gui界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的教室人数统计系统 可以统计正脸情况下的人数+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计
- 基于MATLAB的水果分级系统,带GUI界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的车票发票识别系统带GUI界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 微信小程序电商实战课程SpringBoot2+Vue3+Element plus.rar
- 4.mht
- vulnhub靶场实战系列-DC-1实战流程图
- 使用python绘制一个笑脸
- Java 23种设计模式全归纳
- python完整代码-汉诺塔
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈