发明名称 一种基于最小区域的零件平面度误差评定方法
摘要 一种基于最小区域法的零件平面度误差评定方法,该方法首先测量并获取被测平面上的测点坐标;然后给出平面的初始参数;根据点到平面的距离,查询与误差包容区域接触的测点,根据接触点的数量与相对位置,应用坐标系变换的方式,将测点投影指定平面内,转化为给定平面内的直线度误差计算;在投影平面内,通过包容区域的旋转变动,搜索与包容区域接触的、满足直线度误差判别准则的测点,获得旋转后的包容区域;然后重新确定投影平面,再按直线度误差计算,依次迭代计算,直到满足平面度判别准则,输出平面度误差以及对应理想平面参数的最优值。本发明可准确计算出满足最小区域判别准则的平面度误差。
申请公布号 CN103256916B 申请公布日期 2015.07.08
申请号 CN201310230207.3 申请日期 2013.06.10
申请人 陈磊磊 发明人 陈磊磊;黄美发;宫文峰;田文豪
分类号 G01B21/30(2006.01)I 主分类号 G01B21/30(2006.01)I
代理机构 代理人
主权项 一种基于最小区域的零件平面度误差评定方法,其特征在于,具体步骤如下:步骤1:将被测平面置于测量平台上,在测量空间直角坐标系中测量并获取平面上的点<img file="dest_path_image001.GIF" wi="81" he="25" />,<img file="dest_path_image002.GIF" wi="9" he="18" />=1, 2,…<i>n</i>, <i>n</i>为测点数目且<i>n</i>为大于3的正整数,所有测点<img file="dest_path_image003.GIF" wi="81" he="25" />形成测点集<img file="dest_path_image004.GIF" wi="33" he="28" />,任意选取不在同一直线上的3个测点,计算过3个点的平面的法向矢量<img file="dest_path_image005.GIF" wi="68" he="24" />,作为被测平面对应的理想平面法向矢量的迭代初值;步骤2:依次计算测点集<img file="34207dest_path_image004.GIF" wi="33" he="28" />中各测点到理想平面的距离<img file="dest_path_image006.GIF" wi="17" he="25" />,并分别记录测点集<img file="764396dest_path_image004.GIF" wi="33" he="28" />中各测点到理想平面的最大距离与最小距离所对应的测点;所记录的最小距离对应的测点形成误差包容区域的低值接触点集合<img file="dest_path_image007.GIF" wi="36" he="29" />,所记录的最大距离对应的测点形成误差包容区域的高值接触点集合<img file="dest_path_image008.GIF" wi="36" he="29" />;步骤3:判断集合<img file="932683dest_path_image007.GIF" wi="36" he="29" />中是否只有1个低值接触点且集合<img file="327893dest_path_image008.GIF" wi="36" he="29" />中是否有1个高值接触点;如果只有1个高值接触点且只有1个低值接触点,计算低值接触点与高值接触点连线的方向矢量<img file="dest_path_image009.GIF" wi="20" he="25" />,测点的投影矢量<img file="dest_path_image010.GIF" wi="22" he="24" />=<img file="dest_path_image011.GIF" wi="53" he="26" />,跳转到步骤7;如果低值接触点的数量大于1或高值接触点的数量大于1,跳转到步骤4;步骤4:判断集合<img file="17631dest_path_image008.GIF" wi="36" he="29" />中是否只有2个高值接触点且集合<img file="902410dest_path_image007.GIF" wi="36" he="29" />中是否只有1个低值接触点;如果只有2个高值接触点且只有1个低值接触点,测点的投影矢量<img file="169444dest_path_image010.GIF" wi="22" he="24" />等于2个高值接触点连线的方向矢量,跳转到步骤7;如果高值接触点的数量不为2或低值接触点的数量不为1,则跳转到步骤5;步骤5:判断集合<img file="679928dest_path_image007.GIF" wi="36" he="29" />中是否只有2个低值接触点且集合<img file="348807dest_path_image008.GIF" wi="36" he="29" />中是否只有1个高值接触点;如果只有2个低值接触点且只有1个高值接触点,则测点的投影矢量<img file="404488dest_path_image010.GIF" wi="22" he="24" />等于2个低值接触点连线的方向矢量,跳转到步骤7;如果低值接触点的数量不为2或高值接触点的数量不为1,跳转到步骤6;步骤6:以2个高值接触点为1个组合,以其中1个组合中的2个高值接触点为计算对象,计算过这2个高值接触点且法向矢量垂直于<img file="dest_path_image012.GIF" wi="22" he="20" />的平面<img file="dest_path_image013.GIF" wi="21" he="25" />,并判断低值接触点和其余高值接触点是否分别分布在平面<img file="34183dest_path_image013.GIF" wi="21" he="25" />的两侧;遍历所有的高值接触点组合,如果存在某一组合满足低值接触点与其余高值接触点分别分布在对应平面<img file="771195dest_path_image013.GIF" wi="21" he="25" />的两侧,则测点的投影矢量<img file="609095dest_path_image010.GIF" wi="22" he="24" />等于该组合对应的2个高值接触点连线的方向矢量,跳转到步骤7,否则继续执行该步的下面操作;以2个低值接触点为1个组合,以其中1个组合中的2个低值接触点为计算对象,计算过这2个低值接触点且法向矢量垂直于<img file="101256dest_path_image012.GIF" wi="22" he="20" />的平面<img file="dest_path_image014.GIF" wi="28" he="25" />,并判断高值接触点和其余低值接触点是否分别分布在平面<img file="155931dest_path_image014.GIF" wi="28" he="25" />的两侧;遍历所有的低值接触点组合,如果存在某一组合满足高值接触点与其余低值接触点分别分布在对应平面<img file="431054dest_path_image014.GIF" wi="28" he="25" />的两侧,则测点的投影矢量<img file="136842dest_path_image010.GIF" wi="22" he="24" />等于该组合对应的2个低值接触点连线的方向矢量,跳转到步骤7,否则跳转到步骤16;步骤7:进行坐标变换,使坐标系的<i>z</i>轴与<img file="472008dest_path_image010.GIF" wi="22" he="24" />平行;被测平面对应的理想平面在<i>xoy</i>坐标平面内投影为理想直线<img file="dest_path_image015.GIF" wi="16" he="18" />,计算理想直线<img file="512514dest_path_image015.GIF" wi="16" he="18" />的方向矢量<img file="dest_path_image016.GIF" wi="80" he="30" />;坐标变换后,设测点<img file="dest_path_image017.GIF" wi="20" he="25" />在<i>xoy</i>坐标平面内投影为<img file="dest_path_image018.GIF" wi="66" he="25" />,所有的测点<img file="529012dest_path_image017.GIF" wi="20" he="25" />对应的<img file="dest_path_image019.GIF" wi="20" he="25" />组成测点集合<img file="dest_path_image020.GIF" wi="30" he="25" />;步骤8:在测点集合<img file="341504dest_path_image020.GIF" wi="30" he="25" />中,剔除坐标值完全相等的测点元素;步骤9:依次计算测点集合<img file="175467dest_path_image020.GIF" wi="30" he="25" />中各个测点到理想直线<img file="126106dest_path_image015.GIF" wi="16" he="18" />的距离<img file="dest_path_image021.GIF" wi="24" he="25" />,并记录并分别记录测点集<img file="821661dest_path_image020.GIF" wi="30" he="25" />中各测点到理想直线<img file="236461dest_path_image015.GIF" wi="16" he="18" />的最大距离和最小距离所对应的测点,所记录的最小距离对应的测点形成误差包容区域的低值接触点集合<img file="dest_path_image022.GIF" wi="36" he="29" />,所记录的最大距离对应的测点形成误差包容区域的高值接触点集合<img file="dest_path_image023.GIF" wi="36" he="29" />;步骤10:判断集合<img file="552911dest_path_image022.GIF" wi="36" he="29" />中是否只有1个低值接触点且集合<img file="990846dest_path_image023.GIF" wi="36" he="29" />中是否只有1个高值接触点;如果只有1个高值接触点与1个低值接触点,则它们为有效接触点<img file="dest_path_image024.GIF" wi="25" he="26" />、<img file="dest_path_image025.GIF" wi="25" he="26" />,跳转到步骤13;如果高值接触点的数量大于1或低值接触点的数量大于1,则跳转到下一步;步骤11:计算集合<img file="286829dest_path_image023.GIF" wi="36" he="29" />中所有高值接触点的横坐标或纵坐标最大值<img file="dest_path_image026.GIF" wi="33" he="26" />和最小值<img file="dest_path_image027.GIF" wi="32" he="26" />,计算集合<img file="136229dest_path_image022.GIF" wi="36" he="29" />中所有低值接触点的横坐标或纵坐标最大值<img file="dest_path_image028.GIF" wi="34" he="26" />和最小值<img file="dest_path_image029.GIF" wi="32" he="26" />;如果<img file="125045dest_path_image026.GIF" wi="33" he="26" />大于等于<img file="50276dest_path_image029.GIF" wi="32" he="26" />,且<img file="586168dest_path_image027.GIF" wi="32" he="26" />小于等于<img file="647665dest_path_image028.GIF" wi="34" he="26" />,则表明符合直线度判别准则,跳转到步骤15;否则,执行步骤12;步骤12:如果<img file="994333dest_path_image026.GIF" wi="33" he="26" />小于<img file="406860dest_path_image029.GIF" wi="32" he="26" />,则<img file="247908dest_path_image026.GIF" wi="33" he="26" />对应的高值接触点为有效高值接触点<img file="429491dest_path_image024.GIF" wi="25" he="26" />,<img file="681480dest_path_image029.GIF" wi="32" he="26" />对应的低值接触点为有效低值接触点<img file="884099dest_path_image025.GIF" wi="25" he="26" />;如果<img file="450209dest_path_image027.GIF" wi="32" he="26" />大于<img file="814194dest_path_image028.GIF" wi="34" he="26" />,则<img file="174769dest_path_image027.GIF" wi="32" he="26" />对应的高值接触点为有效高值接触点<img file="374937dest_path_image024.GIF" wi="25" he="26" />,<img file="744738dest_path_image028.GIF" wi="34" he="26" />对应的低值接触点为有效低值接触点<img file="697651dest_path_image025.GIF" wi="25" he="26" />;其余接触点为无效接触点;步骤13:判断<img file="dest_path_image030.GIF" wi="24" he="22" />与<img file="dest_path_image031.GIF" wi="46" he="26" />的点积是否小于0,如果小于0,将‑<img file="868607dest_path_image030.GIF" wi="24" he="22" />赋值给<img file="477443dest_path_image030.GIF" wi="24" he="22" />;此时包容区域的旋转变动的方向矢量<img file="dest_path_image032.GIF" wi="25" he="22" />等于<img file="dest_path_image033.GIF" wi="134" he="30" />;以过有效接触点<img file="526301dest_path_image025.GIF" wi="25" he="26" />、<img file="851497dest_path_image024.GIF" wi="25" he="26" />的连线为界将<i>xoy</i>坐标平面划分为<img file="dest_path_image034.GIF" wi="22" he="25" />、<img file="dest_path_image035.GIF" wi="24" he="25" />2个区域,设<img file="694819dest_path_image025.GIF" wi="25" he="26" />、<img file="790951dest_path_image024.GIF" wi="25" he="26" />的坐标分别为<img file="dest_path_image036.GIF" wi="65" he="30" />、<img file="dest_path_image037.GIF" wi="65" he="30" />,根据下式可以判断测点<img file="876456dest_path_image018.GIF" wi="66" he="25" />所在的区域,<img file="dest_path_image038.GIF" wi="520" he="30" />当<img file="dest_path_image039.GIF" wi="48" he="20" />,<img file="dest_path_image040.GIF" wi="48" he="25" />位于<img file="617011dest_path_image035.GIF" wi="24" he="25" />区,当<img file="dest_path_image041.GIF" wi="54" he="20" />时,<img file="818185dest_path_image040.GIF" wi="48" he="25" />位于<img file="401613dest_path_image034.GIF" wi="22" he="25" />区;步骤14:依次计算<img file="965843dest_path_image034.GIF" wi="22" he="25" />区内各个测点<img file="951116dest_path_image019.GIF" wi="20" he="25" />与<img file="323192dest_path_image025.GIF" wi="25" he="26" />的连线的方向矢量<img file="dest_path_image042.GIF" wi="21" he="26" />,调整<img file="206965dest_path_image042.GIF" wi="21" he="26" />使<img file="260372dest_path_image042.GIF" wi="21" he="26" />与<img file="162469dest_path_image030.GIF" wi="24" he="22" />的点积为正,并计算<img file="643129dest_path_image042.GIF" wi="21" he="26" />和<img file="247154dest_path_image030.GIF" wi="24" he="22" />的夹角<img file="dest_path_image043.GIF" wi="28" he="26" />,<img file="166569dest_path_image034.GIF" wi="22" he="25" />区内所有测点<img file="860855dest_path_image019.GIF" wi="20" he="25" />对应的<img file="325466dest_path_image043.GIF" wi="28" he="26" />组成集合<img file="dest_path_image044.GIF" wi="41" he="30" />;依次计算<img file="433099dest_path_image035.GIF" wi="24" he="25" />区内各个测点<img file="142823dest_path_image019.GIF" wi="20" he="25" />与<img file="691616dest_path_image024.GIF" wi="25" he="26" />的连线方向矢量<img file="dest_path_image045.GIF" wi="24" he="26" />,调整<img file="841974dest_path_image045.GIF" wi="24" he="26" />使<img file="922057dest_path_image045.GIF" wi="24" he="26" />与<img file="120957dest_path_image030.GIF" wi="24" he="22" />的点积为正,并计算方向矢量和<img file="586573dest_path_image030.GIF" wi="24" he="22" />的夹角<img file="dest_path_image046.GIF" wi="29" he="26" />,<img file="157101dest_path_image035.GIF" wi="24" he="25" />区内所有测点<img file="911430dest_path_image019.GIF" wi="20" he="25" />对应的<img file="710759dest_path_image046.GIF" wi="29" he="26" />组成集合<img file="dest_path_image047.GIF" wi="44" he="30" />;计算2个集合<img file="47193dest_path_image047.GIF" wi="44" he="30" />、<img file="477038dest_path_image044.GIF" wi="41" he="30" />中最小的夹角,即为包容区域旋转变动量<i>S</i>;包容区域绕<img file="515401dest_path_image032.GIF" wi="25" he="22" />旋转<i>S</i>角度后得到理想直线<img file="56104dest_path_image015.GIF" wi="16" he="18" />的方向矢量<img file="25808dest_path_image030.GIF" wi="24" he="22" />;跳转到步骤9;步骤15:进行步骤7的逆向坐标变换,还原测点的坐标值,同时根据<img file="360974dest_path_image030.GIF" wi="24" he="22" />计算被测平面对应理想平面的法向矢量<img file="dest_path_image048.GIF" wi="25" he="22" />;跳转到步骤2;步骤16:输出平面度误差和对应理想平面的最优参数。
地址 541004 广西壮族自治区桂林市七星区金鸡路1号电子科技大学研究生院