基于DSP的便携式猪肉品质无损快速检测装置的研发
Development of portable device based on dual- DSP for nondestructive detection of pork freshness
-
摘要: 本研究针对猪肉生产及监管部门的实际需求,以猪肉新鲜度品质指标为目标,利用数字信号处理器(DSP)TMS320DM6437作为核心处理器,以TMS320F28015为辅助处理器,开发一种能够脱机使用的轻简便携式猪肉品质检测装置系统,包括硬件和软件系统:硬件系统由大功率LED点光源单元、图像采集单元、DSP数据处理单元和液晶显示单元组成;软件系统采用C语言编程工具开发的信号采集、分析处理、结果显示保存模块等。利用洛伦兹函数拟合猪肉的扩散图像,获取了猪肉品质的光学特征参数,基于光学特征参数建立猪肉的挥发性盐基氮(TVB-N)值、pH和颜色(L*、a*、b*)的预测模型。通过建模分析和独立样品验证,挥发性盐基氮的预测相关系数(RV)为0.92,预测标准误差(SEP)为2.03,pH的预测相关系数(RV)为0.90,预测标准误差(SEP)为0.04;L*的RV为0.94,SEP为1.02,a*的RV为0.90,SEP为0.80,b*的RV为0.91,SEP为0.58。通过软件与硬件系统调试和实验,该系统装置的检测速度为每个样品检测仅需4 s,符合猪肉现场快速检测的实际要求。Abstract: This study was to develop a new offline portable detection system for nondestructive detection of pork freshness,including hardware and software designs with a main digital signal processor( DSP) TMS320DM6437 and an auxiliary DSP TMS320F28015.The hardware system consisted of a high-power LED point light source unit,an image acquisition unit,a dualDSP data processing unit and a LCD display unit.In addition,the software system was designed with C programming language in the CCS3.3 the development environment.The detection system was able to predict pork total volatile basic nitrogen(TVB-N)value,pH value and pork color( L*,a*and b*values). The prediction correlation coefficient of validation set( R_V) was 0.92 with prediction standard error( SE_P) of 2.03 for TVB-N,RVwas 0.90 with SE_P of 0.04 for pH value,RVwas 0.94 with SE_P of1.02 for L*; RVwas 0.90 with SE_Pof 0.80 for a*; RVwas 0.91 with SE_P of 0.58 for b*.After debugging and experiment of the hardware and software system,it was verified that the detection speed of the developed system was 4 seconds per sample. In conclusion,the portable device meets the requirements of the site rapid detection in pork meat industrials.