The invention discloses a method for detecting the suspension gap of a magnetic suspension ball based on image sensing. Firstly, a grid area is set around the electromagnet side surface within the shooting range, and the lower boundary of the electromagnet corresponds to a grid line. The image acquisition unit collects the suspension gap image of the suspension ball under the illumination of a light source through a high-speed industrial camera, and the captured image includes the grid area and suspension area of the electromagnet In the gap area, the lower boundary and the bottom surface of the electromagnet are imaged as a straight line, and the image signal is transmitted to the image processing unit; the image processing unit processes and analyzes the image of the suspension gap with reference to the photographed grid area, and obtains the suspension gap value of the suspension ball. The method of suspension gap detection in this paper realizes image distortion through the distribution law of the horizontal and vertical grid lines in the grid area This method has the advantages of strong anti-interference, no temperature drift, high linearity, low cost, simple installation process, low requirements for the measurement environment, fast speed and high accuracy.
【技术实现步骤摘要】
一种基于图像传感的磁悬浮球悬浮间隙检测方法
本专利技术涉及磁悬浮
,具体为一种基于图像传感的磁悬浮球悬浮间隙检测方法。
技术介绍
磁悬浮球系统主要由电磁铁、悬浮球、间隙传感器、悬浮控制电路以及斩波器组成。磁悬浮球控制系统只能在竖直方向进行单自由度的控制,系统是非线性、开环不稳定的,必须对悬浮球进行闭环控制提高鲁棒性。磁悬浮系统控制器大多都是以悬浮间隙偏差信号作为输入信号进行闭环控制,悬浮球作为磁悬浮系统的被控对象,悬浮间隙信号检测的精确度及实时性直接影响到控制器性能及整个控制系统的性能好坏。悬浮球控制系统通过间隙传感器检测计算出悬浮间隙距离进行反馈,根据反馈信号与参考信号的偏差使电磁绕组的电流大小适量变化改变电磁力,当电磁力与悬浮球重力平衡时,悬浮球能够稳定在平衡状态,间隙传感器的间隙检测精度直接影响了控制系统的控制性能。常见的间隙检测传感器主要有:电涡流式传感器和光电传感器等。间隙传感器除具有非接触、灵敏度高、实时性强的特点,还存在抗干扰能力差、温度漂移和线性度低等缺点。如电涡流传感器测量精度受温度和被测物体表面粗糙度影响很大,使用成本高,安装工艺复杂,输出值为模拟量需要进行模数转换才能接入数字控制系统。光电传感器是根据被测对象阻挡光通量的多少来测量对象的位移,最大的缺点是对测量的环境条件要求较高,易受光源干扰,环境适应性差。图像传感技术是一门以图像处理为基础涉及到人工智能、计算机科学、图像处理学、模式识别等诸多领域的新兴交叉学科,在交通、运输、农业、工业在线检测等领域得到广泛的应用。利用图像 ...
【技术保护点】
1.一种基于图像传感的磁悬浮球悬浮间隙检测方法,其特征在于,包括以下步骤:/n步骤1:在电磁铁表面拍摄范围内设置一边与电磁铁下边界平齐网格区域,采集光源照射下悬浮球的悬浮间隙图像;/n步骤2:对采集到的悬浮间隙图像进行预处理,得到包括网格化区域的待测区域的边缘图像;/n步骤3:根据边缘图像通过霍夫变换圆弧检测定位悬浮球上顶点P
【技术特征摘要】
1.一种基于图像传感的磁悬浮球悬浮间隙检测方法,其特征在于,包括以下步骤:
步骤1:在电磁铁表面拍摄范围内设置一边与电磁铁下边界平齐网格区域,采集光源照射下悬浮球的悬浮间隙图像;
步骤2:对采集到的悬浮间隙图像进行预处理,得到包括网格化区域的待测区域的边缘图像;
步骤3:根据边缘图像通过霍夫变换圆弧检测定位悬浮球上顶点P0,并通过霍夫变换检测确定网格区域的网格线;
步骤4:根据定位到的悬浮球上顶点P0,在网格线中确定P0点所在铅锤线左右两侧横向距离最近的竖直标线l左和l右,以及所有距P0点由远至近的水平标线l0,l1,…,ln;
步骤5:确定竖直标线l左和l右被水平标线l0,l1,…,ln分割的每条线段对应的像素距离yi,i=0,…,n-1;得到分别对应竖直标线l左和l右的两组像素距离数据;
步骤6:根据单个网格的实际尺寸hmm×hmm,计算线段的像素距离与实际长度的对应关系值单位mm/pixel,i=0,…,n-1;得到分别对应竖直标线l左和l右的两组关系值数据;
步骤7:令为自变量,令Yi=di为因变量,得一组数据(X0,Y0),(X1,Y1),…,(Xn-1,Yn-1);利用最小二乘法对这组数据进行一元线性回归分析,得到一元线性回归模型表达式:Y=α+βX,α和β是回归系数;竖直标线l左和l右分别对应一元线性拟合方程Y=α1+β1X和Y=α2+β2X;
步骤8:根据得到的一元线性拟合方程Y=α1+β1X和Y=α2+β2X...
【专利技术属性】
技术研发人员:靖永志,孔杰,郝建华,龚倩文,钱程,张晨昊,彭涛,廖珍贞,张昆仑,
申请(专利权)人:西南交通大学,
类型:发明
国别省市:四川;51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。