| Urine test is a routine clinical testing item,Clinical studies have shown that neither a single urine dry chemistry analyzer nor a single urine sediment detection analyzer can provide the comprehensive diagnostic information.the overall solution combing the two existing devices has problems such as high price,large size,complex operation,and not suitable for primary medical institutions,such as community hospitals,township clinics,etc.and and personal home testing.As an attempt to solve this problem,this paper proposes a comprehensive urine testing device that can simultaneously complete urine dry chemical testing and urine sediment testing,and has the characteristics of portability,low cost,and miniaturization.The whole equipment is composed of sample cell module,lighting system module,imaging unit and so on.Through the analysis of the specific needs of each module,the structure of the sample pool is designed to meet the simultaneous detection of urine dry chemistry and urine sediment;the lighting system of the device is designed,the experiment on the selection of LED-related imaging conditions is carried out,and the urine is finally determined through the experiment.Selection of LED specifications,LED wavelength,LED light-emitting angle,etc.of the liquid-dry chemistry module and the urine sediment module.At the same time,design the overall LED drive control of the device,select the LT1932 constant current source drive chip to control,and use STM32F103C8T6 for simple serial communication;for the design of the imaging unit,it is determined to use the SONY IMX214 image sensor as the urine dry chemical detection and analysis module And the imaging device of the urine sediment detection and analysis module.For the urine dry chemistry detection module,the AMcap software is used to adjust the gamma parameter of the image sensor to highlight the color change of the detection test paper,which provides convenience for subsequent image processing.The result image is obtained through preprocessing such as Otsu threshold and denoising.The target color block segmentation,the use of Canny operator to segment the uniform area inside the color block,and the acquisition of the R,G,and B channel component parameters of the area separation,obtain the average value of the three channels,and complete the urine drying according to the formula Calculate the reflectivity of the chemical detection color block.Carry out specific imaging structure experiments to determine the diameter of the micro-holes in the urine sediment,the distance from the light source to the object to be measured,and the distance from the object to be measured to the image sensor to achieve the best holographic imaging.The results show that the positive quality control solution was used to verify the repeatability and accuracy of the urine dry chemical test of the device,and the morning urine of the research team members performed the school hospital urine routine test to compare with the dry chemical analysis of the urine of the device,and passed the verification.Except for the unexpected low results caused by improper operation,all are in line with the experimental expectations.The urine dry chemistry detection module of this device can complete the related work well;through the early stage of the research team members,a large amount of morning urine was extracted and centrifuged,and the comparison was under the microscope.The structure of the urine sediment and the holographic reconstruction obtained by the urine sediment detection module of the device,in which red blood cells,parasites,uric acid crystals,calcium oxalate crystals and epithelial cells are observed,which can distinguish the morphological characteristics of various substances in the urine sediment.Preliminary experimental results show that the designed device can meet the basic detection requirements,realize the design function,and well achieve the principle verification stage goal of the device design,laying a good foundation for subsequent product engineering and clinical experimentation. |