基于DSP的皮蛋破损检测技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
皮蛋是一种风味独特、营养丰富的蛋制品。皮蛋蛋壳的破损对其品质有严重的影响,因而在皮蛋加工过程中,检测和剔除损壳皮蛋是一道极为关键的工序。而目前皮蛋的破损检测主要采用人工检测的方法,这种方法的生产成本高,需求人力大,生产效益低,无法满足生产要求,因此,研究设计出一种皮蛋破损的自动检测系统具有重大的意义。
     本文利用皮蛋蛋壳的声学特性结合DSP技术对皮蛋破损进行检测。为了提高检测的准确度,试验时对皮蛋的大头端、小头端和中间三个不同部位分别进行敲击,结合三次的声音信号作出综合的分析。然后在DSP的设备上对皮蛋破损的分析结果进行验证,并进一步完善检测系统。主要研究内容如下:
     (1)搭建声音采集与检测的硬件平台。声音信号的采集及处理硬件设备以TMS320DM642处理器为核心,其试验平台采用的是合众达公司的SEED-VPM642多媒体实验箱,上面集成了多种外设,有4路声音输入/输出接口。与DSP的McASP接口进行数据交换的音频器件TLV320AIC23B芯片能对声音信号进行采样和A/D、D/A转换等处理,并对连接输入设备(如麦克风)提供前置或可编程放大器。通过XDS560型仿真器实现计算机与SEED-VPM642多媒体实验平台的通讯。
     (2)皮蛋破损检测系统的软件设计。系统以CCS 60002.20.18作为软件开发平台,CCS2可以编辑汇编源代码和C语言源代码,本文采用的是C语言编写皮蛋破损检测程序。另外,DSP芯片提供了CSL库函数,利用CSL库函数对DM642系统初始化和对外设参数进行设计。通过XDS560型仿真器把CCS2软件和目标板相连,可以在PC机上显示结果,达到实时检测的效果。
     (3)对声音信号处理方法进行了研究。本文设计了巴特沃斯直接Ⅱ型结构带通滤波器去除噪音信号,然后根据采样频率确定提取128个采样点作为有效信号,利用短时能量和过零率算法确定有效声音信号的起点,最后对声音信号进行FFT变换。
     (4)判别模型的建立及检测系统的验证。借助MATLAB软件对离散的数据序列频谱和功率谱分析,对比好壳皮蛋和破损皮蛋的功率谱图,找出它们的差异并确定特征参数,最终以功率谱面积、共振峰频率、共振峰幅值(功率谱幅值的最大值)和共振峰频率的平均值和求极差作为判别模型的特征变量,根据Bayes判别原理,建立判别模型。在DSP的设备上对皮蛋破损的判别函数进行验证,好壳蛋和损壳蛋的判别准确率分别为87.5%和82.9%。
     综上所述,本文设计的皮蛋破损检测系统性能稳定,有较高的准确率。对皮蛋的无损检测研究具有参考价值,为其进一步研究打下了基础。
