With the development of modern medical level,people have more and more urgent needs for intelligent medical treatment,and the research and development of blood storage and transport equipments is one of the development directions of intelligent medical treatment.In the traditional blood transportation process,the passive cooling method is adopted,which has short refrigeration time and poor refrigeration effect,leading to the deterioration and unavailability of blood in the transportation process.To carry out the research on the monitoring and tracing method of blood cold chain logistics transportation and ensure the real-time monitoring and processing of main environmental parameters in the process of blood cold chain transportation has become a focus problem that needs to be solved urgently in today’s society.Faced with the current shortage and urgent need of blood cold chain transportation,a set of embedded control and monitoring system based on intelligent medical cold chain transfer box is designed for the blood transportation environment around 4 °C,and it is transported by intelligent medical cold chain.The box is an application object to study the image matching algorithm in depth,and is committed to improving the calculation speed of the template matching algorithm,and realizing the instant judgment of the intelligent medical cold chain transfer box on the presence or absence of blood bag status in the box.The specific work is as follows:(1)In the aspect of hardware system design,for the functional requirements of intelligent medical cold chain transfer box,a dual-controller hardware system framework based on CY8C4146 single-chip microcomputer and CoM-S2416 ARM system-on-a-chip(SOM)module was built,including the selecting and circuit connected of temperature-humidity sensor,GPS module,WiFi module,USB camera and other modules.The system power management circuit is designed to judge the power input type.The optocoupler drive H-bridge circuit is designed to control the cooling and cooling effect of the cooling film.(2)In the aspect of software system design,the intelligent temperature control program is designed to enable the user to control the blood storage environment temperature through the button setting parameters and display it in real time in the digital tube;the software driver is developed based on the linux system,and the temperature-humidity sensor and USB camera driver is designed,compile the driver into the linux kernel,realize the system’s identification of hardware peripherals;Create a network communication process to collect local information,and transfer box temperature and humidity information,switch box cover information,the blood bag information and the GPS location information are uploaded to the cloud server in the form of TCP packets through the WiFi module,so that the server can monitor the real time of the transfer box.(3)In order to obtain the blood bag information in the box in real time,the camera is adopted to collect the image information in the box and compare the result.Aiming at the problem that the image captured by the camera matches the template map slowly,the transfer box is used as the application object,based on the NCC(Normalized Cross Correlation)image matching algorithm,the NCC-based integrated polling fast image matching algorithm is proposed.The integral index is established,the image is segmented by region,combined with the difference sum theorem,according to the improved NCC matching formula,the image is matched and matched in each region,which improves the image matching speed,so that the transfer box can determine whether there is blood bag placement in the box in real time. |