Preserved egg is a kind of egg which has particular flavor and rich nutrition. The disunitiness of preserved egg did have a serious effect on the quality of it, and therefore during the process of the manufacturing, the examination and elimination of broken eggs are the key procedures. At the present, we mainly adopt artificial examination which means mass manpower; low production efficiency and can not match the requirement of the manufacturing. Hence to exploit an automatic examination system of broken preserved egg means a lot.
     This paper adopts the acoustics speciality of the eggshell of preserved egg combined with DSP technology to exam the broken egg. To improve the veracity of the examination, we hit the different positions of the egg, two ends and the middle, band together the 3 times vocality signals to make a comprehensive judgment. Then carries on the confirmation to the preserved egg breakage's analysis result on DSP equipment, and goes a step further to consummate the examination system. The main research content is as follows:
     (1) Build sound gathering and examination hardware platform. The system use TMS320DM642 processor as its core, and the experiment introduces SEED-VPM642 multimedia experiment case of Hezhongda Company which integrates multi external fixings, and 4-way sound input and output interfaces. Audio frequency equipment TLV320AIC23B chip who exchanges data with McASP interface of DSP can take sample of vocality signals and invert from A/D to D/A or backwards, moreover it can also provide microphone preamplifier or programmable amplifier for input facility like microphone. Realizes the communication of computer and SEED-VPM642 multimedia experiment through XDS560 emluator.
     (2) Preserved egg breakage examination system's software design. The system applies CCS 6000 2.20.18 as its software developing flat which can edit assembly source code and C-language source code. In this paper we use C-language to compile the detecting program of broken preserved egg. On the other side, DSP chip provides CSL database function which can be used to initialize of DM642 system and design eternal setup parameter. The result can be shown in the PC computer by the connection of CCS2 software and target board through XDS560 emluator and achieves real time detection.
     (3) For voice signal processing method was studied. the thesis contrives Butterworth-direct-Ⅱconfiguration band-pass filter wipe off noise signals, then according to the sample frequency sure extraction 128 sampling points as valid signal, utilizing short-term energy and zero rate algorithm of effective voice signal extracted, finally makes FFT change to sound signals.
     (4) Discriminant model and detection system verification.by dint of MATLAB software to analyze the discrete data sequence frequency chart and power chart, and compare the power chart of the intact preserved egg and broken one to fond out the differences and confirm the eigen-parameter, and finally build up distinguish model based on Bayes distinguish theory whose character variables are power chart area, formant frequency, and the average and extreme dispersion of formant frequency, formant breadth (the maximum of power chart breadth). Confirmation preserved egg breakage criterion function on DSP equipment, the discrimination accuracy of good shell eggs and loss of shell eggs is 87.5 and 82.9%.
     In summary, the examination system performance of preserved egg breakage is stable and the high rate of accuracy.it has the reference value to preserved egg non-destructive inspection research, and lays the foundationfor its further studies.
引文
1.岑益科.基于机器视觉的鸡蛋品质检测方法研究.[硕士学位论文].杭州:浙江大学,2006
    2. 陈红,丁幼春,文友先等.鸭蛋品质无损自动检测分级系统.农业机械学报,2004,35(6):127—129
    3. 陈红,王巧华,文友先等.无损检测技术在禽蛋破损自动检测中的应用.食品与机械,2003,(5)
    4.陈怀深.数字信号处理-MATLAB释义与实现.北京:电子工业出版社,2004,163—220
    5. 陈家焱.蛋破损声检与分级技术的研究. [硕士学位论文].武汉:华中农业大学,2004
    6. 陈子超,刘敏,张文昭等.振动法鸡蛋品质无损检测仪的设计.湖南科技学院学报,2009,30(12):11—14.
    7. 郭庆蓁.基于DSP的视频与音频联合目标跟踪系统.[硕士学位论文].天津:天津大学,2009
    8. 贺静.基于DSP的鸡蛋蛋壳破损实时检测系统的研究. [硕士学位论文].武汉:华中农业大学,2010
    9.何丽红,刘金刚,文友先.基于粗糙集与支持向量机的禽蛋蛋壳无损检测.农业机械学报,2009,(3).
    10.胡智华.基于DSP的音频编解码系统的设计与算法研究.[硕士学位论文].武汉:武汉理工大学,2006
    11.建荣.禽蛋产品物流需求预测研究.[硕士学位论文].北京:北京交通大学,2009
    12.姜勇.基于DSP的鸡蛋蛋壳破损检测系统设计.[硕士学位论文].咸阳:西北农林科技大学,2008
    13.李鹏.基于TMS320C6713DSPs的多路实时音频信号处理系统. [硕士学位论文]. 北京:中国科学院研究生院.2006
    14.刘波,文忠,曾涯.MATLAB信号处理.北京:电子工业出版社,2006,1
    15.刘俭英,陈家焱,丁幼春等.蛋壳破损自动检测模型研究(英文).农业工程学报,2005,(9)
    16.刘俭英,田茂胜,文友先.基于DSP的鸡蛋破损检测方法.华中农业大学学报,2008,27(6):807—810
    17.刘金刚.基于DSP的鸡蛋破损检测系统.[硕士学位论文].武汉:华中农业大学, 2005
    18.刘强,国澄明.数字媒体处理器TMS320DM642及其应用.电子测量技术.2003年第6期
    19.刘向宇.DSP嵌入式常用模块与综合系统设计实例精讲.北京:电子工业出版社,2009.7
    20.刘燕德,应义斌,毛学东等.鸡蛋新鲜度的光特性无损检测.农业工程学报,2003,19(5):152—155.
    21.梅汉文.基于DSP的玉米苗期杂草识别方法的研究.[硕士学位论文].武汉:华中农业大学,2009
    22.潘磊庆,屠康,刘明等.基于声学响应和BP神经网络检测鸡蛋裂纹.南京农业大学学报,2010,(6).
    23.彭辉,文友先,王巧华等.基于小波变换和BP神经网络的蛋壳破损检测.农业机械学报,2009(2):170—174.
    24.朴春俊,马静霞,徐鹏.噪音情况下语音端点检测方法的研究.2007,43(8):49—50
    25.普罗克斯等.数字信号处理:原理、算法与应用.北京:电子工业出版社,2003
    26.任奕林,伍冬生,李旭荣.我国禽蛋业的现状及发展对策.中国家禽,2005,27(2):5—6
    27.闰长新.基于神经网络的蛋品破损检测.[硕士学位论文].福州:福州大学,2001
    28.沈昊.基于DSP图像处理的鸡蛋新鲜度实时无损检测研究. [硕士学位论文].武汉:华中农业大学,2010
    29.史英. 基于TMS320DM642的语音处理系统的研究. [硕士学位论文].济南:山东大学,2007
    30.田茂盛.鸡蛋破损自动检测分级系统的研究.[硕士学位论文].武汉:华中农业大学,2006
    31.王俊,陆秋君.禽蛋细小裂纹的敲击响应检测装置. CN201314904:2009
    32.王巧华,邓小炎,文友先.鸡蛋敲击响应的奇异性特征与蛋壳裂纹多层检测.农业机械学报,2008,39(12):127—131.
    33.王巧华,任奕林,文友先.基于BP神经网络的鸡蛋新鲜度无损检测方法.农业机械学报,2006,37(1):104—106.
    34.王巧华,熊利荣,丁幼春等.鸡蛋新鲜度神经网络检测系统的研究.华中农业大学学报,2005,24(6):630—632
    35.王书茂等.西瓜成熟度无损检验的冲击振动方法.农业工程学报,1999,15(3):241—244.
    36.王树才,任奕林,陈红等.利用敲击声音信号进行禽蛋破损检测和模糊识别.农业工程学报,2004,20(4):130—133
    37.王树才,文友先,刘俭英.基于机器人的禽蛋自动检测与分级系统集成开发.农业工程学报,2008,24(4):186—189.
    38.王跃宗,刘京会.TMS320DM642DSP应用系统设计与开发.北京:人民邮电出版社,2009
    39.魏小彪.鸡蛋品质综合无损检测方法的研究.[硕士学位论文].武汉:华中农业大学,2009
    40.文友先,刘剑英,王巧华等.禽蛋品质无损自动检测分级设备及方法.中国专利,02139083.2002-09-23
    41.文友先,王巧华,宗望远等.鸭蛋破损检测的试验研究.华中农业大学学报,2002,(3).
    42.杨述斌,李永全.数字信号处理实践教程。武汉:华中科技大学出版社,2006,21—60
    43.张索非,陈斌,褚静.基于声学特性的苹果无损检测方法.现代仪器,2007,2:11—17
    44.张玉新.基于音频特性的西瓜成熟度无损检测技术研究.[硕士学位论文].河北:河北农业大学,2009
    45.朱朝文.基于DSP的高速音频采集与处理系统的设计.[硕士学位论文].北京:北方工业大学,2010
    46.祝志慧. 基于VFW的鸡蛋品质无损检测方法的研究.[硕士学位论文].武汉:华中农业大学,2005
    47. Abbort J. A. and Lijedahl L.A..Relationship sonic resonant frequency to compression Tests and Magness-Taylor firmness of apples during refrigerated storage.Transactions of the ASAE,1994,37(4):1211-1215.
    48. Abbott J.A., Massie D. R., Upchurch B.L.and W.R.Hrushka..Nondestructive Sonic firmness measurement of apples.Trans of the ASAE,1995,38(5):1461-1466
    49. Abbott J.A., Affeldt H.A. and Liljedahl L.A.. Firmness measurement of stored delicious' apples by sensory methods, Magness-Taylor, and sonic transmission.J.Amer.Soe.Hort.Sci,1992,117(4):590-595.
    50. Abbott J. A. and Massie D.R.. Nondestructive dynamic force measurements of kiwifruit firmness.Trans of the ASAE,1995,38(6):1809-1812.
    51. DeKetelare B., Bamelis F., KemPs B., etal.Non- destructive measurements of the egg quality. Worlds Poultry Science Journal,2004,60(3):289-302
    52. Cho H.K. and Kwonl Y..Crack Detection in eggs by machine vision.6th International Conference on Computers in Agriculture,1996
    53. De Ketelaere B., Coueke P., De Baerdemaeker J..Eggshell crack detection based on acoustic resonance frequency analysis. Journal of Agricultural Engineering Research. 2000,76(1):157-163
    54. Pourreza H.R., Pouzzreza R.S., Fazeli S.. Automatic Detecion of Eggshell Defects Based on Machine Vision. J Anim Vet Adv,2008,7(10):1200-1203
    55. Kemps B.,Bamelis F., De Ketlaere B., etal。The influence ofline and laying period on the relationship between different eggshell and membrane strength parameters, poultry Scinence,2006,85(7):1309-1317
    56. Kurt C.Lawrence, Deana R.Jones, Gerald W.Heitschmidt, Bosoon Park. Modified Pressure System for Imaging Egg Cracks. Abstract,2008 ASAE Annual International Meeting,2008, Providence, USA
    57. Junhong Hu, Tianxu Zhang and Haoyang Jiang.New multi-DSP parallel computing architecture for real-time image proceing.Joural of systems Engineering and Electronic,2006,17 (4):883-889
    58. Patel V. C., Mc Clendon R. W., Goodrum J. W.. Color Computer Vision and Artificial Neural Networks for the Detection of Defects in Poultry Eggs. Artificial Intelligence Review,1998,12:163-176
    59. Patel V. C., Me Clendon R. W., Goodrum J,W..Development and evaluation of an expert system or egg sorting. Computers and Electronics in Agriculture,1998, 20:97-116
    60. Patel V.C., Mc Clendon R.W., Goodrum J.W.. Detection of Blood Spots and Dirt Stains in Eggs Using Computer Vision and Neural Networks. Applied Engineering in Agriculture,1996,12(2):253-258
    61. Patel V.C., McClendon R.W., Goodrum J. W..Detection of Cracks in Eggs Using Color Computer Vision and Artificial Neural Networks.A.I.Applieations 1996,10(3):19-28
    62. Patel V.C., Mc Clendon R.W., Goodrum J. W..Detection of cracks in eggs using color computer Vision and Artificial neural networks. ASAE Annual Intern. Meeting, St, Joseph,1995
    63. Ryan J.G.,Goubran R.A..Application of near-field optimum microphone arrays to hands-free mobile telephony, IEEE Transactions on Vehicular Technology,2003,52(2):390-400
    64. Sugiyamma J.,.Katsural T., Hong J., etal. Portable melon firmness tester using acoustic impulse transmission.Orlando. Florida:Proceedings from the sensors for nondestructive testing international conference,1997
    65. TMS320DM642 Video/Imaging Fixed-Point Digital Signal Processor Data Manual (sPrs2006).Texas Instruments.2003.5
    66. TMS320DM642 Video/Imaging Fixed-Point Digital Signal Processor (SPRS200L), Texas Instruments,2007.
    67. Jindal V.K., Eakasit Sritham.. Detecting Eggshell Cracks by Acoustic Impulse Response and Artificial Neural Networks. Abstract,2003 ASAE Annual International Meeting,2003, Nevada, USA
    68. Wang Yongwei, Jun Wang, Bo Zhou et al. Monitaoring storage time and quality attribute of egg based on electronic noise. Analytica Chimica Acta,2009.183-188

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700